Rapid7 Vulnerability & Exploit Database

Oracle TNS Listener SID Enumeration

Back to Search

Oracle TNS Listener SID Enumeration



This module simply queries the TNS listener for the Oracle SID. With Oracle and above the listener will be protected and the SID will have to be bruteforced or guessed.


  • CG <cg@carnal0wnage.com>
  • MC <mc@metasploit.com>


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/oracle/sid_enum
msf auxiliary(sid_enum) > show actions
msf auxiliary(sid_enum) > set ACTION < action-name >
msf auxiliary(sid_enum) > show options
    ...show and set options...
msf auxiliary(sid_enum) > 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