Skip to content

Execution

Syscache.hve

Syscache.hve cheat sheet: the Windows 7 / Server 2008 R2 hive in System Volume Information that links MFT file IDs to SHA-1 hashes, and its limits.

Location
C:\System Volume Information\Syscache.hve
Proves
An executable with this SHA-1 and MFT file ID was recorded on the volume
Timestamps
ObjectTable record key LastWrite as FILETIME, UTC; the only per-record time
Retention
No documented size limit; records can outlive the file; not removed by restore-point or shadow-copy cleanup; older versions in VSS
Access
System Volume Information is SYSTEM-only and the hive may be in use: collect via raw NTFS (KAPE Syscache) or from a VSS copy
Type
Registry
Windows
Vista / 7
KAPE target
Syscache
Velociraptor
Windows.Triage.Targets:Syscache

What it is

Syscache.hve is a registry hive stored in the hidden System Volume Information folder. On Windows 7 and Windows Server 2008 R2 it is filled by the discache.sys driver with data pushed by the Application Experience service: for executables, it stores the NTFS file ID and a SHA-1 hash, similar to what Amcache does on later versions. It is less studied than Amcache, and its update behaviour has been observed to differ between Windows 7 and Server 2008 R2, so use it as corroboration.

Location

Windows versionPathNotes
7 / Server 2008 R2C:\System Volume Information\Syscache.hveWith Syscache.hve.LOG1 / .LOG2; one per volume where it is created
8 and later—Behaviour not publicly documented; rely on Amcache instead

Inside the hive the records sit under DefaultObjectStore\ObjectTable\<id>.

System Volume Information is accessible only to SYSTEM, so collect it with raw NTFS access.

What it proves

  • An executable identified by its SHA-1 and its MFT file reference was recorded on the volume.
  • Because records point to the $MFT entry rather than to a path, you can resolve the path with the $MFT, as long as the entry has not been reused (check the sequence number).
  • Published tests (David Cowen, 1234n6, Maxim Suhanov) observed entries created shortly after executions on Server 2008 R2, but not for every launch. Treat an entry as evidence of presence, and corroborate execution with other artifacts.

Key fields

ValueMeaning
_FileId_64-bit NTFS file reference: MFT entry number and sequence number
AeFileID0000 followed by the SHA-1 of the file (UTF-16 string)
AeProgramIDProgram identifier from the Application Experience inventory
Other _..._ valuesObject-store bookkeeping used by the driver

Timestamps

TimestampSet whenFormatPitfalls
ObjectTable\<id> key LastWriteThe record is created or updatedFILETIME, UTCThe only per-record time; updates for other reasons move it

Retention and clearing

  • No documented size limit; records can outlive the file they describe.
  • The file is protected by System Volume Information permissions, which makes casual tampering unlikely, but a restore-point or shadow-copy cleanup does not remove it.
  • Older versions of the hive may exist inside volume shadow copies.

Collection

  • KAPE target: Syscache (hive and .LOG* files)
  • Velociraptor (Windows.Triage.Targets): Syscache
  • Built-in: no simple native copy (the folder is SYSTEM-only and the hive may be in use); use a raw-access collector or read it from a shadow copy.
vssadmin list shadows
copy "\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\System Volume Information\Syscache.hve" E:\case\

Parsing tools

  • RegRipper: syscache plugin (file ID, sequence number, SHA-1 and LastWrite per record).
  • Registry Explorer (Eric Zimmerman): open the hive to browse ObjectTable.
  • MFTECmd (Eric Zimmerman): resolve file IDs to paths using the $MFT of the same volume.

Investigation tips

  • Join _FileId_ to the $MFT entry and check that the sequence number matches before trusting the path.
  • Search every SHA-1 against known-bad lists and against Amcache data from other hosts.
  • On a Windows 7 host, compare with RecentFileCache and ShimCache to build an execution picture.
  • Because the behaviour is not fully documented, test your conclusions on a comparable system before stating them in a report.

Related artifacts

Glossary terms

All artifacts on one page: cheat sheet