Hello, you are using an old browser that's unsafe and no longer supported. Please consider updating your browser to a newer version, or downloading a modern browser.

Glossary > Domain Generation Algorithm DGA

What is Domain Generation Algorithm DGA?

Understanding Domain Generation Algorithm DGA

Domain Generation Algorithms (DGAs) are clever techniques used by malware to maintain communication with command and control servers while evading detection and takedown efforts. Rather than hardcoding specific domain names that could be easily blocked, malware using DGAs automatically generates hundreds or thousands of potential domain names each day based on factors like the current date or seemingly random seeds. The attacker only needs to register one of these domains to maintain control, while security teams would need to somehow predict and block all possible domains—an impossible task. Different malware families use different algorithms, ranging from simple date-based generators to sophisticated mathematical functions. Detecting DGA activity typically requires analyzing DNS request patterns—legitimate users rarely make large numbers of requests to domains that don't exist or were recently registered. Advanced security tools use machine learning to identify the linguistic patterns common to algorithmically generated domains, which often look distinctly different from human-created domain names.

Learn More About Domain Generation Algorithm DGA: