arrow
Return

MalBERTv2: Code Aware BERT-Based Model for Malware Identification

delete2023-03-24
delete15
delete
OA
AI
A
Abir Rahali
M
Moulay A. Akhloufi *
DOI:10.3390/bdcc7020060delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
To proactively mitigate malware threats, cybersecurity tools, such as anti-virus and anti-malware software, as well as firewalls, require frequent updates and proactive implementation. However, processing the vast amounts of dataset examples can be overwhelming when relying solely on traditional methods. In cybersecurity workflows, recent advances in natural language processing (NLP) models can aid in proactively detecting various threats. In this paper, we present a novel approach for representing the relevance and significance of the Malware/Goodware (MG) datasets, through the use of a pre-trained language model called MalBERTv2. Our model is trained on publicly available datasets, with a focus on the source code of the apps by extracting the top-ranked files that present the most relevant information. These files are then passed through a pre-tokenization feature generator, and the resulting keywords are used to train the tokenizer from scratch. Finally, we apply a classifier using bidirectional encoder representations from transformers (BERT) as a layer within the model pipeline. The performance of our model is evaluated on different datasets, achieving a weighted f1 score ranging from 82% to 99%. Our results demonstrate the effectiveness of our approach for proactively detecting malware threats using NLP techniques.
Keywords:
malware detection
natural language processing
transformer-based model

Journal

B
Big Data and Cognitive Computing
IF:
4.4
Papers:
1.3K
Citations:
2.4K

Organization

U
University of Moncton
Scholars:
1.0K
Papers: 862
Citations: 0
Cited Papers

Cited Papers

Java decompiler diversity and its application to meta-decompilation
err2020-10-01
err9
errOAAI
errHarrand, Nicolas; Soto-Valero, Cesar; Monperrus, Martin; Baudry, Benoit
errShare
errSave
errShare
errSave
Static malware detection and attribution in android byte-code through an end-to-end deep system
err2020-01-01
err70
PREAI
errAmin, Muhammad; Tanveer, Tamleek Ali; Tehseen, Mohammad; Khan, Murad; Khan, Fakhri Alam; Anwar, Sajid
errShare
errSave
Is the temperament of crossbred dairy cows related to milk cortisol and oxytocin concentrations, milk yield, and quality?
err2023-06-01
err0
errOAAI
errMaria Guilhermina Marçal-Pedroza; Mariana Magalhães Campos; Marta Fonseca Martins; Marcos Vinícius Barbosa Silva; Mateus José Rodrigues Paranhos da Costa; João Alberto Negrão; Aline Cristina Sant’Anna
errShare
errSave
A Practical Approach to Constructing a Knowledge Graph for Cybersecurity
err2018-02-01
err139
errOAAI
errJia, Yan; Qi, Yulu; Shang, Huaijun; Jiang, Rong; Li, Aiping
errShare
errSave
Multifrequency EPR Study of Metallofullerenes:  Eu@C82 and Eu@C74
err2004-08-20
err0
PREAI
errHideto Matsuoka; Norio Ozawa; Takeshi Kodama; Hiroyuki Nishikawa; Isao Ikemoto; Koichi Kikuchi; Ko Furukawa; Kazunobu Sato; Daisuke Shiomi; Takeji Takui; Tatsuhisa Kato
errShare
errSave
Reactions of copper(III) tetraglycine
err2002-05-01
err0
PREAI
errJames S. Rybka; James L. Kurtz; Thomas A. Neubecker; Dale W. Margerum
errShare
errSave
Malware detection using static analysis in Android: a review of FeCO (features, classification, and obfuscation)
err2021-06-11
err12
errOAAI
errJusoh, Rosmalissa; Firdaus, Ahmad; Anwar, Shahid; Osman, Mohd Zamri; Darmawan, Mohd Faaizie; Ab Razak, Mohd Faizal
errShare
errSave
researcher View more