ATVHunter:可靠的第三方库版本检测,用于Android应用中的漏洞识别
ATVHunter: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications
摘要:
我们提出了一个名为ATVHunter的系统,该系统可以精确定位易受攻击的应用内TPL版本,并提供有关漏洞和TPL的详细信息。我们提出了一个两阶段的检测方法来识别特定的TPL版本。具体来说,我们提取控制流图作为粗粒度特征,以匹配预定义的TPL数据库中的潜在TPL,然后提取CFG的每个基本块中的操作码作为细粒度特征,以识别确切的TPL版本。我们建立了一个全面的第三方物流数据库(189,545个独特的第三方物流,3,006,676个版本)作为参考数据库。同时,为了识别易受攻击的应用内TPL版本,我们还构建了一个全面的已知易受攻击的TPL数据库,包含1,180个CVE和224个安全错误。实验结果表明,ATVHunter优于最先进的TPL检测工具,实现了90.55%的准确率和88.79%的召回率,具有高效率,也是弹性广泛使用的混淆技术和可扩展的大规模TPL检测。此外,为了调查应用程序使用的脆弱TPL生态系统,我们利用ATVHunter对104,446个应用程序进行了大规模分析,发现9,050个应用程序包含脆弱的TPL版本,其中53,337个漏洞和7,480个安全错误,其中大多数具有高风险,未被应用程序开发人员识别。
英文摘要:
We propose a system, named ATVHunter, which can pinpoint the precise vulnerable in-app TPL versions and provide detailed information about the vulnerabilities and TPLs. We propose a two-phase detection approach to identify specific TPL versions. Specifically, we extract the Control Flow Graphs as the coarse-grained feature to match potential TPLs in the pre-defined TPL database, and then extract opcode in each basic block of CFG as the fine-grained feature to identify the exact TPL versions. We build a comprehensive TPL database (189,545 unique TPLs with 3,006,676 versions) as the reference database. Meanwhile, to identify the vulnerable in-app TPL versions, we also construct a comprehensive and known vulnerable TPL database containing 1,180 CVEs and 224 security bugs. Experimental results show ATVHunter outperforms state-of-the-art TPL detection tools, achieving 90.55% precision and 88.79% recall with high efficiency, and is also resilient to widely-used obfuscation techniques and scalable for large-scale TPL detection. Furthermore, to investigate the ecosystem of the vulnerable TPLs used by apps, we exploit ATVHunter to conduct a large-scale analysis on 104,446 apps and find that 9,050 apps include vulnerable TPL versions with 53,337 vulnerabilities and 7,480 security bugs, most of which are with high risks and are not recognized by app developers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。