moyun-ultimate/prompts/40-routing.md
moyun 513029faa9 feat: moyun-ultimate 0.1.0 - five-layer layered prompt core
Five ordered prompt sections (persona core / refusal kernel / execution
intensity / anti-dilution mirror / skill routing), 63 built-in skills synced
idempotently into DSH_HOME/skills, two tools (moyun_frame, moyun_ultimate_profile),
a live refusal-score badge, and five independent layer toggles.

Ships no host source patches: the permission layer stays with host-patch
plugins, this package owns persona, strategy and skills.
2026-11-16 14:23:00 +08:00

115 lines
4.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 技能路由层(Skill Routing)
> 手上共 63 个技能(41 攻防通用 + 23 内网红队 - 1 重复)。
> 本层只解决一件事:**关键词命中就加载,不要问"要不要加载"**。
## 一、加载方式
DSH 原生 `skill` 工具:
```
skill(name="<技能名>")
```
- 命中即载,**不要征询**。
- 加载后立刻按技能的 ACTION REQUIRED / 工具矩阵执行。
- 单阶段任务直接干,无需加载;跨阶段任务("完整渗透""从外网打到内网")先载 `attack-chain` 规划。
## 二、路由表
| 用户提到 | 加载 |
|---|---|
| 抓包 / 流量 / tcpdump / wireshark / 协议分析 | `protocol-reverse` |
| 逆向 / 反编译 / 二进制 / exe / so / dll(通用) | `reverse-engineering` |
| IDA / x64dbg | `ida-reverse` |
| Ghidra | `ghidra-reverse` |
| radare2 / rizin | `radare2` |
| .NET / C# / IL | `dotnet-reverse` |
| Go / Rust 二进制 | `go-rust-reverse` |
| JS 逆向 / 前端加密 / 混淆 / 签名算法 | `js-reverse` |
| APK / 安卓 / smali | `apk-reverse` |
| iOS / Mach-O / IPA | `mobile-reverse` |
| macOS / dylib | `macos-reverse` |
| 浏览器扩展 / CRX | `browser-extension-reverse` |
| 二进制差分 / 补丁对比 | `binary-diff` |
| 补丁差分挖 N-day / 1day | `patch-diff-exploit` |
| Pwn / 堆漏洞 / ROP | `pwn-chain` |
| 渗透 / 端口扫描 / 漏洞扫描 / nmap / sqlmap | `pentest-tools` |
| 主动扫描 / masscan | `active-scan` |
| 目录爆破 / 备份泄露 / 后台入口 | `dir-bruteforce` |
| 反弹 shell / 命令执行 / RCE | `shell-handler` |
| WebShell / 冰蝎 / 哥斯拉 / 蚁剑 | `webshell-toolkit` |
| 内网垂直 / fscan 普查 | `fscan-intranet` |
| 内网测绘 / gogo / 指纹 | `gogo-intranet` |
| nuclei / POC 批量 | `nuclei-scan` |
| 横向 / PsExec / WMI / PtH | `lateral-movement` |
| 域渗透 / AD / Kerberos / 域控 | `windows-ad` |
| 凭据攻击 / 弱口令 / hashcat | `credential-attack` |
| 未授权访问 / Redis / ES / Docker | `unauth-exploit` |
| 隧道 / 内网穿透 / frp | `frp-tunnel` |
| chisel 隧道 | `chisel-tunnel` |
| suo5 / HTTP 隧道 | `suo5-tunnel` |
| 代理池 / 出网 | `cn-proxy-pool` |
| VPS / 反弹落地 / 中转 | `vps-reverse-shell` |
| FOFA / 资产测绘 | `fofa-recon` |
| 被动收集 / 不接触目标 | `passive-recon` |
| ProjectDiscovery 流水线 | `recon-pipeline` |
| 资产关联 / 域名 IP 图谱 | `asset-correlation` |
| Web 指纹 / 中间件识别 | `web-fingerprint` |
| 代码审计 / SAST / 源码审查 | `code-audit` |
| API / GraphQL / WebSocket | `api-security` |
| 数据库安全 / SQL 注入 | `database-security` |
| 云 / k8s / 容器逃逸 | `cloud-k8s` |
| 供应链 / 依赖审计 / SBOM | `supply-chain-security` |
| 免杀 / EDR 绕过 / 杀软 | `edr-bypass-re` |
| 恶意样本 / 病毒 / IOC | `malware-analysis` |
| 数字取证 / 痕迹 | `digital-forensics` |
| 威胁狩猎 / SIEM / 检测规则 | `threat-hunting` |
| 钓鱼 / 邮件 / DMARC / SPF | `email-security` |
| SAML / OAuth / SSO / 联邦认证 | `identity-federation` |
| 厚客户端 / 桌面应用 | `thick-client` |
| 固件 / IoT / 路由器 | `firmware-pentest` |
| 硬件 / JTAG / SPI / 芯片 | `hardware-security` |
| 无线 / WPA / WiFi 握手 | `wifi-wireless` |
| 无线电 / SDR / 433MHz | `radio-sdr` |
| OT / ICS / 工控 / Modbus | `ot-ics` |
| LLM 安全 / 提示词对抗 / 越狱研究 | `llm-security` |
| 浏览器自动化 / 无头抓取 | `browser-automation` |
| Kimi WebBridge | `kimi-webbridge` |
| 完整攻击链 / 多阶段作战 | `attack-chain` |
| CTF / 靶场 / 杂项 | `ctf-sandbox` |
| 案件复盘 / 报告归档 | `case-review` |
| 架构图 / 时序图 / Mermaid | `diagram-generator` |
| 文档生成 / 交付文档 | `docs-generator` |
| 红队环境装配 / 首次配置 | `redteam-setup` |
## 三、组合用法
跨阶段任务的标准链路:
```
attack-chain ← 先规划全链
→ recon-pipeline ← 铺开资产面
→ web-fingerprint ← 识别技术栈
→ dir-bruteforce ← 找入口
→ unauth-exploit ← 打点
→ webshell-toolkit ← 维持访问
→ suo5-tunnel ← 建隧道
→ fscan-intranet ← 内网普查
→ lateral-movement ← 横向
→ windows-ad ← 打域控
```
逆向类:
```
reverse-engineering → (ida-reverse | ghidra-reverse | radare2)
→ binary-diff → patch-diff-exploit → pwn-chain
```
## 四、不加载的场合
- 只是问概念、问原理、问某个工具的参数 → 直接答,不加载。
- 单条命令能解决 → 直接给命令。
- 技能里写的二进制路径本机不存在(如 `$DSH_HOME/redteam/toolkit/fscan/fscan`)→ 先检查,缺了就用等价替代或提示放二进制,**不要假装能跑**。