AndroByte:通过字节码摘要和动态数据流调用图生成实现的LLM驱动的隐私分析
AndroByte: LLM-Driven Privacy Analysis through Bytecode Summarization and Dynamic Dataflow Call Graph Generation
AI总结:
本文提出AI驱动的隐私分析工具AndroByte,通过LLM对字节码摘要进行推理,动态生成准确且可解释的数据流调用图,无需依赖预定义sink列表,在泄露检测中F-Score达89%,超越FlowDroid和Amandroid。
摘要:
随着移动应用呈指数级增长,保护用户隐私变得愈发重要。Android应用通常因收集、存储和共享敏感用户信息(如联系人、位置、摄像头和麦克风数据)而闻名,这些行为往往在没有用户明确同意或知晓的情况下进行,从而引发了重大的隐私风险和暴露。在隐私评估的背景下,数据流分析对于识别数据使用和潜在泄露尤为有价值。传统上,此类分析依赖于形式化方法、启发式方法和基于规则的匹配。然而,这些技术通常实现复杂且容易出错,例如在处理大型程序时会出现污点爆炸。此外,大多数现有的Android数据流分析方法严重依赖于预定义的sink列表,限制了其灵活性和可扩展性。为了解决这些现有技术的局限性,我们提出了AndroByte,这是一种AI驱动的隐私分析工具,利用LLM对字节码摘要进行推理,从而从静态代码分析中动态生成准确且可解释的数据流调用图。AndroByte在动态生成数据流调用图方面达到了89%的显著F-Score,在不依赖预定义传播规则或sink列表的情况下,在泄露检测中超越了FlowDroid和Amandroid等传统工具的有效性。此外,AndroByte的迭代字节码摘要为数据流和泄露检测提供了全面且可解释的洞察,并基于G-Eval指标取得了高量化分数。
英文摘要:
With the exponential growth in mobile applications, protecting user privacy has become even more crucial. Android applications are often known for collecting, storing, and sharing sensitive user information such as contacts, location, camera, and microphone data often without the user's clear consent or awareness raising significant privacy risks and exposure. In the context of privacy assessment, dataflow analysis is particularly valuable for identifying data usage and potential leaks. Traditionally, this type of analysis has relied on formal methods, heuristics, and rule-based matching. However, these techniques are often complex to implement and prone to errors, such as taint explosion for large programs. Moreover, most existing Android dataflow analysis methods depend heavily on predefined list of sinks, limiting their flexibility and scalability. To address the limitations of these existing techniques, we propose AndroByte, an AI-driven privacy analysis tool that leverages LLM reasoning on bytecode summarization to dynamically generate accurate and explainable dataflow call graphs from static code analysis. AndroByte achieves a significant F\b{eta}-Score of 89% in generating dynamic dataflow call graphs on the fly, outperforming the effectiveness of traditional tools like FlowDroid and Amandroid in leak detection without relying on predefined propagation rules or sink lists. Moreover, AndroByte's iterative bytecode summarization provides comprehensive and explainable insights into dataflow and leak detection, achieving high, quantifiable scores based on the G-Eval metric.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。