Skip to content

DEF CON 34 talks are here: 354 talks, summarized and searchable.

Browse DEF CON 34

When Your Memory Forensics Tools Only Tell Half the Story

Aaron Sparling

Blue TeamTalks50 minIntermediateOpen on YouTube ↗

Where

Talks
CactusCon 9

Duration

50 min

Shows how analysts dig past gaps in memory forensics tool output when hunting code injection in Windows processes.

Summary

Memory forensics tools often flag a suspicious process but leave the analyst without the full picture. This talk walks through how to dig further when that happens, using open-source tooling in a REMnux virtual machine. The speaker introduces code injection in general terms, covering DLL injection, reflective DLL injection and process hollowing, and outlines the typical steps malware takes to write code into a running process.

The bulk of the session is three memory-image demonstrations. Two are straightforward: suspicious svchost and explorer processes are pivoted on through process listings, string dumps, YARA scans and malfind output, and an injected executable is confirmed inside a Chrome process. The third case is the harder one. Malfind points at a service host whose memory region shows no visible content, so the analyst checks later pages, finds an embedded PE header, carves the binary out of a dump with a hex editor, and matches it to a known malware family using ClamAV and string analysis.

The takeaway for practitioners is that a flagged memory region with no visible data can still matter, and that knowing how each plugin works helps fill the gaps that automated output leaves behind.

Related talks

Talks·19 min

  • Objective by the Sea
  • Blue Team
  • Date: Oct 2022
  • Location: Spain

Matt Benyo

Shows how the open-source Swift framework Aftermath gathers and timelines macOS endpoint artifacts after a malware alert.

incident-responseopen-sourceframework+2