Menu

Capture RAM first: the order of operations on a suspect host
📰

Capture RAM first: the order of operations on a suspect host

DEV Community: infosec·Rocky·8 days ago
#Jy9BKZV7
#devtoinfosec#devto#dev#memory#disk
Long article (464 words) — no AI summary yet.
Reading 0:00
15s threshold

Picture an analyst whose EDR just flagged a signed binary spawning PowerShell. They pull the binary from disk and compare the hash with the vendor's copy. It matches. Every file they check looks fine, and the host gets powered off "to be safe". The case ends there, because the evidence was in memory and memory is gone.

This is a scenario, but the mistake is common enough that RFC 3227 exists partly to prevent it. It ranks evidence by how fast it disappears. Registers and cache go first, then the routing and ARP tables, process list and RAM, then temporary files, then disk. You collect in that order.

What lives only in memory

The process list as it actually is right now. Open network connections and the processes that own them. Code injected into a legitimate process. Decrypted copies of data that is encrypted on disk. A shutdown removes all of it, and a reboot is no better.

The order to use

1. Record the network state. On Windows run netstat -ano . On Linux run ss -tupan .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.