Table of Contents
Fetching ...

IoT-based Android Malware Detection Using Graph Neural Network With Adversarial Defense

Rahul Yumlembam, Biju Issac, Seibu Mary Jacob, Longzhi Yang

TL;DR

This work demonstrates the effectiveness of graph-based classification using graph neural networks (GNNs)-based classifier to generate API graph embedding and proposes a generative adversarial network (GAN)-based algorithm named VGAE-MalGAN to attack the graph- based GNN Android malware classifier.

Abstract

Since the Internet of Things (IoT) is widely adopted using Android applications, detecting malicious Android apps is essential. In recent years, Android graph-based deep learning research has proposed many approaches to extract relationships from applications as graphs to generate graph embeddings. First, we demonstrate the effectiveness of graph-based classification using a Graph Neural Network (GNN)-based classifier to generate API graph embeddings. The graph embeddings are combined with Permission and Intent features to train multiple machine learning and deep learning models for Android malware detection. The proposed classification approach achieves an accuracy of 98.33 percent on the CICMaldroid dataset and 98.68 percent on the Drebin dataset. However, graph-based deep learning models are vulnerable, as attackers can add fake relationships to evade detection by the classifier. Second, we propose a Generative Adversarial Network (GAN)-based attack algorithm named VGAE-MalGAN targeting graph-based GNN Android malware classifiers. The VGAE-MalGAN generator produces adversarial malware API graphs, while the VGAE-MalGAN substitute detector attempts to mimic the target detector. Experimental results show that VGAE-MalGAN can significantly reduce the detection rate of GNN-based malware classifiers. Although the model initially fails to detect adversarial malware, retraining with generated adversarial samples improves robustness and helps mitigate adversarial attacks.

IoT-based Android Malware Detection Using Graph Neural Network With Adversarial Defense

TL;DR

This work demonstrates the effectiveness of graph-based classification using graph neural networks (GNNs)-based classifier to generate API graph embedding and proposes a generative adversarial network (GAN)-based algorithm named VGAE-MalGAN to attack the graph- based GNN Android malware classifier.

Abstract

Since the Internet of Things (IoT) is widely adopted using Android applications, detecting malicious Android apps is essential. In recent years, Android graph-based deep learning research has proposed many approaches to extract relationships from applications as graphs to generate graph embeddings. First, we demonstrate the effectiveness of graph-based classification using a Graph Neural Network (GNN)-based classifier to generate API graph embeddings. The graph embeddings are combined with Permission and Intent features to train multiple machine learning and deep learning models for Android malware detection. The proposed classification approach achieves an accuracy of 98.33 percent on the CICMaldroid dataset and 98.68 percent on the Drebin dataset. However, graph-based deep learning models are vulnerable, as attackers can add fake relationships to evade detection by the classifier. Second, we propose a Generative Adversarial Network (GAN)-based attack algorithm named VGAE-MalGAN targeting graph-based GNN Android malware classifiers. The VGAE-MalGAN generator produces adversarial malware API graphs, while the VGAE-MalGAN substitute detector attempts to mimic the target detector. Experimental results show that VGAE-MalGAN can significantly reduce the detection rate of GNN-based malware classifiers. Although the model initially fails to detect adversarial malware, retraining with generated adversarial samples improves robustness and helps mitigate adversarial attacks.
Paper Structure (43 sections, 17 equations, 9 figures, 5 tables, 1 algorithm)

This paper contains 43 sections, 17 equations, 9 figures, 5 tables, 1 algorithm.

Figures (9)

  • Figure 1: The different IoT devices connected to Android platform
  • Figure 2: Sample Smali code of an Android application
  • Figure 3: Most common central APIs in SMS malware
  • Figure 4: Sample GNN Computational Graph
  • Figure 5: Scatter plots of the embedding generated by GraphSAGE from CICMaldroid (left) and Drebin Dataset (right).
  • ...and 4 more figures