Detecting Algorithmically Generated Domains Using Entropy and Lexical Features

Detecting domain names generated by Domain Generation Algorithms (DGAs) is a key challenge in cybersecurity, as these domains are designed to appear unpredictable and evade standard filtering methods.This work proposes a lightweight and interpretable detection method that relies on lexical properties and entropy-based features derived from domain names.By analyzing character patterns and measuring randomness through Shannon entropy and relative entropy across bigrams, trigrams, and fourgrams, the method captures both structural and statistical differences between legitimate and algorithmic domains.Multiple machine learning classifiers were trained and evaluated, with the best results achieved using XGBoost and Random Forest.Entropy-based features were found to be highly influential in the classification process, highlighting their effectiveness in distinguishing algorithmically generated domains.The findings support the use of entropy as a practical and theoretically grounded feature for DGA detection.

Authors

Publication Details

Journal
International Journal of Computer Applications
Published
2025-09-22
DOI
https://doi.org/10.5120/ijca2025925758
Primary Topic
Machine Learning and Data Classification
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Detecting Algorithmically Generated Domains Using Entropy and Lexical Features

Joe Antony Jacob, Ninan Sajeeth Philip, Jimson Mathew
International Journal of Computer Applications
Machine Learning and Data Classification
article

Detecting Algorithmically Generated Domains Using Entropy and Lexical Features

Joe Antony Jacob, Ninan Sajeeth Philip, Jimson Mathew
article en

Abstract

Detecting domain names generated by Domain Generation Algorithms (DGAs) is a key challenge in cybersecurity, as these domains are designed to appear unpredictable and evade standard filtering methods.This work proposes a lightweight and interpretable detection method that relies on lexical properties and entropy-based features derived from domain names.By analyzing character patterns and measuring randomness through Shannon entropy and relative entropy across bigrams, trigrams, and fourgrams, the method captures both structural and statistical differences between legitimate and algorithmic domains.Multiple machine learning classifiers were trained and evaluated, with the best results achieved using XGBoost and Random Forest.Entropy-based features were found to be highly influential in the classification process, highlighting their effectiveness in distinguishing algorithmically generated domains.The findings support the use of entropy as a practical and theoretically grounded feature for DGA detection.

International Journal of Computer ApplicationsVol. 187(44)
Openalex Percentile: Top 86%
Machine Learning and Data Classification
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.