Dynamic Resolution T1568

Tactic: Command & Control

Adversaries may dynamically establish connections to command and control infrastructure to evade common detections and remediations. This may be achieved by using malware that shares a common algorithm with the infrastructure the adversary uses to receive the malware's communications. These calculations can be used to dynamically adjust parameters such as the domain name, IP address, or port number the malware uses for command and control.

Events covered

10 catalog events are tagged with this technique by at least one rule.

Authoring guide

These 37 rules share fields, values, and exclusions.

Fields filtered most (34 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
DestinationHostname4contains 2, regex_match 2, ne 1tunnel.ap.ngrok.com, tunnel.au.ngrok.com, tunnel.eu.ngrok.com, [a-zA-Z]{4,5}\.(pw|us|club|info|site|top), [a-z]{3}\.stage\.[0-9]{8}\..*
Action3eq 3UPDATE, Deny
DestinationPortName3in 2, eq 1http, tls
QueryName3is_not_null 3, wildcard 2, ends_with 1, *.2miners.com, *.4shared.com, *.bar, *.beauty
data_stream.dataset3in 3, eq 2network_traffic.http, network_traffic.tls, fortinet_fortigate.log, panw.panos
event.category3in 3network, network_traffic
process_basename3is_not_null 3
DnsQueryTypeName2in 2A, AAAA
Protocol2eq 2tcp
Target.property2eq 2DNS_NAMESERVERS, DNS_SPLIT_DNS
Target.type2eq 2TAILNET
ml_is_dga.malicious_prediction2eq 21
network.application2in 2ssl, web-browsing
DestinationPort1in 1443, 53, 80
DnsResponseCode1eq 1NXDOMAIN

Top indicator values (440 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
QueryNameis_not_null
319
data_stream.datasetin
network_traffic.http
33
data_stream.datasetin
network_traffic.tls
33
event.categoryin
network
35
event.categoryin
network_traffic
33
process_basenameis_not_null
332
Actioneq
UPDATE
24
DestinationHostnamecontains
tunnel.ap.ngrok.com
22
DestinationHostnamecontains
tunnel.au.ngrok.com
22
DestinationHostnamecontains
tunnel.eu.ngrok.com
22
DestinationHostnamecontains
tunnel.in.ngrok.com
22
DestinationHostnamecontains
tunnel.jp.ngrok.com
22
DestinationHostnamecontains
tunnel.sa.ngrok.com
22
DestinationHostnamecontains
tunnel.us.ngrok.com
22
DestinationPortNamein
http
22
DestinationPortNamein
tls
22
DnsQueryTypeNamein
A
22
DnsQueryTypeNamein
AAAA
22
Protocoleq
tcp
216
QueryNamewildcard
*.blob.core.windows.net
22
QueryNamewildcard
*.blob.storage.azure.net
22
QueryNamewildcard
*.blogspot.com
24
QueryNamewildcard
*.cloud.es.io
22
QueryNamewildcard
*.devtunnels.ms
22
QueryNamewildcard
*.elastic-cloud.com
22
QueryNamewildcard
*.ngrok.io
25
QueryNamewildcard
*.onedrive.org
25
QueryNamewildcard
*.portmap.*
25
QueryNamewildcard
*.publicvm.com
25
QueryNamewildcard
*.sharepoint.com
25

Exclusions (97 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
Imagewildcard
/opt/Elastic/Agent/data/elastic-agent-*/components/elastic-otel-collector
1
Imagewildcard
/opt/google-cloud-ops-agent/subagents/fluent-bit/bin/fluent-bit
1
Imagewildcard
/opt/google-cloud-ops-agent/subagents/opentelemetry-collector/otelopscol
1
Imagewildcard
/opt/google/chrome/chrome
1
Imagewildcard
/snap/chromium/*/usr/lib/chromium-browser/chrome
1
Imagewildcard
/snap/firefox/*/usr/lib/firefox/firefox
1
Imagewildcard
/usr/bin/dockerd
1
Imagewildcard
/usr/bin/google_osconfig_agent
1
Imagewildcard
/usr/bin/pihole-FTL
1
Imagewildcard
/usr/bin/warp-svc
1
Imagewildcard
/usr/lib/systemd/systemd-resolved
1
Imagewildcard
/usr/local/bin/rclone
1
Imagewildcard
/var/lib/docker/overlay2/*/merged/usr/local/bin/node
1
Imagewildcard
/var/lib/elastic-agent/data/elastic-agent-*/components/elastic-otel-collector
1
Imagewildcard
?:\Program Files (x86)\*.exe
1

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 6 rules

Elastic 11 rules

Kusto 19 rules

YARA-L 1 rule