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 条
  • [31] Performance and Resource Analysis on the Java']JavaScript Runtime for IoT Devices
    Sin, Dongig
    Shin, Dongkun
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2016, PT I, 2016, 9786 : 602 - 609
  • [32] Precise String Analysis for Java']JavaScript Programs Using Automata
    Almashfi, Nabil
    Lu, Lunjin
    Picker, Koby
    Maldonado, Christian
    2019 8TH INTERNATIONAL CONFERENCE ON SOFTWARE AND COMPUTER APPLICATIONS (ICSCA 2019), 2019, : 159 - 166
  • [33] Completeness of Abstract Domains for String Analysis of Java']JavaScript Programs
    Arceri, Vincenzo
    Olliaro, Martina
    Cortesi, Agostino
    Mastroeni, Isabella
    THEORETICAL ASPECTS OF COMPUTING - ICTAC 2019, 2019, 11884 : 255 - 272
  • [34] Change-aware Dynamic Program Analysis for Java']JavaScript
    Murthy, Dileep Ramachandrarao Krishna
    Pradel, Michael
    PROCEEDINGS 2018 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2018, : 127 - 137
  • [35] Performance Scalability Analysis of Java']JavaScript Applications with Web Workers
    Verdu, Javier
    Pajuelo, Alex
    IEEE COMPUTER ARCHITECTURE LETTERS, 2016, 15 (02) : 105 - 108
  • [36] Gray Computing: An Analysis of Computing with Background Java']JavaScript Tasks
    Pan, Yao
    White, Jules
    Sun, Yu
    Gray, Jeff
    2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 1, 2015, : 167 - 177
  • [37] Supervised categorization of Java']JavaScript™ using program analysis features
    Lu, W
    Kan, MY
    INFORMATION RETRIEVAL TECHNOLOGY, PROCEEDINGS, 2005, 3689 : 160 - 173
  • [38] Efficient Dynamic Access Analysis Using Java']JavaScript Proxies
    Keil, Matthias
    Thiemann, Peter
    ACM SIGPLAN NOTICES, 2014, 49 (02) : 49 - 60
  • [39] Accelerating Java']JavaScript Static Analysis via Dynamic Shortcuts
    Park, Joonyoung
    Park, Jihyeok
    Youn, Dongjun
    Ryu, Sukyoung
    PROCEEDINGS OF THE 29TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '21), 2021, : 1129 - 1140
  • [40] JS']JSWhiz Static Analysis for Java']JavaScript Memory Leaks
    Pienaar, Jacques A.
    Hundt, Robert
    PROCEEDINGS OF THE 2013 IEEE/ACM INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION (CGO), 2013, : 313 - 323