AppCompat Shim Databases

Installed application-compatibility shim databases and the executables they are bound to.

WindowsPersistenceParser: appcompat_shim_db13 fieldsCollected by priority triage

What AppCompat Shim Databases is

Installed application-compatibility shim databases and the executables they are bound to. It is one of 21 persistence artifacts Arcsentry reads. Persistence artifacts are the places programs start from automatically: services, tasks, autostart keys, WMI subscriptions, cron and systemd. Attackers use them to survive reboots.

Forensic value

Persistence artifacts help answer questions like these:

  • What starts automatically on this host?
  • What was added during the incident window?
  • Which persistence points to a script or user-writable path?

Where it is stored

Arcsentry looks for AppCompat Shim Databases at these locations inside a collection, disk image or mounted volume:

**/Windows.old/Windows/System32/config/RegBack/SOFTWARE
**/Windows.old/Windows/System32/config/SOFTWARE
**/Windows/System32/config/RegBack/SOFTWARE
**/Windows/System32/config/SOFTWARE

What Arcsentry records

Each AppCompat Shim Databases record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:

FieldTypeMeaning
database_idVARCHARShim database (SDB) GUID as registered in the registry
app_nameVARCHARSdb app name
exe_nameVARCHARSdb exe name
is_customBOOLEANSdb is custom
file_pathVARCHARFile path
install_dateTIMESTAMPApp install date
registry_sourceVARCHARRegistry/rule origin label (registry sub-path, hive location, or app inventory source) the entry was recovered from
registry_valueVARCHARRegistry value name
registry_pathVARCHARRegistry path
registry_hive_pathVARCHARRegistry hive file path
registry_key_last_writeVARCHARRegistry key last write timestamp
registry_hive_setVARCHARRegistry hive set the record was read from: live, regback, windows_old or windows_old_regback
registry_hive_replayVARCHARWhy the registry hive this record was read from lacks its transaction-log changes: failed when replay failed at staging, disabled when replay was turned off

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 AppCompat Shim Databases with Arcsentry Collector

Arcsentry Collector gathers AppCompat Shim Databases in these triage profiles: windows::profile::triage::priority, windows::profile::triage::offline, windows::profile::triage::timeline, 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::registry::registry_hives_system, windows::security::windows_hello, windows::system_state::srum.

.\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 AppCompat Shim Databases can come from the tools you already use.

Analysing AppCompat Shim Databases in Arcsentry

Ask in plain English, for example "show AppCompat Shim Databases records from the incident window, newest first", and Arcsentry shows the query before it runs.

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 AppCompat Shim Databases records with the same tools and cites them by event ID.

Frequently asked

Does Arcsentry parse AppCompat Shim Databases?

Yes. Arcsentry's AppCompat Shim Databases parser (appcompat_shim_db) reads it from Windows evidence and records 13 fields per record, with provenance back to the source file.

How do I collect AppCompat Shim Databases?

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 AppCompat Shim Databases 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