plink.exe
Plink, short for PuTTY Link, is a Windows command-line tool that comes as a part of PuTTY. The tool is a choice for many sysadmins.
Before 2018, Windows did not have a native SSH client so users would have to install their own. Plink is PuTTy's command-line counterpart.
Instead of pulling our own tools onto a host and risk the chance of being exposed, we can live off the land and use what is already there.
Using plink.exe
Dynamic Port Forward
The -D
flag sets up dynamic port forward. The client listens on port 9050
and implements a SOCKS server.
Remote Port Forward
Confirming Port Forward
We open local port 9833 on our Kali Host
Connecting Successfully
Pulling plink.exe on compromised host
We can pull the plink.exe binary on our compromised host
Locating Binary on Kali Box
Downloading Binary on Compromised host
Last updated