SOC and blue team
Volatility for Beginners: Memory Forensics Cheat Sheet
A computer's memory holds things the disk never does: running processes, network connections, decrypted data and code that only exists while the machine is on. Volatility 3 is a free framework for examining a memory image. Practice with a memory image of your own lab virtual machine or with published training images.
Get a Memory Image
- Easiest in a lab: suspend or snapshot a VirtualBox or VMware Windows VM and use the memory file (for example a
.vmemfile). - On a real machine, a tool such as WinPmem captures memory, only with authorization.
- Hash the image and work on a copy, as in digital forensics for beginners.
Install and First Commands
pip3 install volatility3(or clone the project from GitHub).vol -f memory.vmem windows.infoidentifies the system.vol -f memory.vmem windows.pslistlists processes;windows.pstreeshows parent and child.vol -f memory.vmem windows.cmdlineshows each process's command line.vol -f memory.vmem windows.netscanlists network connections.
If the vol command is not found, run python3 vol.py from the project folder instead.
What to Look For
- A process with an unusual parent, such as a document reader starting a shell.
- A system process name spelled slightly wrong, or running from the wrong folder.
- Connections to addresses nobody can explain.
windows.malfindflags memory regions that look like injected code. It also has false positives, so treat results as leads.
Connect It to the Rest
Memory findings gain meaning next to logs and disk evidence. Compare process names with Sysmon events, and see how malware analysis and incident response use them.
Cheat Sheet
windows.infoidentifies the image.windows.pslistandwindows.pstreelist processes and parents.windows.psscanfinds processes that were hidden or ended.windows.cmdlineshows command lines.windows.netscanlists network connections.windows.dlllistlists loaded libraries.windows.filescanfinds file objects in memory.windows.malfindflags suspicious memory regions.
Where It Fits
Memory forensics appears in the malware and Windows forensics parts of the CHFI syllabus and in incident handling; see the ECIH exam guide.
Sources and Further Reading
Want to investigate a staged incident with a trainer? Book free trial classes. Contact us or call +91 86868 92922.
Courses Mentioned in This Guide
More Guides
Digital Forensics for Beginners: Chain of Custody and First Steps
A beginner guide to digital forensics: the investigation process, chain of custody, why you never work on the original, free tools to practice and the career.
Read the guide →Autopsy and the Sleuth Kit for Beginners: Disk Forensics
Build a practice disk image, list and recover deleted files with The Sleuth Kit and review it in Autopsy, with commands for a Linux forensics lab.
Read the guide →CHFI v11 Certification: Exam Format, Eligibility and 15 Modules
What the EC-Council CHFI exam looks like: 150 questions in 4 hours, the 15 modules, 68 labs, who can start and what digital forensics work involves.
Read the guide →Ransomware Explained: How It Works and How to Respond
How ransomware gets in, spreads and encrypts, what double extortion means, the defenses that matter and the first response steps for a security team.
Read the guide →Start Your Cyber Security Career
Talk to a counselor, choose the right course for your goals, and get the fee, syllabus and next batch dates in writing.
- Call+91 86868 92922
Open 7 days: Mon to Fri 8:30 AM to 8:30 PM IST
Sat and Sun 10 AM to 6 PM IST - Emailinfo@hackingtrainer.com
- VisitGround Floor, G-3, Sri Venkatasai Nest, Kallu Compound Road, Nagarjuna Nagar Colony, Yella Reddy Guda, Ameerpet, Hyderabad – 500073
Open in Google Maps