arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.26291cs.CR
收藏

超越下架:测量恶意Go模块在野外的持久性

Beyond Takedown: Measuring Malicious Go Module Persistence in the Wild

The Ohio State University(俄亥俄州立大学)

Minjae Bae, Carter Yagemann

AI总结:

通过手动搜索和自动化AST扫描,发现Go生态系统中2289个恶意模块版本,并揭示GitHub下架后99.4%仍可通过Go代理获取。

摘要:

我们测量了Go生态系统中的一个基于自动化的供应链攻击活动。攻击者将合法的Go模块重新打包到攻击者控制的所有者名下,并嵌入混淆代码作为导入触发的下载器。我们的结果来自两个互补的分析:a) 在GitHub上对2,113个仓库进行手动搜索,b) 使用我们实现的去混淆AST扫描器(GOAST)对1230万个索引条目进行大规模扫描。结果,我们识别出2289个恶意版本的合法Go模块。我们证明,纯粹以GitHub为中心的搜索无法识别攻击的全部范围,并且仅在受影响代码存在于平台上时才有效。此外,我们基于代理的下架-修复差距测量显示,在后来发现GitHub不可观察(即被删除或暂停)的工件中,至少有99.4%仍然可以通过Go代理检索。在我们的披露之后,GitHub已删除684个恶意仓库,Google Go团队已修复1377个模块版本。

英文摘要:

We measure an automation-based supply chain campaign in the Go ecosystem. The attackers repackage legitimate Go modules under attacker-controlled owners, and embed them with obfuscated code for an import-triggered downloader. Our results come from two complementary analyses: a) a manual search on GitHub across 2,113 repositories and b) a large-scale scan of 12.3M index entries using a deobfuscating AST scanner (GOAST) that we implemented. As a result, we identified 2,289 malicious versions of legitimate Go modules. We demonstrate that purely GitHub-centric searches fail to identify the full extent of the compromise and are only effective for as long as the affected code is present on the platform. Moreover, our proxy-based measurements of the takedown-remediation gap reveal that among artifacts later found to be GitHub-unobservable (i.e., removed or suspended), at least 99.4% remained retrievable via Go proxy. Following our disclosure, GitHub has removed 684 malicious repositories and the Google Go team has remediated 1,377 module versions.

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

↑