The volatile memory should be acquired as early as possible, before any remediation action and before the system is shut down, as the memory is altered by every action taken on the system and lost upon shutdown. To limit the footprint on the system, the acquisition utility should preferably be executed from, and the memory image written to, an external drive or a network share.
The memory of virtual machines should preferably be acquired from the hypervisor (through a memory snapshot for instance), which does not require executing any utility in the virtual machine and thus limits the alteration of its memory.
The acquisition procedures are detailed in the following notes:
-
Windows:
WinPmem,DumpIt, and memory-related files on disk (pagefile.sys,swapfile.sys, andhiberfil.sys). -
Linux:
AVMLandLiME. -
Virtual machines:
VMware vSphere/ESXiandMicrosoft Hyper-Vmemory snapshots.
The analysis of the acquired memory images is covered in the memory analysis overview.
View on GitHub