Ethical Hacking Training at InfoSec Institute

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Computer Forensics Computer-Forensics
[Top] [All Lists]

Re: IEEE 1394 (FireWire) Memory Imaging

Subject: Re: IEEE 1394 (FireWire) Memory Imaging
Date: Fri, 23 Feb 2007 13:00:24 -0500
Hello Valdis,

The original demonstration was for a Mac - google for 'pwn a mac with your 
ipod'
and that should find it. ;)

There's also Firescope: ftp://ftp.firstfloor.org/pub/ak/firescope/
which has been used for debugging Linux kernels.

Right, I heard about the original demonstration a while back, but hadn't
found a decent tool until recently.  I also looked at firescope, which
looks quite interesting, but obviously isn't quite the tool for my task.


Well, the problem is that Firewire allows for DMA control from the other
end of the wire.

For Linux, it's addressable by either:

1) Making sure there's no ieee1394 driver loaded by blacklisting it in
whatever udev/modules file your distro uses for such things.  No driver
loaded means the near end of the wire isn't initialized, so it doesn't work.

2) Force the module to be loaded with the parameter 'phys_dma=0'.
This causes the ieee1394 chipset to be initialized with settings that
reject the DMA requests.

Right, I've tested this in various scenarios and it seems to work out.
The Linux kernel does not open up the physical request filters when
phys_dma=0.  However, do you know if there's anything interesting that
can be done if physical requests are denied, but the asynchronous
request filters are opened up?  I don't know quite enough about FireWire
yet to know that answer.

This article has some interesting tidbits:
  http://www.matasano.com/log/695/windows-remote-memory-access-though-firewire/

I'm sure that if it's been used to hack Macs and debug Linux kernels,
somebody is using it for investigations. :)

Well, what I am getting at, is has anyone tested the techniques well
enough to feel comfortable using it on an important investigation?  You
know, like one that could go to court.  I'm sure people are using it for
various fun things, and may even gumshoe sysadmins might be using it,
but is it stable enough yet to be forensiclly sound?

thanks,
tim

<Prev in Thread] Current Thread [Next in Thread>