본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트35k · #7665

analyzing-windows-amcache-artifacts

하는 일

이 도구는 Amcache.hve라는 특별한 Windows 파일을 분석합니다. 삭제된 프로그램까지 포함해 컴퓨터에 설치되었거나 실행된 프로그램을 찾는 데 도움을 줍니다. 또 이 프로그램들의 '식별 코드'(SHA-1 해시)를 확인해 악성으로 알려진 것인지 살펴봅니다.

사용하는 경우

  • ✓보안 사고 후 컴퓨터에서 어떤 프로그램이 사용되었는지 조사할 때.
  • ✓알 수 없거나 악성인 프로그램이 시스템에 있었는지 확인할 때.
  • ✓프로그램이 언제 설치되었거나 사용되었는지 시간 순서를 재구성할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-windows-amcache-artifacts/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 컴퓨터에 어떤 프로그램이 설치되었거나 실행되었는지, 그리고 악성 소프트웨어가 있는지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 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, .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)

…

자주 묻는 질문

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.

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

GitHub 스타
35k
순위
#7665
라이선스
Apache-2.0
업데이트
2026. 8. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬