• Home
  • Search
  • An approach to contextual example mining for DGA domain identification using large language models
  • https://doi.org/10.17586/2226-1494-2026-26-2-367-377Copy DOI Icon

An approach to contextual example mining for DGA domain identification using large language models

  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

The article addresses the problem of detecting domains generated by Domain Generation Algorithms (DGA) which are widely used by attackers to build robust botnet control channels and covert communication. Traditional methods are based on manual feature engineering or specialized neural network architectures that reduce their robustness to evolving DGA families. The scientific novelty of the proposed approach lies in the use of Large Language Models (LLM) by leveraging their contextual adaptation mechanism to identify hidden patterns in domain names and classify them. The developed approach is based on the use of LLMs which receives examples of legitimate and generated domains within the context. To improve the efficiency, example selection strategies (TopK, VoteK), various metrics of data homogeneity and variability are used. Additionally, the influence of the domain name length and entropy on the stability of the approach is analyzed. The experimental part is performed on a dataset including 68 DGA families and a subset of legitimate Tranco domains. The training set included 54 families, and testing took place on all 68 families, including previously unseen 14 families. Results showed the efficiency of the approach: precision = 0.93, recall = 0.95 and F1-measure = 0.94. The ability of LLM to generalize rules to new DGA families is confirmed. Compared with existing methods, the proposed approach does not require additional retraining and provides flexibility due to contextual adaptation. It demonstrated resistance to noise and the capability to detect new DGA families, which makes its application promising in the field of cybersecurity. At the same time, the sensitivity of the model to the length of domain names and the need for context balancing were revealed. Promising areas of development are the integration of additional features (DNS metadata, query time series) and methods for adaptation to stream processing.

Similar Papers
  • Research Article
  • Citations1

DGA Domain Name Detection and Classification Using Deep Learning Models

  • Jan 01, 2024
  • International Journal of Advanced Computer Science and Applications
  • Ranjana B Nadagoudar +1
  • Research Article
  • Citations55

Khaos: An Adversarial Neural Network DGA With High Anti-Detection Ability

  • Dec 26, 2019
  • IEEE Transactions on Information Forensics and Security
  • Xiaochun Yun +5
  • Research Article

Large Language Models for Effective Detection of Algorithmically Generated Domains: A Comprehensive Review

  • Jan 01, 2025
  • Computer Modeling in Engineering & Sciences
  • Hamed Alqahtani +1
  • Book Chapter
  • Citations10

AmritaDGA: a comprehensive data set for domain generation algorithms (DGAs) based domain name detection systems and application of deep learning

  • Jul 04, 2019
  • R Vinayakumar +4
  • PDF
  • Research Article
  • Citations60

CharBot: A Simple and Effective Method for Evading DGA Classifiers

  • Jan 01, 2019
  • IEEE Access
  • Jonathan Peck +7
  • Research Article
  • Citations76

Evaluating deep learning approaches to characterize and classify the DGAs at scale

  • Mar 22, 2018
  • Journal of Intelligent & Fuzzy Systems
  • R Vinayakumar +3
  • Conference Article

A high-performance domain generation algorithm domain detection model

  • Nov 23, 2022
  • Qizhi Zhang +4
  • Book Chapter
  • Citations4

Detection of Algorithmically Generated Domain Names in Botnets

  • Mar 15, 2019
  • Deepak Kumar Vishvakarma +2
  • Conference Article
  • Citations11

Domain Flux-based DGA Botnet Detection Using Feedforward Neural Network

  • Nov 01, 2019
  • Md Ishtiaq Ashiq +3
  • Conference Article
  • Citations14

Popularity-based Detection of Domain Generation Algorithms

  • Aug 29, 2017
  • Jasper Abbink +1
  • PDF
  • Research Article
  • Citations3

KDTM: Multi-Stage Knowledge Distillation Transfer Model for Long-Tailed DGA Detection

  • Feb 20, 2024
  • Mathematics
  • Baoyu Fan +4
  • Supplementary Content

Identifying Saharan Air Layer Events and their Relationship to Instability and Rainfall Patterns in the Tropical North Atlantic Ocean

  • Apr 01, 2025
  • David W Lea +1
  • Conference Article
  • Citations5

Thwarting C2 Communication of DGA-Based Malware using Process-level DNS Traffic Tracking

  • Jun 01, 2019
  • Anjali Menon
  • Conference Article
  • Citations15

Domain-Embeddings Based DGA Detection with Incremental Training Method

  • Jul 01, 2020
  • Xin Fang +3
  • Research Article

A New Paradigm of Active Defense System Based on Large Language Models

  • Mar 26, 2026
  • Exploring Science Academic Conference Series
  • Shujing Xiang
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.