Detecting Code Injection Attacks on Hybrid Apps with Machine Learning

被引:1
|
作者
Xiao, Xi [1 ]
Yan, Ruibo [1 ]
Ye, Runguo [2 ]
Peng, Sancheng [3 ]
Li, Qing [1 ]
机构
[1] Tsinghua Univ, Grad Sch Shenzhen, Shenzhen, Peoples R China
[2] China Elect Standardizat Inst, Beijing, Peoples R China
[3] Guangdong Univ Foreign Studies, Sch Informat, Guangzhou, Guangdong, Peoples R China
来源
JOURNAL OF INTERNET TECHNOLOGY | 2017年 / 18卷 / 04期
关键词
Code injection; Hybrid application; Information gain; Chi-square test; Machine learning; CLASSIFICATION RULES;
D O I
10.6138/JIT.2017.18.4.20160420
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Mobile devices become more and more popular. While code injection attacks can happen in hybrid applications on mobile systems and cause great damage. Thus, it is urgent to detect these attacks. However, the time complexity of the existing detection method is very high. In this paper, we propose a novel detection model based on machine learning. The frequently-used functions in PhoneGap, JavaScript and jQuery are regarded as new features in our model. We use information gain and Chi-square test to select key features from these functions. Then five distinct feature vectors are constructed by using different feature generation methods. Finally, based on these vectors, we employ six kinds of machine learning classifiers, such as genetic algorithms and online learning algorithms, to detect code injection vulnerabilities in hybrid applications. Extensive experiments demonstrate that the extended features can describe the application behavior better and our feature selection methods have good performance. In contrast to the other method, our method reduces the time complexity and reaches higher precision.
引用
收藏
页码:843 / 854
页数:12
相关论文
共 50 条
  • [21] Cybersecurity in Smart Grids: Detecting False Data Injection Attacks Utilizing Supervised Machine Learning Techniques
    Shees, Anwer
    Tariq, Mohd
    Sarwat, Arif I.
    ENERGIES, 2024, 17 (23)
  • [22] On Detecting Code Reuse Attacks
    Y. V. Kosolapov
    Automatic Control and Computer Sciences, 2020, 54 : 573 - 583
  • [23] On Detecting Code Reuse Attacks
    Kosolapov, Y. V.
    AUTOMATIC CONTROL AND COMPUTER SCIENCES, 2020, 54 (07) : 573 - 583
  • [24] Detecting Vulnerabilities in Source Code Using Machine Learning
    Hany, Omar
    Abu-Elkheir, Mervat
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON APPLIED CYBER SECURITY (ACS) 2021, 2022, 378 : 35 - 41
  • [25] Detection of SQL Injection Attacks: A Machine Learning Approach
    Hasan, Musaab
    Balbahaith, Zayed
    Tarique, Mohammed
    2019 INTERNATIONAL CONFERENCE ON ELECTRICAL AND COMPUTING TECHNOLOGIES AND APPLICATIONS (ICECTA), 2019,
  • [26] Detecting Wake Lock Leaks in Android Apps Using Machine Learning
    Khan, Muhammad Umair
    Lee, Scott Uk-Jin
    Abbas, Shanza
    Abbas, Asad
    Bashir, Ali Kashif
    IEEE ACCESS, 2021, 9 : 125753 - 125767
  • [27] A hybrid ensemble machine learning model for detecting APT attacks based on network behavior anomaly detection
    Saini, Neeraj
    Kasaragod, Vivekananda Bhat
    Prakasha, Krishna
    Das, Ashok Kumar
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2023, 35 (28):
  • [28] A Hybrid Machine Learning Model for Code Optimization
    Hakimi, Yacine
    Baghdadi, Riyadh
    Challal, Yacine
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2023, 51 (06) : 309 - 331
  • [29] A Hybrid Machine Learning Model for Code Optimization
    Yacine Hakimi
    Riyadh Baghdadi
    Yacine Challal
    International Journal of Parallel Programming, 2023, 51 : 309 - 331
  • [30] Detecting IoT Attacks Using an Ensemble Machine Learning Model
    Tomer, Vikas
    Sharma, Sachin
    FUTURE INTERNET, 2022, 14 (04):