基于聚类的安卓应用闭源第三方库识别
etection of closed-source third-party libraries in Android applications based on clustering
安卓应用中的第三方库是一把双刃剑,在辅助应用程序的开发的同时会造成用户隐私泄露或者引入漏洞代码,因此需要对应用中的第三方库进行识别。本文实现了名为Libmonitor的工具,Libmonitor按照功能将安卓API进行分类,然后利用不同类型API的调用频率作为特征,之后通过对大量应用进行聚类划分出潜在的第三方库,最终对待测应用中的特征向量进行聚类预测以识别应用中的第三方库。这种方法对特征向量采用模糊匹配,能够抵抗代码删除和控制流随机化。Libmonitor在162组混淆应用程序和 217个普通应用程序上进行评估,与现有两个第三方库识别工具进行对比,实验结果的F1值在两个数据集上均超过了现有工具。实验结果表明,本文的方案对于抵抗代码混淆以及识别闭源第三方库具有良好表现。
he third-party library in Android application is a double-edged sword, which can cause privacy leakage or introduce vulnerable code while assisting application development. This paper implements a tool called Libmonitor. Libmonitor classifies Android APIs according to their functions, uses the calling frequency of different types of APIs as features, and then divides potential third-party libraries by clustering features of a large number of applications. Finally, Libmonitor perform cluster prediction to detect third-party libraries in the application under test. This method uses fuzzy matching on feature vectors and is resistant to code removal and control flow randomization. Libmonitor is evaluated on 162 groups of obfuscated applications and 217 common applications, and compared with two existing third-party library detection tools, the F1 value of Libmonitor exceeds these two tools on both datasets. Experimental results show that Libmonitor has good performance in resisting code obfuscation and detecting closed-source third-party libraries.
郝显通、梁洪亮
计算技术、计算机技术
安卓第三方库识别聚类
ndroidThird-party library detectionCluster
郝显通,梁洪亮.基于聚类的安卓应用闭源第三方库识别[EB/OL].(2022-04-01)[2025-08-16].http://www.paper.edu.cn/releasepaper/content/202204-28.点此复制
评论