Precise and Efficient Patch Presence Test for Android Applications against Code Obfuscation


연구 분야: Analysis



학회: ISSTA 2023: Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis


초록

Third-party libraries (TPLs) are widely utilized by Android developers to implement new apps. Unfortunately, TPLs are often suffering from various vulnerabilities, which could be exploited by attackers to cause catastrophic consequences for app users. Therefore, testing whether a vulnerability has been patched in target apps is crucial. However, existing techniques are unable to effectively test patch presence for obfuscated apps while obfuscation is pervasive in practice. To address the new challenges introduced by code obfuscation, this study presents PHunter, which is a system that captures obfuscation-resilient semantic features of patch-related methods to identify the presence of the patch in target apps. Specifically, PHunter utilizes coarse-grained features to locate patch-related methods, and compares the fine-grained semantic similarity to determine whether the code has been patched. Extensive evaluations on 94 CVEs and 200 apps show that PHunter can outperform state-of-the-art tools, achieving an average accuracy of 97.1% with high efficiency and low false positive rates. Besides, PHunter is able to be resilient to different obfuscation strategies. More importantly, PHunter is useful in eliminating the false alarms generated by existing TPL detection tools. In particular, it can help reduce up to 25.2% of the false alarms with an accuracy of 95.3%.


Author Profile
Hai Jin

Huazhong University of Science and Technology China

Andorra
Author Profile
Deiqing Zou

Huazhong University of Science and Technology China

Andorra
Author Profile
Zifan Xie

Huazhong University of Science and Technology China

Andorra

📄 논문 정보

발행 연도 2023년
인용수 7
출판 국가 Andorra
사이트 ACM
좋아요 수 0

연관 논문 목록 (176건)