SMB

SMB (Server Message Block) serves Windows file shares over TCP 445 and underpins much of a Windows network. The offensive surface is session establishment (null and guest sessions), share and permission enumeration, looting readable shares and poisoning writable ones, the message-signing and NTLM-relay weaknesses, and the protocol's own remote code execution flaws.

1 min qariaġġornat 5 ta’ Ott, 2026florianamette1 kontributur
Staqsi lill-assistent tiegħek (MCP)Editja fuq GitHub

SMB is the Server Message Block protocol, serving Windows (and Samba) file shares on TCP 445, and it is central to Windows environments: file shares, the SYSVOL/NETLOGON domain shares, named pipes for RPC, and administrative shares (C$, ADMIN$) all ride on it. Offensively it is one of the richest services on a network. The surface spans how a session is established (anonymous null sessions, guest access, or credentials), enumerating shares and the per-identity access to them, looting readable shares and poisoning writable ones to capture credentials or plant code, the message-signing and NTLM-relay weaknesses that turn authentication into lateral movement, and the protocol implementation's own remote code execution bugs.

bash
# fingerprint and reach the service
nmap -p445 --script smb-protocols,smb2-security-mode <target>
nxc smb <target>                              # OS, domain, signing, SMBv1 status

Subtopics#

References#