1521,1522-1529 - Pentesting Oracle TNS Listener

htARTE (HackTricks AWS Red Team Expert)를 통해 AWS 해킹을 처음부터 전문가까지 배워보세요!

HackTricks를 지원하는 다른 방법:

기본 정보

Oracle 데이터베이스 (Oracle DB)는 Oracle Corporation에서 제공하는 관계형 데이터베이스 관리 시스템 (RDBMS)입니다 (여기에서 확인 가능).

Oracle을 열거할 때 첫 번째 단계는 일반적으로 기본 포트 (1521/TCP)에 상주하는 TNS-Listener와 대화하는 것입니다 (1522-1529에서도 추가 리스너를 얻을 수 있습니다).

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

요약

  1. 버전 열거: 알려진 취약점을 찾기 위해 버전 정보를 식별합니다.

  2. TNS 리스너 브루트포스: 통신을 수립하기 위해 때로는 필요합니다.

  3. SID 이름 열거/브루트포스: 데이터베이스 이름 (SID)을 발견합니다.

  4. 자격 증명 브루트포스: 발견된 SID에 액세스를 시도합니다.

  5. 코드 실행: 시스템에서 코드를 실행하려고 시도합니다.

MSF 오라클 모듈을 사용하려면 일부 종속성을 설치해야 합니다: 설치

게시물

다음 게시물을 확인하세요:

HackTricks 자동 명령어

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}
htARTE (HackTricks AWS Red Team Expert)를 통해 AWS 해킹을 처음부터 전문가까지 배워보세요!

HackTricks를 지원하는 다른 방법:

Last updated