0

I scanned my laptop for open ports. Nmap found about 1000+ open ports with unknown services. I tried to create rules in the Windows firewall that closed these ports, but this did not help. Also I used other programms for close that ports and it also didn't help. How can I close them?

enter image description here

1

1 Answer 1

1

These ports are not open. These are "unknown" (in the second column). You don't need to close them. Please see Nmap scan produces all “unknown”.

Fragments of two answers published there:

The problem is with Windows and scanning the local machine. Nmap on Windows does not work the same way as it does on Linux due to differences in how the NIC is accessed. It is not actually connecting to each port from a separate process, but is connecting to itself.

This output is expected when scanning from Windows to localhost (127.0.0.1, ::1, or an IP address that belongs to the scanning system itself), but only for Nmap versions released prior to July 2016. Nmap 7.25BETA1 added Windows localhost scanning with the use of the new Npcap packet capture library, so this will not be an issue any more.

2
  • So I can not worry about these "unknown" ports?
    – h4cktivist
    Feb 2, 2020 at 10:03
  • @h4cktivist Affirmative. Feb 2, 2020 at 10:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.