Skip to content

Latest commit

 

History

History
190 lines (113 loc) · 3.85 KB

TESTS.rst

File metadata and controls

190 lines (113 loc) · 3.85 KB

TESTS

AJP

https://github.com/Paritosh-Anand/Docker-Httpd-Tomcat

FTP

sudo docker run -d -v /tmp/:/home/vsftpd -p 20:20 -p 21:21 -p 21100-21110:21100-21110 \
-e FTP_USER=ftp -e FTP_PASS=s3curity \
-e PASV_ADDRESS=127.0.0.1 -e PASV_MIN_PORT=21100 -e PASV_MAX_PORT=21110 \
--name vsftpd --restart=always fauria/vsftpd
  • [x] Weak creds

HTTP

JAVA-RMI

JDWP

MSSQL

sudo docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Password123' -e 'MSSQL_PID=Express' -p 1433:1433 -d mcr.microsoft.com/mssql/server:2017-latest-ubuntu
  • [x] Weak creds
  • [x] Post-authentification checks

MYSQL

ORACLE

Install:
git clone https://github.com/wnameless/docker-oracle-xe-11g.git
sudo docker build -t docker-oracle-xe-11g .

Run:
sudo docker run -d -p 49161:1521 -e ORACLE_ALLOW_REMOTE=true docker-oracle-xe-11g

Test:
sqlplus system/oracle@localhost:49161

Creds:
hostname: localhost
port: 49161
sid: xe
username: system
password: oracle
  • [x] Weak creds
  • [x] TNS Poisoning
  • [x] SID guessing
  • [x] Post-auth checks

POSTGRESQL

RDP

  • [x] Standard RDP

SMB

  • [x] SMB anonymous
  • [x] SMB authenticated limited account
  • [x] SMB authenticated privileged account

SMTP

sudo docker run -p 25:25 namshi/smtp
  • [x] User enum
  • [x] SMTP Relay

SNMP

sudo docker run -d --name snmpd -p 161:161/udp polinux/snmpd
  • [x] Default community string

SSH

TELNET

  • [x] Bruteforce. PARTIAL => some telnet services are very slow and make Hydra hanging forever... + Error "Not a Telnet Service" - Bruteforce

VNC

sudo docker run -d -p 5901:5901 -p 6901:6901 consol/centos-xfce-vnc
vncviewer localhost:5901    (password: vncpassword)
  • [x] Bruteforce (blacklisting timeout scheme)