Risk Analysis of Exposed Methods to Java']JavaScript in Hybrid Apps

被引:0
|
作者
Yang, Liu [1 ]
Cui, Xingmin [2 ]
Wang, Changyuan [1 ]
Guo, Shanqing [1 ]
Xu, Xinshun [1 ]
机构
[1] Shandong Univ, Jinan, Peoples R China
[2] Univ Hong Kong, Hong Kong, Hong Kong, Peoples R China
关键词
Android Security; WebView; !text type='Java']Java[!/text]Script;
D O I
10.1109/TrustCom.2016.96
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Nowadays, there are more and more hybrid apps appearing in the app market which contain native code and Web pages. In order to enhance the ability of JavaScript in the WebView, these apps expose methods that can be invoked by JavaScript. However, when we study the communication from JavaScript to native code, we find a security issue that if the exposed methods finally invoke sensitive methods, such as SEND_SMS, getLastKnownLocation, and these exposed methods are called via unsafe connections, malicious code can be injected to perform sensitive operations without the user's consent. To automatically detect this vulnerability, we provide a hybrid system that contains both static and dynamic analysis modules. The static analysis discerns potential vulnerable apps and gathers information to guide the dynamic analysis while the dynamic analysis executes the app to verify whether the app is vulnerable or not. We use this system to test 400 most popular apps in the Google Play market and find that 43 apps are vulnerable.
引用
收藏
页码:458 / 464
页数:7
相关论文
共 50 条
  • [1] Precisely and Scalably Vetting Java']JavaScript Bridge in Android Hybrid Apps
    Yang, Guangliang
    Mendoza, Abner
    Zhang, Jialong
    Gu, Guofei
    RESEARCH IN ATTACKS, INTRUSIONS, AND DEFENSES (RAID 2017), 2017, 10453 : 143 - 166
  • [2] Live Migration of Java']JavaScript Web Apps
    Lo, James
    Wohlstadter, Eric
    Mesbah, Ali
    PROCEEDINGS OF THE 22ND INTERNATIONAL CONFERENCE ON WORLD WIDE WEB (WWW'13 COMPANION), 2013, : 241 - 244
  • [3] Concurrent Java']JavaScript Parsing for Faster Loading of Web Apps
    Park, Hyukwoo
    Cha, Myungsu
    Moon, Soo-Mook
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2016, 13 (04)
  • [4] Malicious Java']JavaScript Code Detection Based on Hybrid Analysis
    He, Xincheng
    Xu, Lei
    Cha, Chunliu
    2018 25TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2018), 2018, : 365 - 374
  • [5] Type Analysis for Java']JavaScript
    Jensen, Simon Holm
    Moller, Anders
    Thiemann, Peter
    STATIC ANALYSIS, 2009, 5673 : 238 - +
  • [6] Deployment of physics simulation apps using Easy Java']JavaScript Simulations
    PROCEEDINGS OF 2017 IEEE GLOBAL ENGINEERING EDUCATION CONFERENCE (EDUCON2017), 2017, : 1093 - 1096
  • [7] Test-driven development for generated portable Java']Javascript apps
    Bouragadi, Noury
    Mason, Dave
    SCIENCE OF COMPUTER PROGRAMMING, 2018, 161 : 2 - 17
  • [8] Dynamic Flow Analysis for Java']JavaScript
    Naus, Nico
    Thiemann, Peter
    TRENDS IN FUNCTIONAL PROGRAMMING (TFP 2016), 2019, 10447 : 75 - 93
  • [9] Fast and Precise Hybrid Type Inference for Java']JavaScript
    Hackett, Brian
    Guo, Shu-yu
    ACM SIGPLAN NOTICES, 2012, 47 (06) : 239 - 249
  • [10] Keep Me Updated: An Empirical Study on Embedded Java']JavaScript Engines in Android Apps
    Wen, Elliott
    Zhou, Jiaxiang
    Luo, Xiapu
    Russello, Giovanni
    Dietrich, Jens
    2024 IEEE/ACM 21ST INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2024, : 361 - 372