BypassGym: a benchmark for evaluating AI agents' endpoint defense evasion capability
A team from Huazhong University of Science and Technology and Virginia Tech published the BypassGym benchmark paper on arXiv (arXiv 2611.13684), which the authors describe as the first benchmark to systematically evaluate AI agents' defense evasion capability on real endpoints. The benchmark task is: given C2 shellcode, the agent must generate and compile a Loader that can bypass deployed EDR to execute the payload. According to the paper, the experiments installed six commercial EDRs—Windows Defender, Kaspersky, Elastic, Trend Micro, Sophos, and Bitdefender—on real Windows virtual machines on Proxmox VE, and conducted closed-loop live testing with three C2 payloads: Sliver, Havoc, and AdaptixC2. The paper reports that DeepSeek-V4.1 Flash with an evasion knowledge base succeeded in coming online 17 times out of 18 real-machine adversarial trials, Gemini 3.1 Flash Lite achieved 16/18, and most combinations completed within 1–2 iterations and 8–16 minutes. One to four weeks after the experiments ended, snapshots were restored and connected to the internet to sync the latest virus databases, and the 71 previously passed samples were replayed; 62 (87.3%) could still run through and come online.
The evaluation is conducted in a closed loop on real Windows endpoints and six commercial EDRs; endpoint protection teams can refer to its setup to test their own detection effectiveness.
https://arxiv.org/pdf/2611.13684
过去测大模型网安能力,基本都在靶场找漏洞或者离线扫静态样本,没人系统测过红蓝对抗里最敏感的一环:给一段真实 C2 shellcode,AI Agent 能不能自己写免杀 Loader,直接绕过装在真实 Windows 终端上的商业 EDR 上线? 华中科大王浩宇与弗吉尼亚理工彭高团队刚发的 BypassGym 把这层窗户纸捅破了。他们在 Proxmox VE 上搭了真实 Windows 虚拟机集群,装上 Windows Defender、Kaspersky、Elastic、Trend Micro、Sophos、Bitdefender 六款主流商业 EDR,拿 Sliver、Havoc、AdaptixC2 三种真实 C2 载荷做闭环实测。 结果非常震撼:实验根本没动用昂贵的超大杯闭源旗舰,只用轻量级 DeepSeek-V4.1 Flash 配合免杀知识库,就在 18 组真机对抗里打出了 17/18 成功上线(绝大多数组合 1–2 轮迭代、8–16 分钟、不到两百万 Token 直接一次过;Gemini 3.1 Flash Lite 也拿到 16/18)。 更要命的是它的持久性。作者在实验结束 1–4 周后恢复快照,先给每台机器联网 24 小时同步最新 EDR 病毒库,再重放当初通关的 71 个样本,结果 62 个(87.3%)依然全流程跑通上线。在对阵 Windows 11 Sophos 的真实 Trace 里,Agent 第一版写 VirtualAlloc(RW)->VirtualProtect(RWX) 被拦后,看了一眼报错就自动定位出私有可执行内存等高危信号,第二轮直接改写成 dbghelp․dll 模块踩踏(Module Stomping)+ NtAllocate/NtProtect 间接系统调用,当场绕过查杀建立连接。View the quoted post on X