Labs / Capstone investigations
From a memory image to a file on disk
Find the odd process in a memory image, follow its command line to a file in the disk image, hash it, and confirm it with a YARA rule. Volatility, sha256sum, and yara, in that order.
What you’re looking at
Find the odd process in a memory image, follow its command line to a file in the disk image, hash it, and confirm it with a YARA rule. Volatility, sha256sum, and yara, in that order.
Your goal: Go from an odd connection in memory to a confirmed malicious file on disk.
- Briefing
- the story: what happened and what evidence you were handed.
- Terminal
- the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
- Walkthrough
- the numbered path. Each step says what to type and what you should see. Hints open one at a time.
- Answer boxes
- under each question step. Type what you found and press Check.
Words you will meet
- YARA
- a rule language for finding patterns in files
- RAM
- the computer’s working memory
- PID
- process ID, the number Linux or Windows gives each running program
- SHA
- Secure Hash Algorithm, a fingerprint for data
- PPID
- parent process ID, the program that started this one
Start with step 1 in the walkthrough. Every step says what to do and what you should see. The whole thing takes about 2 min to talk through.
Briefing
A laptop was captured live, both RAM and disk, after the proxy flagged traffic to 192.0.2.150. The disk image is mounted read-only under cases/lt-chen/disk/.
Memory tells you what was running and where it was loaded from. The disk tells you whether that file is still there and what it is.
forensics-ws · Capstone investigations
Type help for the command list and objectives for your tasks. Everything runs in this browser.
Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.
The whole walkthrough
Every step in order, written to be read aloud: 289 words, about 2 min. It gives away every answer, so try the steps first.