学位论文详细信息
Toward solving the security risks of open-source software use
Open source software;Application security;License violation;Code clone detection;Known vulnerability;Patching;Supply chain attack;Package manager;Web security;Runtime protection;Runtime isolation
Duan, Ruian ; Lee, Wenke Saltaformaggio, Brendan D. Computer Science Ahamad, Mustaque Keromytis, Angelos D. Boldyreva, Alexandra ; Lee, Wenke
University:Georgia Institute of Technology
Department:Computer Science
关键词: Open source software;    Application security;    License violation;    Code clone detection;    Known vulnerability;    Patching;    Supply chain attack;    Package manager;    Web security;    Runtime protection;    Runtime isolation;   
Others  :  https://smartech.gatech.edu/bitstream/1853/62316/1/DUAN-DISSERTATION-2019.pdf
美国|英语
来源: SMARTech Repository
PDF
【 摘 要 】

Open-source software (OSS) has been widely adopted in all layers of the software stack, from operating systems to web servers and mobile apps. Despite their myriad benefits, careless use of OSS can introduce significant legal and security risks, which if ignored not only jeopardize the security and privacy of end users but also cause developers and enterprises high financial loss. On one hand, use of OSS implicitly binds the developer to the associated licensing terms protected under copyright laws, which could have legal ramifications if violated. Just recently, Cisco and VMWare were involved in legal disputes for failing to comply with the licensing terms of the Linux kernel. On the other hand, software that reuses OSS also inherits their flaws, which could be exploited if not timely fixed. For example, the record-breaking security breach of Equifax originated from failure to patch a disclosed vulnerability in the open-source Apache Struts framework. Moreover, attackers are actively injecting malware into the open-source ecosystem, which abuses OSS reuse to amplify their effects. For example, eslint-scope, a package with millions of downloads in Npm, was compromised to steal credentials from developers. In this thesis, we aim to provide solutions to those risks posed by OSS misuse. First, we present a scalable OSS detection system (OSSPolice) that accurately detects OSS included in binary programs and checks for illegal misuse and n-day vulnerabilities in those OSS versions. OSSPolice was used to compare 1.6M apps against 140K OSS versions and identified over 40K potential GPL/AGPL license violators and over 100K apps using known vulnerable OSS. Once vulnerabilities have been identified, my next work (OSSPatcher) provides an automated patching system that fixes vulnerable OSS versions in app binaries using publicly available source patches. OSSPatcher is based upon variability-aware techniques which make patch feasibility analysis and, more importantly, source-code-to-binary-code matching possible. Third, we present a study (MalOSS) on recent supply chain attacks against the open-source ecosystem, where hundreds of malware have sneaked into package managers, and have been downloaded millions of times. We propose a comparative framework to understand the attacks and the misplaced trust that makes them possible, and a vetting pipeline to detect malware in package managers. MalOSS reported 339 malware to package manager maintainers, out of which, 278 (82 percent) have been confirmed and removed and 3 with more than 100K downloads have been assigned CVEs.

【 预 览 】
附件列表
Files Size Format View
Toward solving the security risks of open-source software use 1361KB PDF download
  文献评价指标  
  下载次数:5次 浏览次数:11次