A hybrid structural-contextual framework for malicious URL detection based on graph attention networks and knowledge distillation

Authors

  • Nguyen Trung Hieu The People Police Academy
  • Pham Viet Cuong National Defence Academy image/svg+xml
  • Tran Nguyen Ngoc Le Quy Don Technical University image/svg+xml

Keywords

Malicious URLs; Graph attention networks; Graph convolutional network; Knowledge distillation.

DOI:

https://doi.org/10.54939/1859-1043.j.mst.113.2026.150-157

Abstract

Malicious URLs are evolving with increasingly sophisticated obfuscation techniques, posing a persistent threat to global cybersecurity. Traditional deep learning methods still struggle to identify the intricate topological characteristics and hidden structural dependencies inherent in URL sequences. This paper proposes a structural-semantic integration framework leveraging Graph Attention Networks and Knowledge Distillation for robust multi-layer malicious URL detection. We conceptualize raw URLs as character-level directed graphs to extract intricate structural patterns, fused with high-level lexical context distilled from a pretrained DistilBERT model. A hybrid loss integrating Kullback-Leibler divergence and Negative Log-Likelihood balances computational efficiency and predictive performance. Experimental results on large-scale, imbalanced datasets show our framework achieves 98.86% accuracy and 98.16% F1-score.

Downloads

Download data is not yet available.

Downloads

Published

2026-08-25

Issue

Section

Information Technology & Applied Mathematics