Live data from Hacker News

Local privilege escalation via execve()

freebsd.org

111–116 of 116 posts

Re: Local privilege escalation via execve()

#111

Earlier quoted context omitted.

> I'm not sure how or what you're counting. The recent two. FailCopy and DirtyFrag and FreeBSD with Execve. 2 - Linux 1 - FreeBSD. Of course, all OS have had past-time exploits. Three now have made the news.

Your question was "how many high profile privilege escalations Windows has had recently" then? I can't think of any, 0?

Windows vulnerability list is overflowing with lpes, hundreds of them. You should filter it per month, the list is too big to load in full.

Re: Local privilege escalation via execve()

#112

Earlier quoted context omitted.

No, I mean do you run FreeBSD boxes where users who should not ever assume root access actually login to do tasks? My point is that if you do, you probably shouldn't run, for e.g applications which need production db credential, or hold sensitive data on these boxes, or .. whatever. Edit: I use FreeBSD extensively, for various things -- but shell access to them is restricted to the sysadmins..

Hard to tell about FreeBSD, it's basically extincted, but think of webhosting servers, wordpress, cPanel/Plesk and alike. often it's ssh'able with things like rbash and other restrictions and almost always you, well, can run something there (as you can edit php/other files right from web management ui). Hordes of this (in Linux world).

Extinct? Far from, just doesn’t draw the crowd/press Linux does. An OS used as a stable server OS workhorse with exceptional ZFS support and doesn’t have to push for the desktop market doesn’t mean it’s extinct.

I’ve run FreeBSD on stinkpads back in the early 2000s fine. I prefer MacOS these days as a daily driver - hardware quality.

But server OS is FreeBSD. Void when I need Cuda/docker/etc. (Yes, FreeBSD has docker support, but just use Linux if needing that.

Re: Local privilege escalation via execve()

#113

Earlier quoted context omitted.

I once had a job interview where they wanted to evaluate my C knowledge. They showed me a printout of some pointer arithmetic and said spot the bug. (It may actually have been the old puzzle where it turns out that /* is always a comment opener and never a division by the referent of a pointer). I said "well first, this is a mess, I'm putting parentheses here, here, here and here". They said "well you've fixed the bu…

I've never had to write or read code in an interview. I wonder how common that is?

It's very common, I believe all the Big Tech firms have you write code.

I think the example from my story was the only one I've had where I had to _read_ code. (I have heard of people doing "code review interviews" though).

I've also had a job interviews with no code though. For startups or non-FAANG type companies.

Re: Local privilege escalation via execve()

#114
post #4

Earlier quoted context omitted.

Anyone relying on a 30+ year old monolith kernel written in C to not have some exploitable LPEs lurking should stay in basket weaving and out of sysadmin.

Not sure why the snark but if people are running FreeBSD then they should be...basket weaving instead of using it? Yes, the correct solution is to patch and reboot but not everyone is in a place to jump and do that which is why a temp workaround, if possible, would be welcome

There was no snark. If you have something of importance running and the inevitable discovery of an LPE is something you don’t have defense for or can quickly mitigate you’re doing a bad job as a sysadmin. For all general purpose OS in common use today that usually means patch and reboot should be an NBD workaround.

Re: Local privilege escalation via execve()

#115

Earlier quoted context omitted.

I've never had to write or read code in an interview. I wonder how common that is?

It's very common, I believe all the Big Tech firms have you write code. I think the example from my story was the only one I've had where I had to _read_ code. (I have heard of people doing "code review interviews" though). I've also had a job interviews with no code though. For startups or non-FAANG type companies.

Literally all of them, for at least the past decade, afaik. Obviously it'll vary a lot outside those though, the field employs all kinds in all kinds of ways.

Re: Local privilege escalation via execve()

#116

Earlier quoted context omitted.

Hard to tell about FreeBSD, it's basically extincted, but think of webhosting servers, wordpress, cPanel/Plesk and alike. often it's ssh'able with things like rbash and other restrictions and almost always you, well, can run something there (as you can edit php/other files right from web management ui). Hordes of this (in Linux world).

Extinct? Far from, just doesn’t draw the crowd/press Linux does. An OS used as a stable server OS workhorse with exceptional ZFS support and doesn’t have to push for the desktop market doesn’t mean it’s extinct. I’ve run FreeBSD on stinkpads back in the early 2000s fine. I prefer MacOS these days as a daily driver - hardware quality. But server OS is FreeBSD. Void when I need Cuda/docker/etc. (Yes, FreeBSD has docker…

Yep

Try to search vacancies for FreeBSD or candidates with FreeBSD knowledge/background, you will be surprised, its desert.

Even TrueNAS realized it's a dead end for reaching wide audience needs and migrated to Linux (as you mentioned zfs, your probably heard a thing or two on TrueNAS).

I have not tried in the last 10 years, so don't have numbers, my ballpark figure about having small infra team say of 5 persons and try to hire for FreeBSD would be longer and more expensive.

I see somewhat tolerable Linux Corp fleet of laptops (still meh, but somewhat works), what you will reply to your users when they complain on WiFi or Zoom not working and how will procurement work for you interesting questions for me.

Red Book for FreeBSD animal, can meet somewhere deep in tundra, but not a widespread species- extinction form my POV.

Post reply on HN