# Proxychains

> Use for routing approved tools through a bounded proxy path during authorized pentests. Trigger on approved pivot-path testing, segmented service validation, and ensuring a specific tool uses the intended proxy or SOCKS route.

- Skill: `timsonner/proxychains` (Agent Skill)
- Install (CLI): `npx skillmds@latest add timsonner/proxychains`
- Raw SKILL.md: https://api.skillmd.com/api/skills/timsonner/proxychains/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: timsonner (https://skillmd.com/u/timsonner)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/timsonner/proxychains

---


# Proxychains

## Purpose

Use this skill when the engagement explicitly permits a proxy path and the current goal is to force a tool through that approved route.

## Phase Fit

- Primary: Validation and Controlled Impact Demonstration
- Secondary: Retest and Closure

## Use When

- Need to ensure a tool uses an approved proxy or SOCKS path.
- Need to validate segmented reachability through a named pivot path.
- Need repeatable routing for retest.

## Avoid When

- The proxy path is not explicitly approved.
- The wrapped tool scope exceeds the approved target boundary.

## Inputs

- Approved proxy or SOCKS route
- Wrapped tool and exact target scope
- Stop conditions and evidence needs

## Procedure

1. Confirm the proxy path is approved and operational.
2. Wrap only the minimum tool and target needed.
3. Record the exact route and wrapped command used.
4. Stop once the path question is answered.
5. Preserve the route and command for retest.

## Command Syntax

Replace sample commands with approved in-scope tools and targets.

```bash
# Configure SOCKS5 proxy in /etc/proxychains.conf:
# socks5 127.0.0.1 1080

# Tunnel nmap TCP connect scan (no SYN scans through SOCKS)
proxychains nmap -sT -Pn -n -p 22,80,443,3389,8080 192.168.1.100

# Tunnel netexec SMB scan
proxychains netexec smb 192.168.1.0/24 -u auditor -p '<password>'

# Tunnel curl
proxychains curl http://192.168.1.100/

# Tunnel evil-winrm
proxychains evil-winrm -i 192.168.1.100 -u auditor -p '<password>'

# Tunnel SSH
proxychains ssh auditor@192.168.1.100

# Use proxychains4 with dynamic chain
proxychains4 nmap -sT -Pn 192.168.1.100
```

## Evidence to Capture

- Whether the approved proxy path worked for the named tool
- Exact route and wrapped command used
- Minimal proof needed for remediation

## Safety Boundaries

- Use only with explicit written approval.
- Wrap only tools and targets already approved in scope.

