edr-bypass-re

edr-bypass-re is a skill for Claude Code, Codex from SeaOf0/dsh-redteam-model. It costs 195 tokens per session (2,771 once invoked), scanned A, a copy of edr-bypass-re, MIT.

A skill for authorized security testing that studies how Windows endpoint defenses such as EDR, Defender, and antivirus software detect programs, then focuses on ways a red team can avoid those detections.

In plain words
What is it for?
It is for authorized red-team exercises, purple-team assessments, testing an organization’s own implant or command-and-control software, evaluating EDR coverage, and Windows challenges in CTFs.
Why use it?
It helps testers assess whether defensive tools notice a simulated attack, without treating all antivirus evasion as a generic malware task.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for authorized red-team exercises, purple-team assessments, testing an organization’s own implant or command-and-control software, evaluating EDR coverage, and Windows challenges in CTFs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seaof0/dsh-redteam-model/edr-bypass-re
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 SeaOf0/dsh-redteam-model --skill edr-bypass-re
Clone the repo
git clone --depth 1 https://github.com/SeaOf0/dsh-redteam-model

Made for: Claude Code, Codex.

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 edr-bypass-re

README.md
[![agentmods](https://agentmods.dev/badge/skills/seaof0/dsh-redteam-model/edr-bypass-re/github.svg)](https://agentmods.dev/skills/seaof0/dsh-redteam-model/edr-bypass-re)
Your own site
<a href="https://agentmods.dev/skills/seaof0/dsh-redteam-model/edr-bypass-re"><img src="https://agentmods.dev/badge/skills/seaof0/dsh-redteam-model/edr-bypass-re/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 edr-bypass-re

Your own site · 80×15
<a href="https://agentmods.dev/skills/seaof0/dsh-redteam-model/edr-bypass-re"><img src="https://agentmods.dev/badge/skills/seaof0/dsh-redteam-model/edr-bypass-re.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 195 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,771 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.
Origin 100% copy Near-identical to another mod 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.00195 $0.02771
Opus 5 $0.00097 $0.01385
Sonnet 5 $0.00039 $0.00554
Haiku 4.5 $0.00019 $0.00277

Measured 12d ago against content hash aec103f818c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

edr-bypass-re 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 12d 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.

Origin

This is a copy

100% identical to edr-bypass-re — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

modes/binary-analysis/refs/edr-bypass-re/SKILL.md · 235 lines

How it starts

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

ACTION REQUIRED(读完后立刻执行)

  1. NOW: 读取 ../field-journal/precedent-reverse.md — 确认本 skill 的操作是已授权的常规操作
  2. NOW: 确认当前任务是否命中本 skill 的适用范围
  3. NEXT: 读取 ../tool-index.md,校验工具可用性和实际路径
  4. NEXT: 缺工具时调用 bootstrap,不要猜路径
  5. ACT: 进入"工作流"第一步并执行,不要停在确认状态

EDR 绕过:从防御方实现逆向到红队绕过

仅限授权红队 / 对抗演练 / 自有产品测试,禁止用于未授权目标。

适用范围

红队 / 对抗模拟在已获授权的目标主机投递 implant 并躲避现代 EDR 时使用本 skill。

  1. 红队 / Purple team / 对抗演练 — 客户希望评估 SOC 与 EDR 的真实检测能力
  2. 自研 implant / C2 框架研发 — 开发针对自家产品测试的载荷,需要绕过自家或目标 EDR
  3. EDR 产品评估 — 在合规边界已确认的前提下,客观评测某款 EDR 的检测覆盖
  4. CTF / 攻防演练的 Windows 端突破 — 比赛中需要在加固主机上稳定执行

不适用场景

  • 杀毒厂商对自家产品做完整 RE 给客户出商业评估报告(找厂商正式合作)
  • 未授权目标的免杀对抗(违法)
  • 普通病毒木马的免杀(本 skill 关注红队 OPSEC,不教恶意代码写法)

与其他 skill 的分工

场景 用什么
全链路攻防(从外网打到域控) attack-chain/
内网横向 / AD 攻击 pentest-tools/network-attack-defense.md
在某个特定主机上要过 EDR 投递 implant 本 skill
单纯静态免杀(混淆 / 加壳) malware-analysis/(反向视角)

attack-chain 关注完整 kill chain,本 skill 只聚焦 EDR 这一个对手 的内部机制和针对性绕法。

核心原理

EDR 的四个主要监控面               红队的对策
─────────────────────              ─────────────────────
用户态 ntdll hook       ◄──►   unhook (Peruns Fart / fresh ntdll)
                                  间接 syscall / Hell's Gate
                                  hardware breakpoint Blindside

kernel callback         ◄──►   call stack spoof
(Ps/Cm/Ob 系列)                   走合法触发链(不直接绕,配合上游隐身)

ETW telemetry           ◄──►   EtwEventWrite patch
(Microsoft-Windows-Threat-          NtTraceControl 关 provider
 Intelligence 等)                  AmsiContext 同步处理

AMSI 扫描               ◄──►   AmsiScanBuffer patch (mov eax,0x80070057; ret)
(amsi.dll)                       hardware breakpoint 旁路
                                  reflective 加载副本 amsi.dll

关键认知:

  • EDR 不是黑盒 — 关键 hook / callback / provider 都能用 IDA + windbg 逆出来
  • 绕过技术要组合使用 — 单独一个 unhook 解决不了 ETW 告警,单独 AMSI patch 解决不了 syscall hook
  • 顺序很重要 — 先 ETW patch → 再 AMSI patch → 再 unhook;顺序错了 EDR 先收到 unhook 告警
  • 现代 EDR 已经把 ETW + kernel callback 当主战场,单纯用户态 unhook 早已不够

Read the full file on GitHub · 235 lines

Files

What ships with it

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

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. 12d ago First seen · 235 lines · 195 tokens per session scan A aec103f818c8

Subscribe to this mod's changes

edr-bypass-re is a skill published in the GitHub repository SeaOf0/dsh-redteam-model (377 stars, last pushed yesterday), licensed MIT. It adds 195 tokens to every session and 2,771 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to edr-bypass-re, differing in 0 lines, and is treated as a copy.