EN
ENNA
DN

dnscat2

Featured

⚖️ Dual Use · Ruby

dnscat2 creates an encrypted command-and-control channel over the DNS protocol. It's designed for situations where all other outbound traffic is blocked but DNS resolution is still permitted — which is almost always. The tool consists of a client that runs on compromised hosts and a server that runs on an authoritative DNS server controlled by the attacker. All communication is encrypted and tunneled through DNS TXT, CNAME, or MX records.

Use Cases

  • C2 communication over DNS when other protocols are blocked
  • Data exfiltration through DNS queries
  • Bypassing firewall restrictions that allow DNS
  • Encrypted tunneling through corporate DNS infrastructure

Tags

dns-tunnelc2exfiltrationencryptedfirewall-bypass

Details

Category
⚖️ Dual Use
Language
Ruby
Repository
iagox86/dnscat2

Platforms

🐧linux🍎macos🪟windows

More in Dual Use