# What is a Domain Generation Algorithm (DGA)?

> A domain generation algorithm (DGA) creates domain names from rules and inputs; malware can use those names to locate changing command-and-control infrastructure.

- Canonical URL: https://yellowcube.eu/glossary/domain-generation-algorithm/
- Publisher: Yellow Cube
- Language: en
- Contact: hello@yellowcube.eu

## Content

Malware and its operator can independently calculate matching candidate names using shared inputs, such as a date and embedded seed. The operator registers selected names, and infected devices attempt to resolve or contact candidates until they find working infrastructure. Fixed domain blocklists therefore become less durable.

The MITRE Adversarial Tactics, Techniques, and Common Knowledge (ATT&CK) knowledge base catalogs this behavior as T1568.002, Domain Generation Algorithms. Algorithmic naming also has legitimate uses; generated names alone do not establish malicious activity.

### Key points

- **Communication resilience:** A large candidate set creates alternatives when domains are blocked or removed; the algorithm does not itself register domains or host a control service.
- **Detection evidence:** Domain Name System (DNS) query patterns, repeated nonexistent-domain responses, registration history, endpoint processes, and malware configuration can support investigation.
- **Name characteristics:** Some algorithms produce random-looking strings, while others combine dictionary words. Character randomness is a useful signal in some cases, not a defining requirement.
- **Important limitation:** Legitimate services can produce unusual names and failed lookups. Conversely, an attacker may register valid candidates before use, so successful resolution does not establish safety.

### Related terms

[Command and control (C2)](<https://yellowcube.eu/glossary/command-and-control/>) · [Fast-flux network](<https://yellowcube.eu/glossary/fast-flux-network/>) · [Domain Name System (DNS)](<https://yellowcube.eu/glossary/domain-name-system/>) · [Malware analysis](<https://yellowcube.eu/glossary/malware-analysis/>) · [Botnet](<https://yellowcube.eu/glossary/botnet/>)

### Sources

[NIST SP 800-81 Rev. 3: Secure Domain Name System (DNS) Deployment Guide](https://csrc.nist.gov/pubs/sp/800/81/r3/final) · [MITRE ATT&CK T1568.002: Dynamic Resolution: Domain Generation Algorithms](https://attack.mitre.org/techniques/T1568/002/)

## Let’s Build Smarter Cyber Defenses Together

Partnerships are the foundation of everything we do — built on trust, expertise, and shared success. Whether you’re looking to grow your business, strengthen your cybersecurity offerings, or bring innovative solutions to new markets, Yellow Cube is ready to be your committed, long-term ally.

[Get in touch with Yellow Cube](<mailto:hello@yellowcube.eu?subject=Partnership>)

## Attribution and scope

This Markdown representation is generated from the same approved content records as the canonical HTML page. Cite the canonical URL above when referencing this material. Product and service descriptions are informational; confirm project-specific requirements with Yellow Cube.

