
Parse and analyze a Windows Amcache.hve registry hive, VirusTotal integration.
AmCache-EvilHunter is a command-line tool to parse and analyze Windows Amcache.hve registry hives, identify evidence of execution, suspicious executables, and integrate VirusTotal/OpenTIP lookups for enhanced threat intelligence.
https://github.com/user-attachments/assets/e23fb99b-48ad-4260-b372-2f15e5320c74
Amcache.hve registry hives.--start, --end).--search).--find-suspicious).--missing-publisher).--opentip, --only-detections).--vt, --only-detections).--json) or CSV (--csv).Install dependencies via pip:
pip3 install -r requirements.txt
git clone https://github.com/cristianzsh/amcache-evilhunter.git
cd amcache-evilhunter
pip3 install -r requirements.txt
python3 amcache_evilhunter.py -i path/to/Amcache.hve [OPTIONS]
Parse and display all records:
python3 amcache_evilhunter.py -i Amcache.hve
Filter by date range and search for "notepad":
python3 amcache_evilhunter.py -i Amcache.hve --start 2021-01-01 --end 2021-12-31 --search notepad
Identify suspicious executables and query VirusTotal:
python3 amcache_evilhunter.py -i Amcache.hve --find-suspicious -v
Export VirusTotal detections to JSON:
export VT_API_KEY=YOUR_API_KEY
python3 amcache_evilhunter.py -i Amcache.hve -v --only-detections --json detections.json
VT_API_KEY: Your VirusTotal API key used for file hash lookups.OPENTIP_API_KEY: Your OpenTIP API key used for file hash lookups.A build.sh script is provided to generate standalone binaries for both Linux and Windows (via Wine).
chmod +x build.sh
./build.sh
This project is licensed under the MIT License. See LICENSE for details.
| Flag | Description |
|---|
-i, --input PATH | Path to Amcache.hve (required) |
--start YYYY-MM-DD | Only include records on or after this date |
--end YYYY-MM-DD | Only include records on or before this date |
--search TERMS | Comma-separated, case-insensitive search terms |
--find-suspicious | Filter only records matching known suspicious patterns |
--missing-publisher | Filter only records with missing Publisher |
--exclude-os | Only include non-OS-component files |
--opentip | Enable Kaspersky OpenTIP lookups (requires OPENTIP_API_KEY env variable) |
-v, --vt | Enable VirusTotal lookups (requires VT_API_KEY env variable) |
--only-detections | Show/save only files with ≥1 VT detection |
--json PATH | Path to write full JSON output |
--csv PATH | Path to write full CSV output |
-V, --version | Show version information |