Windows 11 Open Ports Page

Dynamic Treatise: Windows 11 Open Ports

7) Hardening and mitigation steps (prescriptive)


4) Discovering open ports remotely (network scan)


Method 2: PowerShell (Get-NetTCPConnection)

PowerShell offers more structured data.

  1. Open PowerShell as Administrator.
  2. Run:
    Get-NetTCPConnection -State Listen
    
    This yields a clean table showing LocalPort, LocalAddress, OwningProcess, and State.
  3. To see the application name:
    Get-NetTCPConnection -State Listen | Select-Object LocalPort, OwningProcess | ForEach-Object  $_ 
    

9) Incident response (if you find suspicious open ports)

  1. Isolate host from network if active compromise suspected.
  2. Collect volatile data: netstat/tcpview, running processes, open files, Event Logs, memory image if needed.
  3. Identify process/service owning the port; check binary path, hashes, parent process.
  4. Check persistence: scheduled tasks, services, autoruns, registry Run keys.
  5. Patch vulnerabilities and remove malicious binaries; restore from clean backup if needed.
  6. Perform forensic analysis and notify stakeholders per policy.

How to Check Open Ports in Windows 11

There are three primary ways to inspect the status of your ports: using the Command Prompt, PowerShell, or third-party tools. windows 11 open ports