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 条
  • [21] AUGUR: Dynamic Taint Analysis for Asynchronous Java']JavaScript
    Aldrich, Mark W.
    Turcotte, Alexi
    Blanco, Matthew
    Tip, Frank
    PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [22] Purity analysis for Java']JavaScript through abstract interpretation
    Nicolay, Jens
    Stievenart, Quentin
    De Meuter, Wolfgang
    De Roover, Coen
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2017, 29 (12)
  • [23] JS']JSAI: A Static Analysis Platform for Java']JavaScript
    Kashyap, Vineeth
    Dewey, Kyle
    Kuefner, Ethan A.
    Wagner, John
    Gibbons, Kevin
    Sarracino, John
    Wiedermann, Ben
    Hardekopf, Ben
    22ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (FSE 2014), 2014, : 121 - 132
  • [24] A Risk Estimation Mechanism for Android Apps based on Hybrid Analysis
    Son, Ha Xuan
    Carminati, Barbara
    Ferrari, Elena
    DATA SCIENCE AND ENGINEERING, 2022, 7 (03) : 242 - 252
  • [25] TypeDevil: Dynamic Type Inconsistency Analysis for Java']JavaScript
    Pradel, Michael
    Schuh, Parker
    Sen, Koushik
    2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 1, 2015, : 314 - 324
  • [26] Correlation Tracking for Points-To Analysis of Java']JavaScript
    Sridharan, Manu
    Dolby, Julian
    Chandra, Satish
    Schaefer, Max
    Tip, Frank
    ECOOP 2012 - OBJECT-ORIENTED PROGRAMMING, 2012, 7313 : 435 - 458
  • [27] Towards a Verified Range Analysis for Java']JavaScript JITs
    Brown, Fraser
    Renner, John
    Notzli, Andres
    Lerner, Sorin
    Shacham, Hovav
    Stefan, Deian
    PROCEEDINGS OF THE 41ST ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '20), 2020, : 135 - 150
  • [28] A Risk Estimation Mechanism for Android Apps based on Hybrid Analysis
    Ha Xuan Son
    Barbara Carminati
    Elena Ferrari
    Data Science and Engineering, 2022, 7 : 242 - 252
  • [29] Analysis of Java']JavaScript Programs: Challenges and Research Trends
    Sun, Kwangwon
    Ryu, Sukyoung
    ACM COMPUTING SURVEYS, 2017, 50 (04)
  • [30] Performance Analysis of Java']JavaScript Injection Detection Techniques
    Larson, David
    Liu, Jigang
    Zuo, Yanjun
    2014 IEEE INTERNATIONAL CONFERENCE ON ELECTRO/INFORMATION TECHNOLOGY (EIT), 2014, : 140 - 148