Professor Franklin
Accessibility settings

Preferences are saved in this browser when storage is available.

Getting Started

Chapter 7 · Reading 1 of 3

Evidence of program execution

CHFI domains 4, 5, 6 · GCFE: File activity and program execution; System access and external device activity

The Ostrander & Bell partners say the project manager “obviously” copied the Halvorsen floor plans to a USB drive. A copy can be made with Explorer, a command-line tool, a sync client or a script, and each leaves different traces. Before asking how the files moved, the examiner asks a narrower question: which programs ran on this workstation on the evening the drive was connected, and how strong is the proof for each?

Five artifacts, five different claims

Windows records program activity in several places, built for performance or compatibility rather than for investigators. Each records something slightly different, so the first skill is knowing what each one actually proves.

Figure 1. Program-execution artifacts comparedBehavior on Windows 10 and 11. Check the version you are examining.
ArtifactLocationShows execution?Time evidence
PrefetchC:\Windows\Prefetch\NAME-HASH.pfYesRun count and up to eight last run times
AmcacheC:\Windows\AppCompat\Programs\Amcache.hveUsually, not alwaysKey times; SHA-1 of the file
Shimcache (AppCompatCache)SYSTEM hive, Session Manager\AppCompatCacheNo, presence onlyFile’s modified time; order of entries
BAMSYSTEM hive, Services\bam\State\UserSettings\<SID>Yes, per userLast execution time
SRUMC:\Windows\System32\sru\SRUDB.datYes, with resource useHourly records, typically about 30 to 60 days

Prefetch: the strongest single record

Prefetch speeds up program loading by recording what a program loads in its first seconds. Windows creates a .pf file named after the executable and a hash of its path, records a run count and, on Windows 8 and later, up to the last eight run times. It also lists the files and directories the program referenced, often including the volume they were on. On Windows 10 and 11 the files are compressed, and PECmd decompresses and parses them. Prefetch is enabled by default on Windows client editions, typically disabled on Windows Server, and may be turned off by administrators, so absence of a .pf file is weak evidence on its own.

On the Ostrander & Bell workstation, XCOPY.EXE-2D6E3B1A.pf shows two runs at 18:19:40 and 18:21:07 on 12 November, and its referenced files include L3_FLOOR.DWG in the Halvorsen Plans folder. XCOPY is a Windows command-line copy tool. That moves the case forward considerably.

Amcache, Shimcache and their limits

The Amcache hive records information about executables for application compatibility, including full paths, sizes, publisher data and a SHA-1 hash of the file (computed over at most the first 31,457,280 bytes). The hash can identify a renamed tool or match a file to known malware. Researchers have shown that Amcache entries can be created for files that were present but not run, so treat an entry as strong but not conclusive evidence of execution. AmcacheParser reads it.

Shimcache, or the AppCompatCache, lists executables the compatibility subsystem has examined. On Windows 10 and 11, an entry shows that the file existed and was looked at, not that it ran, and the timestamp is the file’s own last-modified time rather than an execution time. Shimcache is written to the registry at shutdown, so a collection from a live system may miss recent entries. Its value is in showing that a file, perhaps since deleted, was present. AppCompatCacheParser reads it.

BAM and SRUM add the user and the volume of activity

The Background Activity Moderator (BAM), on Windows 10 version 1709 and later, records the last execution time of programs under each user’s SID, which ties execution to an account. Entries are cleaned up after about a week, so BAM is a short-term source.

The System Resource Usage Monitor (SRUM) records resource use per application in an ESE database: CPU time, bytes sent and received over the network, and energy use, aggregated hourly and kept for roughly a month or two. SrumECmd exports it. SRUM can show that a program was running and how much data it moved, but not where the data went.

Figure 2. Evidence that xcopy ran on 12 November
  1. Prefetch: 2 runs, 18:19 and 18:21 Executed
  2. BAM: last run 18:21 under project manager’s SID User
  3. Amcache: SHA-1 matches the signed Windows binary Identity

Three independent sources agree. Prefetch’s referenced files tie the runs to the Halvorsen folder.

A 4688 process-creation event, if auditing was enabled, would add the full command line, including the destination of the copy. Chapter 8 covers that log.

On the exam, Shimcache is the classic trap: it proves presence, not execution, on modern Windows. Prefetch, BAM and SRUM support execution. Amcache is strong but not absolute. The next reading, Evidence of file and folder access, asks which files the user opened.

Prefetch record

Inspect the three records, then use the evidence to answer the question.

1. Last run

2026-11-12 18:21:07 UTC

2. Previous run

2026-11-12 18:19:40 UTC

3. Files referenced

\VOLUME{01dc…}\CLIENTS\HALVORSEN\PLANS\L3_FLOOR.DWG

Apply the reading

Shimcache on a Windows 11 workstation lists XCOPY.EXE, but Prefetch has no entry for it. Can you say xcopy ran?

Compare your reasoning

Not from Shimcache alone. On Windows 10 and 11, a Shimcache entry shows the file was present or examined, not that it ran. Look for Prefetch, Amcache, BAM, SRUM or a 4688 process-creation event, and check whether Prefetch was enabled.