Amcache
Amcache.hve is a registry hive in C:\Windows\AppCompat\Programs that Windows uses for application compatibility. It keeps an inventory of executables, drivers and installed programs the system has encountered, with file paths, sizes, versions, publishers and a SHA-1 hash of the file.
What Amcache is
Because it records a hash and full path, Amcache can identify a binary even after the file itself has been deleted, which makes it one of the first places to look for attacker tooling.
Forensic value
What Amcache can tell an investigator:
- Full path, size, version, publisher and SHA-1 hash of executables that were present on the system.
- Evidence of tools that were later deleted from disk.
- Driver and installed-program inventory, useful for spotting unusual kernel drivers or remote-access software.
- Key last-write times that help place entries in time.
What it does not prove
- An Amcache entry shows a file was present and inventoried. On its own it is not proof that the program ran.
- Entries can be written by scheduled inventory tasks, not only by execution.
- The hash covers the start of large files only, so very large binaries may not match a full-file hash.
Where it is stored
Arcsentry looks for Amcache at these locations inside a collection, disk image or mounted volume:
**/Windows/appcompat/Programs/Amcache.hve
**/Windows/appcompat/pca/PcaAppLaunchDic.txt
**/Windows/appcompat/pca/PcaGeneralDb*.txt What Arcsentry records
Each Amcache record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:
| Field | Type | Meaning |
|---|---|---|
file_path | VARCHAR | File path |
file_name | VARCHAR | File name |
file_size | BIGINT | File size |
file_publisher | VARCHAR | File publisher |
file_version | VARCHAR | File version |
file_binary_version | VARCHAR | File binary version |
file_binary_product_version | VARCHAR | File binary product version |
file_product_version | VARCHAR | File product version |
file_product_name | VARCHAR | File product name |
file_description | VARCHAR | File description |
file_digest | VARCHAR | File digest |
file_language | VARCHAR | File language |
file_binary_type | VARCHAR | File binary type |
file_is_pe | BIGINT | File PE indicator |
file_is_os_component | BIGINT | File OS component indicator |
file_link_date_raw | VARCHAR | Raw file linker date |
file_link_date | TIMESTAMP | File linker timestamp |
file_pe_size_of_image | BIGINT | File PE size of image |
file_pe_header_hash | VARCHAR | File PE header hash |
file_pe_header_checksum | BIGINT | File PE header checksum |
file_modification_time | TIMESTAMP | File modification timestamp |
file_creation_time | TIMESTAMP | File creation timestamp |
registry_key_last_write | VARCHAR | Registry key last write timestamp |
subtree | VARCHAR | Amcache inventory subtree |
entry_type | VARCHAR | Entry marker (: command history, ? search history in either direction, = expression history, @ input or debug history, " register, ' file mark, -' jump, > buffer last used) |
program_id | VARCHAR | Amcache program identifier |
program_name_resolved | VARCHAR | Amcache resolved program name |
amcache_hash_path | VARCHAR | Amcache file-hash store path |
file_reference | VARCHAR | Amcache file reference |
last_modified_store_timestamp | TIMESTAMP | Amcache stored last modified timestamp |
link_timestamp | TIMESTAMP | Amcache link timestamp |
driver_package_strong_name | VARCHAR | Amcache driver package strong name |
driver_package_class | VARCHAR | Amcache driver package class |
driver_package_class_guid | VARCHAR | Amcache driver package class GUID |
driver_package_date_raw | VARCHAR | Amcache raw driver package date |
driver_package_date | TIMESTAMP | Amcache driver package date |
driver_package_directory | VARCHAR | Amcache driver package directory |
driver_package_inf | VARCHAR | Amcache driver package INF |
driver_package_provider | VARCHAR | Amcache driver package provider |
driver_package_version | VARCHAR | Amcache driver package version |
driver_package_submission_id | VARCHAR | Amcache driver package submission ID |
application_install_date_raw | VARCHAR | Amcache raw application install date |
application_install_date | TIMESTAMP | Amcache application install date |
application_arp_last_modified_raw | VARCHAR | Amcache raw ARP last modified date |
application_arp_last_modified | TIMESTAMP | Amcache ARP last modified timestamp |
application_install_date_from_link_file | VARCHAR[] | Amcache install dates from link files |
application_language_code | VARCHAR | Amcache application language code |
application_msi_package_code | VARCHAR | Amcache application MSI package code |
application_msi_product_code | VARCHAR | Amcache application MSI product code |
application_package_full_name | VARCHAR | Amcache application package full name |
application_type | VARCHAR | Amcache application type |
application_manifest_path | VARCHAR | Amcache application manifest path |
application_os_version_at_install | VARCHAR | Amcache application OS version at install |
application_instance_id | VARCHAR | Amcache application instance ID |
application_registry_key_path | VARCHAR | Amcache application registry key path |
application_root_dir_path | VARCHAR | Amcache application root directory path |
application_source | VARCHAR | Amcache application source |
application_uninstall_string | VARCHAR | Amcache application uninstall string |
shortcut_target_type | VARCHAR | Amcache shortcut target type |
pca_type | VARCHAR | Amcache PCA entry type |
Time
Arcsentry keeps each record's own time and labels its time zone when the source does not state one. A record with no time of its own stays untimed; Arcsentry never substitutes the collection time.
Collecting Amcache with Arcsentry Collector
Arcsentry Collector gathers Amcache in these triage profiles: windows::profile::triage::priority, windows::profile::triage::offline, windows::profile::triage::full. It is read straight from the file system, on a live host or inside a disk image, without mounting.
The collection targets that pick it up: windows::accounts_identity::roaming_profile, windows::execution::app_compat_pca, windows::registry::amcache.
.\arcsentry-collect.exe collect --local -t windows::profile::triage::priority `
-o E:\IR -f host.arcx --password-file E:\IR\pw.txt Every file lands in one AES-256 archive with a SHA-256 recorded for it, and the collection log notes which target collected it. See everything each profile collects.
Already collected with something else? Arcsentry also reads KAPE, Velociraptor and UAC collections, so Amcache can come from the tools you already use.
Analysing Amcache in Arcsentry
Ask in plain English, for example "show Amcache records from the incident window, newest first", and Arcsentry shows the query before it runs. Or write it in AQL:
filter event_type == "amcache"
sort {-timestamp}
take 100 Mark a record malicious or suspicious and it joins the timeline in its kill-chain lane. Add its values as indicators and Arcsentry matches them across every host. When the AI investigator works the case, it reads Amcache records with the same tools and cites them by event ID.
Corroborate with
No single artifact settles a question on its own. Check Amcache against:
- Windows Prefetch files: Parses Windows Prefetch (.pf) execution artifacts.
- ShimCache: Parses Application Compatibility Cache (Shimcache) entries.
- BAM / DAM: Program execution times the Background and Desktop Activity Moderator services record for each user SID.
- Windows event log: Parses Windows Event Log (.evtx) files.
- SRUM: Parses System Resource Usage Monitor database for application metrics.
Frequently asked
Does Amcache prove a program was executed?
Not on its own. Amcache shows a file was present and inventoried. Corroborate execution with Prefetch, BAM, process-creation events (4688) or SRUM.
Where is Amcache.hve stored?
In C:\Windows\AppCompat\Programs\Amcache.hve, with transaction logs (Amcache.hve.LOG1 and LOG2) beside it. Collect the logs too, so recent changes are not lost.
Does Arcsentry parse Amcache?
Yes. Arcsentry's Amcache parser (amcache) reads it from Windows evidence and records 60 fields per record, with provenance back to the source file.
How do I collect Amcache?
Arcsentry Collector gathers it with the priority triage profile (windows::profile::triage::priority), live or from a disk image, sealed in an AES-256 archive with a SHA-256 for every file.
Parse Amcache on your own evidence.
Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.
Request a trial