Skip to main content
QUICK REVIEW

[논문 리뷰] LLM Agents can Autonomously Exploit One-day Vulnerabilities

Richard Fang, Rohan Bindu|arXiv (Cornell University)|2024. 04. 11.
Web Application Security VulnerabilitiesComputer Science인용 수 9
한 줄 요약

본 논문은 GPT-4 기반 LLM 에이전트가 CVE 설명과 도구를 주어 주어도 실제 세계의 일일 취약점들을 자율적으로 이용해 87%의 성공률을 달성하고, 다른 모델과 스캐너는 실패한다는 것을 보여준다.

ABSTRACT

LLMs have becoming increasingly powerful, both in their benign and malicious uses. With the increase in capabilities, researchers have been increasingly interested in their ability to exploit cybersecurity vulnerabilities. In particular, recent work has conducted preliminary studies on the ability of LLM agents to autonomously hack websites. However, these studies are limited to simple vulnerabilities. In this work, we show that LLM agents can autonomously exploit one-day vulnerabilities in real-world systems. To show this, we collected a dataset of 15 one-day vulnerabilities that include ones categorized as critical severity in the CVE description. When given the CVE description, GPT-4 is capable of exploiting 87% of these vulnerabilities compared to 0% for every other model we test (GPT-3.5, open-source LLMs) and open-source vulnerability scanners (ZAP and Metasploit). Fortunately, our GPT-4 agent requires the CVE description for high performance: without the description, GPT-4 can exploit only 7% of the vulnerabilities. Our findings raise questions around the widespread deployment of highly capable LLM agents.

연구 동기 및 목표

  • LLM 에이전트가 실제 세계의 일일 취약점을 자율적으로 악용할 수 있는지 입증한다.
  • 재현 가능한 테스트에 적합한 오픈 소스 실세계 CVE의 벤치마크를 만든다.
  • 이 벤치마크에서 GPT-4를 다른 LLM 및 취약점 스캐너와 비교 평가한다.
  • 취약점 설명의 제공 여부가 악용 성공에 미치는 영향을 분석한다.
  • LLM 기반 자동 악용의 비용과 실현 가능성을 추정한다.

제안 방법

  • CVE와 학술 자료로부터 15개의 실제 세계의 일일 취약점 벤치마크를 구성한다.
  • 도구(브라우저, 터미널, 웹 결과, 파일 편집기, 코드 해석기)에 접근 가능한 최소한의 ReAct 기반 에이전트를 구축한다(코드 91줄).
  • 기준 모델로 GPT-4를 사용하고 동일 설정에서 GPT-3.5와 8개의 오픈 소스 모델과 비교한다.
  • 취약점을 자율적으로 악용하지 않는 오픈 소스 스캐너(ZAP, Metasploit)에 대해 평가한다.
  • 패스 @ 5, 전체 성공률, 토큰 기반 비용을 측정하는 엔드-투-엔드 실험을 수행한다.

실험 결과

연구 질문

  • RQ1CVE 설명이 주어졌을 때 LLM 에이전트가 실제 세계의 일일 취약점을 자율적으로 악용할 수 있는가?
  • RQ2이 벤치마크에서 GPT-4의 성능이 다른 LLM 및 취약점 스캐너와 어떻게 비교되는가?
  • RQ3CVE 설명을 제거했을 때 악용 성공과 취약점 식별에 미치는 영향은 무엇인가?
  • RQ4GPT-4를 사용한 이러한 악용 실행의 실제 비용은 무엇인가?
  • RQ5계획 개선이나 서브 에이전트가 악용 작업의 성능을 향상시키는가?

주요 결과

  • GPT-4는 15-취약점 벤치마크에서 CVE 설명이 주어졌을 때 전체 성공률 87% (pass @ 5)를 달성한다.
  • GPT-4는 GPT-3.5, 8개의 오픈소스 모델, 오픈소스 스캐너를 능가하는데, 이들 모두 벤치마크에서 악용 성공이 0%에 도달한다.
  • CVE 설명이 없으면 GPT-4의 성공률은 7%로 떨어지고 취약점 식별은 현저하게 어려워진다.
  • 오픈 소스 스캐너(ZAP, Metasploit)는 이 취약점을 자율적으로 악용할 수 없으며, 스캐닝과 악용 간의 역량 차이를 강조한다.
  • 에이전트의 성능은 GPT-4에서 새로운 능력이 나타났음을 시사하며, 계획, 서브에이전트, 더 큰 도구 사용 능력으로의 향상이 가능하다.
  • CVE 설명이 사용될 때 취약점당 평균 행동 수는 취약점에 따라 달라지며, 작업의 복잡성과 탐색 요구를 나타낸다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.