encyclopegia.org

Domain generation algorithm

Domain generation algorithms (DGA) are algorithms seen in various families of malware that are used to periodically generate a large number of domain names that can be used as rendezvous points with their command and control servers. The large number of potential rendezvous points makes it difficult for law enforcement to effectively shut down botnets, since infected computers will attempt to contact some of these domain names every day to receive updates or commands. The use of public-key cryptography in malware code makes it unfeasible for law enforcement and other actors to mimic commands from the malware controllers as some worms will automatically reject any updates not signed by the malware controllers. For example, an infected computer could create thousands of domain names such as: www. .com and would attempt to contact a portion of these with the purpose of receiving an update or commands. Embedding the DGA instead of a list of previously-generated (by the command and control servers) domains in the unobfuscated binary of the malware protects against a strings dump that could be fed into a network blacklisting appliance preemptively to attempt to restrict outbound communication from infected hosts within an enterprise. The technique was popularized by the family of worms Conficker.a and .b which, at first generated 250 domain names per day.…

Domain generation algorithms (DGA) are algorithms seen in various families of malware that are used to periodically generate a large number of domain names that can be used as rendezvous points with their command and control servers. The large number of potential rendezvous points makes it difficult for law enforcement to effectively shut down botnets, since infected computers will attempt to contact some of these domain names every day to receive updates or commands. The use of public-key cryptography in malware code makes it unfeasible for law enforcement and other actors to mimic commands from the malware controllers as some worms will automatically reject any updates not signed by the malware controllers. For example, an infected computer could create thousands of domain names such as: www. .com and would attempt to contact a portion of these with the purpose of receiving an update or commands. Embedding the DGA instead of a list of previously-generated (by the command and control servers) domains in the unobfuscated binary of the malware protects against a strings dump that could be fed into a network blacklisting appliance preemptively to attempt to restrict outbound communication from infected hosts within an enterprise. The technique was popularized by the family of worms Conficker.a and .b which, at first generated 250 domain names per day. Starting with Conficker.C, the malware would generate 50,000 domain names every day of which it would attempt to contact 500, giving an infected machine a 1% possibility of being updated every day if the malware controllers registered only one domain per day. To prevent infected computers from updating their malware, law enforcement would have needed to pre-register 50,000 new domain names every day. From the point of view of botnet owner, they only have to register one or a few domains out of the several domains that each bot would query every day. Recently, the technique has been adopted by other malware authors. According to network security firm Damballa, the top-5 most prevalent DGA-based crimeware families are Conficker, Murofet, BankPatch, Bonnana and Bobax as of 2011. DGA can also combine words from a dictionary to generate domains. These dictionaries can be hard-coded in malware or taken from a publicly accessible source. Domains generated by dictionary DGA tend to be more difficult to detect due to their similarity to legitimate domains. def generate_domain(year: int, month: int, day: int) -> str: """Generate a domain name for the given date.""" domain = "" for i in range(16): year = ((year ^ 8 * year) >> 11) ^ ((year & 0xFFFFFFF0) > 25) ^ 16 * (month & 0xFFFFFFF8) day = ((day ^ (day > 19) ^ ((day & 0xFFFFFFFE) For example, on January 7, 2014, this method would generate the domain name intgmxdeadnxuyla.com , while the following day, it would return axwscwsslmiagfah.com . This simple example was in fact used by malware like CryptoLocker, before it switched to a more sophisticated variant. ==Detection== DGA domain names can be blocked using blacklists, but the coverage of these blacklists is either poor (public blacklists) or wildly inconsistent (commercial vendor blacklists). Detection techniques belong in two main classes: reactionary and real-time. Reactionary detection relies on non-supervised clustering techniques and contextual information like network NXDOMAIN responses, WHOIS information, and passive DNS to make an assessment of domain name legitimacy. Recent attempts at detecting DGA domain names with deep learning techniques have been extremely successful, with F1 scores of over 99%. These deep learning methods typically utilize LSTM and CNN architectures, though deep word embeddings have shown great promise for detecting dictionary DGA. However, these deep learning approaches can be vulnerable to adversarial techniques. ==See also== Zeus (Trojan horse) Srizbi botnet ==References== ==Further reading== DGAs in the Hands of Cyber-Criminals - Examining the state of the art in malware evasion techniques DGAs and Cyber-Criminals: A Case Study How Criminals Defend Their Rogue Networks, Abuse.ch

References

No reference rows published for this article.

Cite this article

MLA

"Domain generation algorithm." encyclopegia.org, 2026, https://encyclopegia.org/wiki/domain-generation-algorithm. Accessed 24 November 2026.

Chicago

"Domain generation algorithm." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/domain-generation-algorithm.

APA

encyclopegia.org. (2026). Domain generation algorithm. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/domain-generation-algorithm

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Executive Order 12968

enwiki · references available

Thozhar Pandian

enwiki · references available

The Sun Comes Out Tonight

enwiki · references available

Henry Slade (rugby union)

enwiki · references available

Careless (song)

enwiki · references available

Cham Shateh-ye Sofla

enwiki · references available

Astra Hungary FC

enwiki · references available

Adolphe Danhauser

enwiki · references available

Shineh

enwiki · references available

Fernando Gomes (Bissau-Guinean politician)

enwiki · references available

Shineh-ye Bala

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1360649897 · 0.5 · snapshot enwiki-001360649897

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.