MalDeWe: New Malware Website Detector Model based on Natural Language Processing using Balanced Dataset
Authors:
- 1 December 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 766-770
Abstract
The increasing use of the Internet in everyday life and the huge number of users leads to increasing the number of malicious websites, which aim is to damage a computer system or compromise data without the owner’s consent. In this paper we propose a Natural Language Processing (NLP) model, called Malware Website Detector (MalDeWe), for malware web page identification that is trained on a domain-specific corpus. The major goal of this model is to transfer English word knowledge from the pre-trained model RoBERTa into a dataset of JavaScript codes that included the website’s text context as well as certain JavaScript expressions. With this model, we obtain a Roc Auc score of 0.95. Therefore, we can conclude that our model is doing admirably in terms of identifying a malicious web page. On the other hand, we may infer that one of the most essential aspects to consider while training a classification model is dataset balance. Whereas the model trained on the initial unbalanced dataset failed to detect harmful websites, the model trained on the balanced dataset, correctly identified 95% of dangerous websites. In that sequence, we may deduce that the metrics used for the model evaluation are critical. Therefore, we recommend using the Roc Auc score, Recall, Precision, and Confusion matrix as evaluation metrics. So, in this paper we propose a new NLP model, and we discuss the reasons why the choice of evaluation metrics are important and how the dataset balance makes changes on the model efficacy.Keywords
This publication has 12 references indexed in Scilit:
- Detecting Malicious URLs via a Keyword-Based Convolutional Gated-Recurrent-Unit Neural NetworkIEEE Access, 2019
- Phishing Website Detection Based on Multidimensional Features Driven by Deep LearningIEEE Access, 2019
- Character Level based Detection of DGA Domain Names2018
- Context-sensitive and keyword density-based supervised machine learning techniques for malicious webpage detectionSoft Computing, 2018
- Understanding of a convolutional neural network2017
- MalCrawler: A Crawler for Seeking and Crawling Malicious Websites2016
- EINSPECT: Evolution-Guided Analysis and Detection of Malicious Web Pages2013
- Prophiler2011
- Beyond blacklists2009
- Automatic Detection for JavaScript Obfuscation Attacks in Web Pages through String Pattern Analysis2009