CyberKit

Network ports

Port 53/tcp/udp: DNS (Domain Name System)

Category: Name Resolution & Directory Services. Range: well-known. Status: iana registered.

What runs here

DNS resolves human-readable names to IP addresses, and vice versa, plus many other record types, and is defined across RFC 1034 (concepts) and RFC 1035 (implementation and wire format). It genuinely runs over both UDP and TCP on port 53: UDP handles the vast majority of ordinary queries for low overhead, while TCP is required whenever a response exceeds the practical UDP size limit, and always for zone transfers (AXFR, defined in RFC 5936) between authoritative name servers.

Why it matters

DNS queries are one of the richest sources of intent in an investigation: the domains a host resolves reveal what it is about to contact, often before any connection to the actual destination is attempted, making DNS logs valuable both for reconstructing a timeline and for detection, such as newly-registered domains, DGA-generated names, or unusual query volume. DNS is also a well-established C2 and exfiltration channel in its own right, tunneling data inside TXT, NULL, or CNAME record queries, and an unauthorized TCP/53 zone transfer is a classic reconnaissance and data-exposure finding.

Where you see it

Legitimately: ordinary name resolution over UDP, the overwhelming majority of traffic, plus large DNSSEC/TXT responses or zone transfers between authoritative name servers over TCP. Anomalously/maliciously: DNS tunneling for C2 or exfiltration using abnormally long or high-entropy subdomain labels and high query volume to a single domain, queries to algorithmically-generated domains from DGA malware, or an unauthenticated AXFR zone transfer attempt exposing internal hostnames.

What to look for

Indicators
SignalWhat it means
Query name entropy, length, and record typeHigh-entropy or unusually long subdomain labels, especially with TXT, NULL, or CNAME record types and high query frequency to one apex domain, are the standard DNS-tunneling tell.
NXDOMAIN rate and newly-observed domainsA host generating a high rate of NXDOMAIN responses against algorithmically-varying names is a strong DGA-malware indicator.
Unsolicited AXFR/IXFR requestsA zone transfer request from a source that is not a configured secondary name server is a reconnaissance attempt worth flagging on its own.

In practice

Malware exfiltrating small chunks of stolen data as high-entropy subdomain labels in a steady stream of TXT-record queries to an attacker-controlled domain is a textbook DNS tunneling pattern that packet-content inspection alone would miss on other, encrypted ports.

Related ports

ATT&CK techniques

Sources