Discover local network services using the DNS-Based Service Discovery (SD) protocol.
dns-sd dns-sd Sandbox: execFile · Timeout: 30s
discovery.enumerate Discover SSH hosts: Hosts serving SSH can be discovered using the _ssh._tcp service string.
dns-sd -B _ssh._tcp Discover web hosts: Hosts serving web services can be discovered using the _http._tcp service string.
dns-sd -B _http._tcp Discover hosts serving remote screen sharing: Hosts serving remote screen sharing can be discovered using the _rfb._tcp service string.
dns-sd -B _rfb._tcp Discover hosts serving SMB: Hosts serving SMB can be discovered using the _smb._tcp service string.
dns-sd -B _smb._tcp | Type | Rule / Indicator |
|---|---|
| other | https://github.com/jamf/jamfprotect/blob/main/custom_analytic_detections/dns_service_discovery Jamf Protect: Detect dns-sd discovery activity |
dns-sd can be used to interact with the Multicast DNS (mDNS) and DNS Service Discovery (DNS-SD) protocols. The tool is useful for administrators but can also be abused by malicious actors to discover local network services.