Skip to main content
QUICK REVIEW

[논문 리뷰] On the Uses of Large Language Models to Interpret Ambiguous Cyberattack Descriptions

Reza Fayyazi, Shanchieh Jay Yang|arXiv (Cornell University)|2023. 06. 24.
Information and Cyber SecurityComputer Science인용 수 8
한 줄 요약

논문은 LLM의 직접 사용(GPT-3.5와 Bard)과 작은 LLM들의 감독된 파인튜닝(BERT 및 SecureBERT)을 비교하여 TTP 설명을 MITRE ATT&CK 전술에 매핑하고, Small LLMs with SFT가 더 정밀하며 LLM은 더 넓은 해석을 제공하고 고유의 애매함은 남아 있다.

ABSTRACT

The volume, variety, and velocity of change in vulnerabilities and exploits have made incident threat analysis challenging with human expertise and experience along. Tactics, Techniques, and Procedures (TTPs) are to describe how and why attackers exploit vulnerabilities. However, a TTP description written by one security professional can be interpreted very differently by another, leading to confusion in cybersecurity operations or even business, policy, and legal decisions. Meanwhile, advancements in AI have led to the increasing use of Natural Language Processing (NLP) algorithms to assist the various tasks in cyber operations. With the rise of Large Language Models (LLMs), NLP tasks have significantly improved because of the LLM's semantic understanding and scalability. This leads us to question how well LLMs can interpret TTPs or general cyberattack descriptions to inform analysts of the intended purposes of cyberattacks. We propose to analyze and compare the direct use of LLMs (e.g., GPT-3.5) versus supervised fine-tuning (SFT) of small-scale-LLMs (e.g., BERT) to study their capabilities in predicting ATT&CK tactics. Our results reveal that the small-scale-LLMs with SFT provide a more focused and clearer differentiation between the ATT&CK tactics (if such differentiation exists). On the other hand, direct use of LLMs offer a broader interpretation of cyberattack techniques. When treating more general cases, despite the power of LLMs, inherent ambiguity exists and limits their predictive power. We then summarize the challenges and recommend research directions on LLMs to treat the inherent ambiguity of TTP descriptions used in various cyber operations.

연구 동기 및 목표

  • TTP 설명을 해석하는 데 내재된 애매함의 도전을 동기화한다.
  • 직접 LLM 사용 versus ATT&CK 매핑을 위한 소형 LLM의 감독된 파인튜닝 비교한다.
  • ATT&CK 및 CAPEC 설명에 대한 일반화 능력을 평가한다.
  • TTP 설명에서 존재하는 고유한 애매함을 식별하고 향후 연구 방향을 제안한다.

제안 방법

  • 평가를 위해 ATT&CK 설명(618 total)과 CAPEC 매핑을 ATT&CK으로(177 CAPECs) 수집한다.
  • BERT-base 및 SecureBERT(12 계층, 768 hidden size)를 파인튜닝해 시그모이드 활성화로 멀티레이블 ATT&CK 전술 분류를 수행한다.
  • GPT-3.5와 Bard에 맞춤 설계된 프롬프트를 설계하고 적용해 설명을 14 ATT&CK 전술 또는 NONE으로 매핑한다(Bard에 대한 제약 포함).
  • 모델을 Micro-F1, 정확도, 정밀도, 재현율 및 전술별 분석으로 5-fold 교차검증으로 평가한다.
  • ATT&CK 및 CAPEC 데이터세트 간 결과를 비교해 애매함과 일반화를 분석한다.

실험 결과

연구 질문

  • RQ1직접적인 LLM 사용이 사이버공격 설명에서 MITRE ATT&CK 전술을 예측할 수 있는가?
  • RQ2소형 LLM의 감독된 파인튜닝이 ATT&CK 전술의 더 정밀한 차별화를 제공할 수 있는가?
  • RQ3CAPEC 설명이 ATT&CK 전술에 얼마나 잘 매핑되고 보지 않은 데이터에 대해 일반화되는가?
  • RQ4TTP 설명에 존재하는 고유한 애매함은 무엇이며 LLM은 이를 어떻게 다루는가?

주요 결과

  • SecureBERT-SFT가 ATT&CK에서 평균 정확도 0.85 및 Micro-F1 0.92를 달성하며 BERT-SFT(0.76, 0.87)보다 우수했다.
  • GPT-3.5는 ATT&CK에서 Micro-F1 0.67 및 정확도 0.44를 달성했고, Bard는 각각 0.66 및 0.31을 달성했다.
  • SecureBERT-SFT는 일반적으로 ATT&CK에서 GPT-3.5보다 우수한 경향이 있으나 측면 이동(Movements) 예측에서 약점이 있다.
  • CAPEC 결과는 두 모델 모두 성능이 저조했으며(일부 전술에서 F1 0.00 포함) SecureBERT-SFT가 CAPEC에 적용될 때 ATT&CK 데이터에 과적합하는 경향이 있었다.
  • TTP 설명의 두 가지 고유한 애매함 유형이 확인되었고, 고급 LLM에서도 예측 한계가 남아 있다.
  • 향후 방향으로 프롬프트 적응, 자기지도 학습, 강화학습 등을 포함해 애매함 및 진화하는 취약점에 대응할 것을 제안한다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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