Sub-technique of T1568 Dynamic Resolution.View on attack.mitre.org
Adversaries may make use of Domain Generation Algorithms (DGAs) to dynamically identify a destination domain for command and control traffic rather than relying on a list of static IP addresses or domains. This has the advantage of making it much harder for defenders to block, track, or take over the command and control channel, as there potentially could be thousands of domains that malware can check for instructions.
DGAs can take the form of apparently random or “gibberish” strings (ex: istgmxdejdnxuyla.ru) when they construct domain names by generating each letter. Alternatively, some DGAs employ whole words as the unit by concatenating words together instead of letters (ex: cityjulydish.net). Many DGAs are time-based, generating a different domain for each time period (hourly, daily, monthly, etc). Others incorporate a seed value as well to make predicting future domains more difficult for defenders.
Adversaries may use DGAs for the purpose of Fallback Channels. When contact is lost with the primary command and control server malware may employ a DGA as a means to reestablishing command and control.
Rules on DetectionCode tagged with T1568.002.
| Rule | Level | Log source |
|---|---|---|
| Communication To Ngrok Tunneling Service - Linux | high | linux / network_connection |
| Communication To Ngrok Tunneling Service Initiated | high | windows / network_connection |
| Rule | Type | Risk | Data source |
|---|---|---|---|
| Detect DGA domains using pretrained model in DSDL | Anomaly | NULL | |
| Detect suspicious DNS TXT records using pretrained model in DSDL | Anomaly | NULL |
None recorded.
| Used by | Procedure example |
|---|---|
| GroupAPT41 | APT41 has used DGAs to change their C2 servers monthly. |
| GroupTA551 | TA551 has used a DGA to generate URLs from executed macros. |
| Used by | Procedure example |
|---|---|
| MalwareAria-body | Aria-body has the ability to use a DGA for C2 communications. |
| MalwareAstaroth | Astaroth has used a DGA in C2 communications. |
| ToolAsyncRAT | AsyncRAT use a DGA to generate a C2 domains. |
| MalwareBazar | Bazar can implement DGA using the current date as a seed variable. |
| MalwareBONDUPDATER | BONDUPDATER uses a DGA to communicate with command and control servers. |
| MalwareCCBkdr | CCBkdr can use a DGA for Fallback Channels if communications with the primary command and control server are lost. |
| MalwareCHOPSTICK | CHOPSTICK can use a DGA for Fallback Channels, domains are generated by concatenating words from lists. |
| MalwareConficker | Conficker has used a DGA that seeds with the current UTC victim system date to generate domains. |
Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.