agentleFS
zhaji2333zhaji2333/CkSKILLS/.agents/skills/binary-re/SKILL.md

binary-re

Skill155 starsChanged 12 days agoMITView on GitHub

二进制/固件/ELF/PE/内存破坏逆向专项。当目标是 PE/ELF/SO/固件可执行文件、Windows 服务、TCP 二进制服务、需要逆向协议或挖内存破坏漏洞时调用。

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

binary-re — 二进制/固件/ELF/PE/内存破坏逆向专项

何时调用

  • PE/.NET/ELF/SO/固件二进制
  • TCP 行协议/自定义协议服务
  • 内存破坏(溢出/UAF/格式化字符串/越界)
  • 逆向算法/授权/加密/口令
  • 驱动/内核组件

30 秒分诊

  1. 先 file/checksec/strings/readelf 摸清形态
  2. 服务型:nc 看 banner/HELP 摸命令集
  3. 下载型:拿二进制本地静态逆向;再找隐藏路由/表单
  4. 固件型:找口令常量/XOR 表/状态机/加密数据

首枪顺序

  • 未初始化内存:BUILD/DUMP/EXPORT 直接 dump 结构体
  • 越界读:声明长度 > 载荷(heartbeat);固定偏移常见凭据/敏感数据
  • LRU/历史:PUT 满容量触发淘汰,HIST 读被淘汰项
  • 负偏移/超长写:覆写 guard/secret → REVEAL
  • 栈溢出:无 canary/NX off → ret2shellcode/ROP
  • 固件:rodata XOR 表、口令常量、状态转移表、TEA/RC4/PJW/FNV
  • Go stripped:pclntab 恢复符号;VM/decoy 识别
  • 真实环境:校验通过后读取本地授权文件/输出设备凭证;未公开表单/命令从二进制字符串抄

知识库索引(按需开小块,禁通读)

文件用途大小
knowledge/二进制与固件逆向实战.mdv2 实战:服务型/泄露/破坏/固件4.0KB
knowledge/windows-reverse-engineering-05-五、缓冲区溢出专项挖掘.md缓冲区溢出1.3KB
knowledge/windows-reverse-engineering-11-十一、漏洞利用构造.md漏洞利用构造0.9KB
knowledge/windows-reverse-engineering-03-三、静态分析要点.md静态分析要点1.8KB
knowledge/windows-reverse-engineering-04-四、动态分析要点.md动态分析1.1KB
knowledge/windows-reverse-engineering-10-十、反调试-反虚拟机对抗.md反调试对抗1.0KB

其余 8 个知识块(按标题搜,禁止通读):ls knowledge/;原始清单见 ../../../docs/MIGRATION.md。

相关

  • source-audit / mobile-app

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.