ConfuGuard:利用元数据精准大规模检测主动且隐蔽的包混淆攻击
ConfuGuard: Using Metadata to Detect Active and Stealthy Package Confusion Attacks Accurately and at Scale
AI总结:
针对现有包混淆攻击防御存在误报率高、覆盖生态有限等问题,研究提出ConfuGuard检测器,利用包元数据识别良性包,支持7类注册表,误报率降至28%,已在工业场景检出630起真实攻击。
摘要:
包混淆攻击(如域名仿冒劫持typosquatting)对软件供应链构成威胁。攻击者会创建名称在语法或语义上与合法包相似的包,诱骗工程师安装恶意软件。尽管已有研究针对部分软件包注册表(尤其是NPM、PyPI和RubyGems)中的包混淆问题开发了防御机制,但仍存在不足:误报率高、难以推广到更多软件包生态系统,且缺乏实际部署的相关洞见。\n在本研究中,我们推出了ConfuGuard——一款先进的包混淆威胁检测器。我们首先对从过往包混淆数据中提取的良性信号开展了首次实证分析,揭示了其威胁模式、工程实践和可量化属性。为改进现有检测器,我们利用包元数据区分良性包,并将支持范围从3个软件包注册表扩展至7个。我们的方法通过分析包元数据过滤良性包,将误报率从80%大幅降至28%,代价是平均增加14秒的延迟。ConfuGuard已在我们的行业合作伙伴处投入生产使用,其分析师已确认ConfuGuard检测到630起真实攻击。
英文摘要:
Package confusion attacks such as typosquatting threaten software supply chains. Attackers make packages with names that syntactically or semantically resemble legitimate ones, tricking engineers into installing malware. While prior work has developed defenses against package confusions in some software package registries, notably NPM, PyPI, and RubyGems, gaps remain: high false-positive rates, generalization to more software package ecosystems, and insights from real-world deployment. In this work, we introduce ConfuGuard, a state-of-art detector for package confusion threats. We begin by presenting the first empirical analysis of benign signals derived from prior package confusion data, uncovering their threat patterns, engineering practices, and measurable attributes. Advancing existing detectors, we leverage package metadata to distinguish benign packages, and extend support from three up to seven software package registries. Our approach significantly reduces false positive rates (from 80% to 28%), at the cost of an additional 14s average latency to filter out benign packages by analyzing the package metadata. ConfuGuard is used in production at our industry partner, whose analysts have already confirmed 630 real attacks detected by ConfuGuard.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。