Skip to main content
QUICK REVIEW

[论文解读] Large Language Models for Cyber Security: A Systematic Literature Review

HanXiang Xu, ShenAo Wang|arXiv (Cornell University)|May 8, 2024
Information and Cyber SecurityComputer Science被引用 23
一句话总结

本论文对在网络安全中的大语言模型应用(LLM4Security)进行了系统文献综述,分析了来自顶级会议的127篇论文,以映射任务、数据集、技术和挑战。

ABSTRACT

The rapid advancement of Large Language Models (LLMs) has opened up new opportunities for leveraging artificial intelligence in a variety of application domains, including cybersecurity. As the volume and sophistication of cyber threats continue to grow, there is an increasing need for intelligent systems that can automatically detect vulnerabilities, analyze malware, and respond to attacks. In this survey, we conduct a comprehensive review of the literature on the application of LLMs in cybersecurity~(LLM4Security). By comprehensively collecting over 40K relevant papers and systematically analyzing 185 papers from top security and software engineering venues, we aim to provide a holistic view of how LLMs are being used to solve diverse problems across the cybersecurity domain. Through our analysis, we identify several key findings. First, we observe that LLMs are being applied to an expanding range of cybersecurity tasks, including vulnerability detection, malware analysis, and network intrusion detection. Second, we analyze application trends of different LLM architectures (such as encoder-only, encoder-decoder, and decoder-only) across security domains. Third, we identify increasingly sophisticated techniques for adapting LLMs to cybersecurity, such as advanced fine-tuning, prompt engineering, and external augmentation strategies. A significant emerging trend is the use of LLM-based autonomous agents, which represent a paradigm shift from single-task execution to orchestrating complex, multi-step security workflows.

研究动机与目标

  • 映射在各领域(安全、软件安全、网络安全、恶意软件分析)中如何使用LLMs来解决网络安全任务。
  • 识别在基于LLM的安全解决方案中使用的数据集、预处理和领域自适应技术。
  • 评估用于安全任务的LLM部署的架构、模型类型和趋势。
  • 突出差距、挑战与机会,以指导未来的LLM4Security研究。

提出的方法

  • 使用近似金标准搜索,在安全与软件工程会议场所以及 arXiv 上,收集并筛选超过 38,112 篇论文。
  • 手动筛选出 523 篇候选论文,然后进行质量评估,得到 93 篇符合条件的论文。
  • 应用前向与后向雪球法,最终得到用于数据提取的 127 篇论文。
  • 按 LLM 类型、安全任务、领域自适应 技术和数据集特征对论文进行分类。
  • 通过对架构、任务和数据处理的结构化分析,回答四个研究问题。

实验结果

研究问题

  • RQ1RQ1:哪些 LLM 已被用于支持安全任务?
  • RQ2RQ2:LLM 基础的方法促进了哪些类型的安全任务?
  • RQ3RQ3:用于将 LLM 适应安全任务的领域自适应技术有哪些?
  • RQ4RQ4:在将 LLM 应用于安全任务时,数据收集和预处理有何差异?

主要发现

  • LLMs 被应用于广泛的网络安全任务,包括漏洞检测、恶意软件分析、网络入侵检测和钓鱼检测。
  • 用于训练/评估的数据集在规模和多样性方面通常有限,表明需要更全面的数据集。
  • 如微调、迁移学习和领域特定预训练等领域自适应技术常用于将 LLM 定制化以适应安全任务。
  • 对可解释/可解释性模型的关注日益增加,并努力解决基于 LLM 的安全系统的数据隐私和安全问题。
  • 在 2023–2024 年,解码器/仅解码器架构在安全任务中成为主导,趋势显示较早年份的编码器模型在转变。
  • 该研究提供了一个结构化的 LLM4Security 全景,强调主动防御和威胁狩猎的机会。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。