How RAM is captured
RAM acquisition means copying the content of memory from a running computer to a file. Every capture tool changes memory a little, so the examiner...
Pagefile.sys, hiberfil.sys and swap are disk files that can hold copies of memory content. They help when RAM was not captured, but they have limits.
When Windows needs more working memory, it moves rarely used memory pages to a hidden file called the page file, usually pagefile.sys at the root of the system drive. Linux does a similar job with a swap partition or swap file. These files can hold pieces of past memory, such as text, passwords or parts of programs. The pieces are scattered and incomplete, so search them with strings or carving tools.
When a computer hibernates, Windows writes the RAM content into hiberfil.sys. On newer Windows, Fast Startup can also make this file at shutdown, but it then holds mostly kernel data, not user sessions. The file is stored in compressed form, so it must be converted to a raw memory image before a normal analysis tool can read it. It is a snapshot of one moment and is overwritten each time.
If the drive uses full disk encryption, you need the key to read it.
Take a disk image, then extract these files from it. A running system keeps them locked, so a disk image is the safer source. Search the page file for strings and URLs. Convert hiberfil.sys and analyse it like a memory image. Settings may clear the page file at shutdown, so it can be empty.
A laptop was found powered off, so no RAM was captured. The examiner images the disk, extracts hiberfil.sys, converts it to a raw memory image and finds the browser and chat programs that were open at hibernation.
It holds a compressed copy of RAM from the time of hibernation, which can be converted and analysed.
It holds only pages moved out of memory, scattered over time.
Written in our own words from public forensic training material and standards. Last reviewed 24 Nov 2026. Procedures and laws differ by country and agency. Follow your own lab's procedure.