Skip to content
Kitbay
Skill

analyzing-golang-malware-with-ghidra

Apache-2.0Updated on Aug 31, 2026Includes scripts

A malware-analysis skill from mukul975's cybersecurity skill collection for reversing programs written in Go with Ghidra.

What the skill teaches

A malware-analysis skill from mukul975's cybersecurity skill collection for reversing programs written in Go with Ghidra. It explains why Go binaries are hard to read (static linking, length-prefixed strings, stripped or garble-obfuscated names) and walks an agent through two steps: a standalone Python script that reads the Go build information, locates the pclntab table, lists third-party modules and sorts functions into network, crypto and process groups, and a Ghidra script that labels the pclntab and counts Go function symbols. It points to GoResolver for recovering obfuscated names and lists checks for a finished analysis. Prerequisites are Ghidra 11 or later, JDK 17 and Python 3.9.

Capabilities

  • Extract Go build information and module dependencies from a binary
  • Locate the pclntab to recover function names
  • Label Go runtime structures in Ghidra with a script
  • Group recovered functions by network, crypto and process use