Windows Prefetch File Format
As far as have been possible to ascertain, there is no public description of the format. The description below has been synthesised from examination of multiple prefetch files.
Header format 17
This format has been observed on Windows XP, ...
|0x0000||4||DWORD|| ? Probably a version number, identifying the file structure. Observed values:
0x00000011 - Windows XP 0x00000017 - Vista, Windows 7
|0x0004||4||DWORD||? Probably a file type magic number. Observed value: 0x41535353|
|0x0008||4||?||? Observed values: 0x00 00 00 0F - Windows XP|
|0x000C||4||DWORD||Prefetch file length.|
|0x0010||60||USTR||Name of executable as Unicode string, truncated after character 29 if necessary, and terminated by U+0000.|
|0x004C||4||DWORD||The prefetch hash, as it appears in the pf file name.|
It's worth noting that the name of a carved prefetch file can be restored using the information in bytes 0x0010--0x004F
Section A and B
These two sections have no obvious forensic value.