Automating Patching of Vulnerable Open-Source Software Versions in Application Binaries
Ruian Duan, Ashish Bijlani, Yang Ji, Omar Alrawi, Yiyuan Xiong, Moses Ike, Brendan Saltaformaggio, Wenke Lee
摘要
Mobile application developers rely heavily on opensource software (OSS) to offload common functionalities such as the implementation of protocols and media format playback. Over the past years, several vulnerabilities have been found in popular open-source libraries like OpenSSL and FFmpeg. Mobile applications that include such libraries inherit these flaws, which make them vulnerable. Fortunately, the open-source community is responsive and patches are made available within days. However, mobile application developers are often left unaware of these flaws. The App Security Improvement Program (ASIP) is a commendable effort by Google to notify application developers of these flaws, but recent work has shown that many developers do not act on this information. Our work addresses vulnerable mobile applications through automatic binary patching from source patches provided by the OSS maintainers and without involving the developers. We propose novel techniques to overcome difficult challenges like patching feasibility analysis, source-code-to-binary-code matching, and in-memory patching. Our technique uses a novel variabilityaware approach, which we implement as OSSPATCHER. We evaluated OSSPATCHER with 39 OSS and a collection of 1,000 Android applications using their vulnerable versions. OSSPATCHER generated 675 function-level patches that fixed the affected mobile applications without breaking their binary code. Further, we evaluated 10 vulnerabilities in popular apps such as Chrome with public exploits, which OSSPATCHER was able to mitigate and thwart their exploitation.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Jack-in-the-box: An Empirical Study of JavaScript Bundling on the Web and its Security Implications 引用了 Reliable Third-Party Library Detection in Android and its Security Applications
- PDiff: Semantic-based Patch Presence Testing for Downstream Kernels 引用了 Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
- PDiff: Semantic-based Patch Presence Testing for Downstream Kernels 引用了 discovRE: Efficient Cross-Architecture Identification of Bugs in Binary Code
- PDiff: Semantic-based Patch Presence Testing for Downstream Kernels 引用了 Scalable Graph-based Bug Search for Firmware Images
- The Betrayal At Cloud City: An Empirical Analysis Of Cloud-Based Mobile Backends 引用了 Reliable Third-Party Library Detection in Android and its Security Applications
- Tracking patches for open source software vulnerabilities 引用了 PDiff: Semantic-based Patch Presence Testing for Downstream Kernels
- Tracking patches for open source software vulnerabilities 引用了 VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery
- Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection 引用了 discovRE: Efficient Cross-Architecture Identification of Bugs in Binary Code
- Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection 引用了 Scalable Graph-based Bug Search for Firmware Images
- Scalable Graph-based Bug Search for Firmware Images 引用了 discovRE: Efficient Cross-Architecture Identification of Bugs in Binary Code
引用它的顶会 Paper21
- PDiff: Semantic-based Patch Presence Testing for Downstream KernelsZheyue Jiang, Yuan Zhang, Jun Xu, Qi Wen 等CCS 2020 · 54 次引用
- Tracking patches for open source software vulnerabilitiesCongying Xu, Bihuan Chen, Chenhao Lu, Kaifeng Huang 等FSE 2022 · 34 次引用
- The Betrayal At Cloud City: An Empirical Analysis Of Cloud-Based Mobile BackendsOmar Alrawi, Chaoshun Zuo, Ruian Duan, Ranjita Pai Kasturi 等USENIX Security 2019 · 29 次引用
- A grounded theory of the role of coordination in software security patch managementNesara Dissanayake, Mansooreh Zahedi, Asangi Jayatilaka, Muhammad Ali BabarFSE 2021 · 13 次引用
- Jack-in-the-box: An Empirical Study of JavaScript Bundling on the Web and its Security ImplicationsJeremy Rack, Cristian-Alexandru StaicuCCS 2023 · 11 次引用
它引用的 Paper13
- Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity DetectionXiaojun Xu, Chang Liu, Qian Feng, Heng Yin 等CCS 2017 · 682 次引用
- Scalable Graph-based Bug Search for Firmware ImagesQian Feng, Rundong Zhou, Chengcheng Xu, Yao Cheng 等CCS 2016 · 456 次引用
- VUDDY: A Scalable Approach for Vulnerable Code Clone DiscoverySeulbae Kim, Seunghoon Woo, Heejo Lee, Hakjoo OhS&P 2017 · 388 次引用
- Reliable Third-Party Library Detection in Android and its Security ApplicationsMichael Backes, Sven Bugiel, Erik DerrCCS 2016 · 345 次引用
- discovRE: Efficient Cross-Architecture Identification of Bugs in Binary CodeSebastian Eschweiler, Khaled Yakdan, Elmar Gerhards-PadillaNDSS 2016 · 342 次引用
相关 Paper
- Identifying Open-Source License Violation and 1-day Security Risk at Large ScaleRuian Duan, Ashish Bijlani, Meng Xu, Taesoo Kim 等CCS 2017 · 126 次引用
- Enhancing OSS Patch Backporting with SemanticsSu Yang, Yang Xiao, Zhengzi Xu, Chengyi Sun 等CCS 2023 · 8 次引用
- Vision: Identifying Affected Library Versions for Open Source Software VulnerabilitiesSusheng Wu, Ruisi Wang, Kaifeng Huang, Yiheng Cao 等ASE 2024 · 1 次引用
- Too Quiet in the Library: An Empirical Study of Security Updates in Android Apps' Native CodeSumaya Almanee, Arda Ünal, Mathias Payer, Joshua GarciaICSE 2021 · 20 次引用
- PPT4J: Patch Presence Test for Java BinariesZhiyuan Pan, Xing Hu, Xin Xia, Xian Zhan 等ICSE 2024 · 6 次引用
