Network services
SMB/CIFS
Windows-style file and printer sharing on TCP 445: a client logs in, connects to a named share, and reads or writes its files.
SMB (Server Message Block, once CIFS) is how Windows and Samba share folders and printers, on TCP port
445. A client negotiates a dialect (SMB2 or SMB3; the old SMB1 is insecure), logs in with a session
setup (NTLM or Kerberos), does a tree connect to a share such as \\server\finance, then opens and reads files.
Never expose port 445 to the internet: WannaCry spread over SMB1.
Read next
- Port A 16-bit number that picks the program on a device: web 80 and 443, DNS 53, SSH 22.
- TCP Reliable, ordered byte streams between programs: handshake, acknowledgements, retransmission.
- Kerberos A ticket system that lets one password login open many services, each proven with a ticket, never the password again.
- RDP Remote graphical login on TCP 3389: the client negotiates a security layer, then runs the desktop inside TLS.