The necessary ports must be open between the Attack Vector and the Target to allow the connection to be established:
- For the connection to succeed, the target must permit incoming network traffic on TCP ports 135, 445, and additional dynamically-assigned port in the range of 49152 to 65535 by default. If the powershell script provided by BlackNoise (blacknoise_enable_wmi) is used to enable WMI, this dynamically-assigned port will be in the range of 60000 to 61000.
- For the connection to succeed, the target must permit incoming network traffic on TCP ports 22.