agentleFS
z91772524-aiz91772524-ai/pojia-next-mac/skills/gpt56-reverse-pentest/SKILL.md

gpt56-reverse-pentest

Skill9 starsChanged 2 months agoMITView on GitHub

GPT-5.6 全栈逆向+渗透融合 Skill(已并入 Code Sentinel)。 覆盖:通用/深度/脱壳/黑盒/JS/APK/Binary Diff 逆向;渗透/API/攻击链; 游戏/卡密/Pwn/IoT/恶意样本/EDR/LLM/供应链/Patch Diff/CTF 全速解题; Kali 工具链、证据工作区、Writeup。与 ops_pipeline / reverse_engineering / ctf_toolkit / web_pentest 联动。触发词:逆向、脱壳、APK、JS 逆向、pwn、 卡密、固件、EDR、CTF 全速、binary diff、游戏外挂分析、全栈安全研究。

  • Reads credentials

The file

Files
SKILL.md

GPT-5.6 全栈安全研究 · Code Sentinel 融合包

本 Skill 来自 gpt56-reverse-pentest,已融合进 Code Sentinel 交付树:

位置路径
Skill 包$CODE_SENTINEL_HOME/codex-bundle/skills/gpt56-reverse-pentest/
参考文档$CODE_SENTINEL_HOME/references/gpt56-reverse-pentest/(16 篇)
辅助脚本$CODE_SENTINEL_HOME/scripts/gpt56_reverse_pentest/
总编排ops_pipeline / ops_router / ops_ctf_runner / pentest_suite

工作根:CODE_SENTINEL_HOME(注入后见 code-sentinel.env)。


与 Code Sentinel 主栈的关系

先本地取证,再方法论。 禁止编造命令输出。

# 健康 / 会话包
python "$CODE_SENTINEL_HOME/sentinel.py" doctor
python "$CODE_SENTINEL_HOME/scripts/ops_gpt56.py" session "<任务>" --target <路径> --paste

# 二进制 / 样本
python "$CODE_SENTINEL_HOME/scripts/reverse_engineering.py" <bin> --json
python "$CODE_SENTINEL_HOME/scripts/malware_analysis.py" <sample> --json
python "$CODE_SENTINEL_HOME/scripts/re_surface.py" <bin> --json

# 全深流水线
python "$CODE_SENTINEL_HOME/scripts/ops_pipeline.py" <target> --query "逆向+渗透"
python "$CODE_SENTINEL_HOME/sentinel.py" pipeline <target> --query "..."

# Web / 侦察
python "$CODE_SENTINEL_HOME/scripts/web_pentest.py" <url> --json
python "$CODE_SENTINEL_HOME/scripts/pentest_recon.py" <host> --json

# CTF
python "$CODE_SENTINEL_HOME/scripts/ops_ctf_runner.py" resume .
python "$CODE_SENTINEL_HOME/scripts/ctf_toolkit.py" <challenge>

# 本包辅助脚本
python "$CODE_SENTINEL_HOME/scripts/gpt56_reverse_pentest/reverse_tools.py"
python "$CODE_SENTINEL_HOME/scripts/gpt56_reverse_pentest/crypto_helper.py"
# pwn_template.py 需要 pwntools,按题复制改写

路由建议:口语任务先 ops_framing.py auto;信号路由 ops_router S1–S8;领域方法包 ops_method_packs。


领域导航图

                        全栈安全研究 Skill(融合 CS)
                              |
        +---------------------+---------------------+---------------------+
        |                     |                     |                     |
    逆向工程类            安全测试类            专项研究类          交付工程化
        |                     |                     |                     |
  通用/深度/脱壳        渗透/高级渗透        游戏/卡密/Pwn        Kali 工具链
  黑盒/JS/APK           API/浏览器自动化     固件/恶意样本        Case Lab
  Binary Diff           攻击链编排           EDR/LLM/供应链       Journal/Writeup
                        CS: web_pentest      CTF 全速 / Patch Diff  CS: ops_case
                        CS: pentest_recon    CS: malware_analysis   ops_journal

第一部分:逆向工程

1.1 通用逆向

文件识别 → 静态反编译 → 字符串/关键函数 → 动态验证 → 算法还原
工具:IDA / Ghidra / x64dbg / GDB · 本地:reverse_engineering.py

1.2 深度逆向

CFG、C++/Rust 对象、虚表、异常链、内核驱动

1.3 脱壳

UPX/ASPack → ASProtect/Armadillo → Themida/VMProtect → Enigma
方法:ESP 定律、内存 dump、硬件断点 · 详见 references/software-cracking.md

1.4 黑盒逆向

I/O 观察、strace/Procmon、抓包、文件行为、差分输入

1.5 JS 逆向

XHR 断点、混淆还原、补环境、签名算法 · references/web-reverse.md

1.6 APK 逆向

apktool/jadx → SO → Frida/JDWP → 重打包 · references/apk-reverse.md

1.7 IDA / radare2

IDAPython、FLIRT、r2 aaa/afl/pdf、r2pipe

1.8 Binary Diff

Diaphora/Bindiff、N-day、符号迁移 · references/binary-diff.md


第二部分:安全测试

2.1–2.2 渗透 / 高级渗透

PTES 七阶段;域渗透、PTH/PTT、隧道、后渗透
本地:pentest_recon / web_pentest / ops_chain

2.3 API 安全

OWASP API Top 10 · references/api-security.md

2.4 浏览器自动化

Playwright / Puppeteer / Selenium + Burp

2.5 攻击链编排

信息收集 → 初始访问 → 提权 → 凭据 → 横向 → 目标 · ops_chain.py plan


第三部分:专项研究

域参考CS 联动
游戏安全 / 外挂分析game-hacking.mdframing + reverse
授权/卡密software-cracking.mdops_algo
内存取证—Volatility + x64dbg
Pwnreverse-cheatsheet.md + pwn_template.pyctf_toolkit
IoT/固件iot-firmware.mdbinwalk 流
恶意样本malware-analysis.mdmalware_analysis.py
EDR/AV 规避研究edr-bypass.mdattack_evasion(实验室)
LLM 安全ai-security.md—
供应链supply-chain.mdsentinel_scan 供应规则
N-day / Patch Diffbinary-diff.md—
CTF 全速ctf-speedrun.mdops_ctf_runner

第四部分:交付工程化

  • Kali 工具链:references/kali-toolchain.md
  • Case Lab:与 ops_case / ops-lab/ 对齐
  • Field Journal:ops_journal.py
  • 报告 / Writeup:ops_report_contract + CTF writeup 模板
  • Web Payload:references/web-payloads.md
  • Linux 提权:references/linux-privesc.md

Case Lab 目录约定

case-001/
├── evidence/{binaries,memory,network,screenshots}
├── analysis/{idb,ghidra,scripts,notes}
├── exploits/
├── reports/
└── logs/

资源索引(本包)

references/(相对本 Skill 或 $CODE_SENTINEL_HOME/references/gpt56-reverse-pentest/)

文档内容
web-payloads.mdWeb Payload
web-reverse.mdJS/站点逆向
ai-security.mdLLM 安全
reverse-cheatsheet.md逆向速查
software-cracking.md卡密/授权
game-hacking.md游戏安全
linux-privesc.mdLinux 提权
apk-reverse.mdAPK
binary-diff.mdDiff / N-day
api-security.mdAPI
iot-firmware.md固件
malware-analysis.md恶意样本
edr-bypass.mdEDR 研究
ctf-speedrun.mdCTF 全速
kali-toolchain.mdKali 速查
supply-chain.md供应链

scripts/

脚本用途依赖
reverse_tools.py编码/XOR/模式搜索标准库
crypto_helper.pyCTF 密码学辅助可选 pycryptodome
pwn_template.pyPwn exploit 模板pwntools

交付格式(与 CS 一致)

## 结论
## 证据(权威态)
## 复现步骤 / 命令
## 完整技术产出(代码/脚本/补丁)
## 制品路径
## 防御加固(可选)

触发后默认动作

  1. 判定域(RE / Web / Pwn / Crypto / APK / IoT / Malware / CTF)
  2. 跑对应 CS 本地脚本取证
  3. 打开本包 references 补方法细节
  4. 结论先行 + 完整可复现交付
  5. 需要续跑 → ops_ctf_runner resume

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.