What is Domain Generation Algorithms?

Malware calculating a fresh list of domains to call each day instead of using a fixed one. Blocking the address you found buys you until tomorrow, which is why blocklists and takedowns alone never end an infection.

A Domain Generation Algorithm produces command-and-control destinations on the fly — potentially thousands per period — seeded by the date and often by a value only the operator knows. ATT&CK notes both shapes, apparently random strings and concatenated dictionary words that look more plausible, and that a DGA is frequently a fallback used when the primary channel is lost. For defenders the significance is procedural rather than technical: an indicator of compromise that is a domain or an address has a very short shelf life against this, so a response built on collecting and blocking indicators will always be a step behind. What holds up better is detecting the pattern rather than the value — a host producing many failed name resolutions, resolutions to domains registered days ago, a workstation resolving names no other workstation resolves. The implication for leadership is about eviction. If a compromise was contained by blocking known infrastructure rather than by removing the implant, the implant is still resident and still calculating where to call next. That is the difference between disruption and eradication, and it is what decides whether the same actor is back in a month.

Source: MITRE ATT&CK (T1568.002).

Practice it in a lab

Free, hands-on labs that teach Domain Generation Algorithms.

Related terms

All glossary terms

Related