← Lab /Security & privacy

AI agents can evade most EDRs, DeepSeek-V4.1 Flash succeeds 17/18 runs

AI agents can generate programs that bypass endpoint detection and response products

Security & privacy arXiv 10 Nov 2026 Benchmark Prototype evidence

Published as “BypassGym: A Benchmark for Evaluating AI Agents' Endpoint Defense Evasion Capabilities”

Why it matters

Low-cost LLM agents can already produce EDR-evading malware components, highlighting an immediate dual-use risk for attackers.

Summary

AI agents can already generate functional loaders that evade real endpoint detection and response products, with DeepSeek-V4.1 Flash succeeding on 17 of 18 attempts and an overall success rate of 71/90 runs (78.9%). The evidence comes from experiments on real Windows 11 VMs running six commercial EDRs and three C2 payloads, but evasion success varies widely across products (e.g., Bitdefender only 5/15 passes) and degrades for some defenses over time.

What they found 6

  1. Overall, 71 of 90 runs produced a passing loader, a 78.9% success rate.

    “Across all 90 RQ1 runs, 71 generated a passing submission (78.9%).”

  2. DeepSeek-V4.1 Flash achieved the highest success, passing 17 of 18 runs, while Qwen3.7 Plus was the lowest with 10 of 18.

    “DeepSeekV4.1 Flash is the strongest (17/18), while Qwen3.7 Plus is the weakest (10/18).”

  3. Bitdefender was the hardest EDR, allowing only 5 of 15 successful runs (33.3%).

    “Windows Defender admits all 15 submissions, whereas Bitdefender is the hardest target, allowing only 5/15 runs (33.3%).”

  4. In delayed replay, 62 of the 71 original successes still passed after up to four weeks, a 87.3% survival rate.

    “Of these, 62 still passed all four phases (87.3%), showing that most original successes remained undetected in the delayed replay.”

  5. Providing detailed structured EDR feedback increased DeepSeek-V4.1 Flash's success from 14/18 to 17/18.

    “Detailed feedback raises success to 15/18 and 17/18, adding one and three passes over one-shot.”

  6. Supplying full evasion knowledge improved DeepSeek’s success from 13/18 (none) to 17/18 (full).

    “For DeepSeek, success falls from 17/18 in the full condition to 13/18 in the none condition.”

Caveats 5

  • Bitdefender only blocked 66.7% of attempts, showing that evasion is far from universal.
  • Kaspersky’s delayed replay survival dropped to 61.5%, indicating that some EDRs update signatures that eventually catch the loaders.
  • Higher reasoning effort did not consistently improve success; GLM’s success varied between 11/18 and 14/18 across effort levels.
  • Many models required multiple NoEDR repair iterations without improving final outcomes, e.g., GLM performed 212 repair calls yet only achieved 15/18 passes.
  • We cannot redistribute licensed EDR installations, credentials, raw C2 shellcode, or directly executable submissions, so users must supply their own authorized environments.

What’s new here 4

  • Provides the first benchmark that evaluates LLM agents' ability to evade deployed EDRs on real Windows endpoints.
  • Automates execution, detection feedback, and iterative revision of generated loaders across multiple EDR products.
  • Introduces a controllable evasion knowledge skill to measure the impact of domain knowledge on agent performance.
  • Includes a delayed replay study to assess persistence of evasion against updated EDR signatures.