What was running on this computer? A first look at a RAM dump
Memory holds what a disk does not: running programs, open network connections and code that never touched a file. This workflow is a first pass over a Windows memory dump with Volatility 3. It shows what each plugin prints and how to read it.
This workflow was written from the tools' documentation and published references. It has not yet been checked step by step on the practice data. If a step does not match what you see, please report it.
What you will be able to answer
- Which programs were running when memory was captured
- Which program started which
- What command line each program was started with
- Which network connections were open
- Which processes deserve a closer look
What you need
- A memory dump file, or a practice dump (see the practice section on this page)
- Volatility 3 installed. It needs Python 3.8 or newer. The vol command is added when you install it with pip
- An internet connection on first use, so that Volatility can download the Windows symbol files it needs from Microsoft. Offline symbol packs also exist
- Free disk space of at least the size of the dump, for hashes, notes and exported data
Steps
- 1
Capture memory first, if the computer is still on
Memory is lost when the computer is switched off, so capture it before anything else. Run the capture tool from a USB drive and save the dump to a different drive, not to the computer's own disk. For example, WinPmem is started with the output file name as its argument. Note the time, the tool and its version, then hash the dump straight away.
winpmem_mini_x64.exe physmem.raw
Running a capture tool changes a small part of memory. That is accepted practice, but write down that you did it. Use the exact file name of the tool version you have; it differs between releases.
- 2
Hash the dump and check that Volatility can read it
Calculate the dump's hash value and write it down. Then run the info plugin. It prints rows such as Kernel Base, Is64Bit, NtMajorVersion, NtMinorVersion and SystemTime. If you see them, the dump is readable. SystemTime is the moment the dump was taken, so every time you read later is compared with it. The first run can take several minutes while symbols download.
vol -f memory.raw windows.info
If vol is not found, run python3 vol.py from the Volatility 3 folder instead. In Volatility 3 every Windows plugin starts with windows. and there is no --profile option.
- 3
List the processes as a tree
pstree lists the processes Windows was tracking and indents each child under its parent. The columns include PID, PPID, ImageFileName, Threads, CreateTime, ExitTime, and recent versions add Audit, Cmd and Path. Compare with normal Windows: services.exe and lsass.exe are started by wininit.exe, svchost.exe by services.exe, and there is one copy of lsass.exe. Flag odd names, odd parents (a document program starting a command shell) and odd paths.
vol -f memory.raw windows.pstree
ToolsVolatility 3 - 4
Look for hidden or finished processes
pslist walks the list that Windows keeps. psscan ignores that list and searches memory for process records, so it can find processes that ended (they show an ExitTime) or that were unlinked from the list. Put the PID columns of both outputs side by side. A PID that only psscan shows needs an explanation: ended normally, or hidden. Neither answer is proof by itself.
vol -f memory.raw windows.psscan
ToolsVolatility 3 - 5
Read the command lines
cmdline prints PID, Process and Args: the full text the program was started with, including options and file names. This often explains what a flagged process was doing, for example which archive an archive program had open. If a process is listed with no arguments, part of its memory may have been paged out. Check pstree for the same process.
vol -f memory.raw windows.cmdline
ToolsVolatility 3 - 6
List network connections
netscan prints Offset, Proto, LocalAddr, LocalPort, ForeignAddr, ForeignPort, State, PID, Owner and Created. State shows LISTENING, ESTABLISHED or CLOSED for TCP. Match the PID to the processes you flagged. The plugin's source lists support up to Windows 10 build 20348 on 64-bit systems. For newer builds try windows.netstat, which walks the network tables instead of scanning, and read both outputs with care.
vol -f memory.raw windows.netscan
ToolsVolatility 3 - 7
Flag possible injected code
malfind lists memory regions of a process that are executable and also writable, or that changed after loading. Columns include PID, Process, Start VPN, End VPN, Protection (for example PAGE_EXECUTE_READWRITE), a hexdump and a disassembly. A Notes entry that mentions an MZ header means the region starts like a program file. Many normal programs trigger it, so use it only on processes you already doubted. Add --pid to focus on one.
vol -f memory.raw windows.malfind --pid 1234
- 8
Browse the dump a second way
MemProcFS presents the same dump as a drive of folders and files. On Windows it needs the Dokany file system driver, and it mounts as drive M: by default. Open the folder of a process you flagged and compare its name, PID and parent with what Volatility printed. Adding the option -forensic 1 starts its forensic mode, which can also write CSV files.
memprocfs.exe -device memory.raw
- 9
Cross-check and write it down
Keep each plugin's output as a text file. Record the Volatility version, the exact commands, the dump's hash value, the Windows version from windows.info and the SystemTime. Mark every item as a lead or as confirmed by a second source, and say which source it was.
Where the evidence is stored
windows.infoVolatility 3 pluginWindows version, 32 or 64 bit, and SystemTime, the time of the dump
windows.pslist and pstreeVolatility 3 pluginsProcesses Windows was tracking, with PID, parent PID, start time and exit time
windows.psscanVolatility 3 pluginProcess records found by scanning, including ended or unlinked ones
windows.cmdlineVolatility 3 pluginThe command line each process was started with
windows.netscanVolatility 3 pluginConnections and listening ports, with the owning process and a created time
windows.malfindVolatility 3 pluginMemory regions that may hold injected code (leads only)
MemProcFS driveMounted view of the dump (M: by default)The same processes as folders, for a second look
Check your result
- Compare the process list from pstree with the process folders in MemProcFS for the same dump. Names and PIDs should agree.
- Check the Windows version and build from windows.info against the disk image or the case notes of the same computer.
- For a remote address from netscan, look for the same address in firewall logs or a packet capture from the same time.
- Run the same plugin a second time and compare the outputs. Hash the dump before and after you work to show it did not change.
Common mistakes
- Saving the memory dump to the computer's own disk. This overwrites data you may still need. Save to a separate drive.
- Using Volatility 2 commands such as --profile or a bare pslist. In Volatility 3 the plugin is windows.pslist and the profile is found from symbols.
- Reading only pslist. A hidden or finished process does not appear there, so always compare with psscan.
- Treating a malfind hit as proof of malware. Many normal programs create executable regions.
- Forgetting the dump time. Process start times only mean something when read against SystemTime from windows.info.
Write it up
A short, careful way to state this kind of finding in a report. Change the details to match your own results.
A memory dump taken on [date and time, time zone] with [tool and version] (SHA-256 [value]) was examined with Volatility 3 [version]. windows.info reported [Windows version]. Process [name], PID [number], parent [name], was started with the command line [text]. This is a lead and was not yet confirmed by a second source.
What this does not prove
- A memory dump shows one moment. It does not show what happened before, except for traces that happened to remain.
- Memory changes while it is being captured, so some records can be inconsistent or damaged.
- malfind and similar plugins produce false alarms. A flagged process is not proof of malware.
- If the computer was switched off before capture, live memory is gone. A hibernation file or page file on the disk may hold part of it.
- Volatility needs symbol files that match the Windows build. Without them, plugins fail. Network plugins may not support the newest builds.
- Plugin names, columns and options change between Volatility versions. Check the documentation for the version you install.
Practise on public data
MemLabs
A set of free practice labs for memory forensics in a capture-the-flag style: Lab 0 to Lab 6, from easy to hard. All dumps are from Windows computers. Each lab has its own folder in the repository. Lab 1, called Beginner's Luck, is rated easy. A published write-up of Lab 1 describes a Windows 7 SP1 64-bit dump that is hosted on a file-sharing site. The main page gives no download link, so look in the lab folder. Only Lab 0 has a detailed walkthrough. The others are checked by e-mailing flags to the authors, so there is no public answer key.
Your task. Open the Lab 1 folder, download the dump and hash it. Run steps 2 to 7 of this workflow. Write down the Windows version, the time of the dump, the processes that look out of place with their parents, and the command line of each. Find the process whose command line names a file, and say what that suggests.
The page for the repository does not list file sizes or a published hash, so record your own hash. If a download link no longer works, use another lab or make your own dump from a test computer.
Where to go next
- Which programs were run on this Windows computer? Look at the computer's disk for traces of the same program
- Who logged in to this Windows computer, and when? Check which accounts logged on around the time of the dump
- What happened in this network capture? Study the network traffic of the same computer, if you have a capture
- How do I make a forensic copy of a drive and prove it is exact? Learn how to hash a file or a drive and record it properly
Sources and further reading
- Volatility 3 documentation: getting started on Windows
- Volatility 3 on GitHub (install, symbols, first commands)
- Volatility 3 source: windows.malfind (shows exactly how regions are chosen)
- MemProcFS on GitHub
- MemLabs practice labs
A study guide written in our own words. It is not a legal or laboratory procedure. Follow your own lab's approved method on real cases. Last reviewed 24 Nov 2026.