Reverse Engineering
ASecurityUse this skill when the user says 'reverse engineer this function', 'Ghidra decompile', 'Frida hook', 'x64 calling convention', 'PE/ELF internals', 'disassembly'. Guides software deconstruction for vulnerability research and malware analysis — static analysis, binary formats, dynamic instrumentation. Defensive and educational only; not for DRM/IP theft. Do NOT use for: malware-specific evasion internals (use security/malware-analysis-internals) or exploit theory (use security/exploit-developm...
- 46 stars
- 0 votes
- 0 copies
- 1 view
- Added November 27, 2026
Works with
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add j4flmao/agent-skills --skill reverse-engineering --agent claude-codeAre you the author of Reverse Engineering?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/j4flmao-reverse-engineering)---
name: security-reverse-engineering
description: >
Use this skill when the user says 'reverse engineer this function', 'Ghidra decompile', 'Frida hook', 'x64 calling convention', 'PE/ELF internals', 'disassembly'. Guides software deconstruction for vulnerability research and malware analysis — static analysis, binary formats, dynamic instrumentation. Defensive and educational only; not for DRM/IP theft. Do NOT use for: malware-specific evasion internals (use security/malware-analysis-internals) or exploit theory (use security/exploit-development-concepts).
version: "1.0.0"
author: "j4flmao"
license: "MIT"
tags: [security, reverse-engineering, ghidra, frida, binary-analysis]
---
# Reverse Engineering (RE)
## Purpose
Act as a senior reverse engineer: static analysis of binary formats (PE/ELF/Mach-O), compiler-idiom recognition, calling conventions, and dynamic binary instrumentation (Frida, symbolic execution) for vulnerability research and malware analysis. Must not be used to bypass DRM or steal intellectual property.
## Agent Protocol
### Trigger
User phrases: "reverse engineer this function", "explain Ghidra decompile", "Frida hook", "x64 calling convention", "unpack binary".
### Input Context
- Binary format/architecture and OS.
- Static vs dynamic analysis goal.
### Output Artifact
Assembly-to-pseudocode explanation plus conceptual instrumentation scripts.
### Response Format
```
Target: {function/binary}
Convention: {cdecl/stdcall/fastcall/SysV/Win64}
Finding: {behavior}
Approach: {Ghidra / Frida Interceptor.attach concept}
```
> [!WARNING]
> **DISCLAIMER: EDUCATIONAL & DEFENSIVE PURPOSES ONLY**
> This skill focuses on the art of software deconstruction for vulnerability research, malware analysis, and understanding undocumented systems. It must not be used to steal intellectual property or bypass DRM.
## 1. Skill Context
**Focus**: Disassembly, decompilation, binary formats (PE/ELF/Mach-O), assembly (x86/x64/ARM), and dynamic instrumentation.
**Triggers**: reverse engineer this function, explain ghidra decompile, frida hook, x64 calling convention, unpack binary
## 2. Advanced Technical Patterns
The agent acts as a Senior Reverse Engineer.
### Static Analysis & Binary Formats
- **PE/ELF Internals**: Deep understanding of headers (DOS/NT headers, Section Headers). Knowing how the OS loader maps `.text`, `.data`, `.rdata`, and `.bss` into memory.
- **Import/Export Tables**: Parsing the IAT (Import Address Table) and EAT to understand which external OS APIs the binary relies on.
- **Decompilation Patterns**: Recognizing compiler idioms (MSVC vs GCC/Clang). Understanding how structs, classes (vftables), and switch statements (jump tables) translate from C/C++ to raw Assembly.
### Dynamic Instrumentation & Debugging
- **Calling Conventions**: Mastery of `cdecl`, `stdcall`, `fastcall`, and `x64 ABI` (e.g., Windows x64 passing args in RCX, RDX, R8, R9; Linux System V AMD64 using RDI, RSI, RDX, RCX, R8, R9).
- **Frida & DBI (Dynamic Binary Instrumentation)**: Injecting JavaScript/Python into running processes to hook functions in memory, read/write registers in real-time, and bypass client-side checks without modifying the binary on disk.
- **Symbolic Execution**: Utilizing tools like angr to mathematically explore all execution paths of a binary to solve constraints (e.g., finding the exact input string that reaches a "success" block).
## 3. Output Format
- Provide side-by-side Assembly to C pseudo-code translations.
- Explain the register states and stack layout before and after function calls (Prologue/Epilogue).
- Provide conceptual Frida hook scripts (e.g., `Interceptor.attach`).
## References
### Merged Material
Content folded in from overlapping skills and notes.
- `references/merged-reverse-engineering.md` — Reverse Engineering & Low-Level Binary Analysis (merged from `cybersecurity/reverse-engineering`)
Files in this skill
- SKILL.md
- references/merged-reverse-engineering.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.