Back to services
dns53/tcp/udp

DNS / BIND

DNSBINDDomain Name SystemUnbound

DNS is the Internet's domain name resolution system. Exposed resolvers allow DNS amplification attacks, zone transfers, and subdomain enumeration.

Ports

PortProtocolDescription
53tcp/udpDNS

Fingerprints

Banner / ProbeExpected Response
nmap -sV -p <port> <target>Service banner and version info
nc -nv <target> <port>Raw banner grab

Key Files

PathDescription
C:\Windows\NTDS\ntds.ditAD database with all password hashes
C:\Windows\System32\config\SAMLocal SAM password hashes
C:\Windows\System32\config\SYSTEMSystem hive (boot key for hash decryption)
C:\Windows\System32\config\SECURITYSecurity policy and cached domain credentials
%USERPROFILE%\AppData\Roaming\Microsoft\Credentials\Saved Windows credentials

Default Credentials

UsernamePasswordContext
adminadminGeneric admin account
rootrootGeneric root account

Known CVEs

IdentifierTypeDescription
InfoCheck NVD database for latest CVEs

Exploitation Primitives

TechniqueTool / CommandResult
Zone Transferdig axfr @<target> domain.comFull DNS zone dump
Subdomain Enumdnsrecon -d domain.com -n <target>Subdomain discovery

Notes

Zone transfer (AXFR) is the most critical misconfiguration. Always check: `dig axfr @<target> <domain>`.

DNS amplification attacks use open resolvers; check with `nmap --script dns-recursion -sU -p53`.

Tools: `dnsrecon`, `dnsenum`, `fierce`, `dig`, `nslookup`.

Seen on

ShodanCensysFOFAZoomEye

References