信息网络安全 ›› 2015, Vol. 15 ›› Issue (10): 61-65.doi: 10.3969/j.issn.1671-1122.2015.10.009

• • 上一篇    下一篇

Android平台WebView组件安全及应用加固研究

赵光泽(), 李晖, 孟杨   

  1. 北京邮电大学 计算机学院,北京100876
  • 收稿日期:2015-06-13 出版日期:2015-10-01 发布日期:2015-11-04
  • 作者简介:

    作者简介: 赵光泽(1990-) ,男,辽宁,硕士研究生,主要研究方向:移动终端安全;李晖(1970-),女,吉林,副教授,硕士生导师,博士,主要研究方向:移动通信安全;孟杨(1990-),男,河南,硕士研究生,主要研究方向:移动通信安全。

  • 基金资助:
    国家自然科学基金[61370195]

Research on the Security of Android WebView and Application Enhancement

Guang-ze ZHAO(), Hui LI, Yang MENG   

  1. School of Computer Science, Beijing University of Posts and Telecommunications, Beijing 100876, China
  • Received:2015-06-13 Online:2015-10-01 Published:2015-11-04

摘要:

Android平台提供了WebView组件用于加载和显示Web网页。通过调用WebView提供的API,Android应用程序可以与Web页面进行交互操作。该交互过程包括允许Web页面中的JavaScript代码通过调用Android应用中Java代码访问本地资源。在此过程中,攻击者可以通过篡改Web页面中的JavaScript脚本攻击Android应用程序。研究发现,对Android应用程序进行逆向工程攻击得到WebView可调用接口,是此类攻击的前提。因此,为了防止此类攻击,文章提出了一种应用加固方案防止Android逆向工程攻击,通过隐藏WebView组件接口达到保护Android应用程序的目的。该加固方案不仅可以防范针对WebView组件的攻击,也可以防范其他基于Android逆向工程的攻击。

关键词: Android, 安全, WebView, 应用加固

Abstract:

Android platform provides WebView component to load and display webpage.By calling the APIs provided by WebView, Android applications can interact with the webpage.This interaction includes allowing javascript code in webpage to access the local resources by calling java code in Android applications.In this process, an attacker can tamper with the javascript in webpage to attack Android applications.Based on our research, such attacks usually use the reverse engineering of Android applications to get accessible WebView interface as its first step.Thus, in order to avoid these attacks, this paper proposed an application enhancement scheme to prevent Android reverse engineering and hide WebView component interface in order to protect the Android applications.This scheme can prevent not only attacks on WebView component, but also other attacks based on Android reverse engineering.

Key words: Android, security, WebView, application enhancement

中图分类号: