# AppCompatCacheParser

AppCompatCacheParser is a command line tool developed by Eric Zimmerman, to process the ShimCache (AppCompatCache) on Windows operating systems, identifying items such as:

* Executable filepaths
* Timestamp of last execution

Results can output the hive entries files into .csv for further analysis. Further Information the ShimCache can be found on [Darkcybe - Evidence of Execution](https://darkcybe.github.io/posts/DFIR_Evidence_of_Execution/#shimcache-appcompatcache)

| Tool Name                                                          | Version | MITRE ATT\&CK Tactic                                  | MITRE ATT\&CK Technique |
| ------------------------------------------------------------------ | ------- | ----------------------------------------------------- | ----------------------- |
| [AppCompatCacheParser](https://ericzimmerman.github.io/#!index.md) | V1.5    | [Execution](https://attack.mitre.org/tactics/TA0002/) |                         |

## Instructions

### Parsing the ShimCache (AppCompatCache) on a Live System

```powershell
appcompatcacheparser.exe --csvf %OUTPUT_FILENAME%.csv --csv %OUTPUT_DIRECTORY%
```

### Parsing the ShimCache (AppCompatCache) from a Forensic Copy

```powershell
appcompatcacheparser.exe -f /PATH/TO/SYSTEM hive --csvf %OUTPUT_FILENAME%.csv --csv %OUTPUT_DIRECTORY%
```

#### Interesting Fields

* **Path:** Full filepath of executable
* **LastModifiedTimeUTC:** Timestamp in UTC of last modification
* **Executed:** Execution flag (applications can be shimmed without being executed)

#### **Output**

<figure><img src="/files/EplHw0iKkEuWWc3lFjcW" alt="AppCompat Cache Parser"><figcaption></figcaption></figure>

### Sources

* [Eric Zimmerman](https://ericzimmerman.github.io/#!documentation.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://darkcybe.gitbook.io/darkcybe/guides/dfir/dfir-tools/program-execution/appcompatcacheparser.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
