Zum Inhalt springen
Skillpedia
Analyse & Tabellen35k · #7665

analyzing-windows-amcache-artifacts

Was er macht

Dieses Tool analysiert eine spezielle Windows-Datei namens Amcache.hve. Es hilft herauszufinden, welche Programme auf einem Computer installiert oder ausgeführt wurden, auch wenn sie inzwischen gelöscht sind. Außerdem prüft es die 'Kennungen' (SHA-1-Hashes) dieser Programme, um zu sehen, ob sie als schädlich bekannt sind.

Wann du ihn nutzt

  • ✓Wenn du nach einem Sicherheitsvorfall untersuchst, welche Programme auf einem Computer genutzt wurden.
  • ✓Wenn du prüfst, ob ein unbekanntes oder schädliches Programm auf dem System war.
  • ✓Wenn du eine Zeitleiste rekonstruieren willst, wann Programme installiert oder genutzt wurden.

Link zum Skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-windows-amcache-artifacts/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-windows-amcache-artifacts/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Welche Programme wurden auf diesem Computer installiert oder ausgeführt, und gibt es schädliche Software?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Das Tool nutzt das Programm AmcacheParser, um die Datei Amcache.hve auszulesen. Es holt Informationen wie Programmnamen, Datumsangaben und Kennungen (SHA-1-Hashes) heraus. Diese Kennungen lassen sich mit Listen bekannter Schadprogramme abgleichen.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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, .LOG2 transaction 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)

…

Häufige Fragen

Was ist die Datei Amcache.hve?

Das ist eine Windows-Datei, die Informationen über Programme speichert, die ausgeführt oder installiert wurden. Sie hilft dem System zu wissen, welche Anwendungen ausgeführt werden dürfen.

Warum SHA-1-Hashes verwenden?

Ein SHA-1-Hash ist wie ein eindeutiger Fingerabdruck einer Datei. Wenn der Hash eines Programms auf Listen bekannter Schadsoftware steht, ist das ein starkes Anzeichen dafür, dass es gefährlich ist.

Beweist dieses Tool, dass ein Programm ausgeführt wurde?

Es zeigt, dass das Programm vorhanden war und in Amcache registriert wurde. Um sicher zu sein, dass es ausgeführt wurde, nutzt du am besten zusätzlich andere Tools wie ShimCache oder Prefetch.

Details

Originalbeschreibung des Autors

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.

repo: mukul975/Anthropic-Cybersecurity-Skills

Beliebtheit

GitHub-Sterne
35k
Platz im Ranking
#7665
Lizenz
Apache-2.0
Aktualisiert
31.8.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills