Ozor Mox
August 17th, 2009, 09:17 AM
Something I have been wondering about for quite a long time...
Once in a while, a thread will come up where someone claims to have discovered a way to get root permissions on Ubuntu locally. Two examples I can think of off the top of my head are modifying the .bashrc file to include an alias to a fake sudo script that gets the password, and booting Ubuntu in recovery mode where root access is automatically given.
Usually along the course of the discussion, several people point out that these exploits can only work if someone has local access to the machine, and that local access should effectively be considered root access. When the argument is made that Ubuntu should be secure locally, the reply is often "what if they use a live CD?" or "what if they take the hard drive out and put it in another computer?" or "what if they steal the entire PC?".
Although this makes sense in a way, there are two things that have always bothered me about it. Firstly, what about universities, schools, internet cafes, libraries? Surely they must be securing their boxes from local access, not just "slowing people down" by providing barriers to access. I certainly remember at my university, it was not possible to boot from a live CD or USB stick, nor access the BIOS. Do they just use thin clients in these cases?
Secondly, there is a thread on the first page at the moment about a Linux kernel exploit that can be used locally to get root access. If local access really was root access, why would an exploit like this have such a fuss made over it, and need to be patched so fast? Surely it wouldn't matter, because locking your screen, putting on a BIOS password, etc. is just "slowing them down".
So my question is, is local access really root access, or can it be made secure?
Once in a while, a thread will come up where someone claims to have discovered a way to get root permissions on Ubuntu locally. Two examples I can think of off the top of my head are modifying the .bashrc file to include an alias to a fake sudo script that gets the password, and booting Ubuntu in recovery mode where root access is automatically given.
Usually along the course of the discussion, several people point out that these exploits can only work if someone has local access to the machine, and that local access should effectively be considered root access. When the argument is made that Ubuntu should be secure locally, the reply is often "what if they use a live CD?" or "what if they take the hard drive out and put it in another computer?" or "what if they steal the entire PC?".
Although this makes sense in a way, there are two things that have always bothered me about it. Firstly, what about universities, schools, internet cafes, libraries? Surely they must be securing their boxes from local access, not just "slowing people down" by providing barriers to access. I certainly remember at my university, it was not possible to boot from a live CD or USB stick, nor access the BIOS. Do they just use thin clients in these cases?
Secondly, there is a thread on the first page at the moment about a Linux kernel exploit that can be used locally to get root access. If local access really was root access, why would an exploit like this have such a fuss made over it, and need to be patched so fast? Surely it wouldn't matter, because locking your screen, putting on a BIOS password, etc. is just "slowing them down".
So my question is, is local access really root access, or can it be made secure?