Network Artifact Recovery
What you'll learn: How to extract network-related artifacts from memory images to reconstruct what a compromised system was communicating with and identify network-based malware.
When you acquire a memory dump during incident response, it's like taking a snapshot of your computer's brain. Hidden in that snapshot are critical network breadcrumbs: active connections, ports the system was listening on, DNS queries it made, and even evidence of malware "phoning home" to command-and-control servers.
Why Network Artifacts Matter
Network artifacts in memory reveal what your system was doing at the moment of capture—connections that may have since terminated, temporary listening ports that malware opened and closed, and DNS cache entries showing domain lookups that logs might have missed. This is crucial because attackers often establish network connections that leave no trace on disk.
What You Can Extract
Active Network Connections: TCP and UDP sockets show which remote IPs and ports your system was communicating with. This helps identify data exfiltration channels or lateral movement.
Listening Ports: Processes binding to ports reveal backdoors or malicious services waiting for attacker commands.
DNS Cache: Resolved domain names show what sites or C2 domains were queried, even if the connection was brief or encrypted.
Process-to-Socket Mapping: Linking network connections back to specific processes helps distinguish legitimate traffic from malware communication.
The Investigation Flow
Think of memory as a crime scene where suspects left their wallets behind. You're looking for network "wallets"—data structures that identify who was talking to whom. Tools parse memory for kernel network structures, extract connection details, and correlate them with running processes you identified earlier (from process analysis).
Key Takeaway: Network artifact recovery from memory reveals active connections, listening ports, DNS cache, and malware network behavior that might otherwise be invisible, providing critical context for identifying compromised systems and attacker infrastructure.