Post Exploitation
sshuttle acts as a transparent proxy server that forwards traffic over an SSH connection, configuring local routing rules without requiring administrator privileges on the remote server host.
sudo apt install sshuttle
sshuttle -r [user@]sshserver[:port] <subnets>
sshuttle is a transparent proxy VPN that forwards traffic over SSH without requiring administrator access on the remote server. It provides a quick and easy way to access internal networks through a pivot host.
By modifying local routing rules, sshuttle transparently routes traffic for specified subnets through an encrypted SSH tunnel, making it an essential tool for network pivoting in penetration testing.
sshuttle -r <USER>@10.10.10.10 0/0Tunnel all IPv4 traffic through the remote SSH host (full VPN-over-SSH)sshuttle -r <USER>@10.10.10.10 192.168.1.0/24Route only the given subnet through the remote hostsshuttle -r <USER>@10.10.10.10 192.168.1.0/24 10.0.0.0/8Tunnel multiple subnets in a single sessionsshuttle -r <USER>@10.10.10.10 --dns 0/0Also intercept and forward DNS queries through the tunnelsshuttle -r <USER>@10.10.10.10 -NAuto-detect the remote networks (routes) and tunnel themsshuttle -r <USER>@10.10.10.10 -x 10.10.10.10 0/0Tunnel everything except the SSH host's own addresssshuttle -r <USER>@10.10.10.10 -x 192.168.1.5 192.168.1.0/24Tunnel a subnet but exclude a specific hostsshuttle -r <USER>@10.10.10.10 -X /path/to/exclude.txt 0/0Exclude subnets listed in a file from the tunnelsshuttle -r <USER>@10.10.10.10 -v 192.168.1.0/24Run with verbose output for troubleshootingsshuttle -r <USER>@10.10.10.10 -vv 192.168.1.0/24Run with very verbose (debug-level) outputsshuttle -r <USER>@10.10.10.10 -D 0/0Run as a background daemonsshuttle -r <USER>@10.10.10.10 -D --pidfile /path/to/sshuttle.pid 0/0Daemonize and write the PID to a file for later controlsshuttle -r <USER>@10.10.10.10:2222 192.168.1.0/24Connect to SSH on a non-default port via the remote specsshuttle -r <USER>@10.10.10.10 -e 'ssh -i /path/to/key.pem' 0/0Use a custom SSH command, e.g. to supply an identity keysshuttle -r <USER>@10.10.10.10 -l 0.0.0.0:12300 0/0Bind the local transparent proxy to a specific address/portsshuttle -r <USER>@10.10.10.10 --dns --to-ns 8.8.8.8 0/0Forward DNS to a specific nameserver on the remote sidesshuttle -r <USER>@10.10.10.10 -H 192.168.1.0/24Auto-populate /etc/hosts from remote hostnames (scan hosts)sshuttle -r <USER>@10.10.10.10 --seed-hosts host1,host2 -H 0/0Seed the host auto-scan with known hostnamessshuttle -r <USER>@10.10.10.10 --python /usr/bin/python3 0/0Specify which Python interpreter to run on the remote hostsshuttle -r <USER>@10.10.10.10 --no-latency-control 0/0Favor bandwidth over latency for bulk transferssshuttle -r <USER>@10.10.10.10 --ssh-cmd 'ssh -v' 0/0Override the SSH command used to build the tunnelsudo sshuttle -r <USER>@10.10.10.10 0/0Run with root so sshuttle can install firewall rulessshuttle --sudoers-no-modifyPrint a sudoers snippet allowing sshuttle's firewall setup without editing sudoerssshuttle --versionPrint the installed sshuttle versionsshuttle --helpDisplay the full list of options and usageRoute traffic through SSH jump host.
Nmap internal subnets through tunnel.
Access internal web/app servers transparently.
Transfer files via tunnel tools without proxy config.
Post Exploitation
Chisel is a fast TCP/UDP tunnel utility that encapsulates traffic over an HTTP transport channel, secured via SSH. It is useful for traversing firewall boundaries and pivoting inside network environments.
Post Exploitation
ProxyChains forces TCP connections made by arbitrary applications to follow user-configured proxy networks (such as TOR or SOCKS4/5 configurations), useful for obfuscation and internal pivoting.
Maintaining Access
WireGuard is an extremely fast, modern VPN protocol that lives inside the Linux kernel and uses state-of-the-art cryptography — Curve25519 key exchange, ChaCha20Poly1305 encryption, and the Noise protocol framework — in a core codebase of only a few thousand lines. In penetration testing and red team work it creates secure, persistent tunnels for pivoting into internal networks and maintaining encrypted access, while system administrators use the same tool for site-to-site links and road-warrior VPNs. Every peer is identified by a single public key, traffic is bound to that key by cryptokey routing (AllowedIPs), and the protocol stays completely silent toward unauthenticated packets, which makes a WireGuard port nearly invisible to scanners.
Post Exploitation
Learn how to use Evil-WinRM, a Ruby-based client for the Windows Remote Management (WinRM) protocol. This guide covers installation, your first connection, password, pass-the-hash and Kerberos authentication, file transfers and script execution, all for use in authorized lab environments.
Post Exploitation
LinPEAS is a script that searches for possible paths to escalate privileges on Linux hosts. It highlights findings using colors to signal potential misconfigurations or vulnerabilities.
Post Exploitation
Mimikatz is a powerful post-exploitation tool that exposes vulnerabilities in Windows authentication protection mechanisms, capable of extracting plaintexts passwords, hashes, PINs, and kerberos tickets from memory.
A comprehensive introduction to Microsoft Active Directory covering domain services, LDAP, Group Policy, authentication protocols, and security fundamentals for Windows enterprise environments.
Active Directory · AdvancedAn in-depth look at pass-the-hash attacks against NTLM authentication, how they work, real-world exploitation scenarios, detection techniques, and defense strategies.
Active Directory · AdvancedLearn how to use BloodHound and SharpHound for Active Directory reconnaissance, attack path analysis, privilege escalation detection, and security assessment.
Active Directory · AdvancedComprehensive guide to Active Directory enumeration using native tools, PowerShell, and specialized utilities for discovering users, groups, computers, and trust relationships.
Indicates when the secure tunnel is active. Once running, the terminal acts as a background process while network traffic is silently redirected.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.