re-anti-analysis

re-anti-analysis is a skill for Claude Code from dslsdzc/rev-skills. It costs 126 tokens per session (6,295 once invoked), scanned A, original, Apache-2.0.

A workflow for examining software that is packed, protected, or deliberately made difficult to understand. It covers identifying the protection, unpacking simple or advanced cases, and undoing some forms of obfuscation.

In plain words
What is it for?
Use it to identify packers such as UPX or VMProtect, locate the original entry point, dump unpacked code, repair imports, and analyze anti-debugging or obfuscated code.
Why use it?
It helps analysts move from an unknown protected program to code and evidence that can be inspected with reverse-engineering tools.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to identify packers such as UPX or VMProtect, locate the original entry point, dump unpacked code, repair imports, and analyze anti-debugging or obfuscated code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dslsdzc/rev-skills/re-anti-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dslsdzc/rev-skills --skill re-anti-analysis
Clone the repo
git clone --depth 1 https://github.com/dslsdzc/rev-skills

Made for: Claude Code.

Wrote 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.

agentmods badge for re-anti-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-anti-analysis/github.svg)](https://agentmods.dev/skills/dslsdzc/rev-skills/re-anti-analysis)
Your own site
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-anti-analysis"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-anti-analysis/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.

agentmods 80×15 button for re-anti-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-anti-analysis"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-anti-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,295 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 82
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00126 $0.06295
Opus 5.5 $0.00050 $0.02518
Sonnet 5.5 $0.00025 $0.01259
Haiku 4.5 $0.00013 $0.00630

Measured 1mo ago against content hash c6d61ad78c1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

re-anti-analysis 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 1mo ago.

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.

.claude/skills/re-anti-analysis/SKILL.md · 202 lines

How it starts

The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.

反分析对抗(壳识别 / 脱壳 / 反混淆)

完整工作流

  1. 壳识别:[[re-packer-id]](能力:unpack) —— 先识别再动手。DIE/PEiD 签名库扫描、节名异常(UPX0/.aspack/自定义)、入口点是否指向非首节、熵 >7、导入表极小。先记 OEP 线索(EP 附近 pushad 等壳入口特征),识别出的壳名决定路径
  2. 分派:简单压缩壳(UPX/ASPack/FSG)→ [[re-unpack-simple]](能力:unpack);强壳/虚拟化壳(VMProtect/Themida)→ [[re-unpack-advanced]](能力:unpack);识别不出 → 手动流程(按 [[re-unpack-simple]](能力:unpack) 的 ESP 定律 + 内存断点手动找 OEP,或按强壳流程处理),不硬猜壳名
  3. 简单壳脱壳:[[re-unpack-simple]](能力:unpack) —— 优先官方/自动解包(upx -d)→ ESP 定律 / 内存断点找 OEP → 按明文/代码 materialization 定转储时机(单层壳常在真实 OEP 附近,OEP 非通用判据;时机见 [[re-analyze/platform-tips]] 关键经验,默认转储优先)→ IAT 修复(Scylla/ImpREC,Windows)
  4. 强壳脱壳:[[re-unpack-advanced]](能力:unpack) —— 反调试对抗(scyllaHide 思路:NtQueryInformationProcess/时间差)→ 堆栈回溯/内存断点组合找 OEP → 转储(默认转储优先)→ IAT 修复(含重定向)→ 虚拟化代码区域标注(标记绕过而非还原)
  5. 反混淆:[[re-deobfuscate]](能力:deobfuscation) —— 脱壳后若仍有花指令 / 控制流平坦化 / 字符串加密:花指令清除、平坦化还原(D-810/手动)、字符串解密循环定位与仿真、批量脚本化、还原前后对比验证
  6. 验证:脱壳产物 sha256 存档 → 沙箱内复跑([[re-sandbox]](能力:sandbox-setup) 判定脱干净、[[re-analyze/platform-tips]] 最高原则)→ 导入 [[re-ghidra]](能力:decompilation、debugging) / [[re-ida]](能力:decompilation、debugging) 确认 OEP 处可正常反编译;导入表可解析才算完成。产物交回原调用域继续(恶意样本回 [[re-malware]](能力:malware-behavior、document-malware、evasion-analysis、key-extraction、threat-intel) 行为分析、破解目标转 [[re-cracking]](能力:license-analysis) 授权定位)

每步结果存档(证据路径 + sha256,见 [[re-triage]](能力:triage));壳指纹 / 脱壳产物是 [[re-ioc]](能力:threat-intel) YARA 特征来源。

反调试方法论(全库通用,见 [[re-analyze/analysis-contract]] 索引)

本网关适用的反调试分析方法论(用户实战经验),各技能坑与陷阱引用此处。

基础检测

  • AD1 启动即退出先查调试检测:EP/TLS/初始化函数
  • AD2 IsDebuggerPresent 不代表完整反调试:组合检测,别只 patch 一点
  • AD3 PEB BeingDebugged 用户态快速检测:找 PEB 访问/BeingDebugged/NtGlobalFlag
  • AD4 NtGlobalFlag 异常→查堆调试标志
  • AD5 CheckRemoteDebuggerPresent 不可靠:可能被 hook/替换/底层
  • AD6 NtQueryInformationProcess 是重点:ProcessDebugPort/ProcessDebugObjectHandle/ProcessDebugFlags
  • AD24 断 WinAPI 没命中 → 可能直接走 Native API:程序不一定调用 IsDebuggerPresent 等高层 API,可能直接调用 NtQueryInformationProcess、NtSetInformationThread、Zw 系列。分析时向下追。

Read the full file on GitHub · 202 lines

Changes

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.

  1. 1mo ago Changed c6d61ad78c1f
  2. 2mo ago Changed 3d943ae3f7ec
  3. 3mo ago First seen · 202 lines · 126 tokens per session scan A 5f2e266ce65f

Subscribe to this mod's changes

re-anti-analysis is a skill published in the GitHub repository dslsdzc/rev-skills (275 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 126 tokens to every session and 6,295 once invoked, about $0.0005 per session on Opus 5.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-08-30.

Related

re-anti-analysis compared with skills from other repositories

re-anti-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
re-anti-analysisdslsdzc/rev-skillsSkill2751mo agoApache-2.0A126Claude Code
analyzing-golang-malware-with-ghidraYoungmaidainon/Agent-Level-UpSkill43mo agoMITA95Claude Code, Codex
analyzing-golang-malware-with-ghidramukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A95Claude Code
analyzing-golang-malware-with-ghidra26zl/cybersec-toolkitSkill114todayMITA95Claude Code
reverse-engineering-binaries-with-ghidrameltedinhex/analyst-ai-packSkill253d agoApache-2.0A80Claude Code, Codex
reverse-engineering-shellcodemeltedinhex/analyst-ai-packSkill253d agoApache-2.0A68Claude Code, Codex
reverse-engineering-arm-binariesmeltedinhex/analyst-ai-packSkill253d agoApache-2.0A69Claude Code, Codex