Cyber Security Community Question

What are the most effective techniques for performing live memory forensics on encrypted systems?

Posted on 2024-08-12 • In Cyber Security • By Marcus Reed

I am dealing with a workstation that is running BitLocker, and I suspect there is active malware residing in the RAM. If I pull the plug, I lose the encryption keys and the volatile data. What are your go-to techniques for live memory acquisition without alerting the malware or causing a Blue Screen of Death (BSOD) on a system that is fully encrypted?

3 Answers 15,939 Views

All answers to this question 3 Answers

Kimberly Thompson Answered on 2024-08-14
Answered

Live memory forensics is a delicate art. First, you should use a trusted tool like DumpIt or Magnet RAM Capture. Always run these from a write-protected USB drive to minimize the footprint on the target system. Once you have the memory dump, you can use Volatility or Rekall to search for the BitLocker recovery keys within the RAM. This allows you to decrypt the physical disk image later without needing the user's' password. The key is to be as "quiet" as possible; avoid opening large applications or browsing the file system while the capture tool is running, as this can overwrite the very data you are trying to save.

Christopher Evans Answered on 2024-08-18
Answered

Have you checked the system for "Anti-Forensic" measures? Some modern malware variants will detect the execution of a memory dumper and immediately wipe the RAM or trigger a system reboot to clear their tracks.

Daniel Harris Commented on 2024-08-21
Commented

Christopher, we did encounter a "wiper" once. Now, we use a hardware-based DMA (Direct Memory Access) attack tool like PCILeech when we suspect the malware is forensic-aware. It allows us to read the memory over the hardware bus without the operating system—or the malware—ever knowing that the memory is being accessed. It's more complex to set up but much safer for sensitive investigations.

Sarah Jenkins Answered on 2024-08-24
Answered

Always remember to capture the pagefile and hiberfil.sys as well. Sometimes the encryption keys or fragments of the malware are swapped out from the RAM to the disk.

Marcus Reed Commented on 2024-08-26
Commented

Great point, Sarah. I’ve found crucial artifacts in the hibernation file that were no longer present in the active RAM dump because the system had been running for so long.

Write a Comment

Your email address will not be published. Required fields are marked (*)

Join the LearnersEra Community

Ask questions, share knowledge and learn from professionals across technology, project management and certification topics.

Change Country and Nearest City

Select your country and nearest city to see courses available in your region.