[論文レビュー] LLMs Killed the Script Kiddie: How Agents Supported by Large Language Models Change the Landscape of Network Threat Testing
本論文は、脅威を推論しツール情報を生成しサイバー作戦を自動化するために大規模言語モデルを活用することを検討し、サンドボックス内で偵察・悪用・データ抽出の一連の行動を順次実行する自動エージェントを実証します。プロンプトエンジニアリング、連鎖思考アプローチ、LLM支援脅威活動の倫理的影響を分析します。
In this paper, we explore the potential of Large Language Models (LLMs) to reason about threats, generate information about tools, and automate cyber campaigns. We begin with a manual exploration of LLMs in supporting specific threat-related actions and decisions. We proceed by automating the decision process in a cyber campaign. We present prompt engineering approaches for a plan-act-report loop for one action of a threat campaign and and a prompt chaining design that directs the sequential decision process of a multi-action campaign. We assess the extent of LLM's cyber-specific knowledge w.r.t the short campaign we demonstrate and provide insights into prompt design for eliciting actionable responses. We discuss the potential impact of LLMs on the threat landscape and the ethical considerations of using LLMs for accelerating threat actor capabilities. We report a promising, yet concerning, application of generative AI to cyber threats. However, the LLM's capabilities to deal with more complex networks, sophisticated vulnerabilities, and the sensitivity of prompts are open questions. This research should spur deliberations over the inevitable advancements in LLM-supported cyber adversarial landscape.
研究の動機と目的
- LLMがサイバー脅威を推論し、実行可能なツールの使用とコマンドを提案できるかを評価する。
- LLMsから実行可能な行動と解釈可能な出力を引き出すためのプロンプトの構造化方法を探究する。
- 管理されたサンドボックス内で脅威キャンペーンの一連の行動を実行する自動エージェントを開発する。
- LLMsのサイバー特有の知識と、実用的な回答を生み出すうえでのプロンプト設計の役割を評価する。
- 倫理的配慮とサイバー防御および脅威の情勢に与える潜在的影響について論じる。
提案手法
- 脅威とツールの理解を評価するため、簡易なサイバー課題に対するChatGPTの手動での探索。
- 計画–実行–報告ループ(シングルステップ)の設計と、複数アクションを調整するためのプロンプト連鎖アプローチ。
- LLMとの自動対話のため、サンドボックス化されたネットワーク環境(Kali LinuxコントローラとMetasploitable 2ターゲット)を構築。
- 各段階(戦術セレクタ、実行、出力翻訳)で、文脈豊富な複数サブプロンプトテンプレート(SETUP、CONTEXT、INSTRUCTION)の開発。
- プロンプトを調整し、コマンドを実行し、出力を翻訳し、次の戦術を選択する有限状態ループによるエージェントの自動化。
実験結果
リサーチクエスチョン
- RQ1LLMは生のサイバー出力(例:NMAP)を取り込み、実行可能な要約と次のステップを提供できるか?
- RQ2制約された環境内で、LLMsは自律的に多段階のサイバー作戦を計画・実行できる程度はどの程度か?
- RQ3プロンプト設計とプロンプト連鎖は、LLMの回答の正確性、有用性、実行性にどのように影響するか?
- RQ4LLM支援の脅威キャンペーンの倫理的影響と潜在的な防御上の考慮事項は何か?
主な発見
- 構造化されたプロンプトと解析された出力を前提に、LLMsは正確で実行可能なコマンド(例:Metasploit)を生成できる。
- プロンプトテンプレートと連鎖は、単一ステップおよび多段キャンペーンをサポートする再現可能な SDP(plan–do–report)ループを可能にする。
- 自動エージェントはサンドボックス内で偵察、悪用、データ抽出のアクションを実行でき、エンドツーエンドのキャンペーンの連携を実証する。
- システムは、プロンプトのメモリ制限、文脈履歴の必要性、幻覚や構文エラーの可能性といった課題を露呈する。
- LLMsは脅威行為者の能力を加速させる可能性を示唆し、倫理的検討と防御志向の利用を求める呼びかけを促す。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。