Skip to main content

A Python script to carve Windows Prefetch artifacts from arbitrary binary data

Project description

Python script to carve Windows Prefetch artifacts from arbitrary binary data


The Windows application prefetch mechanism is in place to offer performance benefits when launching applications. It’s also one of the more beneficial forensic artifacts regarding evidence of applicaiton execution. provides functionality for carving prefetch artifacts from binary data - such as unallocated disk space, raw memory images, etc. will output to the specified file, and supports multiple output formats.

Supported Prefetch Types

Windows 10 Prefetch files are compressed, and are unable to be carved from disk in this manner. All other Prefetch formats are supported (Windows XP - Windows 8.1)

Command-Line Options

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  Carve Prefetch files from the given file
  -o OUTFILE, --outfile OUTFILE
                        Write results to the given file
  -c, --csv             Output results in csv format
  -m, --mactime         Output results in mactime format
  -t, --tln             Output results in tln format
  -s SYSTEM, --system SYSTEM
                        System name (use with -t)


Thorough teseting is still underway. I plan to integrate this project with Travis CI shortly.



python install

Using pip:

pip install prefetchcarve

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for prefetchcarve, version 1.1.2
Filename, size File type Python version Upload date Hashes
Filename, size prefetchcarve-1.1.2.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page