← Lab /Software

GoResolver recovers many obfuscated Golang function names via control-flow graph similarity

GoResolver can automatically recover obfuscated Golang function and package names by comparing control-flow graph similarity to clean reference binaries.

Software Volexity 1 Apr 2025 Tooling Prototype evidence

Published as “GoResolver: Using Control-flow Graph Similarity to Deobfuscate Golang Binaries, Automatically”

Why it matters

The tool enables faster, more complete static analysis of obfuscated Golang malware, allowing analysts to focus on core malicious logic.

Summary

Volexity built an open-source toolchain called GoResolver that extracts whatever symbols remain in a Golang binary, fingerprints the Go runtime version, and then matches functions to clean reference binaries using control-flow graph similarity. When run on a Garble-obfuscated sample, the tool resolved many functions to meaningful names and identified package names, even though some symbols remained partially obfuscated. The approach leverages a 2020 CFG similarity algorithm and integrates with IDA Pro and Ghidra via plugins. Evidence is limited to a single malware sample demonstration.

What they found 1

  1. Numerous symbols were resolved to more meaningful names in a Garble-obfuscated sample.

    “As shown above, numerous symbols have been resolved to more meaningful names, even though they are still partially obfuscated.”

Caveats 2

  • Even though these symbols are only partially resolved, knowing their package name helps understand the binary layout.
  • Volexity has identified that testing only 2% of the Golang runtime was sufficient to discriminate between major versions.

What’s new here 4

  • Applies control-flow graph similarity to map obfuscated functions to original names.
  • Combines CFG similarity with existing GoReSym symbol extraction for deeper recovery.
  • Generates per-version Golang reference binaries and fingerprints the runtime to identify the compiler version.
  • Provides IDA Pro and Ghidra plugins for seamless import of recovered symbols.