New deep learning method to detect code injection attacks on hybrid applications

被引:28
|
作者
Yan, Ruibo [1 ]
Xiao, Xi [1 ]
Hu, Guangwu [2 ]
Peng, Sancheng [3 ]
Jiang, Yong [1 ]
机构
[1] Tsinghua Univ, Grad Sch Shenzhen, Shenzhen, Peoples R China
[2] Shenzhen Inst Informat Technol, Sch Comp Sci, Shenzhen, Peoples R China
[3] Guangdong Univ Foreign Studies, Sch Informat, Guangzhou, Guangdong, Peoples R China
关键词
Code injection; Hybrid application; Abstract syntax tree; Deep learning;
D O I
10.1016/j.jss.2017.11.001
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Mobile phones are becoming increasingly pervasive. Among them, HTML5-based hybrid applications are more and more popular because of their portability on different systems. However these applications suffer from code injection attacks. In this paper, we construct a-novel deep learning network, Hybrid Deep Learning Network (HDLN), and use it to detect these attacks. At first, based on our previous work, we extract more features from Abstract Syntax Tree (AST) of JavaScript and employ three methods to select key features. Then we get the feature vectors and train HDLN to distinguish vulnerable applications from normal ones. Finally thorough experiments are done to validate our methods. The results show our detection approach with HDLN achieves 97.55% in accuracy and 97.60% in AUC, which outperforms those with other traditional classifiers and gets higher average precision than other detection methods. (C) 2017 Elsevier Inc. All rights reserved.
引用
收藏
页码:67 / 77
页数:11
相关论文
共 50 条
  • [1] Detecting Code Injection Attacks on Hybrid Apps with Machine Learning
    Xiao, Xi
    Yan, Ruibo
    Ye, Runguo
    Peng, Sancheng
    Li, Qing
    JOURNAL OF INTERNET TECHNOLOGY, 2017, 18 (04): : 843 - 854
  • [2] A Hybrid Approach To Detect Code Smells using Deep Learning
    Hadj-Kacem, Mouna
    Bouassida, Nadia
    PROCEEDINGS OF THE 13TH INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, 2018, : 137 - 146
  • [3] Monitoring Translation Lookahead Buffers to Detect Code Injection Attacks
    Ahn, Youngjung
    Lee, Yongsuk
    Choi, Jin-Young
    Lee, Gyungho
    Ahn, Dongkyun
    COMPUTER, 2014, 47 (07) : 66 - 72
  • [4] An Ensemble Based Deep Learning Framework to Detect and Deceive XSS and SQL Injection Attacks
    Bin Shahid, Waleed
    Aslam, Baber
    Abbas, Haider
    Afzal, Hammad
    Rashid, Imran
    INTELLIGENT INFORMATION AND DATABASE SYSTEMS, ACIIDS 2022, PT I, 2022, 13757 : 183 - 195
  • [5] Profiling database applications to detect SQL injection attacks
    Bertino, Elisa
    Kamra, Ashish
    Early, James P.
    2007 IEEE INTERNATIONAL PERFORMANCE COMPUTING AND COMMUNICATIONS CONFERENCE, VOLS 1 AND 2, 2007, : 449 - +
  • [6] A Deep Learning Method to Detect Web Attacks Using a Specially Designed CNN
    Zhang, Ming
    Xu, Boyi
    Bai, Shuai
    Lu, Shuaibing
    Lin, Zhechao
    NEURAL INFORMATION PROCESSING, ICONIP 2017, PT V, 2017, 10638 : 828 - 836
  • [7] Deep-Learning Based Injection Attacks Detection Method for HTTP
    Zhao, Chunhui
    Si, Shuaijie
    Tu, Tengfei
    Shi, Yijie
    Qin, Sujuan
    MATHEMATICS, 2022, 10 (16)
  • [8] Code Pointer Masking: Hardening Applications against Code Injection Attacks
    Philippaerts, Pieter
    Younan, Yves
    Muylle, Stijn
    Piessens, Frank
    Lachmund, Sven
    Walter, Thomas
    DETECTION OF INTRUSIONS AND MALWARE, AND VULNERABILITY ASSESSMENT, 2011, 6739 : 194 - 213
  • [9] A Proposed Approach to Detect and Thwart Previously Unknown Code Injection Attacks
    Hussein, Omar
    Hamza, Nermin
    Hefny, Hesham
    2015 IEEE SEVENTH INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND INFORMATION SYSTEMS (ICICIS), 2015, : 336 - 342
  • [10] A Hybrid Malicious Code Detection Method based on Deep Learning
    Li, Yuancheng
    Ma, Rong
    Jiao, Runhai
    INTERNATIONAL JOURNAL OF SECURITY AND ITS APPLICATIONS, 2015, 9 (05): : 205 - 215