boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources
boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources

02. ProxyChains

Proxychains has come up briefly in earlier tasks. It's very useful, though not without drawbacks: it can slow a connection down badly, and running an Nmap scan through it is especially hellish. Where possible, prefer static tools and route through proxychains only when you have to.

That said, here's the tool itself.

Proxychains is a command line tool, activated by prepending proxychains to another command. To proxy netcat, for example:

proxychains nc 172.16.0.10 23

No proxy port is specified in that command, because proxychains reads its options from a config file. The master config file lives at /etc/proxychains.conf. That is the default, but it is actually the last place proxychains looks. The search order is:

  1. The current directory (i.e. ./proxychains.conf)
  2. ~/.proxychains/proxychains.conf
  3. /etc/proxychains.conf

This makes it easy to configure proxychains for a specific job without touching the master file. Just run cp /etc/proxychains.conf ., then edit the copy in your current directory. If you move around directories a lot, drop it in a .proxychains directory under your home directory instead for the same effect. If you lose or wreck the master copy, a replacement can be downloaded from here.

Only one section of proxychains.conf matters to us right now: the list of proxy servers at the very bottom of the file. You can set more than one server here to chain proxies together, but for now we'll stick to one.

The "ProxyList" Section

[ProxyList]

## Add Proxy Here ...

## Meanwhile

## Defaults Set to "Tor"

socks4 127.0.0.1 9050

This is where you choose which port(s) to forward the connection through. By default there is one proxy set to localhost port 9050, the default port for a Tor entrypoint if you choose to run one on your attacking machine. That isn't much use to us, so change it to whichever (arbitrary) port the proxies we set up in the following tasks will use.

One other line in the config is worth attention: the proxy DNS setting.

When scanning through proxychains, this option can cause an Nmap scan to hang and eventually crash. Comment out the proxy_dns line with a hashtag (#) at the start of the line before scanning through the proxy.

Other Things to Note When Scanning Through Proxychains