Skip to content
TARGET$IP10.10.11.42$DOMAINcorp.local$USERsvc_sql$PASS••••••••••filled into every command · stored in your browser only
ports/139

139/tcp

NetBIOS Session · SMB
The older transport for SMB, over a NetBIOS session rather than raw TCP. Where you see 139 you usually see 445; it matters most for name resolution and for legacy hosts that only speak SMB this way.
WindowsLegacySMB
ProtocolTCP
Servicenetbios-ssn
Also on445/tcp
Default onWindows, Samba
AuthNTLM
// PORT SPACE · LOG SCALE 1 10 100 1k 10k 65535 228033898080 139
01

Enumerate

start here
Grab the NetBIOS name table, then treat it like 445.
commands · your target is filled in
# NetBIOS names, logged-on user and domain
nmblookup -A $IP

# null session over 139
smbclient -L //$IP -N -p 139
02

Weaknesses

check each one
CHECK HOW TO TELL WHAT IT GIVES YOU
Null session Share listing works with no creds Users, shares, domain name

139 is SMB’s legacy transport. On modern networks it mostly rides alongside 445; its own value is the NetBIOS name table — host name, domain and the currently logged-on user — which is cheap pre-engagement context.

PORT 139 ⌘K jump c copy commands t set target l start lab search.deflance.com static · no tracking