Large Language Models (LLMs) and Generative AI in Cybersecurity and Privacy: A Survey of Dual-Use Risks, AI-Generated Malware, Explainability, and Defensive Strategies
Virelya Intelligence Research Labs(Virelya智能研究实验室);Google(谷歌)
大型语言模型(LLMs)和生成式人工智能(GenAI)系统,如ChatGPT、Claude、Gemini、LLaMA、Copilot、OpenAI的Stable Diffusion、Anthropic、Google、Meta、Microsoft、Stability AI等,正在彻底改变网络安全,既能实现自动化防御,也能发动复杂攻击。这些技术以前所未有的规模推动实时威胁检测、网络钓鱼防御、安全代码生成和漏洞利用。随着LLM生成的恶意软件迅速增长,到2025年估计占检测到的威胁的50%,而2021年时仅为2%,2026年应对这种高度自动化的威胁格局需要下一代安全框架。本文全面综述了LLMs在网络安全中的有益和恶意应用,包括零日检测、DevSecOps、联邦学习、合成内容分析和可解释人工智能(XAI)。通过对70多篇学术论文、行业报告和技术文档的回顾,结合来自谷歌Play Protect、微软Defender、亚马逊网络服务(AWS)、苹果应用商店、OpenAI插件商店、Hugging Face Spaces和GitHub等平台的实际案例研究,以及SAFE框架和人工智能驱动的异常检测等新兴举措的见解。最后给出了关于负责任和透明的LLM部署及可信人工智能的实用建议,包括模型水印、对抗防御和跨行业合作,为人工智能与威胁防御交叉领域严格、全面的网络安全研究树立了新标杆,并为安全、可扩展的LLM系统提供了路线图,为研究人员、工程师和安全领导者应对人工智能驱动的网络安全复杂挑战提供了关键参考。
英文摘要:
Large Language Models (LLMs) and generative AI (GenAI) systems, such as ChatGPT, Claude, Gemini, LLaMA, Copilot, Stable Diffusion by OpenAI, Anthropic, Google, Meta, Microsoft, Stability AI, respectively, are revolutionizing cybersecurity, enabling both automated defense and sophisticated attacks. These technologies power real-time threat detection, phishing defense, secure code generation, and vulnerability exploitation at unprecedented scales. Following a rapid surge where LLM-generated malware grew to account for an estimated 50% of detected threats by 2025, up from just 2% in 2021, navigating this highly automated threat landscape in 2026 demands next-generation security frameworks. This paper presents a comprehensive survey of the beneficial and malicious applications of LLMs in cybersecurity, including zero-day detection, DevSecOps, federated learning, synthetic content analysis, and explainable AI (XAI). Drawing on a review of over 70 academic papers, industry reports, and technical documents, this work synthesizes insights from real-world case studies across platforms like Google Play Protect, Microsoft Defender, Amazon Web Services (AWS), Apple App Store, OpenAI Plugin Stores, Hugging Face Spaces, and GitHub, alongside emerging initiatives like the SAFE Framework and AI-driven anomaly detection. We conclude with practical recommendations for responsible and transparent LLM deployment and trustworthy AI, including model watermarking, adversarial defense, and cross-industry collaboration, setting a new benchmark for rigorous, holistic cybersecurity research at the intersection of AI and threat defense, and offering a roadmap for secure, scalable LLM systems that serves as a critical reference for researchers, engineers, and security leaders navigating the complex challenges of AI-driven cybersecurity.
Case Study-Based Approach of Quantum Machine Learning in Cybersecurity: Quantum Support Vector Machine for Malware Classification and Protection
Kennesaw State University(肯尼索州立大学);Marquette University(马凯特大学);Clark Atlanta University(克拉克亚特兰大大学);Clayton State University(克莱顿州立大学);Georgia Southern University(佐治亚南方大学);Florida International University(佛罗里达国际大学);Auburn University(奥本大学);Tuskegee University(塔斯基吉大学)
MalBERT: Using Transformers for Cybersecurity and Malicious Software Detection
Université de Moncton(蒙克顿大学)
近年来,我们目睹了不同平台上的网络威胁和恶意软件攻击的增加,对个人和企业造成了重要影响。找到自动化的机器学习技术来主动防御恶意软件已变得至关重要。Transformers是一类基于注意力的深度学习技术,最近在解决主要与自然语言处理(NLP)领域相关的不同任务方面取得了令人印象深刻的结果。在本文中,我们提出了使用一个Transformers的架构来自动检测恶意软件。我们提出了一种基于BERT(Bidirectional Encoder Representations from Transformers)的模型,该模型使用预处理的特征对Android应用程序的源代码进行静态分析,以表征现有的恶意软件并将其分类为不同的代表性恶意软件类别。所得到的结果是有前途的,并显示了高性能的基于transformer的恶意软件检测模型。
Guarding Organizations Against Malware Risk: A Novel Graph-Based Malware Detection Method
School of Management, Fudan University(复旦大学管理学院);School of Information Management and Engineering, Shanghai University of Finance and Economics(上海财经大学信息管理与工程学院);Lerner College of Business and Economics, University of Delaware(特拉华大学勒纳工商经济学院)
Cybersecurity AI: Evaluating Agentic Cybersecurity in Attack/Defense CTFs
Alias Robotics;Università degli Studi di Napoli Federico II(那不勒斯费德里科二世大学);Johannes Kepler University Linz(林茨约翰内斯开普勒大学);Alpen-Adria-Universität Klagenfurt(阿尔卑斯-亚得里亚-克拉根福大学)
该研究利用 CAI 框架在 23 个攻防 CTF 中实测自主 AI 智能体,发现防御优势仅在无约束补丁条件下成立,实际可用性与防入侵约束会显著拉低其表现。
Comprehensive evaluation of Mal-API-2019 dataset by machine learning in malware detection
Texas A&M University(德克萨斯A&M大学);Georgia Institute of Technology(佐治亚理工学院);New York University(纽约大学);Boston University(波士顿大学);University of Chicago(芝加哥大学)
AMD-FCG: An Enhanced Function Call Graph Dataset with Integrated Topological Features for Malware Detection and Classification
School of Cyber Security and Digital Forensics, National Forensic Sciences University(网络安全与数字取证学院,国家刑事科学大学);Department of Computer Science and Engineering, Tezpur University(计算机科学与工程系,特兹pur大学);College of Engineering and Applied Science, University of Colorado(工程与应用科学学院,科罗拉多大学)