Windows Prefetch
Files Windows keeps to speed up program start, one per program and path, which also show that a program ran, how often and when.
In more detail
Each .pf file is named after the program and a hash of its path. From Windows 8 on it keeps a run count and up to eight last run times, plus files touched soon after start. The files are compressed on Windows 10 and 11 and Prefetch is usually off on servers, so its absence proves little.
Related terms
- PECmd — Eric Zimmerman's free command-line tool that parses Windows Prefetch files, including the compressed ones from Windows 10 and 11.
- MFT — Master File Table: the NTFS table with one record, usually 1 KiB, for every file and folder on the volume.
- evidence of execution — Forensic traces that show a program actually ran, not just that the file existed.
Taught in
- Disk Forensics: MFT, UsnJrnl & Prefetch — Security Operations & Threat Hunting (SOC)