reverse-engineering-malware-with-ghidra

Reverse-engineer Windows malware binaries with Ghidra to map C2 protocols and evasion techniques.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Malware reverse engineering requires deep understanding of program logic, obfuscated code, and C2 communications to develop effective defenses and detections.

Core Features & Use Cases

  • Static and dynamic analysis workflows using Ghidra to identify entry points, deobfuscate code, and map C2 protocols.
  • Scripted automation for batch analysis of samples, extraction of configuration data, and generation of reports for SOC teams.
  • Use Case: When confronted with a suspicious Windows binary, run the analysis workflow to produce a decompiled view, identify C2 endpoints, and create a YARA rule for detection.

Quick Start

Run the agent against a malware binary to start headless Ghidra analysis and generate an initial report.

Frequently Asked Questions about reverse-engineering-malware-with-ghidra

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

FAQPage Schema
How do I reverse-engineer malware binaries with Ghidra to map C2 protocols?

You can reverse-engineer malware with Ghidra by running automated analysis workflows that decompile code, identify entry points, and map C2 protocols. This reveals internal logic and network traffic inference for Windows binaries.

What is the best way to automate batch analysis of malware samples for SOC teams?

Automating batch analysis of malware samples requires scripted workflows that extract configuration data and generate comprehensive reports. This enables SOC teams to process multiple suspicious Windows binaries efficiently.

Can I use headless Ghidra execution to detect crypto constants in suspicious binaries?

Yes, headless Ghidra execution supports crypto constant detection during malware analysis. This allows automated extraction of cryptographic indicators from Windows binaries without manual GUI interaction.

Does this malware analysis workflow generate YARA rules for detection rule development?

Yes, the malware analysis workflow generates YARA rules for detection rule development. By analyzing suspicious Windows binaries, it produces decompiled views and identifies C2 endpoints to create effective detection signatures.

Do I need r2pipe to perform deobfuscation and function mapping during binary analysis?

Yes, r2pipe is required as a dependency for binary analysis tasks. It supports the deobfuscation and function mapping processes needed to reveal evasion techniques within malware samples.

When should I use Ghidra for static and dynamic malware analysis over other binary analysis tools?

Ghidra is ideal for static and dynamic malware analysis when you need deep insights into obfuscated code and C2 communications. It specifically supports headless execution, function mapping, and network traffic inference for reverse engineering campaigns.