In a recent post over at Ars Technica, they say that Mac OS X users could have their login passwords recovered through physically accessing the RAM. This comes after FileVault was proven to be cracked. The article notes that Mac OS X and certain applications store the user's password in memory, leaving it there after you've logged in. While locally-running apps cannot readily retrieve the password, someone could get access to the contents of RAM after the computer has been rebooted or shut down. This could be accomplished by physical means and might require the hacker to remove the RAM cover on your Mac and chill the RAM, as suggested by Edward Felten's research team at Princeton. This freezing allows the information to stay on the RAM for longer than the normal 2.5 to 35 seconds -- allowing someone to place it in another computer and read the contents.
In a separate approach to the password-in-RAM vulnerability, CNET witnessed an EFF demo of an attack using a custom NetBoot "EFI memory scraper" to record the RAM contents on reboot and save the data as a file on another machine over the network -- the attackers were able to clearly find the login password in the file. Again, this attack requires physical access to the machine (in order to force the NetBoot via holding down the N key on restart) within a minute or two of shutdown. However, an attacker could conceivably target a machine that was locked or sleeping (with RAM contents 'live'), power it off and back on, and use the NetBoot attack immediately.
While Apple has been made aware of the attack (notified on February 5), no fixes for these issues were reported in the 2/11 security update. According to CNET, an Apple spokesperson said they were aware of the issues and were "working to fix it in an upcoming software update." Until this update comes out, you may want to set a firmware password for your Mac, or wait longer to leave your unattended Mac after a shut down. Alternatively, we have lovely TUAW-branded tin foil hats available for purchase.
[via Ars Technica]











Reader Comments (Page 1 of 2)
3-03-2008 @ 11:15PM
ben said...
Is this serious. Why this is of grave concern I do not know. If you have files of such importance on your Computer that it is made subject to vigilante RAM freezing to acquire your login password, you may want to find other means of securing your data other than Mac OS X's own.
Reply
3-03-2008 @ 11:16PM
XiozTzu said...
What a joke! If they go through all that they can have all my lame files.
News alert! Hackers may be able to torture passwords out of computer users. All users of computers should drink a bottle of vodka after they create a password.
Reply
3-03-2008 @ 11:24PM
j0nkatz said...
HA HA! This would require me to leave my MBP alone for more than a minute or two. NO GONNA HAPPEN!
Reply
3-03-2008 @ 11:26PM
ben said...
I was reading on TUWW (The Unofficial Wallet Weblog) That muggers can violently secure your credit cards, cash, receipts, etc. from your Wallet by using threats of violence, or violence (including freezing the poor hapless SOB).
Kenneth Cole has yet to release an update to my Wallet addressing the issue.
Reply
3-03-2008 @ 11:35PM
Wheels said...
If somebody actually bothers to do this, beats the odds and miraculously retrieves my password, they deserve it!
Was this "hack" developed by Rube Goldberg's great grandson?
Reply
3-03-2008 @ 11:47PM
Rich said...
This isn't about a 'competition' of getting into your computer.
Companies often use laptops, laptops with important business information, possible trade secrets, employee/customer/client information, etc. They rely on disk encryption to keep this safe from people who shouldn't be getting at it.
So, there's much more at risk than someone "just" getting your password.
3-03-2008 @ 11:39PM
mattyohe said...
Why are they going to the trouble of netbooting? What are they proving by netbooting?
Nothing!
If you have physical access you can easily reset the password to whatever you desire, and this is the case with all flavors of Windows as well.
The focus here is too much on that you can "gain access" when the actual problem is that the password is left in RAM in plaintext. This CAN leave other accounts on other systems/networks/websites vulnerable if you use the same login/password combination.
Since Spotlight searching is insanely fast these days, you could probably do MORE damage by walking up to a machine, rebooting from the OS X install disk, resetting the login password, and typing "password: kind:mail" in Spotlight.
Reply
3-04-2008 @ 12:08AM
Michael Rose said...
If you read the CNET article you may note that the test machine was set up with FileVault. By design, getting physical access to such a machine (and resetting the admin password via a boot disk or other means) should NOT provide access to the encrypted contents of the home directory -- without that (original) login password, that data is supposed to be unreadable.
The reason this hack is of some concern is that it provides a method of retrieving the login password (and hence the FileVault key) in a relatively straightforward way via the EFI RAM copying tool. If I leave my desk -- with my machine asleep or locked -- and someone else can come in, hard-reboot it, hold down N to launch the scraper and proceed to unlock my encryption... well, despite our offer of tinfoil hats, that's really not a good situation.
3-03-2008 @ 11:50PM
matt said...
how much are the hats?
seriously though, the hacker would have to be standing next to me with a freezer, get access to my RAM in under 35 seconds(which is a maximum, most likely it would be gone before this) move the RAM into said freezer, and then have another machine handy to do the NetBoot. If i am too stupid to not notice the freezer or bucket of ice, etc, then i probably deserve to have my password stolen.
Reply
3-04-2008 @ 12:09AM
Michael Rose said...
Matt, perhaps Cory's phrasing was unclear -- the freezing and the EFI scraper are two separate hacks, and one does not require the other. I'll add a linebreak to make that more evident.
3-04-2008 @ 12:23AM
harrywolf said...
What a stupid world we live in.
Its always 'business users' who have the big security issues, like their latest top secret sales figures will change the world.
Get over yourselves - its idiotic to be so paranoid about information.
Hows this: I could not give a flying **** about all this security nonsense - its gone way too far.
Just shut up, all you special 'business' types, with your Blackberries, your 'push' email (got to have it 10 seconds before its sent etc.) and your ugly haircuts, your 50's suits, your crap right-wing politics and your nasty Earth-damaging ways.
You make me PUKE, you conformist robots.
And BTW, what ever happened to Windows, the leakiest, most insecure OS this side of the Planet Zargon?
Oh right, its the darling of the idiot 'business' crowd, on whom we all depend for our survival - NOT.
Get a real job - grow some vegetables.
Freeze the frickin ram indeed.
Reply
3-04-2008 @ 3:16PM
AlMeister said...
LOL! Preach it brother! That has got to be one of the best postings I've ever seen here! I'm putting your line about conformist robots in my email sig...
3-04-2008 @ 8:58PM
robogobo said...
go girl.
3-04-2008 @ 12:52AM
jeffiel said...
Grow some vegetables, awesome.
Reply
3-04-2008 @ 1:09AM
Will said...
Maybe I'm missing something but why retrieve the password when you could just change it with an install disk. Unless something has changed in Leopard but the last several versions off OS X allowed you to do this. Though like I said I could have comepletely missed the poing here...
Reply
3-04-2008 @ 1:35AM
modalyodel said...
Be more imaginative. If I change the password on your computer, the next time you try to login, you'll notice that the password stopped working. You might become suspicious from this alone; you may change the password to something else.
However, if I manage to grab your password without changing it, you probably won't notice a thing. I continue to have access to your computer as I please, possibly even remotely depending on your setup, without having to install a trojan or other piece of software.
3-04-2008 @ 1:13AM
Will said...
Apparently, I also missed the spellcheck...
Reply
3-04-2008 @ 2:07AM
Will said...
@ modalyodel
Ah I see, fair enough. I was coming from the perspective that the computer was already taken and no longer in your possession.
3-04-2008 @ 7:57AM
Louise said...
All that work to get my passwords is absolutely ridiculous! But it is obviously a concern. In order to even get passwords from Mac OS X you have to physically get access to the computer itself so why not beat your ‘potentially infuriated ex’ to the chase by using a online password manager? They might have harder time freezing the server ; )
online vs offline password managers:
http://tinyurl.com/3ba3et
Louise Vinciguerra (PassPack)
Reply
3-04-2008 @ 8:11AM
StrangerThanFiction said...
Well to start the firmware password is a joke! It can be reset by removing the RAM. 2nd if you have an OS X disk and you start the installation there is a neat little utility that allows you to reset the password. Unless of course you have FileVault turned on. Then you need to proceed with this modified EFI file. So until Apple fixes this I would stick to the tin foil hat boys.
Reply