Memory forensics framework recovers runtime artifacts from Go malware
The authors assert their framework can reconstruct Go runtime state and extract hidden artifacts such as C2 endpoints and encryption keys from memory
Security & privacy arXiv 13 May 2026 Method Prototype evidence
Published as “Memory Forensics Techniques for Automated Detection and Analysis of Go Malware”
Why it matters
Enables analysts to extract runtime-only artifacts from Go malware, improving detection and incident response where static tools fall short.
Summary
The framework recovered critical runtime forensic artifacts-including C2 configurations, encryption keys, persistence paths, and dynamically generated strings-from real-world Go malware samples (BRICKSTORM, Obscura, Pantegana) and an open-source binary, demonstrating that memory forensics can reveal information static analysis misses; the evidence is based on concrete recovered values across multiple malware families, though the evaluation is limited to a handful of samples.
What they found 2
- go_strings extracted clear-boundary string artifacts, including hardcoded credentials, from a Go sample.
“Results demonstrate that go_strings successfully extracted string artifacts with clear boundaries and memory locations, such as hardcoded credentials from Screenshotter, which appear only as concatenated data in standard strings output.”
- go_functions recovered full binary paths and classified functions by their source file.
“The go_functions plugin recovered complete binary paths and classified functions by source file”
Caveats 3
- Our framework currently targets x86-64 architecture, as it covers the majority of environments where Go malware is observed.
- Supporting ARM64 would require adapting the ABI-aware backward analysis to different calling conventions and register sets.
- Thus, extending dataflow tracking to local variables and return values would enable richer semantic analysis, including taint propagation and more complete execution reconstruction.
What’s new here 4
- Parses Go runtime metadata (pclntab, moduledata) directly from process memory to reconstruct types and functions.
- Recovers both heap-allocated and static strings by interpreting Go string headers without relying on symbols.
- Applies ABI-aware backward analysis to infer call-site argument values from registers and stack frames.
- Analyzes goroutine stacks to capture active functions and their runtime arguments, exposing execution state unavailable to static tools.