VILLAIN
HOAXSHELL
REVERSE SHELL
KALI
ToolsC2Red TeamOctober 11, 2026•8 min read

Villain: The Open-Source C2 That Makes Reverse Shells Behave

A free framework that turns fragile reverse shells into stable, HTTP-beaconing sessions and lets operators share them across instances. Built for red teams — which is exactly why defenders should know it.

Scroll

Villain is an open-source command-and-control and backdoor framework for managing and enhancing reverse shells, built by Panagiotis Chartas (“t3l3machus”). Its stated purpose is authorized penetration testing, red-team work and CTF use: it handles multiple concurrent reverse shells, makes them more stable, and federates sessions across cooperating instances. It is dual-use because the same session-management, payload-generation and HTTP-beacon capabilities serve an intruder on an unauthorized host, and its inclusion in Kali Linux lowers the barrier to adoption. No named criminal or APT campaign has been publicly attributed specifically to Villain — treat it as a widely available dual-use capability rather than a campaign-proven threat.

Overview

Villain is written primarily in Python, generates PowerShell and shell payloads, and is distributed through GitHub and Kali. It integrates the author’s HoaxShell project, which uses ordinary HTTP and HTTPS request-and-response as the C2 channel — traffic that blends with web browsing and evades controls tuned for raw TCP shells. The author notes the inter-instance encryption is intentionally modest, since the tool targets pentest use.

Capabilities

Default service ports

A default install exposes team-server, reverse-TCP, HoaxShell and file-smuggler handlers on fixed ports; these are operator-changeable, so treat them as indicators, not reliable signatures.

MITRE ATT&CK Mapping

Note

Analyst-mapped; Villain has no official ATT&CK Software entry.

TacticTechniqueUsage
Command and ControlT1071.001 Web ProtocolsHoaxShell HTTP beacon
ExecutionT1059.001 PowerShellWindows payloads
ExecutionT1059.004 Unix ShellLinux payloads
Command and ControlT1105 Ingress Tool TransferFile smuggler, script injection
Command and ControlT1572 Protocol TunnelingEncrypted proxy between instances

Detection & Mitigation

Detect Commodity C2 Frameworks

Mjolnir Security helps organisations detect open-source C2 frameworks abused in intrusions.

Managed Detection & ResponseThreat HuntingPurple TeamingIncident ResponseEndpoint Hardening
  • Managed Detection and Response Monitoring for HTTP-beacon C2 and anomalous PowerShell network activity.
  • Purple Teaming Validating detections against open-source C2 frameworks like Villain.
  • 24/7 Incident Response Containment when hands-on-keyboard C2 is detected. Call +1 833 403 5875.
Written by: Mjolnir Security  |  Published: October 11, 2026