# CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits?

CyberBinGym: AI 에이전트가 바이너리 패치를 실제 익스플로잇으로 바꿀 수 있는가?

Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin 외 2명 · arXiv · 2026년 11월 7일

- **연구 문제** 패치 배포 지연 구간에서 공개된 보안 수정의 스트리핑된 패치 바이너리와 취약 바이너리만으로 AI 에이전트가 실제 1-day 익스플로잇을 만들 수 있는지 측정하는 문제입니다.
- **연구 방법** CYBERBINGYM은 소스 코드 없이 스트리핑된 취약 바이너리와 패치 바이너리를 제공하고, 차분 충돌 테스트와 flag 회수 기반 익스플로잇 검증을 독립적으로 수행합니다.
- **주요 결과** 가장 강력한 평가 구성인 Codex with GPT-5.6은 100개 과제 중 88개에서 취약점을 복구했고 20개에서 익스플로잇을 달성했습니다.

## 배포 지연 구간에서 패치가 공격 정보가 되는 문제

보안 수정은 보통 컴파일된 업데이트로 사용자에게 전달되지만, 실제 배포에는 오랜 시간이 걸려 중요한 시스템도 수정이 나온 뒤 몇 달에서 몇 년 동안 취약한 상태로 남을 수 있습니다. 이 구간에서 패치된 바이너리와 패치되지 않은 바이너리를 비교하면 공격자가 취약점을 익스플로잇하는 방법을 알아낼 수 있습니다. 원문은 이를 1-day 설정이라고 부르며, 패치 바이너리가 취약점에 대한 주요 정보원이 되는 상황을 다룹니다.

기존의 소스 코드 기반 벤치마크는 소스를 노출하거나, 사람이 설계한 과제를 쓰거나, 보안 결과 없이 바이너리 이해만 평가합니다. 따라서 스트리핑된 바이너리만으로 1-day 취약점을 복구하고 실제 익스플로잇까지 만드는 능력은 충분히 측정되지 않았습니다. 이 논문은 이 공백을 메우기 위해 CYBERBINGYM을 소개합니다.

## CYBERBINGYM의 과제 구성과 차분 검증 절차

CYBERBINGYM의 각 과제는 스트리핑된 취약 바이너리와 그에 대응하는 패치 바이너리를 제공합니다. 소스 코드, 취약점 설명, 참조 PoC는 제외됩니다. 에이전트는 바이너리를 디스어셈블하고 디컴파일하며 실행하고 디버깅할 수 있고, 최종적으로 트리거 PoC와 익스플로잇 산출물, 회수한 flag를 제출합니다.

성공 판정은 두 단계로 독립적으로 이루어집니다. 취약점 복구는 제출된 입력이 숨겨진 sanitizer 계측 취약 빌드에서는 sanitizer가 탐지한 실패를 일으키고, 패치 빌드에서는 실패하지 않을 때 성공으로 봅니다. 익스플로잇은 피해 서비스에서 root 소유 flag를 회수해야 하며, 회수된 flag가 비밀과 일치하는 것만으로는 충분하지 않고 궤적 감사에서 직접 환경 접근이나 대상의 내장 명령 실행을 거부한 뒤 인정됩니다.

![Figure 1: Evaluation protocol of CYBERBINGYM. The agent analyzes stripped vulnerable and patched binaries using static and dynamic tools, then submits a trigge…](https://refivu.com/papers/116dfd67-e49f-43c9-8460-be71ca8edc22/figures/figure-c564ecd46d778edb478e0e49e421b9ed.png?thumb=512)

**Figure 1** : Evaluation protocol of CYBERBINGYM. The agent analyzes stripped vulnerable and patched binaries using static and dynamic tools, then submits a triggering input and exploitation evidence. Two separate checks measure success: the input must trigger the target failure in the hidden vulnerable validation build but not the patched build; exploitation must retrieve the victim’s flag and pass a trajectory audit. The two outcomes are scored independently.

[원문](https://arxiv.org/abs/2611.10723v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song · CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits? · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

과제 선정에서는 low, medium, high 복잡도를 20%, 40%, 40%로 맞추었습니다. 복잡도는 도달 가능성, PoC 구성 복잡도, 충돌 관찰 가능성, 바이너리 복잡도, 패치 복잡도의 합으로 정해지며, 원문은 이것이 공격 심각도나 익스플로잇 가능성의 순서를 보장하지 않는다고 밝힙니다.

![Table 2: Task-complexity dimensions used for the normalized patch-aware rubric](https://refivu.com/papers/116dfd67-e49f-43c9-8460-be71ca8edc22/figures/figure-aa1659b4c075a65d8d8e1aa0b630246a.png?thumb=512)

**Table 2** : Task-complexity dimensions used for the normalized patch-aware rubric.

[원문](https://arxiv.org/abs/2611.10723v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song · CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits? · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

## 주요 평가 결과와 익스플로잇의 병목

세 에이전트 구성은 같은 100개 과제에서 평가되었습니다. Codex with GPT-5.6은 88개 과제에서 취약점을 복구했고 20개 과제에서 익스플로잇을 달성했습니다. Claude Code with Claude Opus 5는 복구 85%, 익스플로잇 6%였고, Kimi Code with Kimi K3는 복구 64%, 익스플로잇 0%였습니다. 이 수치는 패치 바이너리를 제공하고 취약점 설명을 제공하지 않은 주요 평가 조건에서 얻은 것입니다.

복구율과 익스플로잇율의 격차는 크게 나타났습니다. 원문은 세 에이전트 모두 트리거와 메모리 손상 단계는 대체로 완료했지만, 손상을 제어 가능한 원시 능력으로 바꾸는 단계에서 막힌다고 분석합니다. 예를 들어 Apache Arrow 샘플 24101에서 Codex는 충돌에서 힙 덮어쓰기로 전환하고 코드 재사용으로 flag를 회수했습니다. 이 사례는 능력의 차이를 보여 주는 선택된 비교이며 전체 과제에 대한 통계가 아닙니다.

![Figure 2: Shortened trajectory of Codex exploiting the Apache Arrow vulnerability in sample 24101. Starting from a vulnerable-onlynegative-size-paramPoC, Codex…](https://refivu.com/papers/116dfd67-e49f-43c9-8460-be71ca8edc22/figures/figure-31eb1b73e96094a95659801bf0d964d9.png?thumb=512)

**Figure 2** : Shortened trajectory of Codex exploiting the Apache Arrow vulnerability in sample 24101. Starting from a vulnerable-onlynegative-size-paramPoC, Codex changes the dictionary layout to turn an out-of-bounds read into a bounded heap overwrite, traces the corrupted shared- pointer control block to a virtual call during object teardown, and uses code reuse to invoke the benchmark’s privilege helper. The crash oracle validates the differential trigger, and the exploit scorer verifies flag retrieval.

[원문](https://arxiv.org/abs/2611.10723v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song · CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits? · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 패치 정보와 설명 제공의 효과

패치 바이너리의 효과는 Codex를 20개 matched 과제에서 취약 바이너리만 제공한 경우와 비교하여 확인되었습니다. 두 바이너리를 함께 제공하면 PoC 비율은 55.0%에서 90.0%로, 익스플로잇 비율은 10.0%에서 25.0%로 올라갔습니다. 원문은 패치 빌드가 취약 지점을 국소화하고, 에이전트가 제출 전에 후보 입력이 취약 빌드에서만 충돌하는지 확인하는 로컬 오라클 역할을 한다고 설명합니다.

![Figure 5: Effect of reasoning effort and patched-binary availability](https://refivu.com/papers/116dfd67-e49f-43c9-8460-be71ca8edc22/figures/figure-70e904a037ca8e03dfdc329e568c0624.png?thumb=512)

**Figure 5** : Effect of reasoning effort and patched-binary availability.

[원문](https://arxiv.org/abs/2611.10723v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song · CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits? · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

패치 영향 감사에서는 26개 성공 궤적 중 17개가 패치 관련 차이로 직접 이어졌고, 7개는 탐색 방향을 바꾸는 간접 영향이었으며, 2개는 영향이 불명확했습니다. 이 결과는 패치 바이너리가 성공과 함께 나타났다는 사실만으로 결정적 역할을 했다고 보지 않도록 구분해 줍니다. 한편 취약점 설명 실험은 50개 matched 과제에서 Kimi의 복구율을 64.0%에서 70.0%로 올렸지만, Codex의 복구율과 익스플로잇율은 오히려 낮아졌으므로 설명이 항상 성공률을 높이지는 않는다고 봅니다.

![Figure 4: Effect of vulnerability descriptions](https://refivu.com/papers/116dfd67-e49f-43c9-8460-be71ca8edc22/figures/figure-1f17295eece2dcad725c5161026e7361.png?thumb=512)

**Figure 4** : Effect of vulnerability descriptions.

[원문](https://arxiv.org/abs/2611.10723v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song · CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits? · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

![Table 14: Recorded patch influence among successful trajectories, by agent](https://refivu.com/papers/116dfd67-e49f-43c9-8460-be71ca8edc22/figures/figure-c729f97729f49b9893afa276fcb5bb57.png?thumb=512)

**Table 14** : Recorded patch influence among successful trajectories, by agent.

[원문](https://arxiv.org/abs/2611.10723v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song · CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits? · 원문 그림 인용 · 원본 PDF 21쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 남은 한계

주요 실험은 안전장치가 비활성화된 신뢰 접근 프로그램 조건에서 수행되었습니다. 이는 프런티어 모델과 에이전트의 능력 경계를 측정하기 위한 설정입니다. 따라서 결과를 실제 배포 시스템의 침해율이나 신규 패치 익스플로잇 시간으로 바로 옮길 수 없습니다. 원문도 과거 취약점과 통제된 피해 서비스를 사용했기 때문에 운영 환경의 침해 비율이나 시간은 직접 측정하지 않았다고 밝힙니다.

또한 하드닝 실험에서 Codex는 기존 익스플로잇 20개 중 2개만 재현했지만, 이 차이가 보호 기법만의 효과인지는 분리되지 않습니다. 에이전트 탐색의 변동과 서비스 전달 실패도 포함되어 있기 때문입니다. 메모리 안전성 결함에 초점을 맞춘 범위도 다른 취약점 유형으로 일반화하기 전에 확인이 필요합니다.

## 논문 정보

- **저자**: Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 7일
- **등록일**: 2026년 11월 10일
- **수정일**: 2026년 11월 7일
- **버전**: v1
- **arXiv**: 2611.10723
- **분류**: cs.CR · cs.AI · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2611.10723v1) · [원문 PDF ↗](https://arxiv.org/pdf/2611.10723v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Security fixes usually reach users as compiled updates, but deployment delays leave unpatched systems exposed. During this window, comparing patched and unpatched binaries can reveal how to exploit a vulnerability, turning a defensive update into actionable information for attackers. Existing benchmarks do not measure this capability: they expose source code, rely on human-crafted challenges, or evaluate binary comprehension without requiring exploitation. We introduce CyberBinGym, a benchmark containing 100 tasks derived from real vulnerabilities in 53 widely used projects, spanning six vulnerability families and three levels of analysis complexity. Agents receive stripped vulnerable and patched binaries without source code or vulnerability information, and must combine static and dynamic analysis to recover and exploit the vulnerability. Evaluation separately measures vulnerability recovery through differential crash testing and end-to-end exploitation through flag retrieval, with trajectory audits to reject reward hacking. The strongest evaluated agent recovers the target vulnerability in 88% of tasks and exploits it in 20%. Providing the patched binary raises its exploit rate from 10% to 25% on a matched 20-task subset; with standard binary hardening enabled, it still exploits two of its 20 previously successful tasks. These results demonstrate that current agents can turn released binary patches into working exploits in a controlled setting, although exploitation remains unreliable. These capabilities lower the barriers to targeting unpatched software and compress defenders' effective response window, increasing the urgency of timely patch deployment.

## 원문 인용

Lambang Akbar Wijayadi, Zhaoqi Xiao, Zhun Wang, Hongwei Li, Wenbo Guo, Heng Yin, Zhenkai Liang, Dawn Song (2026). CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits?. arXiv:2611.10723v1. https://arxiv.org/abs/2611.10723v1

**BibTeX**

```
@misc{wijayadi2026cyberbingym,
  title = {{CyberBinGym: Can AI Agents Turn Binary Patches into Real Exploits?}},
  author = {Lambang Akbar Wijayadi and Zhaoqi Xiao and Zhun Wang and Hongwei Li and Wenbo Guo and Heng Yin and Zhenkai Liang and Dawn Song},
  year = {2026},
  eprint = {2611.10723},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.10723v1}
}
```

## 이 논문의 용어

- [reward hacking](https://refivu.com/terms/2413bbf555b3-reward-hacking)

## 다른 논문 해설

- [Done Is Not Correct: Measuring Silent Failures and Self-Verification Calibration When LLM Agents Take CAD Actions](https://refivu.com/papers/55faa4f4-f2a8-47b8-b8cf-58bed596872c-done-is-not-correct-measuring-silent-failures-and.md)
- [SPRING-5: Measuring Tool Documentation Repair for LLM Agents by Efficiency](https://refivu.com/papers/d2846765-4203-48b2-8e62-5757c120b7fc-spring-5-measuring-tool-documentation-repair-for-llm.md)
- [The Limits of Information-Flow Control Enforcement for Agentic Systems](https://refivu.com/papers/cee05c71-484a-4bad-ba2c-c58494290ac5-the-limits-of-information-flow-control-enforcement-for.md)
- [From Reflection to Co-Evolution: Self-Evolving Agents with Locally Verified Memory](https://refivu.com/papers/cbbe388f-f036-4542-8fc6-f6b3901438a8-from-reflection-to-co-evolution-self-evolving-agents.md)
- [Deploying Physically and Epistemically Compliant Agents by Distilling Belief-Space Task and Motion Planners](https://refivu.com/papers/5683ab20-2e74-4278-84ff-63394b14fe7e-deploying-physically-and-epistemically-compliant-agents-by.md)
- [BunshinRL: Splitting Live Agent Workspaces for Memory-Efficient Agentic RL](https://refivu.com/papers/9292e3d6-762e-46df-a9a5-341c387c6972-bunshinrl-splitting-live-agent-workspaces-for-memory.md)
- [The Delta Gap: Cellular World Models for Perturbation Response Prediction Are Far Harder Than Global Correlation Implies](https://refivu.com/papers/43da08c5-16b6-4ced-9974-803d52f5ad84-the-delta-gap-cellular-world-models-for-perturbation.md)
- [AI in the Clinical Documentation Loop: Effects of LLM-Induced Note Bloat and Diagnostic Overcall on Downstream LLMs](https://refivu.com/papers/c2363fed-ff33-4aa5-90de-0a7ae3b26ed6-ai-in-the-clinical-documentation-loop-effects-of.md)
- [When Greedy Is Sorting: Exact and Certified Ideal Rankings for Novelty Metrics](https://refivu.com/papers/9b4b9b8b-a010-4b63-a252-f0cf3a6a3f15-when-greedy-is-sorting-exact-and-certified-ideal.md)
- [No Second Run: Does RSI Stop at Frontier Pre-training?](https://refivu.com/papers/dba88920-bad4-4d52-b341-5c70637671ef-no-second-run-does-rsi-stop-at-frontier.md)
- [Close and Sort: Exact Maximum-Likelihood Aggregation of Cyclic Rank-Two Preferences](https://refivu.com/papers/3e86e3b9-1d2d-4f03-9a7d-c923ae11dc85-close-and-sort-exact-maximum-likelihood-aggregation-of.md)
- [Imperfectly Imperfect: Evaluating Graded Cognitive Diversity in LLM Persona Simulations](https://refivu.com/papers/2a630784-93c8-4318-8368-838f443309f1-imperfectly-imperfect-evaluating-graded-cognitive-diversity.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/116dfd67-e49f-43c9-8460-be71ca8edc22-cyberbingym-can-ai-agents-turn-binary-patches-into)
