Port 5357 Hacktricks [better] Jun 2026

WSD utilizes specific UUIDs and endpoints to handle communication. Attackers and auditors look for paths related to the Function Discovery Provider Host ( fdphost ) or specific print/scan services.

Do not run intrusive exploitation against systems you don’t own or have permission to test.

sudo nmap -sC -sV -O -p 5357 <target_ip>

WSD provides a network "Plug and Play" experience. It allows a Windows computer to automatically detect and interact with a WSD-compatible printer as if it were connected via USB, without needing to install custom drivers or manually configure IP addresses. This is achieved through HTTP (port 5357), HTTPS (port 5358), and multicast discovery (UDP port 3702). port 5357 hacktricks

By default, Windows 10/11, Server 2016/2019/2022 listen on 0.0.0.0:5357 (turned on in "Network and Sharing Center").

This article is part of the HackTricks-style knowledge base. Always perform attacks only on systems you own or have explicit permission to test.

Ensure regular OS patch management is enforced to mitigate any underlying vulnerabilities within the http.sys driver or the WSD API framework. WSD utilizes specific UUIDs and endpoints to handle

Server: Microsoft-HTTPAPI/2.0 (Confirms a Windows IIS or HTTP.sys infrastructure). Directory and Endpoint Brute Forcing

Because Port 5357 relies on the http.sys kernel-driver driver to parse HTTP requests, it is inherently vulnerable to any system-wide HTTP flaws.

This sends a Probe message and lists all advertised devices, their types, scopes, and metadata addresses. sudo nmap -sC -sV -O -p 5357 &lt;target_ip&gt;

Understanding the use and potential vulnerabilities of port 5357 and related protocols like SSDP and UPnP can significantly improve network security. Utilizing resources like HackTricks can enhance your knowledge of cybersecurity concepts, from basic to advanced levels.

Protecting systems against exploitation of port 5357 involves a multi-layered approach.

What (like 135, 445, or 3702) are open on this host?

netsh advfirewall firewall add rule name="Block Port 5357" dir=in action=block protocol=TCP localport=5357 Use code with caution. Disabling Network Discovery