139/445 ~ SMB
Server Message Block (SMB)
Key differences between ports 139 and 445:
Port 139: Legacy, relies on NetBIOS over TCP/IP, primarily used for older systems and version of SMB, such as SMB 1.0 or older versions.
Port 445: Used in modern systems. It supports direct SMB over TCP/IP, used by newer versions of SMB (e.g. SMBv2, SMBv3).
Metasploit
auxiliary/scanner/smb/smb_enumshares
auxiliary/scanner/smb/smb_enumusers
auxiliary/scanner/smb/smb_version
auxiliary/scanner/smb/smb_ms17_010
Example
Module: scanner/smb/smb_login
, targets port 445
Password brute-force on port 445 for a single username.
TryHackMe Metasploit exploitation room, Task 2:
Last updated