Skip to content

AppCompactCache

Evidence: AppCompactCache
Description: Enumarate AppCompatCache (aka ShimCache)
Category: System
Platform: windows
Short Name: appcc
Is Parsed: Yes
Sent to Investigation Hub: Yes
Collect File(s): No

The Application Compatibility Cache (also known as Shimcache) tracks metadata about executable files to improve application compatibility. Windows records information about executables when they are run, and this data persists across reboots.

AppCompatCache can provide evidence of program execution and file presence, including programs that may have been deleted. The cache is stored in the registry and contains up to 1024 entries (varies by Windows version).

This collector gathers structured data about appcompactcache.

FieldDescriptionExample
KeyPathRegistry key pathHKLM\SYSTEM\CurrentControlSet\Control\Session Manager\AppCompatCache
EntryNameControl set nameCurrentControlSet
PositionPosition in cache0
CachedFileSizeFile size recorded in cache1048576
CachedFileModifiedModification time in cache2023-10-15T14:30:00
ExecutedWhether file was executed (varies by OS version)TRUE

This collector:

  • Searches registry for AppCompatCache locations:
    • HKLM\SYSTEM\ControlSet00*\Control\Session Manager\AppCompatibility
    • HKLM\SYSTEM\ControlSet00*\Control\Session Manager\AppCompatCache
  • Reads the AppCompatCache binary registry value
  • Parses the cache data format (varies by Windows version)
  • Extracts file paths, timestamps, and execution flags
  • Normalizes file paths to full paths

AppCompatCache is critical for establishing program execution and file presence. Investigators use this data to identify executed programs (even if deleted), establish execution timelines, detect malware execution, identify reconnaissance tools, track lateral movement utilities, detect portable executable usage, and correlate with other execution artifacts.