Linux:
Create a cron job to start a socat script that redirects TCP 443 from the redirector to 10.10.10.10:
crontab -e
@reboot /usr/bin/socat TCP-LISTEN:443,fork / TCP:10.10.10.10:443 &
Windows:
Use the netsh command to create a persistent port redirection rule that redirects TCP 443 from the redirector to 10.10.10.10:
netsh interface portproxy add v4tov4 listenport=443 listenaddress=10.20.20.20
connectport=443 connectaddress=10.10.10.10
There are several methods and techniques for redirection. The examples in this book focus on exposing the need that redirectors are critical to an engagement. Red Team operators must include a set of processes and technical approaches in the Red Team toolbox.
Share with your friends: