Windows Prefetch can support that an executable ran on a host. Amcache can support that Windows inventoried an executable at a given location. An Amcache record alone leaves execution unresolved, even when it includes a path, hash, and timestamp.
Prefetch vs. Amcache at a Glance
Scroll horizontally if needed to see the full table.
Fields and retention vary by Windows version and configuration. Record the Windows build and parser version. In a disk image, resolve %SystemRoot% to the Windows folder in the acquired system.
Read Each Timestamp According to Its Source
Prefetch Embedded Run Time
Use the parsed embedded run time when placing a launch on a timeline. The Prefetch file's filesystem creation time describes the cache file. Its creation time can therefore reflect a different event from a run timestamp in the record. Some versions retain multiple run times. Treat the available timestamps as a partial history.
Inspect volume information and referenced paths when matching an executable. An executable name alone leaves room for another file with the same name. For a field-by-field walkthrough, see reading Windows Prefetch files with PECmd. Velociraptor's Prefetch artifact reference describes the parsed run times and count.
Amcache Registry Key Last Write
Treat an Amcache key's last-write time as a change to the inventory key. It provides a timeline pivot while leaving the time of execution open.
Check the meaning of any file ID your parser reports. Microsoft documents that the SHA-1 value in Amcache covers only the first 31,457,280 bytes (30 MiB) for large files. A whole-file SHA-1 can differ for that reason.
Read Both Artifacts in One Timeline
Suppose a Windows image contains an Amcache entry for C:\Tools\report-viewer.exe with a key last-write time of 14:05 UTC. A Prefetch record with the same executable name contains an embedded run time of 14:11 UTC.
- Preserve the two timestamps and their field names. The six-minute gap compares different types of events.
- Check whether the Prefetch volume and path evidence points to the Amcache location. If the path remains ambiguous, record the name match and leave the file identity open.
- Look for a process-creation record near 14:11 UTC, if the system collected one. Check its image path and account information separately.
In this hypothetical example, a compatible Prefetch path and embedded timestamp support that the program ran at about 14:11 UTC on the examined host. The Amcache entry supports inventory at the named path. An account attribution would require further evidence.
If Only One Artifact Is Available
Only Amcache: Record the inventory finding and leave execution unresolved. Check any process-creation records or endpoint telemetry available for the relevant period.
Only Prefetch: Record the supported run time and the path evidence you were able to resolve. Keep user attribution and exact binary identity open unless another source establishes them.
Neither artifact: Record what the acquisition covered and the records it preserved. A collection or retention gap can leave a launch unrecorded in the available evidence.
Build an Execution Note Someone Can Check
Start a separate row for each observation. Record the Windows installation it came from, the artifact path, the field name, and the timestamp as displayed by the parser. Include the time zone and any conversion used in your timeline.
Say your questioned system includes two files named report-viewer.exe, one under a tools folder and another under a downloads folder. A common name is a lead. Compare path details and volume information before carrying either one into the report as the file described by both records.
If the Prefetch path resolves to the tools folder and the Amcache entry records only the download copy, keep those observations apart. A matching filename gives you no basis to assign the run to the downloaded copy.
A process-creation event, if retained, may provide further context, such as the executable path or account. Prefetch alone does not identify the person who launched the program. Multiple records may support a narrower finding when their details agree.
For another Windows artifact where the path and action need to be interpreted separately, see reading the recorded target of a Windows shortcut.