evasion-specialist

evasion-specialist is an agent for Claude Code from 0xSteph/pentest-ai-agents. It costs 86 tokens per session (1,058 once invoked), scanned A, original, MIT.

An agent for authorized red-team and endpoint-defense testing. It models ways malware may avoid antivirus or endpoint detection, while linking each technique to the detection it should trigger.

In plain words
What is it for?
Use it to test antivirus and endpoint detection against techniques such as AMSI or ETW bypasses, obfuscation, in-memory execution, and unhooking, then identify missing telemetry or rules.
Why use it?
It helps security teams find gaps in their antivirus and endpoint monitoring without treating evasion as an end in itself. Testing is limited to approved systems and dedicated labs.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the pentest-ai-agents plugin — 3 commands, 52 agents shipped together

Good fit Use it to test antivirus and endpoint detection against techniques such as AMSI or ETW bypasses, obfuscation, in-memory execution, and unhooking, then identify missing telemetry or rules.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/0xsteph/pentest-ai-agents/evasion-specialist
About the project

0xSteph/pentest-ai-agents is a collection of Claude Code specialist agents for authorized penetration testing and security research, covering areas such as reconnaissance, web systems, cloud, reverse engineering and detection. Security researchers and penetration testers use it to plan engagements, investigate findings, build detections and write reports. The catalogue entries are the project's own agents, commands and plugin components.

0xSteph/pentest-ai-agents · 2,222 stars · on GitHub · pentestai.xyz

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.

Clone the repo
git clone --depth 1 https://github.com/0xSteph/pentest-ai-agents

Made for: Claude Code.

Or install pentest-ai-agents, the plugin that ships this one along with the rest of its 3 commands, 52 agents.

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 evasion-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xsteph/pentest-ai-agents/evasion-specialist/github.svg)](https://agentmods.dev/agents/0xsteph/pentest-ai-agents/evasion-specialist)
Your own site
<a href="https://agentmods.dev/agents/0xsteph/pentest-ai-agents/evasion-specialist"><img src="https://agentmods.dev/badge/agents/0xsteph/pentest-ai-agents/evasion-specialist/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 evasion-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/0xsteph/pentest-ai-agents/evasion-specialist"><img src="https://agentmods.dev/badge/agents/0xsteph/pentest-ai-agents/evasion-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,058 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 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.00086 $0.01058
Opus 5 $0.00043 $0.00529
Sonnet 5 $0.00017 $0.00212
Haiku 4.5 $0.00009 $0.00106

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

Security

Grade A, and why

evasion-specialist 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.

agents/evasion-specialist.md · 87 lines

How it starts

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

You are a defensive-evasion specialist supporting authorized red team engagements and EDR validation. Your purpose is to model what real adversaries do to slip past endpoint defenses so the blue team can prove — and improve — their detection coverage. Evasion guidance and the detection it exercises ship together, always.

You assume the user has explicit written authorization (signed rules of engagement, scope, target list, abort procedures) for anything that touches a real system. Technique development and testing happen in a dedicated lab. Production use happens only against in-scope assets with the engagement's blessing. Anything else is a refusal.

Core Principles

  1. Built to be caught. Every evasion technique you describe is paired with the telemetry, sensor, or rule that should detect it. The deliverable is a coverage gap, not a bypass.
  2. Smallest change first. Try the least-modified payload before reaching for heavy obfuscation. The goal is to find where detection breaks, not to be maximally stealthy.
  3. Lab before live. Validate against the customer's actual EDR in a lab; don't burn techniques blindly in production.
  4. No tradecraft for unauthorized use. Do not produce evasion tuned to defeat a specific third party's defenses outside the engagement scope.

Authorization Gate

Before discussing evasion against any live system, confirm: engagement ID; the EDR/AV product and version under test; whether the blue team is purple-teaming (knows payloads are coming); and sample-retention rules. If missing, treat the work as lab-only and mark it not authorized for live use.

Technique Areas (each paired with detection)

  • AMSI bypass (ATT&CK T1562.001) — in-memory patching, provider tampering. Detection: AMSI patch patterns, Script Block Logging (4104), AMSI provider integrity.
  • ETW tampering (T1562.006) — patching/disabling ETW providers used by EDR. Detection: ETW provider stop events, EDR self-integrity checks, kernel-callback monitoring.
  • Obfuscation & encoding (T1027) — string/control-flow obfuscation, packing. Detection: entropy analysis, unpacking sandboxes, behavior over signature.
  • In-memory / reflective execution (T1620) — avoiding disk writes. Detection: suspicious RWX allocations, unbacked executable memory, VirtualAlloc/WriteProcessMemory telemetry.
  • Unhooking / direct syscalls (T1562.001) — restoring/avoiding userland hooks. Detection: syscall-stub anomalies, kernel ETW (Threat-Intelligence provider), hook-integrity checks.

Read the full file on GitHub · 87 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. 12d ago First seen · 87 lines · 86 tokens per session scan A 9470c15562e4

Subscribe to this mod's changes

evasion-specialist is an agent published in the GitHub repository 0xSteph/pentest-ai-agents (2,222 stars, last pushed 27d ago), licensed MIT. It adds 86 tokens to every session and 1,058 once invoked, about $0.0004 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-08-30.

Related

Other agents, from other repositories

active-directory

Active Directory and Windows domain attack specialist. Use for Kerberoasting, AS-REP roasting, DCSync, BloodHound enumeration, ADCS ESC attacks, Golden/Silver Ticket, and domain privilege escalation. Triggers on: kerberoast, AS-REP, bloodhound, DCSync, golden ticket, ADCS, ESC, domain controller, LDAP, GPO, AD, domain…

mukul975/Threatswarm · 86 tokens

exploit

Exploitation specialist for gaining initial access. Use when exploiting CVEs, running Metasploit modules, using searchsploit, obtaining shells, or executing proof-of-concept code. Triggers on: exploit, CVE-, initial access, get shell, msfconsole, owned, pwn, vulnerability exploit, remote code execution, RCE.

mukul975/Threatswarm · 73 tokens

iot-attacker

IoT and embedded systems security specialist. Handles firmware extraction and analysis, hardcoded credential discovery, UART/JTAG access, MQTT/CoAP protocol testing, RouterSploit exploitation, web interface attacks, and OT/ICS protocol analysis. Triggers on: IoT, firmware, binwalk, UART, JTAG, router, embedded…

mukul975/Threatswarm · 93 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens