DEXRAY: A Simple, yet Effective Deep Learning Approach to Android Malware Detection Based on Image Representation of Bytecode

被引:33
作者
Daoudi, Nadia [1 ]
Samhi, Jordan [1 ]
Kabore, Abdoul Kader [1 ]
Allix, Kevin [1 ]
Bissyande, Tegawende F. [1 ]
Klein, Jacques [1 ]
机构
[1] Univ Luxembourg, SnT, 29 Ave JF Kennedy, L-1359 Luxembourg, Luxembourg
来源
DEPLOYABLE MACHINE LEARNING FOR SECURITY DEFENSE, MLHAT 2021 | 2021年 / 1482卷
关键词
Android security; Malware detection; Deep learning;
D O I
10.1007/978-3-030-87839-9_4
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Computer vision has witnessed several advances in recent years, with unprecedented performance provided by deep representation learning research. Image formats thus appear attractive to other fields such as malware detection, where deep learning on images alleviates the need for comprehensively hand-crafted features generalising to different malware variants. We postulate that this research direction could become the next frontier in Android malware detection, and therefore requires a clear roadmap to ensure that new approaches indeed bring novel contributions. We contribute with a first building block by developing and assessing a baseline pipeline for image-based malware detection with straightforward steps. We propose DEXRAY, which converts the bytecode of the app DEX files into grey-scale "vector" images and feeds them to a 1-dimensional Convolutional Neural Network model. We view DEXRAY as foundational due to the exceedingly basic nature of the design choices, allowing to infer what could be a minimal performance that can be obtained with image-based learning in malware detection. The performance of DEXRAY evaluated on over 158k apps demonstrates that, while simple, our approach is effective with a high detection rate (F1-score = 0.96). Finally, we investigate the impact of time decay and image-resizing on the performance of DEXRAY and assess its resilience to obfuscation. This work-in-progress paper contributes to the domain of Deep Learning based Malware detection by providing a sound, simple, yet effective approach (with available artefacts) that can be the basis to scope the many profound questions that will need to be investigated to fully develop this domain.
引用
收藏
页码:81 / 106
页数:26
相关论文
共 56 条
[31]   Deep learning for image-based mobile malware detection [J].
Mercaldo, Francesco ;
Santone, Antonella .
JOURNAL OF COMPUTER VIROLOGY AND HACKING TECHNIQUES, 2020, 16 (02) :157-171
[32]  
Mikolov T., 2013, P 27 INT C NEUR INF, P3111
[33]  
Nataraj L, 2011, P 8 INT S VIS CYB SE, P1, DOI [10.1145/2016904.2016908, DOI 10.1145/2016904.2016908]
[34]   Modeling the shape of the scene: A holistic representation of the spatial envelope [J].
Oliva, A ;
Torralba, A .
INTERNATIONAL JOURNAL OF COMPUTER VISION, 2001, 42 (03) :145-175
[35]   MaMaDroid: Detecting Android Malware by Building Markov Chains of Behavioral Models (Extended Version) [J].
Onwuzurike, Lucky ;
Mariconti, Enrico ;
Andriotis, Panagiotis ;
De Cristofaro, Emiliano ;
Ross, Gordon ;
Stringhini, Gianluca .
ACM TRANSACTIONS ON PRIVACY AND SECURITY, 2019, 22 (02)
[36]   A pragmatic android malware detection procedure [J].
Palumbo, Paolo ;
Sayfullina, Luiza ;
Komashinskiy, Dmitriy ;
Eirola, Emil ;
Karhunen, Juha .
COMPUTERS & SECURITY, 2017, 70 :689-701
[37]  
Pendlebury F, 2019, PROCEEDINGS OF THE 28TH USENIX SECURITY SYMPOSIUM, P729
[38]  
Petsas T., 2014, P 7 EUROPEAN WORKSHO, P1, DOI [10.1145/2592791.2592796, DOI 10.1145/2592791.2592796]
[39]   A Survey of Android Malware Detection with Deep Neural Models [J].
Qiu, Junyang ;
Zhang, Jun ;
Luo, Wei ;
Pan, Lei ;
Nepal, Surya ;
Xiang, Yang .
ACM COMPUTING SURVEYS, 2021, 53 (06)
[40]  
Raschka Sebastian, 2018, arXiv