November 2012
Intermediate to advanced
318 pages
6h 36m
English
Oracle servers have SID names, and penetration testers need to find them. Thanks to Nmap we can attempt to list them by performing a dictionary attack against the TNS listener.
This recipe shows how to brute force Oracle SID names by using Nmap.
To brute force Oracle SID names, use the following Nmap command:
$ nmap -sV --script oracle-sid-brute <target>
All of the SIDs found will be included in the NSE script output section for oracle-sid-brute:
PORT STATE SERVICE REASON 1521/tcp open oracle syn-ack | oracle-sid-brute: | orcl | prod |_ devel
The argument -sV --script oracle-sid-brute tells Nmap to initiate service detection (-sV) and use the NSE script oracle-sid-brute.
The NSE script ...
Read now
Unlock full access