Digital Forensic Tools

Evidence of program execution

Short answer

Program execution artifacts are traces that show a program ran or was present on a Windows system. No single trace is perfect, so examiners compare several.

Why several sources

Windows has no single list of every program run. Instead, different features leave small traces as a side effect. Some prove a program ran. Others only show that a file existed. An examiner combines them to build a reliable picture.

Common artifacts

Each artifact records different details. Learn what each one can and cannot tell you.

  • Prefetch: .pf files in C:\Windows\Prefetch with the program name, run count and recent run times.
  • UserAssist: registry data on programs a user started from the desktop, with a run count.
  • ShimCache (AppCompatCache): a list of executables Windows saw, which may not mean they ran.
  • Amcache: records of programs and their file hashes.
  • SRUM: a database of app and network usage over time.
  • BAM: registry entries of recent program use on newer Windows.

Prefetch in more detail

Prefetch exists to start programs faster. The file name has the program name and a hash of its path, so the same program run from two places gives two files. A file can hold up to eight last run times on Windows 8 and later. Prefetch files can remain after the program is deleted.

What each artifact can show

ArtifactShows it ran?Extra detail
PrefetchYesRun count, recent run times, files used
UserAssistYes, if started by the userRun count, last run
ShimCacheNot by itselfPath, file last modified time
AmcacheNot by itselfFile hash, first seen

Example

A tool called payload.exe is found in a user's Downloads folder. Prefetch has an entry with a run count of 2 and a last run time. The examiner then checks Amcache for the file hash to look it up on a hash list.

Common mistakes

  • Treating ShimCache entries as proof that a program ran.
  • Forgetting that Prefetch can be turned off or be limited in how many files it keeps.
  • Reading UserAssist names without knowing they are stored in a scrambled (ROT13) form, so use a tool.
  • Using one artifact alone to make a conclusion.

Key terms

Prefetch
A Windows feature that saves data about a program's start to speed up later starts.
ShimCache
A compatibility record of executable files that Windows has seen.
Amcache
A hive file with details of programs and their hashes.
Run count
How many times a program is recorded as started.

Questions you may be asked

Does a ShimCache entry prove execution?

No. It shows Windows saw the file. Another artifact is needed to show it ran.

Which artifact gives run count and last run times?

Prefetch. UserAssist also gives a run count for programs launched by the user.

Free tools to practise with

Learn more

Written in our own words from public forensic training material and standards. Last reviewed 24 Nov 2026. Procedures and laws differ by country and agency. Follow your own lab's procedure.