analyzing-windows-amcache-artifacts
यह क्या करती है
यह टूल Windows की एक खास फाइल Amcache.hve का विश्लेषण करता है। इससे पता चलता है कि कंप्यूटर पर कौन से प्रोग्राम इंस्टॉल हुए या चले थे, भले ही वे बाद में डिलीट कर दिए गए हों। यह इन प्रोग्रामों के 'पहचान कोड' (SHA-1 हैश) की जांच भी करता है ताकि पता चले कि वे ज्ञात मैलवेयर हैं या नहीं।
कब इस्तेमाल करें
- ✓किसी सुरक्षा घटना के बाद यह जांचना कि कंप्यूटर पर कौन से प्रोग्राम इस्तेमाल हुए।
- ✓यह देखना कि सिस्टम पर कोई अनजान या खतरनाक प्रोग्राम था या नहीं।
- ✓प्रोग्राम कब इंस्टॉल या इस्तेमाल हुए, इसकी टाइमलाइन बनाना।
Skill का लिंक
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-windows-amcache-artifacts/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस कंप्यूटर पर कौन से प्रोग्राम इंस्टॉल हुए या चले, और क्या कोई खतरनाक सॉफ्टवेयर है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह टूल AmcacheParser नाम के प्रोग्राम से Amcache.hve फाइल को पढ़ता है। इससे प्रोग्राम के नाम, तारीखें और SHA-1 हैश जैसी जानकारी निकालता है। इन हैश की तुलना ज्ञात खतरनाक प्रोग्रामों की सूचियों से की जा सकती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Analyzing Windows Amcache Artifacts
When to Use
- Determining which programs have existed or executed on a Windows system during incident response
- Correlating SHA-1 hashes from Amcache against known malware databases (VirusTotal, CIRCL, MISP)
- Building an application installation and execution timeline for forensic investigations
- Identifying deleted executables that leave traces in Amcache even after file removal
- Investigating insider threats by documenting which portable or unauthorized applications were present
- Analyzing driver loading history to detect rootkits or malicious kernel modules
Do not use as sole proof of program execution. Amcache proves file existence and metadata registration, but ShimCache (AppCompatCache) and Prefetch provide stronger execution evidence. Use all three artifacts together for conclusive analysis.
Prerequisites
- A forensic image or live triage copy of
C:\Windows\appcompat\Programs\Amcache.hve(and associated.LOG1,.LOG2transaction logs) - Eric Zimmerman's AmcacheParser (
AmcacheParser.exe) downloaded from https://ericzimmerman.github.io/ - Eric Zimmerman's Timeline Explorer for viewing parsed CSV output
- Optionally: Registry Explorer for manual hive inspection
- A SHA-1 whitelist of known-good executables (e.g., NSRL hashset) for filtering
- .NET 6+ runtime installed (required by current EZ tools)
- Write access to an output directory for CSV results
Workflow
Step 1: Acquire the Amcache.hve File
Extract the Amcache hive from a forensic image or live system:
# From a live system (requires elevated privileges and raw copy tool)
# Amcache.hve is locked by the system; use a raw disk copy tool
# Option A: FTK Imager - mount image and navigate to:
# C:\Windows\appcompat\Programs\Amcache.hve
# Also collect: Amcache.hve.LOG1, Amcache.hve.LOG2
# Option B: Using KAPE for automated triage collection
kape.exe --tsource C: --tdest D:\Evidence\%m --target Amcache
# Option C: From a mounted forensic image (E: = mounted image)
copy "E:\Windows\appcompat\Programs\Amcache.hve" D:\Evidence\
copy "E:\Windows\appcompat\Programs\Amcache.hve.LOG1" D:\Evidence\
copy "E:\Windows\appcompat\Programs\Amcache.hve.LOG2" D:\Evidence\
Always collect the transaction log files (.LOG1, .LOG2) alongside the hive. AmcacheParser replays uncommitted transactions from these logs to recover the most complete data.
Step 2: Parse Amcache with AmcacheParser
Run AmcacheParser against the acquired hive:
# Basic parsing with CSV output
AmcacheParser.exe -f "D:\Evidence\Amcache.hve" --csv "D:\Evidence\Output"
# Parse with a SHA-1 whitelist to exclude known-good entries (NSRL)
AmcacheParser.exe -f "D:\Evidence\Amcache.hve" -w "D:\Whitelists\nsrl_sha1.txt" --csv "D:\Evidence\Output"
# Parse with a SHA-1 inclusion list (only show matches against known-bad hashes)
AmcacheParser.exe -f "D:\Evidence\Amcache.hve" -b "D:\IOCs\malware_sha1.txt" --csv "D:\Evidence\Output"
# Include deleted entries with high-precision timestamps
AmcacheParser.exe -f "D:\Evidence\Amcache.hve" --csv "D:\Evidence\Output" -i --mp
AmcacheParser produces multiple CSV files in the output directory:
| Output File | Contents |
|---|---|
Amcache_AssociatedFileEntries.csv |
File entries with SHA-1 hashes, paths, sizes, and timestamps |
Amcache_UnassociatedFileEntries.csv |
Orphaned file entries from older Amcache format |
Amcache_ProgramEntries.csv |
Installed program metadata (name, publisher, version, install date) |
Amcache_DeviceContainers.csv |
USB and device connection history |
Amcache_DevicePnps.csv |
Plug-and-Play device driver information |
Amcache_DriverBinaries.csv |
Loaded driver binaries with paths and hashes |
Step 3: Analyze File Entries for Suspicious Programs
Open the AssociatedFileEntries.csv in Timeline Explorer and examine key columns:
Key columns to review:
- ProgramId : Links file to its parent program entry
- SHA1 : Hash for threat intel lookups
- FullPath : Original file location on disk
- FileSize : Size of the executable
- FileKeyLastWriteTimestamp : When the Amcache entry was last updated
- Name : File name
- Publisher : Code signing publisher (blank = unsigned)
- BinProductVersion : Version string from the PE header
- LinkDate : PE compilation timestamp (useful for detecting timestomping)
…
अक्सर पूछे जाने वाले सवाल
Amcache.hve फाइल क्या है?
यह Windows की एक फाइल है जिसमें उन प्रोग्रामों की जानकारी रहती है जो चले या इंस्टॉल हुए हैं। इससे सिस्टम को पता रहता है कि कौन से एप्लिकेशन चलाए जा सकते हैं।
SHA-1 हैश क्यों इस्तेमाल होता है?
SHA-1 हैश किसी फाइल का एक यूनिक फिंगरप्रिंट होता है। अगर किसी प्रोग्राम का हैश ज्ञात मैलवेयर की सूची में मिल जाए, तो यह उसके खतरनाक होने का मजबूत संकेत है।
क्या यह टूल साबित करता है कि प्रोग्राम चला था?
यह सिर्फ दिखाता है कि प्रोग्राम मौजूद था और Amcache में दर्ज है। यह पक्का करने के लिए कि वह सच में चला था, इसके साथ ShimCache या Prefetch जैसे दूसरे टूल भी इस्तेमाल करना बेहतर है।
जानकारी
लेखक का मूल विवरण
Parses the Windows Amcache.hve registry hive with Eric Zimmerman''s AmcacheParser and Timeline Explorer to extract evidence of program execution, application installation, and driver loading, including SHA-1 hash correlation with threat intel and timeline reconstruction. Use for Amcache forensics, program execution evidence gathering, or application compatibility cache investigations in DFIR work.
लोकप्रियता
- GitHub स्टार
- 35k
- रैंकिंग में स्थान
- #7665
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 31/8/2026
कमेंट
- …
इस repository की और skills
abusing-dpapi-for-credential-access
35kआपके AI एजेंट को किसी खास काम के लिए तैयार instructions देता है, ताकि वह उसे बेहतर और तेज़ी से कर सके।
abusing-shadow-credentials-for-privesc
35kआपके AI एजेंट को साफ़ और अच्छी तरह से व्यवस्थित लिखना सिखाता है।
achieving-cmmc-level-2-compliance
35kयह आपके एजेंट को CMMC Level 2 compliance के लिए environment तैयार करने में मदद करता है। यह security requirements लागू करता है और ज़रूरी documentation संभालता है।
acquiring-disk-image-with-dd-and-dcfldd
35kआपके एजेंट को hard drives की exact copies बनाने में मदद करता है। जाँच के दौरान किसी भी जानकारी के खोने या बदलने से बचाने के लिए यह उपयोगी है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।