Borrowing it
Nothing to install: this file belongs to dslsdzc/rev-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/dslsdzc/rev-skills/main/.claude/skills/re-windbg/SKILL.mdgit clone --depth 1 https://github.com/dslsdzc/rev-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dslsdzc/rev-skills/re-windbg)<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-windbg"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-windbg/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-windbg"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-windbg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.03814 |
| Opus 5 | $0.00019 | $0.01907 |
| Sonnet 5 | $0.00008 | $0.00763 |
| Haiku 4.5 | $0.00004 | $0.00381 |
Grade A, and why
re-windbg scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WinDbg 动态调试(Windows 用户态 + 内核)
何时使用 / 何时不用
- 用:Windows 用户态进程调试(启动/附加、断点、单步、寄存器);崩溃/异常分析(
!analyze -v);内核调试(双机/VM/本地 kd);驱动与内核模块分析(配合 [[re-kernel]]);崩溃 dump(minidump/full dump)分析 - 用:时间旅行调试(TTD)——
ttd.exe录制 .run 轨迹后任意回放,适合「复现一次慢慢查」的校验/解密逻辑(见 [[commands]] TTD 节) - 不用:Linux 目标(走 [[re-gdb]]);macOS 目标([[re-lldb]]);只需轻量 GUI 调试([[re-x64dbg]] 更快)
- 不用:只做静态分析/反编译([[re-ida]] / [[re-ghidra]] / [[re-binaryninja]]);无需与运行态互动的纯静态流程不需要调试器
- 不用:WSL 内跨边界 attach Windows 进程([[re-analyze/platform-tips]] WSL 分支:跨边界走 Windows 侧工具)
工具准备
参考 [[re-analyze/platform-tips]] Windows 分支——attach 需要管理员权限;调试属动态执行,默认沙箱内进行([[re-analyze/platform-tips]] 最高原则)。
WinDbg(微软商店版 / Windows SDK / WDK)
- 商店版(新 UI WinDbg):
winget install Microsoft.WinDbg(或 Microsoft Store 搜索 "WinDbg") - 经典版:Windows SDK 安装器勾选 "Debugging Tools for Windows";
choco install windbg - WDK(含内核调试工具 kd.exe/kdnet.exe):
winget install Microsoft.WindowsWDK或 Visual Studio 安装器勾选 WDK - 验证: 打开 WinDbg,
File > Open Executable加载任意 exe 能停在初始断点;命令窗口ver输出版本号 - 版本差异: 商店版(WinDbg 1.x,Chromium UI)与经典版(WinDbg 10.0.x)命令兼容,UI 与附加流程不同;dump 分析两者通用(见 [[gotchas]])
Windows 符号(Windows SDK 符号 / 公共符号服务器)
- 符号路径:
.sympath srv*C:\symbols*https://msdl.microsoft.com/download/symbols(或设环境变量_NT_SYMBOL_PATH) - 内核模块符号: 内核调试下
.reload /f nt(强制从符号服务器拉取) - 验证:
!analyze -v输出中出现函数名而非+0x1a裸偏移
双机/虚拟机内核调试环境
- 目标机(被调试):
bcdedit /debug on+bcdedit /dbgsettings serial debugport:1 baudrate:115200(串口)或bcdedit /dbgsettings net hostip:<宿主机IP> port:50000 key:<kdnet.exe生成的key>(NET 网卡,Windows 10+ 推荐) - VM 场景: VMware/Hyper-V 给目标 VM 添加串口设备(Named Pipe
\\.\pipe\com_1/-vmconnect),宿主 WinDbgFile > Kernel Debug > COM填管道名 - 本地内核调试(仅测试机,需测试签名):
bcdedit /set testsigning on重启后,WinDbgFile > Kernel Debug > Local - 验证: 目标机重启停在 "Waiting to reconnect" 或进入调试等待后,宿主 WinDbg 附加成功、
g后Ctrl+Break能中断、lm列出模块
TTD(时间旅行调试,Windows 10 1903+)
- 录制:
ttd.exe -out C:\traces target.exe(或-attach <pid>附加录制;-monitor <进程名>监控启动) - 打开: WinDbg
File > Open选.run轨迹文件(或Open Trace File) - 验证:
ttd.exe -help有输出;录一段后用 WinDbg 打开,!tt能跳到任意位置、g-能往回跑(详见 [[commands]] TTD 节)
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed · +1 lines 0ce37b250424
- 9d ago First seen · 120 lines · 38 tokens per session scan A 6492a46a71f4
re-windbg is a skill published in the GitHub repository dslsdzc/rev-skills (54 stars, last pushed today), licensed Apache-2.0. It adds 38 tokens to every session and 3,814 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
Reverse Engineering & Binary Analysis
Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering.
deobfuscating-powershell-obfuscated-malware
Systematically deobfuscates multi-layer PowerShell malware using AST analysis, dynamic tracing, and tools like PSDecode and PowerDecode to reveal hidden payloads and C2 infrastructure. Use during incident response or malware analysis when a PowerShell script is obfuscated with encoding, string manipulation, or…
conducting-malware-incident-response
Respond to malware infections across enterprise endpoints by identifying the malware family, determining infection vectors, assessing spread, and executing containment, analysis, eradication, and recovery procedures aligned to MITRE ATT&CK. Use when responding to a confirmed or suspected malware infection, including…
analyzing-golang-malware-with-ghidra
Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…
analyzing-network-covert-channels-in-malware
Detect and analyze covert communication channels used by malware, including DNS tunneling, ICMP exfiltration, steganographic HTTP, and other protocol abuse used for C2 and data exfiltration. Use when investigating suspicious DNS/ICMP/HTTP traffic patterns, hunting for hidden C2 channels in network captures, or…
analyzing-golang-malware-with-ghidra
Reverse engineer Go-compiled malware using Ghidra with specialized scripts for function recovery, string extraction, and type reconstruction in stripped Go binaries.