Skip to main content
QUICK REVIEW

[논문 리뷰] From Text to MITRE Techniques: Exploring the Malicious Use of Large Language Models for Generating Cyber Attack Payloads

P. V. Sai Charan, Hrushikesh Chunduri|arXiv (Cornell University)|2023. 05. 24.
Advanced Malware Detection TechniquesComputer Science인용 수 28
한 줄 요약

본 논문은 ChatGPT와 Google Bard를 사용하여 상위 10개 MITRE Techniques에 대해 실행 가능한 코드를 체계적으로 생성하고, 그 효과 및 안전장치를 분석하며, 공격자와 방어자에 대한 시사점을 논의한다.

ABSTRACT

This research article critically examines the potential risks and implications arising from the malicious utilization of large language models(LLM), focusing specifically on ChatGPT and Google's Bard. Although these large language models have numerous beneficial applications, the misuse of this technology by cybercriminals for creating offensive payloads and tools is a significant concern. In this study, we systematically generated implementable code for the top-10 MITRE Techniques prevalent in 2022, utilizing ChatGPT, and conduct a comparative analysis of its performance with Google's Bard. Our experimentation reveals that ChatGPT has the potential to enable attackers to accelerate the operation of more targeted and sophisticated attacks. Additionally, the technology provides amateur attackers with more capabilities to perform a wide range of attacks and empowers script kiddies to develop customized tools that contribute to the acceleration of cybercrime. Furthermore, LLMs significantly benefits malware authors, particularly ransomware gangs, in generating sophisticated variants of wiper and ransomware attacks with ease. On a positive note, our study also highlights how offensive security researchers and pentesters can make use of LLMs to simulate realistic attack scenarios, identify potential vulnerabilities, and better protect organizations. Overall, we conclude by emphasizing the need for increased vigilance in mitigating the risks associated with LLMs. This includes implementing robust security measures, increasing awareness and education around the potential risks of this technology, and collaborating with security experts to stay ahead of emerging threats.

연구 동기 및 목표

  • LLM이 MITRE ATT&CK 기술을 구현하는 코드를 악의적으로 사용할 가능성 평가.
  • 2022년 관찰된 상위 10개 기법에 대해 구현 가능한 페이로드를 생성하는 데 있어 ChatGPT와 Google Bard의 수행 방식 평가.
  • 두 모델 간의 안전장치를 우회하기 위한 프롬프트 엔지니어링 노력 및 오류 처리 비교.
  • 보안 테스트 및 위협 시뮬레이션을 위한 윤리적 고려 및 LLM의 방어적 활용 가능성 논의

제안 방법

  • 2023 Red Report(Picus Security 데이터)에 기반하여 2022년에 널리 사용된 상위 10개 MITRE Techniques 식별.
  • 각 기법에 대해 실행 가능한 코드 시나리오를 생성하기 위해 ChatGPT와 Google Bard와 교互 작용.
  • AI 안전장치를 우회하고 코드 응답을 생성하기 위한 프롬프트 엔지니어링 시도.
  • 생성된 코드를 제어된 샌드박스 환경에서 실행하여 실행 가능성과 오류를 평가.
  • 성공적인 스크립트를 복제 및 공유를 위한 GitHub 저장소로 자동으로 푸시하는 프로세스 자동화.
  • 모델 성능, 안전장치 우회 노력, 코드 생성 효율성에 대한 비교 분석 제공
Figure 1: Methodology for generating implementable code for Top-10 MITRE Techniques
Figure 1: Methodology for generating implementable code for Top-10 MITRE Techniques

실험 결과

연구 질문

  • RQ1LLM이 2022년에 관찰된 상위 10개 MITRE 기술에 대해 구현 가능한 페이로드를 생성할 수 있는가?
  • RQ2안전장치를 우회할 때 프롬프트 엔지니어링 노력과 성공률 면에서 ChatGPT와 Google Bard를 어떻게 비교할 수 있는가?
  • RQ3두 모델이 일반적인 MITRE 기술에 대해 생성한 코드의 질적 및 실용적 차이는 무엇인가?
  • RQ4보안 연구 및 펜테스트를 위한 방어적 유용성과 공격적 사용의 균형은 어떻게 맞출 수 있는가?

주요 결과

  • 프롬프트 조정 후 ChatGPT와 Bard가 여러 MITRE 기술에 대한 코드 스니펫을 생성할 수 있음.
  • 일부 기술(T1059, T1003, T1486 등)에서Worked 예제를 통해 ChatGPT의 성공 사례가 있었고, 일부 경우에는 프롬프트 수정이 필요했습니다.
  • Bard는 일부 기술에 대해 실행 가능한 코드 조각을 생성했으나 다른 기술에서는 더 강한 AI 가이드라인으로 인해 추가 프롬프트 전략이 필요했습니다.
  • 본 연구는 공격자가 표적 공격을 가속화할 수 있는 위험과 연구자가 현실적인 공격을 시뮬레이션하여 방어를 개선할 수 있는 이점을 시사합니다.
  • 저자는 LLM과 관련한 위험을 완화하기 위해 경계 강화, 강력한 보안 조치 및 보안 전문가와의 협력을 촉구합니다.
Figure 2: Failed Query in chatGPT
Figure 2: Failed Query in chatGPT

이 논문 읽기

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

누빈트에서 이 논문 읽기

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