Machine Learning and Knowledge Extraction (Sep 2023)

Cyberattack Detection in Social Network Messages Based on Convolutional Neural Networks and NLP Techniques

  • Jorge E. Coyac-Torres,
  • Grigori Sidorov,
  • Eleazar Aguirre-Anaya,
  • Gerardo Hernández-Oregón

DOI
https://doi.org/10.3390/make5030058
Journal volume & issue
Vol. 5, no. 3
pp. 1132 – 1148

Abstract

Read online

Social networks have captured the attention of many people worldwide. However, these services have also attracted a considerable number of malicious users whose aim is to compromise the digital assets of other users by using messages as an attack vector to execute different types of cyberattacks against them. This work presents an approach based on natural language processing tools and a convolutional neural network architecture to detect and classify four types of cyberattacks in social network messages, including malware, phishing, spam, and even one whose aim is to deceive a user into spreading malicious messages to other users, which, in this work, is identified as a bot attack. One notable feature of this work is that it analyzes textual content without depending on any characteristics from a specific social network, making its analysis independent of particular data sources. Finally, this work was tested on real data, demonstrating its results in two stages. The first stage detected the existence of any of the four types of cyberattacks within the message, achieving an accuracy value of 0.91. After detecting a message as a cyberattack, the next stage was to classify it as one of the four types of cyberattack, achieving an accuracy value of 0.82.

Keywords