> For the complete documentation index, see [llms.txt](https://dika-maulidal.gitbook.io/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dika-maulidal.gitbook.io/home/writeups-and-walkthroughs/tryhackme-thm/volatility-essentials.md).

# Volatility Essentials

Learn how to perform memory forensics with Volatility!

<figure><img src="https://tryhackme-images.s3.amazonaws.com/room-icons/5fc2847e1bbebc03aa89fbf2-1749808663921" alt="" width="188"><figcaption></figcaption></figure>

{% embed url="<https://tryhackme.com/room/volatilityessentials>" %}

## Task 3: Memory Acquisition and Analysis

**3.1** What is the build version of the host machine in Case 001?

```bash
python3 vol.py -f ../Investigations/Investigation-1.vmem windows.info
```

<figure><img src="https://3379135436-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4pfT5vR8uE4ISAa7XuPV%2Fuploads%2FEh4xUH9Ii8PT3AZt9ZU9%2F1.%20vol.png?alt=media&amp;token=bd9834e2-baa8-478d-8499-7d53b43de1a9" alt=""><figcaption></figcaption></figure>

Kita bisa melihatnya di `NTBuildLab`.

```
Jawaban: 2600.xpsp.080413-2111
```

**3.2** At what time was the memory file acquired in Case 001?

```bash
python3 vol.py -f ../Investigations/Investigation-1.vmem windows.info
```

<figure><img src="https://3379135436-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4pfT5vR8uE4ISAa7XuPV%2Fuploads%2FEh4xUH9Ii8PT3AZt9ZU9%2F1.%20vol.png?alt=media&amp;token=bd9834e2-baa8-478d-8499-7d53b43de1a9" alt=""><figcaption></figcaption></figure>

Kita bisa lihat pada bagian SystemTime

```
Jawaban: 2012-07-22 02:45:08
```

## Task 4: Listing Processes and Connections

**4.1** What is the absolute path to the active Adobe process?

```bash
python3 vol.py -f ../Investigations/Investigation-1.vmem windows.pstree | grep -i adobe
```

<figure><img src="https://3379135436-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4pfT5vR8uE4ISAa7XuPV%2Fuploads%2FS6dpzo1tAPNqqiimTmc6%2F2.%20vol.png?alt=media&amp;token=a6a5510d-f44c-4531-95db-1eae9bd49b1a" alt=""><figcaption></figcaption></figure>

```
Jawaban: C:\Program Files\Adobe\Reader 9.0\Reader\Reader_sl.exe
```

**4.2** What is the parent process of this process in Case 001?

```
Jawaban: explorer.exe
```

**4.3** What is the PID of the parent process?

<figure><img src="https://3379135436-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4pfT5vR8uE4ISAa7XuPV%2Fuploads%2FrPXAdLlStUE6SyvMAEzI%2F3.%20vol.png?alt=media&amp;token=557a652e-c68a-4cf7-b735-b8ce497c210c" alt=""><figcaption></figcaption></figure>

```
Jawaban: 1484
```

**4.4** How many DLL files are used by the Adobe process that are outside the `system32` directory?

```bash
python3 vol.py -f ../Investigations/Investigation-1.vmem windows.dllist --pid 1484 | grep -v -i system32
```

<figure><img src="https://3379135436-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4pfT5vR8uE4ISAa7XuPV%2Fuploads%2F7CpYweNnMjL8L4NynQf7%2F4.%20vol.png?alt=media&amp;token=4367e3e9-9c55-4c71-b1fc-6affab9d3d42" alt=""><figcaption></figcaption></figure>

```
Jawaban: 3
```

**4.5** What is the name of the one KeyedEvent associated with the process's handles?

```bash
python3 vol.py -f ../Investigations/Investigation-1.vmem windows.handles --pid 1484 | grep -i keyedevent
```

<figure><img src="https://3379135436-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4pfT5vR8uE4ISAa7XuPV%2Fuploads%2FGZdLzP2RfGdfsN07thzt%2F5.%20vol.png?alt=media&amp;token=1375bdbd-6e23-4100-8cc0-b86ed7262652" alt=""><figcaption></figcaption></figure>

```
Jawaban: CritSecOutOfMemoryEvent
```

## Task 5: Volatility Hunting and Detection Capabilities

**5.1** What processes in the Case 001 memory file contain a header that points to a Windows executable file? (Answer: process1,process2)

```bash
python3 vol.py -f ../Investigations/Investigation-1.vmem windows.malfind | grep -i "MZ Header"
```

<figure><img src="https://3379135436-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4pfT5vR8uE4ISAa7XuPV%2Fuploads%2F0C475WPsPt2QrIOhclTr%2F6.%20vol.png?alt=media&amp;token=54bc630d-7241-4550-9453-40786f21c7bc" alt=""><figcaption></figcaption></figure>

```
Jawaban: explorer.exe,reader_sl.exe
```

## Task 6: Advanced Memory Forensics

6.1 What is the address for the `NtCreateFile` system call?

```bash
python3 vol.py -f ../Investigations/Investigation-1.vmem windows.ssdt
```

<figure><img src="https://3379135436-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4pfT5vR8uE4ISAa7XuPV%2Fuploads%2FolmksXLRidGINLWzux4F%2F7.%20vol.png?alt=media&amp;token=0023da6e-9730-4d9c-96e8-f7f3b3a01852" alt=""><figcaption></figcaption></figure>

```
Jawaban: 0x8056e27c
```

***
