166 terms · 75/46/45
Technique № 036 · class: exfiltration / impact

DNS Tunneling

Technique of exfiltrating data or C2 communication through DNS queries.

Term

Technique of exfiltrating data or C2 communication through DNS queries.

Description

Data is encoded in DNS requests (subdomains) and responses (TXT, CNAME).

It bypasses firewalls because DNS traffic rarely undergoes deep inspection.

Transfer speed is low, but detection without specialized tools is difficult.

Tools like iodine and dnscat2 automate DNS tunneling.

Examples

  • dnscat2 for C2 channel over DNS
  • OilRig APT using DNS tunneling for exfiltration

Notes

  • Can be used for both exfiltration and C2.

Šta dalje

Mentioned in the news

◳Composite

Threats

used by 4

Poređano po značaju za male i srednje firme.

Defenses

countered by 7