New to ShortSpan? We distil the AI-security research that matters into practitioner takeaways — edited by Ben Williams (NCC Group).Get the weekly email
// Analysis
LLM Agents Orchestrate EDR Evasion at Scale
Published: Tue, 04 Aug 2026 • By Rowan Vale
Agents
AutoBypass turns public EDR evasion know-how into an automated, closed-loop pipeline. A knowledge base steers multi-agent planning, polymorphic code generation and telemetry-driven retries against live products. It bypassed seven commercial EDRs, peaking at 90% against Windows Defender and 86.7% against Trend Micro, and showed small open models near proprietary LLM performance.
EDR products promise visibility and blocking on the endpoint. The problem is that public evasion tricks are scattered and manual. This paper stitches them into a machine: a knowledge-driven, multi-agent system that mutates payloads, tests them against live EDRs, watches what the OS does, learns, and tries again.
How AutoBypass works
The core is a Detection-Aware Knowledge Base that turns threat reports, proofs of concept and analyst notes into structured entries: techniques, encoders, defensive rules, and operational constraints. Agents use it to plan and build polymorphic C++ loaders. A builder compiles and pre-scans binaries. A tester runs them in isolated Windows VMs with real EDRs installed, then a reasoning engine reads Telemetry" target="_blank" rel="noopener" class="term-link">host telemetry like process lifetime, file events and network reachability to infer likely detection causes. That outcome gets written back to the knowledge base, which reshapes the next attempt. Rinse and repeat.
It focuses on shellcode loaders and assumes you already have a standard user foothold. There is no magic insight API from the EDRs; attribution is heuristic, based on OS artefacts the framework can see.
What broke in EDRs
Across seven commercial products, the system landed bypasses on all of them. It hit 90% evasion against Windows Defender and 86.7% against Trend Micro AV. Elastic Security was tougher, with 16.7%–23.3% evasion thanks to aggressive execution monitoring. Heavily profiled payloads such as Cobalt Strike were stickier, but swapping to alternative payload families improved outcomes.
The knowledge base mattered more than model size. With open-weight 8B models, success jumped from 27%–53% to 43%–83% when the KB guided generation. Removing it cratered one model’s rate from 80% to 33.3%. Polymorphism paid off on VirusTotal too: 62.9% of samples triggered five or fewer vendor hits, a region where template loaders and prior LLM outputs produced none.
Technique-wise, abusing trusted execution contexts stood out. DLL sideloading worked consistently because the malicious code inherits the host process reputation, so the loader starts life looking friendly. Methods that poked at sensor integrity were noisier, lighting up lots of alerts.
There are caveats. Root-cause guesses can be wrong. The system currently regenerates modules wholesale rather than isolating a single bad byte or API. The offensive knowledge base is not fully public. Still, the direction of travel is clear: if you can loop on live telemetry, mutate on demand, and encode what you learn, you can drag even small models to near top-tier results. That should worry anyone betting on static signatures or brittle behavioural rules.
Additional analysis of the original ArXiv paper
📋Original Paper Title and Abstract
Mutate to Bypass: Autonomous Endpoint Evasion via Knowledge-Driven Multi-Agent Orchestration
Authors: Weifeng Yuan, Wenbo Guo, Qingyun Du, Jun Chen, Feng Dong, Haoyu Wang, and Yang Liu
Public reports and open-source resources expose many EDR evasion techniques, but it remains unclear whether commercial Endpoint Detection and Response (EDR) systems can withstand these documented attacks. Evaluating them requires turning fragmented security knowledge into working payloads and refining those payloads from opaque alerts, tasks that existing automation does not address. We present AutoBypass, a knowledge-grounded, closed-loop multi-agent framework for automated EDR resilience assessment. A Detection-Aware Knowledge Base structures threat intelligence, expert analyses, and open-source proofs of concept into evasion techniques and operational constraints. Agents use this knowledge to plan attacks, generate polymorphic code, and compile binaries, while a telemetry-driven reasoning engine diagnoses failures and feeds corrective evidence back into the strategy. Across seven commercial endpoint security platforms, AutoBypass bypassed every target, reaching 90% evasion against Windows Defender and 86.7% against Trend Micro AV. Ablations show that the knowledge base raises the success rates of 8B open-weight models from 27--53% to 43--83%, bringing them close to large proprietary models. These results demonstrate a systematic way to operationalize public security knowledge for continuous, automated assessment of EDR resilience.
🔍ShortSpan Analysis of the Paper
Problem
The paper examines whether commercial Endpoint Detection and Response (EDR) systems can withstand publicly documented evasion techniques when those techniques are systematically combined, automated and refined. Translating fragmented public threat intelligence into operational, polymorphic payloads and diagnosing opaque EDR alerts are open challenges. Without automation that closes the feedback loop, assessing and stressing modern defence-in-depth endpoint products at scale is difficult.
Approach
The authors present AutoBypass, a closed-loop, knowledge-grounded multi-agent framework that automates EDR resilience assessment. A Detection-Aware Knowledge Base (KB) integrates public evasion techniques, encoding schemes, defensive rules and OPSEC constraints into structured entries and historical records. A multi-agent pipeline (Strategist, Coder, Builder, Debugger) synthesises polymorphic C++ loaders from KB-guided blueprints, compiles and pre-scans binaries, and deploys samples to isolated VMs. A Tester agent executes samples against live EDRs, monitors OS telemetry (process lifetime, file events, network connectivity), heuristically infers detection root causes, and records outcomes into the KB to drive iterative strategy evolution. Experiments used GPT-5.1 and several open-weight models, three payload families, and seven commercial endpoint products in isolated VMs with automated rollback between trials.
Key Findings
AutoBypass successfully bypassed all seven evaluated commercial EDR products in the study, achieving peak evasion rates of 90% against Windows Defender and 86.7% against Trend Micro AV.
Ablation shows the Detection-Aware KB is decisive: it raises evasion rates of 8B open-weight models from baseline ranges of 27%–53% to 43%–83%, and removing the KB dropped one model's success from 80% to 33.3%.
Polymorphic, knowledge-driven generation yields high stealth on VirusTotal: 62.9% of AutoBypass samples triggered five or fewer detections, a region where baseline template and prior LLM approaches produced none.
Technique analysis identifies trusted execution contexts, notably DLL sideloading, as consistently effective because malicious code inherits the host process reputation; some techniques that modify sensor integrity triggered high alert volumes.
Performance varies by payload and product: Elastic Security exhibited low evasion rates (16.7%–23.3%) due to aggressive execution monitoring, while heavily profiled payloads such as Cobalt Strike were harder to adapt against some engines but AutoBypass improved success when using alternative payloads.
Limitations
The system focuses exclusively on shellcode loaders and assumes initial access with standard user privileges. Alert attribution is heuristic: root-cause inference from opaque EDR alerts uses observed OS artefacts and cannot be guaranteed correct. AutoBypass currently regenerates modules rather than performing fine-grained localisation of signature bytes or single-API fixes. The full offensive KB is withheld from public release for safety, limiting direct reproducibility of exact results.
Implications
Offensively, AutoBypass demonstrates that publicly available knowledge can be operationalised into an automated, closed-loop system that produces polymorphic, adaptive loaders capable of defeating multiple commercial EDRs. An attacker with initial foothold and offline build capabilities could use similar orchestration to iteratively craft payloads that evade static signatures, behavioural monitoring and memory scanners, achieve persistent invisible access, abuse trusted process contexts for higher stealth, and scale attacks across many endpoints with reduced manual expertise.
- It models a realistic black-box threat: no gradient access, binary feedback, and tight query limits, yet shows how meaning-preserving rewrites can f...
- It demonstrates an autonomous multi-agent system that coordinates reconnaissance and exploitation, illustrating how AI-driven agents could streamlin...
- It looks at evaluating autonomous defense agents that control commercial EDRs, a direct look at AI-driven security controls in practice.
- It shows ...
This work shows that large language models can automatically generate bypass rules to defeat sandbox analysis, enabling scalable discovery of evasion ...
- It studies defenses that sit outside the LLM (out-of-band) to prevent prompt injections, using ideas like integrity protection, reference monitoring...
- Why it’s noteworthy: it shows that safe-by-prompt checks may miss risks that arise when a task is split into multiple steps, allowing vulnerable cod...