- Check RAM size and free disk space.
- Create a memory dump if there is sufficient space.
- Perform SAM, Cache, and Lsass dumps using Volatility.
- Option to run all three Volatility commands sequentially.
- Windows operating system.
- Python 3.x installed.
psutillibrary (install usingpip install psutil).- Administrator permissions to run the script.
-
Clone the Repository:
git clone https://github.com/sxyrxyy/VolatilityCredDump.git cd VolatilityCredDump -
Install Dependencies:
pip install psutil
-
Run the Script: Open the Command Prompt as Administrator and navigate to the script directory:
python VolatilityCredDump.py
-
System Checks:
- Calculate RAM size.
- Check free disk space in the current directory.
- Calculate required space (RAM size + 2GB headroom).
-
Memory Dump: If confirmed and there is enough space, run
winpmem_mini_x64_rc2.exeto createmem.raw. -
Options:
If
mem.rawis created and its size is sufficient, prompt the user with the following options:- 1: SAM dump
- 2: Cache dump
- 3: Lsass dump
- 4: Run all (SAM, Cache, Lsass dumps)
- 5: Delete
mem.raw - 6: Exit the script
-
SAM dump:
vol.exe -l sam_dump.txt -f mem.raw windows.hashdump.Hashdump
-
Cache dump:
vol.exe -l cache_dump.txt -f mem.raw windows.cachedump.Cachedump
-
Lsass dump:
vol.exe -l lsass_dump.txt -f mem.raw windows.lsadump.Lsadump
-
Run All: Sequentially execute SAM dump, Cache dump, and Lsass dump commands.
Note: Ensure that winpmem_mini_x64_rc2.exe and vol.exe are in the same directory as the script.