Here are some of the most common ways to use Netcat on Windows. 1. Banner Grabbing (Testing Port Service)

: Test-NetConnection -ComputerName [IP_ADDRESS] -Port [PORT]

Netcat can act as a simple scanner to find open TCP ports. nc -zv [IP Address] [Port Range] -z : Zero-I/O mode (used for scanning, sends no data). 3. File Transfer Netcat can send files between a Windows and Linux machine. nc -l -p [Port] > received_file.txt

nc -nvz 192.168.1.10 3389

Creating reverse or bind shells for testing purposes. Installing Netcat on Windows Unlike Linux, Netcat is not pre-installed on Windows.