# Prefetch Files

Prefetch speeds up the loading of a specific application resource, allowing you to open your most used application faster. Prefetching enables a browser to fetch the resources required to view content that will be accessed later. Prefetch files will disclose whether the individual installed and ran a particular program; tracking such information is critical during the digital forensic analysis process. This way, we can determine which executable was executed and when. Prefetch also records the loaded files' information, which tells us which files and paths it interacted with during its execution.&#x20;

We can use **PeCmd by Eric Zimmerman** to parse the prefetch files.

{% embed url="<https://ericzimmerman.github.io/#!index.md>" %}

```
C:\Users\Hp\Downloads\Compressed\PECmd\PECmd.exe -d "C:\Users\Hp\Downloads\campfire-1\Triage\Workstation\2024-05-21T033012_triage_asset" --csv . --csvf output.csv
```

<figure><img src="https://195908312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fngh2Qug3BBWIjUTvw9ZY%2Fuploads%2FinpoJbsNZdpCLexsqLxN%2Fimage.png?alt=media&#x26;token=92214a81-b7c4-4e86-a05e-32a18a8de3d2" alt=""><figcaption></figcaption></figure>

Now, we can use timeline explorer to correlate events.

We should look for any execution around the timeline we established so far. Let's filter for the date of the incident to reduce the noise. We add the filter for the "Last Run" field

<figure><img src="https://195908312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fngh2Qug3BBWIjUTvw9ZY%2Fuploads%2FnBRfbMye3fm2nyOXUE9E%2Fimage.png?alt=media&#x26;token=2d4310e0-5170-46fc-a80c-db7b6645cc7f" alt=""><figcaption></figcaption></figure>

To get the full path of the file, go to the files loaded and double-click to see all files loaded by this tool at execution.

<figure><img src="https://195908312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fngh2Qug3BBWIjUTvw9ZY%2Fuploads%2FHUD0c4LXn1YDGfgbnasj%2Fimage.png?alt=media&#x26;token=add6af46-56a9-470c-b8de-f46ed28470da" alt=""><figcaption></figcaption></figure>

You can check the last run column to see when was the tool actually run.
