The dangers of open port 139 | TechTarget (2024)

Published: 02 Jan 2002

I recently discovered I have an open port: 139. I did some research and found out it is a Netbios-ssn port used for sharing files. I have scanned for relevant Trojans and found none. The port is currently 'listening.' Could this open port pose a threat to my data? And how do I close the port?

If you are on Windows-based network that is running NetBios, it is perfectly normal to have port 139 open in order to facilitate that protocol. If you are not on a network using NetBios, there is no reason to have that port open. Most networks that use NetBios and connect to the Internet also have a firewall that blocks incoming traffic on port 139. That way you are sure that all NetBios traffic originates from within your own network.

Having any open ports exposes you to potential attacks that might exploit known or yet-unknown vulnerabilities. On the other hand, depending on what your system is used for, you likely have to have some open ports in order to be useful. For example, a Web server doesn't work very well with ports 80 and 443 blocked (unless you've mapped the http services to other ports). E-mail servers need ports 25 and 110 for SMTP and POP, respectively.

If the system you are referring to is simply a PC as opposed to a server, you can probably get by using a host-based firewall, such as ZoneAlarm, to block all connections that don't originate from the PC. If you have a PC connected to the Internet via DSL or cable modem, you should purchase a hardware-based router/firewall such as those made by LinkSys or NetGear. They not only can block all incoming requests (not originating with the PC), but can also provide Network Address Translation, so that other computers on the Internet cannot even "see" your PC.

If your system is a server and you need to close ports, those directions would be specific to the kind of system you are using.

More on this topic

  • Ask the Expert: What is port scanning?
  • Ask the Expert: Identifying open ports

Related Resources

Dig Deeper on Security operations and management

The dangers of open port 139 | TechTarget (2024)

FAQs

What are the risks of port 139? ›

Understanding the risks

Cyber attackers can exploit vulnerabilities in SMB services running on Port 139 to initiate attacks such as ransomware, data breaches, and espionage.

Should port 139 be open? ›

Port 139 is utilized by NetBIOS Session service. Enabling NetBIOS services provide access to shared resources like files and printers not only to your network computers but also to anyone across the internet. Therefore it is advisable to block port 139 in the Firewall.

What are the dangers of open ports? ›

Unprotected ports disclose your network activity to attackers, allowing them to eavesdrop on your running services, pinpoint weaknesses, and strategically plan targeted attacks. Such attacks may lead to data breaches, causing the theft of intellectual property, as well as financial and reputational damage.

What can happen if a port is open? ›

Confidentiality: Open ports, and the programs listening and responding at them, can reveal information about the system or network architecture. They can leak banners, software versions, content, the existence of the system itself, and what type of system it is.

What are the most risky ports? ›

2. What are risky network ports?
  • Ports 137 and 139 (NetBIOS over TCP) and 445 (SMB)
  • Port 22 (SSH)
  • Port 53 (DNS)
  • Port 25 (SMTP)
  • Port 3389 (remote desktop)
  • Ports 80, 443, 8080 and 8443 (HTTP and HTTPS)
  • Ports 20 and 21 (FTP)
  • Port 23 (Telnet)

What is a high risk port? ›

High Risk Ports are targets for password brute force or spray attacks. Security practitioners should challenge the validity of publicly exposing these services, seek more secure deployment options, and remove any that are unnecessary.

Is port 139 used anymore? ›

In the days before the Internet, SMB operated over port 139 on top of NetBIOS. Microsoft changed the protocol to work over port 445 to support the Internet using TCP. But you can still use it over port 139 too if you need to support legacy systems.

What is the port 139 used for? ›

SMB ports are generally port numbers 139 and 445. Port 139 is used by SMB dialects that communicate over NetBIOS. It operates as an application layer network protocol for device communication in Windows operating systems over a network. For example, printers and serials ports communicate via Port 139.

Which port should not be open? ›

Common High-Risk Ports
PortProtocolRecommended Action
25TCPDisable always. Use SMTPS instead.
110TCPDisable always. Use POP3S instead.
143TCPDisable always. Use IMAPS instead.
80, 8000, 8080, and 8888TCPDisable recommended. Use HTTPS instead.
28 more rows
Apr 6, 2023

What ports do hackers use? ›

Here are some common vulnerable ports you need to know.
  • FTP (20, 21) FTP stands for File Transfer Protocol. ...
  • SSH (22) SSH stands for Secure Shell. ...
  • SMB (139, 137, 445) SMB stands for Server Message Block. ...
  • DNS (53) DNS stands for Domain Name System. ...
  • HTTP / HTTPS (443, 80, 8080, 8443) ...
  • Telnet (23) ...
  • SMTP (25) ...
  • TFTP (69)
Mar 29, 2022

What ports are most often scanned by hackers? ›

Commonly hacked TCP port numbers include port 21 (FTP), port 22 (SSH), port 23 (Telnet), port 25 (Simple Mail Transfer Protocol or SMTP), port 110 (POP3), and port 443 (HTTP and Hypertext Transfer Protocol Secure or HTTPS).

Can I protect my open ports? ›

What can you do to protect open ports? One way to address them, is by implementing firewalls. These can be either software, like a program you install on your computer, or hardware. Next, you should determine how many ports you have opened and whether all of these need to be open.

How do you know if something is wrong with your port? ›

It is possible for an infection to develop inside the catheter or around the port. You should tell your hospital doctor or nurse if you: have redness, swelling or pain around the port. notice fluid leaking from the skin around the line or port.

How long can you keep opened port? ›

Ruby and basic Tawny Ports typically *(when stored in cool-dark conditions) will last 4 - 6 weeks after being open, without any obvious deterioration. Though ideally finish a Ruby Port within 1 month - and finish a Tawny Port within 2 months after being opened.

How to check if a port is open? ›

Enter "telnet + IP address or hostname + port number" (e.g., telnet www.example.com 1723 or telnet 10.17.xxx.xxx 5000) to run the telnet command in Command Prompt and test the TCP port status. If the port is open, only a cursor will show. If the port is closed, a message will say Connect failed.

What is port 139 commonly used for? ›

SMB ports are generally port numbers 139 and 445. Port 139 is used by SMB dialects that communicate over NetBIOS. It operates as an application layer network protocol for device communication in Windows operating systems over a network. For example, printers and serials ports communicate via Port 139.

Why is port 445 and 139 vulnerable? ›

Ports 139 and 445 are used for 'NetBIOS' communication between two Windows 2000 hosts. In the case of port 445 an attacker may use this to perform NetBIOS attacks as it would on port 139. Impact: All NetBIOS attacks are possible on this host.

What are the problems with medical ports? ›

You should call your healthcare provider if you experience:
  • Bleeding or fluid around the port site.
  • Dizziness or fainting.
  • Shortness of breath.
  • Signs of infection, such as fever or redness, swelling and warmth at the port site.
  • Swelling in the arm on the same side as the port.
Aug 25, 2021

What is climate risk to ports? ›

Ports are among the most exposed sites in the world to extreme weather. Typically located along open coasts or in low-lying estuaries and deltas, ports are vulnerable to windstorms, flooding and storm surge.

Top Articles
Latest Posts
Article information

Author: Lidia Grady

Last Updated:

Views: 6219

Rating: 4.4 / 5 (45 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Lidia Grady

Birthday: 1992-01-22

Address: Suite 493 356 Dale Fall, New Wanda, RI 52485

Phone: +29914464387516

Job: Customer Engineer

Hobby: Cryptography, Writing, Dowsing, Stand-up comedy, Calligraphy, Web surfing, Ghost hunting

Introduction: My name is Lidia Grady, I am a thankful, fine, glamorous, lucky, lively, pleasant, shiny person who loves writing and wants to share my knowledge and understanding with you.