Skip to content
Back to skills

Reverse Engineering

ASecurity

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-developm...

  • 46 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 27, 2026
ai-agentsjavascriptpythongojavac++debuggingapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add j4flmao/agent-skills --skill reverse-engineering --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reverse Engineering?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Reverse Engineering
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/j4flmao-reverse-engineering/badge)](https://www.skillsdirectory.com/skills/j4flmao-reverse-engineering)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md3.8 KB
  • references/merged-reverse-engineering.md4.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.