Unsupervised Malicious Domain Detection Using Auto-Encoder Models with Reconstruction Error
Domain Generation Algorithms (DGAs) are commonly used by malware to generate large numbers of pseudo-random domain names for command-and-control (C2) communication, making detection increasingly difficult. Traditional supervised approaches rely heavily on labeled datasets that include malicious domains, which are costly to obtain and often fail to generalize to unseen DGAs. In this paper, we propose an unsupervised DGA detection method based on Auto-Encoder (AE) and Variational Auto-Encoders (VAE) trained solely on benign domains and leverages reconstruction error to detect DGA-based anomalies without prior exposure to malicious labels. Experimental results benchmarked on Cisco Umbrella Top 1 Million datasets and several different DGA families show that the proposed VAE model achieves superior detection performance with an AUC of 0.83 compared with other unsupervised baselines. This demonstrates the effectiveness of one-class learning frameworks in generalizing to previously unseen threats, providing a scalable and low-maintenance solution for real-world domain anomaly detection.
Authors
- Cung The Anh (ORCID: https://orcid.org/0000-0002-5669-334X)
- Nguyen Huu Thanh (ORCID: https://orcid.org/0000-0002-7354-1524)
- Vu Duy Hai (ORCID: https://orcid.org/0000-0003-0681-3646)
- Ma Viet Duc (ORCID: https://orcid.org/0009-0004-3329-2529)
- Truong Duc Truong
Institutions
- Hanoi University of Science and Technology (VN)
Publication Details
- Published
- 2025-08-14
- DOI
- https://doi.org/10.1109/mapr67746.2025.11133843
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00