Skip to main content

Crate prefetch_forensic

Crate prefetch_forensic 

Source
Expand description

Windows Prefetch forensic analyzer.

Prefetch’s primary forensic value is execution evidence: it proves a program ran, how many times, when (the last eight runs), from where, and what it loaded. execution_record extracts that evidence; audit adds a small set of high-precision graded findings — a Windows system-binary name loaded from outside System32 (masquerading) and execution from a known-suspicious directory.

Findings are observations, never verdicts: prefetch establishes that coreupdater.exe ran from System32 at a given time — whether that is malicious is a correlation/tribunal question, not one prefetch answers alone.

Built on prefetch_core; findings use forensicnomicon::report.

Structs§

ExecutionRecord
The execution evidence a single prefetch file establishes.

Enums§

PrefetchAnomaly
A graded prefetch finding. Each variant is a high-precision triage signal — it stays quiet on benign prefetch (e.g. a normal System32 program) and fires only on a genuinely anomalous pattern.

Functions§

audit
Audit parsed prefetch info for graded anomalies (may be empty — benign prefetch yields no findings).
audit_bytes
Parse and audit a prefetch file (MAM-compressed or raw SCCA) in one call: returns the execution evidence and any graded anomalies. This is the headline entry point.
execution_record
Extract the execution evidence from parsed prefetch info.
to_finding
Convenience: produce a Finding for an anomaly under the given scope.