Null/Anonymous authentication with netexec

netexec smb <host/ip/cidr> -u '' -p '' -d '<domain>'
netexec smb <host/ip/cidr> -u '' -p '' --local-auth

Guest authentication with netexec

netexec smb <host/ip/cidr> -u 'thisuserdoesnotexist' -p '' -d '<domain>'
netexec smb <host/ip/cidr> -u 'thisuserdoesnotexist' -p '' --local-auth

Related Notes