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

ThreMoLIA:大语言模型集成应用的威胁建模

ThreMoLIA: Threat Modeling of Large Language Model-Integrated Applications

Felix Viktor Jedrzejewski, Davide Fucci, Oleksandr Adamov

AI总结:

针对大语言模型集成应用(LIA)的威胁建模问题,提出结合LLM与RAG的工具,利用现有威胁模型和架构库自动生成威胁模型,减少安全专家参与并缩短时间,早期评估结果积极。

摘要:

大语言模型(LLM)目前正被集成到工业软件应用中,以帮助用户更高效地完成更复杂的任务。然而,这些大语言模型集成应用(LIA)扩大了攻击面,并引入了新型威胁。威胁建模通常用于识别这些威胁并提出缓解措施,但这是一项耗时的工作,需要安全从业者的参与。我们的目标是:1)提供一种在LIA生命周期早期进行威胁建模的方法;2)开发一个集成现有威胁模型的威胁建模工具;3)确保高质量的威胁建模。为实现这些目标,我们与行业合作伙伴协作。我们提出的威胁建模方法将减少安全专家的参与需求,并缩短该活动所花费的时间,从而惠及工业界。我们提出的工具结合了LLM和检索增强生成(RAG),并利用现有威胁模型和应用架构存储库等来源,持续创建和更新威胁模型。我们计划通过基准测试(即离线方式)以及现场从业者(在线方式)对该工具进行评估。我们使用ChatGPT对一个简单的LIA进行了早期评估,获得的结果鼓励我们继续推进研究工作。

英文摘要:

Large Language Models (LLMs) are currently being integrated into industrial software applications to help users perform more complex tasks in less time. However, these LLM-Integrated Applications (LIA) expand the attack surface and introduce new kinds of threats. Threat modeling is commonly used to identify these threats and suggest mitigations. However, it is a time-consuming practice that requires the involvement of a security practitioner. Our goals are to 1) provide a method for performing threat modeling for LIAs early in their lifecycle, (2) develop a threat modeling tool that integrates existing threat models, and (3) ensure high-quality threat modeling. To achieve the goals, we work in collaboration with our industry partner. Our proposed way of performing threat modeling will benefit industry by requiring fewer security experts' participation and reducing the time spent on this activity. Our proposed tool combines LLMs and Retrieval Augmented Generation (RAG) and uses sources such as existing threat models and application architecture repositories to continuously create and update threat models. We propose to evaluate the tool offline -- i.e., using benchmarking -- and online with practitioners in the field. We conducted an early evaluation using ChatGPT on a simple LIA and obtained results that encouraged us to proceed with our research efforts.

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

↑