Attacking Common Services

Exploitation
> Start Learning

πŸ“– Overview

Exploit techniques for FTP, SSH, SMB, RDP, SQL, and other services.

🎯
3
Exercises
πŸƒ
3
Flashcards
πŸ—ΊοΈ
1
Mind Maps

πŸ“‹ Cheatsheet

FTP (21)

ftp 10.10.10.5 # Connect to FTP server
anonymous/anonymous # Try anonymous login

SSH (22)

ssh user@10.10.10.5 # Connect via SSH with password
ssh -i id_rsa user@10.10.10.5 # Connect via SSH with private key

SMB (445)

smbclient //10.10.10.5/share -U user # Connect to SMB share
impacket-psexec user:pass@10.10.10.5 # Get shell via PsExec (needs admin)

WinRM (5985)

evil-winrm -i 10.10.10.5 -u user -p pass # Get shell via WinRM

MSSQL (1433)

impacket-mssqlclient user:pass@10.10.10.5 # Connect to MSSQL
xp_cmdshell 'whoami' # Execute command via xp_cmdshell

πŸ’» Command Examples

⚠️ Common Pitfalls

  • Ignoring non-standard ports
  • Not trying default creds

πŸ’‘ Exam Survival Tips

  • Always check for anonymous access
  • Look for credential reuse

πŸ—ΊοΈ Mind Maps