作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程

• 安全技术 • 上一篇    下一篇

基于TaintDroid扩展的WebView隐私泄露检测

王伟平,林漫涛,李天明,吴伟   

  1. (中南大学 信息科学与工程学院,长沙 410083)
  • 收稿日期:2015-11-23 出版日期:2016-10-15 发布日期:2016-10-15
  • 作者简介:王伟平(1969—),女,教授,主研方向为虚拟化安全、Web安全;林漫涛、李天明、吴伟,硕士研究生。
  • 基金资助:
    国家自然科学基金资助项目(61173169)。

Privacy Leakage Detection of WebView Based on TaintDroid Extension

WANG Weiping,LIN Mantao,LI Tianming,WU Wei   

  1. (School of Information Science and Engineering,Central South University,Changsha 410083,China)
  • Received:2015-11-23 Online:2016-10-15 Published:2016-10-15

摘要: 针对Android应用程序与WebView交互可能导致隐私泄露的问题,分析WebView的2个隐私泄露主要通道addJavascriptInterface和loadUrl,提出一种扩展TaintDroid的数据流跟踪框架WTD。WTD扩展了Android源码中的addJavascriptInterface和敏感API,在敏感API中利用Java函数栈执行跟踪机制记录系统中的函数调用层次关系,从而判断addJavascriptInterface注册对象是否访问敏感API,同时增加loadUrl加载页面参数的污点检测。实验结果表明,WTD能有效检测WebView引起的隐私数据泄露。

关键词: Android平台, WebView组件, 隐私泄露, 数据流跟踪, 污点检测

Abstract: Interaction between Android application program and WebView will lead to privacy leakage.Aiming at the problem,this paper analyzes two privacy leakage channel of WebView,addJavascriptInterface and loadUrl,and proposes a data flow tracking framework of extended WebView,named WebView Tainted Detection(WTD).WTD extends the addJavascriptInterface and sensitive API in the Android source code.In sensitive API,Java function stack executes trace mechanism to record function hierarchy call relation in the system to detect whether the addJavascriptInterface registering objects accessed Android privacy API.Besides,WTD increases the taint detection of loadUrl loading page parameters.Experimental result shows that WTD can effectively detect the private data leakage from WebView.

Key words: Android platform, WebView component, privacy leakage, data flow tracking, taint detection

中图分类号: