Rapid7 Vulnerability & Exploit Database

SMB SID User Enumeration (LookupSid)

Back to Search

SMB SID User Enumeration (LookupSid)



Determine what users exist via brute force SID lookups. This module can enumerate both local and domain accounts by setting ACTION to either LOCAL or DOMAIN


  • hdm <x@hdm.io>


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/scanner/smb/smb_lookupsid
msf auxiliary(smb_lookupsid) > show actions
msf auxiliary(smb_lookupsid) > set ACTION < action-name >
msf auxiliary(smb_lookupsid) > show options
    ...show and set options...
msf auxiliary(smb_lookupsid) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security