Towards Measuring Supply Chain Attacks on Package Managers for Interpreted Languages

Ruian Duan, Omar Alrawi, R. Kasturi, R. Elder, Brendan Saltaformaggio, Wenke Lee
{"title":"Towards Measuring Supply Chain Attacks on Package Managers for Interpreted Languages","authors":"Ruian Duan, Omar Alrawi, R. Kasturi, R. Elder, Brendan Saltaformaggio, Wenke Lee","doi":"10.14722/NDSS.2021.23055","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":364091,"journal":{"name":"Proceedings 2021 Network and Distributed System Security Symposium","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2020-12-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"61","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings 2021 Network and Distributed System Security Symposium","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.14722/NDSS.2021.23055","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 61

Abstract

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
针对解释语言的包管理器的供应链攻击度量
包管理器已经成为现代软件开发过程的重要组成部分。它们允许开发人员重用第三方代码,共享他们自己的代码,最小化他们的代码库,并简化构建过程。然而,最近的报告显示,包管理器已经被攻击者滥用来分发恶意软件,给开发人员和最终用户带来了重大的安全风险。例如,eslint-scope,一个在Npm中每周有数百万次下载量的包,就被窃取了开发者的凭证。为了理解使最近的供应链攻击成为可能的安全漏洞和错误的信任,我们提出了一个比较框架来定性地评估解释语言的包管理器的功能和安全特性。在定性评估的基础上,我们应用元数据、静态和动态分析等知名的程序分析技术来研究注册表滥用。我们最初的努力发现了339个新的恶意软件包,我们报告给注册表要求删除。包管理器维护者从339个报告的包中确认了278个(82%),其中三个包的下载量超过10万次。对于这些软件包,我们已发放了官方CVE编号,以帮助从受感染的受害者中快速移除这些软件包。我们概述了将程序分析工具裁剪为解释性语言的挑战,并发布了我们的管道,作为社区构建的参考点,并帮助确保软件供应链的安全。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Towards Measuring Supply Chain Attacks on Package Managers for Interpreted Languages PrivacyFlash Pro: Automating Privacy Policy Generation for Mobile Apps WINNIE : Fuzzing Windows Applications with Harness Synthesis and Fast Cloning NetPlier: Probabilistic Network Protocol Reverse Engineering from Message Traces HERA: Hotpatching of Embedded Real-time Applications
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1