Skip to main content
QUICK REVIEW

[论文解读] AntShield: On-Device Detection of Personal Information Exposure

Anastasia Shuba, Evita Bakopoulou|arXiv (Cornell University)|Mar 3, 2018
Advanced Malware Detection Techniques参考文献 14被引用 9
一句话总结

AntShield 是首个在设备端实现的系统,结合了实时字符串匹配与多标签分类技术,可检测移动网络流量中预定义及未知的个人身份信息(PII)泄露。其在移动设备上实现了高准确率(相比最先进方法提升8–25%)与亚毫秒级性能(分类耗时约0.75 ms),无需依赖远程代理即可实现实时隐私保护。

ABSTRACT

Mobile devices have access to personal, potentially sensitive data, and there is a growing number of applications that transmit this personally identifiable information (PII) over the network. In this paper, we present the AntShield system that performs on-device packet-level monitoring and detects the transmission of such sensitive information accurately and in real-time. A key insight is to distinguish PII that is predefined and is easily available on the device from PII that is unknown a priori but can be automatically detected by classifiers. Our system not only combines, for the first time, the advantages of on-device monitoring with the power of learning unknown PII, but also outperforms either of the two approaches alone. We demonstrate the real-time performance of our prototype as well as the classification performance using a dataset that we collect and analyze from scratch (including new findings in terms of leaks and patterns). AntShield is a first step towards enabling distributed learning of private information exposure.

研究动机与目标

  • 解决移动网络流量中预定义与未知 PII 泄露缺乏实时、设备端检测的问题。
  • 克服现有系统依赖预定义黑名单或远程可信代理进行分类的局限性。
  • 在保护用户隐私与设备自主权的前提下,实现准确且低开销的 PII 泄露检测。
  • 收集并分析一个全新的、全面的移动 PII 泄露数据集,以揭示此前未知的泄露模式与行为。
  • 为跨移动设备的分布式、隐私保护型 PII 泄露学习奠定基础。

提出的方法

  • 使用 AntMonitor 库实现实时数据包拦截,并通过 Aho-Corasick 字符串匹配技术在设备端检测预定义 PII。
  • 采用基于 Binary Relevance 与决策树的多标签分类框架,检测未知 PII。
  • 设计基于应用的分类器而非基于域名的分类器,以提升可扩展性并降低延迟,同时保持准确率。
  • 通过高效的字符串解析与 Aho-Corasick 搜索优化特征提取,将特征提取时间缩短至 0.107 ms ± 0.149 ms。
  • 实现轻量级设备端推理,分类延迟为 0.751 ms ± 1.35 ms,支持实时运行。
  • 支持未来与联邦学习及隐私保护协作学习框架集成,实现分布式模型训练。

实验结果

研究问题

  • RQ1能否在高准确率与低性能开销下实现对预定义与未知 PII 的设备端检测?
  • RQ2结合字符串匹配与多标签分类的混合方法相较于现有方法在检测 PII 泄露方面有何优势?
  • RQ3移动网络流量中涉及 PII 的真实世界泄露模式与此前未知的泄露行为是什么?
  • RQ4基于应用的分类器是否能在实现与基于域名分类器相当准确率的同时,实现更快、更可扩展的检测?
  • RQ5是否可行实现在移动设备上实时训练与部署机器学习模型以检测 PII 泄露,而无需依赖远程基础设施?

主要发现

  • AntShield 系统相比最先进方法(如 Recon)实现 8–25% 更高的分类准确率,且方差降低 2–5 倍。
  • 使用 Aho-Corasick 进行特征提取将延迟降低至 0.107 ms ± 0.149 ms,显著优于 Recon 使用 Java 字符串解析的 36 ms ± 17 ms。
  • 多标签分类每数据包耗时 0.751 ms ± 1.35 ms,可在移动设备上实现实时检测,对用户体验无明显影响。
  • 所收集的数据集揭示了新的泄露模式,包括明文 TCP 与 UDP 上的 PII 泄露、后台应用数据传输,以及针对已越狱设备的恶意扫描行为。
  • 基于应用的分类器在准确率上与基于域名的分类器相当,但实现了更快的处理速度、更高的可扩展性与更广的流量覆盖范围。
  • 通用分类器的训练时间最长可达数十分钟,但由于训练频率低且可远程完成,因此不影响实际部署。

更好的研究,从现在开始

从阅读论文到最终审阅,大幅缩短您的研究时间。

无需绑定信用卡

本解读由 AI 生成,并经人工编辑审核。