Analyzing a memory card with MacOS X
First, grab Maximillian Dornseif’s forensics slides (you’ll find them…).
Second: Think about a way to prevent Finder.app
to automount the image, otherwise it will modify the image by adding two files: .Trash and ._.Trash.
I read TONS of useless documentation, about
all kind of ancient MacOS X versions and tools
like autodiskmount (This command is deprecated and exists only for backwards compatibility.)
and just before giving up, I found this tool:
/usr/sbin/diskarbitrationdthat is startedfrom a startscript in
/priv/etc/mach_init.d/diskarbitrationd.plist. I still have to find out who restarts the program after killing it, for testing purposes, I renamed the program and started it with the -d flag. Here is the output:diskarbitration [2897] -> diskarbitration [2897]
probed disk, id = /dev/disk2s1, with msdos, ongoing.
probed disk, id = /dev/disk2s1, with msdos, success.
mounted disk, id = /dev/disk2s1, ongoing.
mounted disk, id = /dev/disk2s1, success.
.
Patching the diskarbitrationd seems easy, but the
mechanism itself doesn’t. I’m thinking about preventing
mounting of FAT filesystems, or even some execution prevention by a lock file.
This comment was originally posted on 20051005T23:38:28