Guest access lets a client connect to a share with no valid account. The capture shows a Samba 4.19 server accepting an anonymous session setup, the tree connect to a share that is both readable and writable, and files being created and deleted. Writable guest shares are how ransomware and worms spread across workgroups, and the Sessions tab shows the share and the file names.
Samba share reachable as guest: anonymous SMB session, tree connect to a writable share and file writes without any credentials.
Samba 4.19.5 Guest Access to Writable Share
3 SMB2 sessions against Samba 4.19.5 on 10.99.0.22:445 using guest/anonymous access. Protocols observed: SMB2, DCERPC, and SRVSVC (Server Service Remote Protocol). Operations performed: share enumeration revealing public, private, and IPC$ shares. Then on the public share: directory listing, mkdir (create attack_drop directory), file upload (planted.txt), directory listing to confirm, and cleanup (delete file and remove directory). SMB2 commands include Negotiate(0), SessionSetup(1), TreeConnect(3), Create(5), Close(6), QueryDirectory(14), Write(9), SetInfo(17). Suricata flagged NTLM negotiation. Zeek identified GSSAPI, NTLM, SMB, and DCE/RPC services. The guest-writable share allows unauthenticated file manipulation.