Interview with the Vista Pwn2Own contest winners
Now the Question I have is this: Given that the exploit bypassed Windows DEP, and Linux doesn't use DEP, how could they have gained root access in Linux, as they did in Windows Vista? |
|
|
Comments (25)
5 earlier comments in the full thread.
Quoting:Modern sploitz don't need root to do a lot of damage.
No, but they need root access to hide. If they're not hidden then they're caught pretty quickly by any half-decent admin.
If they have root, then everything above goes out the window.
Quoting:Seriously, how would you know if you've been successfully cracked? Modern exploits rely on stealth- they don't want to call attention to themselves. Are you running intrusion detection systems?
Of course I run an intrusion detection system. Plus, like tracyanne there are no executabes in my home directories and without root access it's impossible to hide something on my systems. It's simply a matter of knowing what's going on in your system.
With *nix it's entirely possible to know exactly what's going on inside your system and that makes it easy to catch malware running at user level privileges. This is a lot harder on Windows.
In addition, what's the point of using a PC? One word: data. So when a human user account is compromised and their data stolen, or a database user that controls all kinds of data, that's a serious loss. More serious than compromising system files, which can easily be replaced.
The article is kind of dim, IMO, since the guys being interviewed were more smart-alecky than informative. Other articles on the contest said that most contestants did a lot of advance homework, and chose to attack the systems they felt they had the best chance of cracking. It's just one contest, but I think it's fairly representative- the winners went with the weakest systems. The ones with the closed code, teehee.
Anyway if there's one point that's really important, it's that root access isn't essential for a successful crack, and plenty of damage occurs by compromising non-root accounts.
The problem with Windows malware its that it takes a long time for someone to find out they've been compromised. Early detection and removal of malware keeps it from spreading too far. It's not about the amount of damage to a single user. It's about the amount of damage to the people that single user comes in contact with.
OK, I'll bite - what is this "all powerful sudo hole on ubuntu", and how is that different from the sudo that ships with every linux distro? Or the all powerful root account that the non-ubuntu distros ship with?
Inquiring minds want to know!
"sudo" on Ubuntu is configured to accomplish admin tasks with minimal hassle. If you can't do it as your unprivileged self, just prefix it with "sudo" and it'll happen.
On most other distributions, "sudo" is configured by default to do few things, if any. On my Slackware and Slamd64 systems, /etc/sudoers contains nothing but comments, meaning "sudo" has precisely zero damage capacity (and I'll get an email if anyone tries anything funny).
If a user account is compromised then you can execute `passwd` and set the user account password to something you know. On Ubuntu you can then use it to execute things with root privileges. That's not possible on most other systems.
No, the whole point of "sudo" is so that users don't need to know the root password. They provide their own password (to authenticate themselves as themselves) to do things with elevated privileges. It is very fine-grained control of root permissions, even to the point of allowing commands only with certain parameters to certain users. E.g. allowing the night-shift operator to run "e2fsck -n" but not "e2fsck -y" while the sysadmin drives to the office, so at least some diagnostic can be ready when he/she arrives.
The problem with Ubuntu is that it takes only slightly more work than Vista to get elevated privs:
Vista: "Are you sure about that? Click Yes or No."
Ubuntu: "Your password will let you do that. Please type it in."
OTOH, try that on any of my computers and I'll be calling your ISP soon.
Is it possible to set a separate sudo password? That would alleviate the problem that running `passwd` gives you a password that can execute system administration tasks and still not disclose the root password to users.
"man sudoers" for more info.
Post a comment
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:Sign up and post (it is free) or Log in and post
