通过协作大语言模型检测具有加密相关性的软件包
Detecting Cryptographically Relevant Software Packages with Collaborative LLMs
AI总结:
本文提出利用协作大语言模型作为启发式工具,通过多数投票聚合多个模型输出,实现对加密资产的自动发现,减少人工工作量并辅助后量子密码学过渡。
摘要:
IT系统正面临越来越多的安全威胁,包括高级持续攻击和未来量子计算漏洞。为实现加密敏捷性和后量子密码学(PQC),需要在异构IT环境中可靠地盘点加密资产。由于软件包数量庞大,手动检测加密相关软件不可行。静态代码分析流水线往往无法应对现代生态系统的多样性。本文研究利用大语言模型(LLMs)作为启发式工具进行加密资产发现。我们提出一个协作框架,利用多个LLMs评估软件相关性并通过多数投票聚合输出。为保护数据隐私,该方法在本地运行,不依赖外部服务器。使用超过65,000个Fedora Linux软件包,我们通过统计分析、模型间一致性分析和人工验证评估该方法的可靠性。初步结果表明,LLM集合可以作为高效的第一步过滤器,用于识别加密软件,从而减少人工工作量并辅助PQC过渡。本研究还比较了本地和在线LLM配置,突显了自动化加密资产发现的关键优势、限制和未来方向。
英文摘要:
IT systems are facing an increasing number of security threats, including advanced persistent attacks and future quantum-computing vulnerabilities. The move towards crypto-agility and post-quantum cryptography (PQC) requires a reliable inventory of cryptographic assets across heterogeneous IT environments. Due to the sheer amount of packets, it is infeasible to manually detect cryptographically relevant software. Further, static code analysis pipelines often fail to address the diversity of modern ecosystems. Our research explores the use of large language models (LLMs) as heuristic tools for cryptographic asset discovery. We propose a collaborative framework that employs multiple LLMs to assess software relevance and aggregates their outputs through majority voting. To preserve data privacy, the approach operates on-premises without reliance on external servers. Using over 65,000 Fedora Linux packages, we evaluate the reliability of this method through statistical analysis, inter-model agreement, and manual validation. Preliminary results suggest that~LLM ensembles can serve as an efficient first-pass filter for identifying cryptographic software, resulting in reduced manual workload and assisting PQC transition. The study also compares on-premises and online LLM configurations, highlighting key advantages, limitations, and future directions for automated cryptographic asset discovery.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。