Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Windows Gather Prefetch File Information

Disclosed
N/A
Created
May 30, 2018

Description

This module gathers prefetch file information from WinXP, Win2k3 and Win7 systems
and current values of related registry keys. From each prefetch file we'll collect
filetime (converted to utc) of the last execution, file path hash, run count, filename
and the execution path.

Author

Platform

Windows

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use post/windows/gather/enum_prefetch
msf post(enum_prefetch) > show actions
...actions...
msf post(enum_prefetch) > set ACTION < action-name >
msf post(enum_prefetch) > show options
...show and set options...
msf post(enum_prefetch) > run

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.