static-reverse-analysis

Analyze binary executables through disassembly, decompilation, and string extraction without execution.

1|Updated Aug 3, 2026
One-click install
npx skills add https://github.com/hanmujun/hanmujun-agent-public --skill static-reverse-analysis-hanmujun
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: static-reverse-analysis
Source: https://github.com/hanmujun/hanmujun-agent-public/tree/main/skill-library/static-reverse-analysis
Command: npx skills add https://github.com/hanmujun/hanmujun-agent-public --skill static-reverse-analysis-hanmujun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pefile.

What problem does it solve? Reverse engineers and security analysts need to understand what an unknown binary does without running it, whether for CTF challenges, malware triage, or vulnerability discovery. This Skill provides a complete static analysis playbook covering file format parsing, string extraction, disassembly, unpacking, and automated reporting. ## Core Features & Use Cases - File Format Analysis: Parse PE, ELF, and Mach-O headers, sections, symbols, and imports using pefile, readelf, and objdump. - Disassembly & Decompilation: Workflows for IDA Pro, Ghidra headless, Radare2, Binary Ninja, and objdump with concrete commands. - Unpacking & Crypto Detection: Identify packers with Detect It Easy, unpack UPX, deobfuscate .NET with de4dot, and locate AES/Base64 constants. - Automation Scripts: Ready-to-use Python classes for batch analysis, suspicious string detection (URLs, IPs, API keys), and JSON report generation. - Use Case: Given an unknown CTF binary, run the automated analyzer to extract strings, enumerate functions via Radare2, detect embedded keys, and produce a structured analysis report. ## Quick Start Analyze the attached binary 'crackme.exe' statically and report its functions, suspicious strings, and any embedded cryptographic constants.

Frequently Asked Questions about static-reverse-analysis

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

FAQPage Schema
How do I statically analyze a binary without running it?▼

Start with file type identification using file and readelf or objdump for headers, then extract strings and disassemble with Radare2 or Ghidra. The Skill's automated Python analyzer chains these steps and outputs a JSON report of functions and suspicious indicators.

What tools are best for reverse engineering executables?▼

IDA Pro and Ghidra provide full disassembly and decompilation, Radare2 offers scriptable command-line analysis, and Binary Ninja suits modern workflows. For quick triage, objdump, strings, and Detect It Easy cover headers, indicators, and packer detection.

How to unpack UPX packed executables?▼

UPX-packed binaries are unpacked with the command upx -d target.exe -o unpacked.exe. Detect packing first with Detect It Easy by checking section names like UPX0 and UPX1, then fix imports with Scylla for stronger packers.

Does static analysis work on .NET binaries?▼

Yes, .NET executables are deobfuscated with de4dot and then decompiled in dnSpy, which recovers near-original C# source. This is often more effective than native disassembly since .NET retains rich metadata.

How do I find encryption keys hidden in a binary?▼

Search strings output for long high-entropy values and known constants like the AES S-Box bytes 63 7C 77 7B or the Base64 alphabet. The Skill's analyzer also greps for keywords such as key, secret, AES, and RSA to flag candidates.

What are the limitations of static reverse engineering?▼

Static analysis cannot observe runtime behavior, so heavily obfuscated code, runtime-decrypted payloads, and strong packers like Themida or VMProtect may require dynamic debugging or manual unpacking at the original entry point.