February 19, 2009 at 4:27 am #3422timmedinParticipant
It has been known for a while that firewire allows direct memory access (DMA) which allows you to
- read arbitrary RAM contents from the victim’s system,
- overwrite arbitrary RAM contents with whatever you want,
- and perform many, many severe attacks based on the two issues above. Examples include grabbing a full RAM dump via Firewire (takes only a few minutes), grabbing ssh-agent keys, grabbing screen contents, modifying screen contents, bypassing login/password screens, and many, many more…
This also includes unlocking a locked windows machine.
I was a a DefCon group meeting and one of the guys told me there was a similar attack for unlocking a windows machine but with a USB stick. He was pretty adamant, but I don’t think it is possible since I don’t believe there is DMA with USB. Can someone shed some light on the subject. I am not talking about AutoRun.
March 3, 2009 at 11:27 pm #22458timmedinParticipant
… I take that as me being right ;D
March 4, 2009 at 3:07 am #22459KetchupParticipant
The way I understand it is that USB does indeed use DMA, bypassing the CPU and thus enable decent transfer speeds. When I did research on this, people are saying that Firewire is a BUS, while USB is a PORT. While both use DMA, Firewire is more unrestricted. When Microsoft implemented Firewire, they assumed that it was going to be running very fast things like hard drives. Interestingly enough, people are saying that the DMA works on eSATA as well.
I am not sure if any of this is true, but that’s what I found while researching this topic.
June 13, 2009 at 4:40 pm #22460UNIXParticipant
recently I am very interested in this kind of attacks for various reasons. Unfortunately I haven’t find any reliable sources about USB and DMA or similar. Would you mind to supply me with the sources you have found?
I would be really interested in this.
June 13, 2009 at 10:26 pm #22461KetchupParticipant
I think that logically it should work, but I was never able to get it to work or find anyone else that has. I think it’s a matter of how Firewire vs USB are implemented in Windows.
- You must be logged in to reply to this topic.