arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.11007cs.CRcs.SE
收藏

面向大语言模型(LLM)驱动应用的威胁建模与风险分析

Threat Modelling and Risk Analysis for Large Language Model (LLM)-Powered Applications

Stephen Burabari Tete

AI总结:

本文针对LLM驱动应用提出结合STRIDE和DREAD的威胁建模与风险分析框架,并通过案例研究验证端到端威胁模型,以提升LLM集成系统的安全性。

摘要:

大语言模型(LLMs)的出现通过提供先进的自然语言处理能力彻底改变了各种应用。然而,这一创新也带来了新的网络安全挑战。本文探讨了专门针对LLM驱动应用的威胁建模与风险分析。聚焦于数据投毒、提示注入、SQL注入、越狱攻击和组合注入等潜在攻击,我们评估了它们对安全性的影响,并提出缓解策略。我们引入了一个结合STRIDE和DREAD方法论的框架,用于主动威胁识别和风险评估。此外,我们通过一个自建LLM驱动应用的案例研究,检验了端到端威胁模型的可行性。该模型遵循Shostack的四问题框架,并针对LLM所呈现的独特威胁进行了调整。我们的目标是提出能够增强这些强大AI工具安全性的措施,以挫败攻击,并确保LLM集成系统的可靠性与完整性。

英文摘要:

The advent of Large Language Models (LLMs) has revolutionized various applications by providing advanced natural language processing capabilities. However, this innovation introduces new cybersecurity challenges. This paper explores the threat modeling and risk analysis specifically tailored for LLM-powered applications. Focusing on potential attacks like data poisoning, prompt injection, SQL injection, jailbreaking, and compositional injection, we assess their impact on security and propose mitigation strategies. We introduce a framework combining STRIDE and DREAD methodologies for proactive threat identification and risk assessment. Furthermore, we examine the feasibility of an end-to-end threat model through a case study of a custom-built LLM-powered application. This model follows Shostack's Four Question Framework, adjusted for the unique threats LLMs present. Our goal is to propose measures that enhance the security of these powerful AI tools, thwarting attacks, and ensuring the reliability and integrity of LLM-integrated systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑