Remote Access — Hub

Tools to connect to targets, transfer files, and pivot through compromised hosts.

OSCP use: SSH for Linux boxes & tunnels → evil-winrm for Windows post-exploit → xfreerdp or rdesktop for GUI → Chisel when you need a SOCKS pivot.

For tunneling concepts and more techniques, see Tunneling.


📌 Tools in This Folder

NotePurposePort
SSHLinux remote shell, keys, SCP, -L / -R / -D SOCKS22
SSH ErrorsToo many authentication failures · IdentitiesOnly=yes · id_rsa perms
ssh-auditSSH server/client config security audit22
evil-winrmWinRM shell, Pass-the-Hash, file upload5985/5986
xfreerdpRDP client to Windows desktop3389
rdesktopLegacy RDP client (simple rdesktop IP)3389
ChiselTCP/UDP tunnel & SOCKS proxy through pivot
FTPFile transfer, anonymous login enum21
powercatPowerShell Netcat — reverse/bind shell, file xfer on Windows
PenelopeShell handler — PTY upgrade, upload/download, modules, HTTP -s4444+

Also see Netcat in Linux for raw shells · Penelope replaces rlwrap nc for most privesc workflows.


📌 Quick Decision Guide

SituationTool
Linux SSH creds / keySSH
Windows admin hash / passwordevil-winrm or Impacket psexec
Need Windows GUIxfreerdp or rdesktop
Catch reverse shell (Linux/Windows)Penelope (penelope -O -p 4444) or rlwrap + Netcat
Windows shell, no nc.exepowercat (PowerShell Netcat)
Pivot to internal subnetChisel + SSH tunnel
Anonymous FTP / file dropFTP