Skip to content

Add SOCKS5 proxy authentication and daemon support - #8

Merged
kinokopio merged 4 commits into
masterfrom
zig-dev
Jan 12, 2026
Merged

Add SOCKS5 proxy authentication and daemon support#8
kinokopio merged 4 commits into
masterfrom
zig-dev

Conversation

@kinokopio

Copy link
Copy Markdown
Contributor

Implemented username/password authentication for SOCKS5 proxies, including handshake and credential validation. Added support for launching a standalone socks5_daemon process on implants using memexec in stealth mode with custom process names. Updated backend and frontend to handle proxy credentials, randomize ports and credentials, and provide improved UX for proxy management. Refactored process spawning in memexec and revshell to use double-fork for stealth and to avoid zombie processes. Updated types and API to reflect new authentication fields.

- Add socks5.zig BOF for establishing tunnel from implant to C2
- Add SOCKS5 service with support for multiple concurrent servers
- Add tunnel protocol for bidirectional data forwarding
- Support one implant binding multiple SOCKS5 ports
- Add REST API endpoints for managing SOCKS5 servers and tunnels
- Integrate tunnel endpoint into listener service
- Add ProxyTab component with SOCKS5 server management table
- Display proxy ID, protocol, port, status, and actions
- Support starting/stopping multiple proxy servers per implant
- Show tunnel status and usage instructions
- Add SOCKS5 types and API methods to frontend services
- Add listener selection dropdown when no tunnel exists
- Automatically execute socks5 BOF to establish tunnel
- Wait for tunnel connection before starting SOCKS5 server
- Show loading state during tunnel creation
- One-click proxy setup without manual BOF execution
@kinokopio
kinokopio merged commit 9d62bf9 into master Jan 12, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant