CyberKit

Domain Generation Algorithm

Also called DGA.

Malware that algorithmically generates many C2 domains.

What it is

A DGA programmatically produces large numbers of pseudo-random domain names that malware and its operators independently compute. That lets the implant still find its C2 as domains are taken down.

Why it matters

It makes blunt domain blocklists ineffective and resilient to takedowns. Detection leans on the statistical randomness of the generated names.

In practice

An implant querying dozens of gibberish domains per hour until one resolves to live C2.

What to look for

  • Bursts of failed lookups for random-looking domains.
  • Many new domains queried and few that resolve.
  • Domain names with odd character mixes for the language.

Common mistake

Blocking generated domains one at a time. Recover the algorithm or seed, or detect the failed-lookup pattern instead.

Use it in CyberKit

In the field

Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.

  • MISP Open source

    An open source platform for storing, correlating and sharing threat indicators.

  • OpenCTI Open source

    Organizes intelligence as linked STIX objects, from actors down to indicators.

  • VirusTotal Commercial

    Pivots between files, domains and IPs to find related infrastructure.

  • ATT&CK Navigator Open source

    Shows a group's known techniques on the ATT&CK matrix.

ATT&CK techniques

Read next

Sources