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

面向解释语言的软件包管理器供应链攻击度量

Towards Measuring Supply Chain Attacks on Package Managers for Interpreted Languages

Ruian Duan, Omar Alrawi, Ranjita Pai Kasturi, Ryan Elder, Brendan Saltaformaggio, Wenke Lee

摘要:

包管理器已经成为现代软件开发过程的重要组成部分。它们允许开发人员重用第三方代码,共享他们自己的代码,最小化他们的代码库,并简化构建过程。然而,最近的报告显示,包管理器已被攻击者滥用来分发恶意软件,给开发人员和最终用户带来了重大的安全风险。例如,eslint-scope,一个在Npm中每周有数百万下载量的软件包,被破坏以窃取开发人员的凭据。为了了解安全漏洞和错位的信任,使最近的供应链攻击成为可能,我们提出了一个比较框架,以定性评估解释语言的包管理器的功能和安全功能。在定性评估的基础上,我们采用了著名的程序分析技术,如元数据,静态和动态分析研究注册表滥用。我们最初的努力发现了339个新的恶意软件包,我们报告给注册中心删除。软件包管理器维护人员确认了339个报告的软件包中的278个(82%),其中三个软件包的下载量超过10万次。对于这些软件包,我们发布了官方的CVE编号,以帮助加快从受感染的受害者中删除这些软件包。我们概述了为解释型语言定制程序分析工具的挑战,并发布了我们的管道,作为社区建立和帮助保护软件供应链的参考点。

英文摘要:

Package managers have become a vital part of the modern software development process. They allow developers to reuse third-party code, share their own code, minimize their codebase, and simplify the build process. However, recent reports showed that package managers have been abused by attackers to distribute malware, posing significant security risks to developers and end-users. For example, eslint-scope, a package with millions of weekly downloads in Npm, was compromised to steal credentials from developers. To understand the security gaps and the misplaced trust that make recent supply chain attacks possible, we propose a comparative framework to qualitatively assess the functional and security features of package managers for interpreted languages. Based on qualitative assessment, we apply well-known program analysis techniques such as metadata, static, and dynamic analysis to study registry abuse. Our initial efforts found 339 new malicious packages that we reported to the registries for removal. The package manager maintainers confirmed 278 (82%) from the 339 reported packages where three of them had more than 100,000 downloads. For these packages we were issued official CVE numbers to help expedite the removal of these packages from infected victims. We outline the challenges of tailoring program analysis tools to interpreted languages and release our pipeline as a reference point for the community to build on and help in securing the software supply chain.

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

↑