Registry Code Updates
I've found a couple bugs in the registry code I released recently, and at least one is significant enough that a new release is warranted. Teach me to release code I wrote in a couple hours on a plane ;)
The list of fixes is:
One final note: I have seen some crashes when people attempt to use the hash extraction code, but pass the wrong address for the hive in memory. I'd like to fix this, but I don't yet have a good way of checking to make sure that a given hive is the SYSTEM or SAM or SECURITY hive. I'll try to find something that works, though, and release it with the next update.
The list of fixes is:
- Fix a bug that prevented any volatile subkeys from appearing when using the subkeys() function.
- Add a check for None when using lsadump (reported by Paul Bobby, thanks!)
- Add appropriate license statements at the top of each file (thanks AAron!). For the record, the license is the GNU General Public License (GPL).
One final note: I have seen some crashes when people attempt to use the hash extraction code, but pass the wrong address for the hive in memory. I'd like to fix this, but I don't yet have a good way of checking to make sure that a given hive is the SYSTEM or SAM or SECURITY hive. I'll try to find something that works, though, and release it with the next update.
Comments
I'm having a problem running hashdump, lsadump, and cachedump. I grabbed PyCrypto and installed (with an error: “...Python was built with Visual Studio 2003...”) onto a WindowsXPSP2 System. The build looks pretty good but running Volatility it errors out to the following:
*** Unable to load module cachedump: cannot import name MD4
*** Unable to load module hashdump: cannot import name MD4
*** Unable to load module lsadump: cannot import name MD4
*** Unable to load module cachedump: cannot import name MD4
*** Unable to load module hashdump: cannot import name MD4
*** Unable to load module lsadump: cannot import name MD4
I do have HMAC, MD5 RIPEMD160, RIPEMD and SHA(.py) python files in the HASH folder (C:\Python25\Lib\site-package\Crypto\Cipher).
I really could use your help to figure this out
Thanks
Rick
Forensiczone.com
This page appears to have some, though I don't have a Windows machine handy right now and so I can't vouch for their correctness. I'll try to give this a try on Windows within the next couple days.
Cheers,
Brendan
Got It!! I down loaded the compiled self-extracting PyCrypto and installed it with no problems. LSADump and Hashdump are working great(I don't have any files to test cachedump). Your programs are simply "awesome". Thanks again for all the work.
Rick
ForensicZone.com
Volatility-1.3_Beta/memory_plugins/registry/cachedump.py
Volatility-1.3_Beta/memory_plugins/registry/hashdump.py
Volatility-1.3_Beta/memory_plugins/registry/hivedump.py
Volatility-1.3_Beta/memory_plugins/registry/hivelist.py
Volatility-1.3_Beta/memory_plugins/registry/hivescan2.py
Volatility-1.3_Beta/memory_plugins/registry/lsadump.py
Volatility-1.3_Beta/memory_plugins/registry/printkey.py
Volatility-1.3_Beta/memory_objects/Windows/registry.py
Volatility-1.3_Beta/forensics/win32/regtypes.py
Volatility-1.3_Beta/forensics/win32/rawreg.py
Volatility-1.3_Beta/forensics/win32/lsasecrets.py
Volatility-1.3_Beta/forensics/win32/hive2.py
Volatility-1.3_Beta/forensics/win32/hashdump.py
Volatility-1.3_Beta/forensics/win32/domcachedump.py
Volatility-1.3_Beta/forensics/win32/regdump.py
Do other plugins show up? You should at least be able to see the example plugins like pslist_ex_1 and memmap_ex_2.
\Volatility-1.3_Beta\Volatility-1.3_Beta\volatility
\Volatility-1.3_Beta\Volatility-1.3_Beta\volatility\memory_plugins
I don't see even the example plugins..