Hi guys, I’m new to Networking, I used Windows Defender to create a new rule to block Port 139, Then when i used Zenmap, i still see the port open and i also used cmd command netstat -aon | findstr 139 and i see services still listening to the port, Someone please explain how do i close a port? I cant seem to find any tutorial to show that, I also used a python script to scan ports in my machine and the port 139 is still open even when i blocked it in windows defender

I want to close port 139 to avoid NetBios ssn vulnerability

  • TheDarkBanana87@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 months ago

    In short, make sure the service that runs on port 139 is not running. It will closed the port. Because the service is binding its self to oort 139.

    Another way is to create a rule to block port 139 from any any

  • flacusbigotis@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    You’ve blocked the port, but that does not prevent a process/program from binding to it.

    So, you have a program listening on the port, but it will never get any traffic because you have blocked that traffic from ever reaching it.