binary-analysis
Static binary reverse engineering, PE/ELF structural analysis, pattern scanning, disassembly, and binary patch generation.
来源信息
- 仓库
- alicewe1/alice_skill
- 最近来源活动
- 2026年9月23日 19:28
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 60
- Forks
- 18
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- binary-analysis
- description
- Static binary reverse engineering, PE/ELF structural analysis, pattern scanning, disassembly, and binary patch generation.
- x-alice-class
- reverse
# Binary Analysis Skill
This skill provides step-by-step procedures for static binary reverse engineering and analysis.
## Core Capabilities
1. **PE/ELF Structure Parsing**:
Inspect headers, sections, exported symbols, imported DLLs, and EntryPoint:
```bash
python .agents/tools/re-toolkit/cli.py parse-pe <target_file> --json
```
2. **Instruction Disassembly**:
Disassemble raw binary or specific section offsets:
```bash
python .agents/tools/re-toolkit/cli.py disasm <target_file> --offset 0x1000 --length 128 --arch x86_64
```
3. **Pattern Scanning (AOB Scanner)**:
Locate code patterns across memory sections with wildcards:
```python
from pe_parser import PEParser
from disasm import pattern_scan
with open("target.exe", "rb") as f:
data = f.read()
offsets = pattern_scan(data, "48 89 5c 24 ?? 55 48 83 ec")
print("Found offsets:", [hex(o) for o in offsets])
```
4. **Instruction Micro-Emulation**:
Test and execute arithmetic / logic routines in isolation without running target binaries:
```bash
python .agents/tools/re-toolkit/cli.py emulate --code "B82A000000505BC3"
```
在 GitHub 查看