arXiv:2503.09586cs.AIcs.CR2025-03被引 9

用AI生成威胁模型,几分钟完成传统需数周的工作

Auspex: Building Threat Modeling Tradecraft into an Artificial Intelligence-based Copilot

  • 通过编码专家经验的提示词,分两阶段自动分析系统架构与威胁
  • 生成包含威胁场景、类型和缓解措施的完整威胁矩阵
  • 适合安全团队快速构建标准化威胁模型,无需复杂训练

我们提出Auspex——一个基于生成式AI的威胁建模系统,采用专为威胁建模专家知识设计的提示工程方法。该方法通过在提示中嵌入一线建模经验,在两个阶段实现自动化:第一阶段利用提示解析系统架构并进行分解描述;第二阶段通过一系列提示链,识别、分类威胁并提出缓解方案。最终生成包含威胁场景、类型、信息安全分类及应对措施的威胁矩阵。相比人工需数周至数月的工作,Auspex可在数分钟内完成。通过来自网络安全专家对真实银行系统的评估,验证了其输出质量与实用性。该系统不依赖微调或代理扩展,具备轻量、灵活、模块化和可扩展特性,可解决现有手动与自动化流程在复杂性、资源消耗和标准化上的瓶颈。最后讨论了系统性能与未来改进方向。

原文摘要 · Abstract (English)

We present Auspex - a threat modeling system built using a specialized collection of generative artificial intelligence-based methods that capture threat modeling tradecraft. This new approach, called tradecraft prompting, centers on encoding the on-the-ground knowledge of threat modelers within the prompts that drive a generative AI-based threat modeling system. Auspex employs tradecraft prompts in two processing stages. The first stage centers on ingesting and processing system architecture information using prompts that encode threat modeling tradecraft knowledge pertaining to system decomposition and description. The second stage centers on chaining the resulting system analysis through a collection of prompts that encode tradecraft knowledge on threat identification, classification, and mitigation. The two-stage process yields a threat matrix for a system that specifies threat scenarios, threat types, information security categorizations and potential mitigations. Auspex produces formalized threat model output in minutes, relative to the weeks or months a manual process takes. More broadly, the focus on bespoke tradecraft prompting, as opposed to fine-tuning or agent-based add-ons, makes Auspex a lightweight, flexible, modular, and extensible foundational system capable of addressing the complexity, resource, and standardization limitations of both existing manual and automated threat modeling processes. In this connection, we establish the baseline value of Auspex to threat modelers through an evaluation procedure based on feedback collected from cybersecurity subject matter experts measuring the quality and utility of threat models generated by Auspex on real banking systems. We conclude with a discussion of system performance and plans for enhancements to Auspex.

威胁建模AI辅助安全开发提示工程

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。