Triplet-trained graph transformer with control flow graph for few-shot malware classification

被引:4
|
作者
Bu, Seok-Jun [1 ]
Cho, Sung-Bae [1 ]
机构
[1] Yonsei Univ, Dept Comp Sci, Seoul 03722, South Korea
关键词
Malware classification; Few -shot learning; Control flow graph; Transformer network; Triplet network;
D O I
10.1016/j.ins.2023.119598
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The exponential proliferation of malware requires robust detection mechanisms for the security of global enterprises and national infrastructures. Conventional malware classification methods primarily depend on extensive datasets of curated malware samples, rendering them suboptimal for detecting novel strains exploiting contemporary vulnerabilities. In this paper, we reformulate malware detection as a few-shot learning task, and propose a new distance-based classification method that harnesses the innate functional attributes of malware to mitigate the dependency on sample volume. A disentangled representation of the malware's control flow graph is exploited, and a specialized transformer architecture is trained with a triplet-loss function, aiming to finetune the representation of malicious attributes. An attention mechanism of the transformer judiciously discerns functional signatures from intricate control flow graphs. Empirical evaluations on real-world malware datasets underscore the efficacy of the proposed method, achieving an outstanding recall rate of 83.37% with mere 2,000 training samples. As a result, our method outperforms the state-of-the-art methods with an accuracy of 99.45% and a recall of 97.89%.
引用
收藏
页数:16
相关论文
共 50 条
  • [1] Generalized Few-Shot Classification with Knowledge Graph
    Liu, Dianqi
    Bai, Liang
    Yu, Tianyuan
    NEURAL PROCESSING LETTERS, 2023, 55 (06) : 7649 - 7666
  • [2] Generalized Few-Shot Classification with Knowledge Graph
    Dianqi Liu
    Liang Bai
    Tianyuan Yu
    Neural Processing Letters, 2023, 55 : 7649 - 7666
  • [3] Metric Based Few-Shot Graph Classification
    Crisostomi, Donato
    Antonelli, Simone
    Maiorca, Valentino
    Moschella, Luca
    Marin, Riccardo
    Rodola, Emanuele
    LEARNING ON GRAPHS CONFERENCE, VOL 198, 2022, 198
  • [4] RGTransformer: Region-Graph Transformer for Image Representation and Few-Shot Classification
    Jiang, Bo
    Zhao, Kangkang
    Tang, Jin
    IEEE SIGNAL PROCESSING LETTERS, 2022, 29 : 792 - 796
  • [5] AGProto: Adaptive Graph ProtoNet towards Sample Adaption for Few-Shot Malware Classification
    Wang, Junbo
    Lin, Tongcan
    Wu, Huyu
    Wang, Peng
    ELECTRONICS, 2024, 13 (05)
  • [6] Federated Collaborative Graph Neural Networks for Few-shot Graph Classification
    Xie, Yu
    Liang, Yanfeng
    Wen, Chao
    Qin, A. K.
    Gong, Maoguo
    MACHINE INTELLIGENCE RESEARCH, 2024, 21 (06) : 1077 - 1091
  • [7] Generative Few-shot Graph Classification: An Adaptive Perspective
    Wang, Song
    Li, Jundong
    FIFTY-SEVENTH ASILOMAR CONFERENCE ON SIGNALS, SYSTEMS & COMPUTERS, IEEECONF, 2023, : 317 - 321
  • [8] Few-Shot Image Classification Algorithm of Graph Neural Network Based on Swin Transformer
    Wang Kai
    Ren Jie
    Zhang Weichuan
    LASER & OPTOELECTRONICS PROGRESS, 2024, 61 (12)
  • [9] Cross-Domain Few-Shot Graph Classification
    Hassani, Kaveh
    THIRTY-SIXTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FOURTH CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE / THE TWELVETH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2022, : 6856 - 6864
  • [10] Supervised Graph Contrastive Learning for Few-Shot Node Classification
    Tan, Zhen
    Ding, Kaize
    Guo, Ruocheng
    Liu, Huan
    MACHINE LEARNING AND KNOWLEDGE DISCOVERY IN DATABASES, ECML PKDD 2022, PT II, 2023, 13714 : 394 - 411