analyzing-golang-malware-with-ghidra

Recover function names and Go runtime metadata from stripped Go malware binaries with Ghidra.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/YukiIto1999/ctf-sleuth --skill analyzing-golang-malware-with-ghidra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyzing-golang-malware-with-ghidra
Source: https://github.com/YukiIto1999/ctf-sleuth/tree/main/.claude/skills/analyzing-golang-malware-with-ghidra
Command: npx skills add https://github.com/YukiIto1999/ctf-sleuth --skill analyzing-golang-malware-with-ghidra

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Reverse engineer Go-compiled malware binaries using Ghidra with specialized scripts to recover function names, extract strings, and reconstruct types in stripped Go binaries.

Core Features & Use Cases

  • Go binary metadata extraction (pclntab, buildinfo) to identify Go version and structure.
  • Function name recovery in stripped Go binaries using GoResolver-guided workflows.
  • Dependency extraction and detection of suspicious strings to map potentially malicious behavior.
  • Ghidra automation with Python scripts to streamline Go malware analysis.

Quick Start

Analyze a stripped Go malware binary with the included Ghidra scripts and Python agents to recover function names, extract strings, and map dependencies.

Frequently Asked Questions about analyzing-golang-malware-with-ghidra

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I recover function names in a stripped Go binary?

Recover function names in a stripped Go binary by applying GoResolver-guided workflows and Ghidra scripts that parse the pclntab structure to map addresses back to their original function names and Go runtime metadata.

What is pclntab recovery in Go malware analysis?

Pclntab recovery in Go malware analysis extracts the pclntab section from compiled binaries to restore function boundaries, identify module dependencies, and reveal obfuscated Go runtime structures.

Can I extract Go buildinfo and dependencies from obfuscated malware?

Yes, you can extract Go buildinfo and dependencies from obfuscated malware by applying specialized parsers that read embedded build metadata to identify the Go version and map third-party module dependencies.

How does Ghidra automation work for analyzing Go-compiled binaries?

Ghidra automation for analyzing Go-compiled binaries uses Python scripts to streamline metadata extraction, function name recovery, and Go-string analysis within the reverse engineering workflow.

Does this approach detect C2 infrastructure in Go malware strings?

Yes, this approach detects C2 infrastructure by extracting and analyzing suspicious Go-strings within the binary to identify potential command and control or data exfiltration indicators.

Do I need prior reverse engineering experience to analyze Go malware with Ghidra?

You need foundational Ghidra knowledge and an understanding of Go binary structures like pclntab to effectively run the included scripts and interpret the recovered metadata and dependency mappings.