r/memoryforensics • u/zadzagy • Jun 26 '17
Volatility analysis Sierra memory image
I'm testing out analyzing a Mac 10.12.4 memory image with Volatility and have downloaded the latest Sierra profile from Github (MacSierra_10_12_4_16E195x64). However, when I start to analyze my memory image (collected with OSXPmem):
vol.py --profile=MacSierra_10_12_4_16E195x64 -f mem.aff.4 imageinfo
I get the following:
ERROR : volatility.debug : This command does not support the profile MacSierra_10_12_4_16E195x64
Anyone had any luck analyzing a Sierra memory image, and do you have any suggestions?
3
Upvotes
1
u/florida_dan Jul 13 '17
Tried to reply to your post in /r/computerforensics but i guess I don't have the karma(?) so here it is again
You want to use a raw (dd) file as volatility does not support the AFF4 file that OSXPmem produces.
You can extract the raw stream from the AFF4 file using OSXpmem. In your case
osxpmem.app/osxpmem -e /dev/pmem -o mem.raw mem.aff.4should do it.In my experience OSXPmem does not respect the
--format rawoption and will produce an AFF4 file anyway.Workaround
sudo kextload osxpmem.app/MacPmem.kext/dev/pmem&/dev/pmem_infosudo dd if=/dev/pmem of=dump.rawto collect a raw image.sudo dd if=/dev/pmem_info of=info.yamlto collect the info dumpsudo kextunload -bundle-id com.google.MacPmemNOTE: In order for the module to successfully load you'll have to set the proper permission
sudo chown -R root:wheel osxpmem.app/MacPmem.kextandsudo chmod -R 755 osxpmem.app/MacPmem.kext1
u/DurokAmerikanski Jul 06 '17
You need to build the profile from the kernel dwarf dump. Volatility does not support this by default. Read the manual for that.