TryHackMe · 2026-07-01 · 2 min read
Memory Forensics
TryHackMe memory forensics room using Volatility to identify profiles, dump and crack Windows hashes, recover console activity, find shutdown time, and extract a TrueCrypt passphrase.
CTF Room: Memory Forensics
- Link to room
- Difficulty: Easy
- Category: Memory Forensics, Volatility, Windows DFIR
- OS: Windows
1. Brief
Memory Forensics is a TryHackMe room focused on pulling useful evidence from Windows memory dumps with Volatility.
The room provides separate .vmem files for each task. The workflow is simple but useful: identify the correct profile, run the right Volatility plugin, and then extract the evidence needed for each question.
2. Task 1 - Introduction
I have understood the task and can continue to the questions!
No analysis was required here. This task just confirms that the memory dumps are large and that Volatility is the main tool for the room.
3. Task 2 - Login
What is John's password?
The first step with a memory image is to identify the right Volatility profile.
Identify Profile
volatility -f Snapshot6.vmem imageinfoThe suggested profile was Win7SP1x64, so I used that for the rest of this task.
To recover local Windows hashes from memory, I used hashdump.
Dump Hashes
volatility -f Snapshot6.vmem --profile=Win7SP1x64 hashdumpAfter saving John's NTLM hash to a file, I cracked it with John the Ripper and rockyou.txt.
Crack Hash
john --wordlist=/usr/share/wordlists/rockyou.txt --format=NT hash.txtAnswer
4. Task 3 - Analysis
When was the machine last shutdown?
This task used a different memory dump, so I checked the profile again.
Identify Profile
volatility -f Snapshot19.vmem imageinfoAgain, Win7SP1x64 was the useful profile. Volatility has a plugin specifically for the last shutdown timestamp.
Shutdown Time
volatility -f Snapshot19.vmem --profile=Win7SP1x64 shutdowntimeAnswer
2020-12-27 22:50:12What did John write?
The room mentioned that John had a command prompt open. For that, I used the console plugin to recover console command history and output from memory.
Console History
volatility -f Snapshot19.vmem --profile=Win7SP1x64 consoleThe recovered console text contained the flag.
Answer
5. Task 4 - TrueCrypt
What is the TrueCrypt passphrase?
The final task focused on a suspected encrypted TrueCrypt volume. If the passphrase was still resident in memory, Volatility could recover it with the TrueCrypt plugin.
TrueCrypt Passphrase
volatility -f Snapshot14.vmem --profile=Win7SP1x64 truecryptpassphraseThe passphrase was present in memory.
Answer
6. Summary
This room is a clean Volatility practice set:
- Use
imageinfoto identify the right profile. - Use
hashdumpand John the Ripper to recover John's password. - Use
shutdowntimeto build the timeline. - Use
consoleto recover command prompt activity. - Use
truecryptpassphraseto pull an encryption passphrase from memory.
The main lesson is that memory often contains exactly the evidence disk analysis misses: live credentials, command history, timestamps, and encryption secrets.