CyberKit

Prefetch

A Windows artifact proving a program ran, and when.

What it is

Prefetch files are created by Windows to speed up application launches. Each one records the executable name, a run count, and the last several execution times.

Where it lives

C:\Windows\Prefetch\*.pf

Why it matters

Prefetch is one of the cleanest proofs of execution on Windows. It can show that a now-deleted tool ran, how many times, and when, helping build an attacker timeline.

In practice

A prefetch entry for a malicious binary that no longer exists on disk, confirming it executed three times last Tuesday.

What to look for

  • A .pf file for a tool that should not be on the host.
  • Run counts and the last eight run times on Windows 8 and later.
  • Files and directories the program touched in its first seconds.

Common mistake

Treating a missing prefetch file as proof something never ran. Prefetch can be disabled, is often off on servers, and ages out.

Use it in CyberKit

In the field

Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.

  • Autopsy Open source

    A graphical forensics platform that parses file systems and common artifacts. Our notes.

  • Plaso Open source

    Builds a super timeline from many artifacts in one image. Our notes.

  • Velociraptor Open source

    Collects the same artifacts remotely, without pulling a full disk image. Our notes.

Tools practitioners use

Read next

Sources