1521,1522-1529 - Pentesting Oracle TNS Listener

Ondersteun HackTricks

Basiese Inligting

Oracle-databasis (Oracle DB) is 'n relationele databasisbestuurstelsel (RDBMS) van die Oracle Corporation (van hier).

Wanneer jy Oracle opnoem, is die eerste stap om met die TNS-Listener te praat wat gewoonlik op die standaardpoort (1521/TCP, -jy mag ook sekondêre luisteraars op 1522–1529 kry-).

1521/tcp open  oracle-tns    Oracle TNS Listener 9.2.0.1.0 (for 32-bit Windows)
1748/tcp open  oracle-tns    Oracle TNS Listener

Samevatting

  1. Weergawe Enumerasie: Identifiseer weergawe-inligting om te soek na bekende kwesbaarhede.

  2. TNS Listener Bruteforce: Soms nodig om kommunikasie te vestig.

  3. SID Naam Enumerasie/Bruteforce: Ontdek databasisname (SID).

  4. Geloofsbriewe Bruteforce: Probeer om toegang te verkry tot ontdekte SID.

  5. Kode Uitvoering: Probeer om kode op die stelsel uit te voer.

Om MSF oracle modules te gebruik, moet jy 'n paar afhanklikhede installeer: Installasie

Pligte

Kyk na hierdie pligte:

HackTricks Outomatiese Opdragte

Protocol_Name: Oracle    #Protocol Abbreviation if there is one.
Port_Number:  1521     #Comma separated if there is more than one.
Protocol_Description: Oracle TNS Listener         #Protocol Abbreviation Spelled out

Entry_1:
Name: Notes
Description: Notes for Oracle
Note: |
Oracle database (Oracle DB) is a relational database management system (RDBMS) from the Oracle Corporation

#great oracle enumeration tool
navigate to https://github.com/quentinhardy/odat/releases/
download the latest
tar -xvf odat-linux-libc2.12-x86_64.tar.gz
cd odat-libc2.12-x86_64/
./odat-libc2.12-x86_64 all -s 10.10.10.82

for more details check https://github.com/quentinhardy/odat/wiki

https://book.hacktricks.xyz/pentesting/1521-1522-1529-pentesting-oracle-listener

Entry_2:
Name: Nmap
Description: Nmap with Oracle Scripts
Command: nmap --script "oracle-tns-version" -p 1521 -T4 -sV {IP}
Ondersteun HackTricks

Last updated