taburtuaiC2

module
v0.0.0-...-8d1123e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2026 License: MIT

README

taburtuai C2

Author: mjopsec  ·  Version: 2.0.0  ·  License: MIT

A modular, OPSEC-minded Command & Control framework written in Go, built exclusively for authorized red team engagements and penetration testing exercises.

What It Is

Taburtuai C2 is a full-stack command and control framework server, operator CLI, implant builder, and agent designed around realistic adversary tradecraft. It prioritizes operational security at every layer: encrypted traffic that blends into normal web activity, agents that hide during sleep, and techniques that evade modern endpoint detection.

The framework supports the full lifecycle of a red team engagement: initial access delivery, persistence, lateral movement, credential access, and exfiltration — all coordinated from a single team server with multi-operator support.

Core Capabilities

Infrastructure

  • Team server with SQLite-backed durability — agents, commands, and results survive restarts
  • Multi-listener architecture: HTTP, HTTPS/TLS, WebSocket, DNS authoritative
  • Multi-operator support with agent claim/release and broadcast events
  • Vue 3 web dashboard for real-time monitoring
  • Two-phase encrypted comms: AES-256-GCM bootstrap → ECDH P-256 ephemeral session key

Implant & Evasion

  • Sleep masking: VirtualProtect(PAGE_NOACCESS) + RC4 memory encryption during sleep
  • AMSI and ETW patching (in-process bypass without spawning child processes)
  • NTDLL unhooking: restore .text from clean disk copy, removing EDR hooks
  • Hardware breakpoint (HWBP) installation via Vectored Exception Handler
  • Anti-debug, anti-VM, and anti-sandbox checks
  • Hell's Gate indirect syscall (PEB walk + SSN resolution + syscall;ret gadget)
  • Malleable C2 HTTP profiles: Office365, CDN, jQuery, Slack, OCSP traffic mimicry

Post-Exploitation

  • Process injection: CRT, APC, hollowing, thread hijacking, module stomping, section mapping
  • PPID spoofing: spawn processes under a chosen parent PID
  • Credential access: LSASS dump, SAM hive, browser passwords, clipboard
  • Lateral movement: WMI, WinRM, DCOM, scheduled tasks, Windows services
  • Token manipulation: steal/impersonate/make tokens, RunAs under alternate identity
  • Alternate Data Streams: write, read, execute payloads from NTFS ADS
  • BOF/COFF loader: execute Beacon Object Files in-memory
  • Network pivot: in-process SOCKS5 proxy, port forwarding, TCP scan, ARP scan
  • Registry: read, write, delete, enumerate keys and values
  • Reconnaissance: desktop screenshot, keylogger, process listing
  • Persistence: registry Run, scheduled tasks, services, WMI subscriptions, startup folder

Payload Builder

  • Cross-platform targets: Windows (primary), Linux, macOS
  • Output formats: EXE, DLL, ELF, shellcode, PowerShell script
  • OPSEC profiles baked at compile time: default, stealth, aggressive, opsec, paranoid
  • PE masquerade: version resource and company/product metadata spoofing
  • Optional Garble-based code obfuscation and binary compression
  • Alternative transports: DNS-over-HTTPS, ICMP echo, SMB named pipe

Architecture Overview

Operator CLI ──────────────────────────────────────────────┐
Web Dashboard ──────────────────┐                          │
                                ▼                          ▼
                         ┌─────────────────────────────────────┐
                         │           Team Server               │
                         │  ┌──────────┐  ┌────────────────┐   │
                         │  │ REST API │  │  SQLite Queue  │   │
                         │  └──────────┘  └────────────────┘   │
                         │  ┌──────────┐  ┌────────────────┐   │
                         │  │ Profiles │  │  Team Server   │   │
                         │  └──────────┘  └────────────────┘   │
                         └─────────────────────────────────────┘
                                         │
                              Encrypted Beacon
                              (AES-256-GCM)
                                         │
                         ┌───────────────▼─────────────────────┐
                         │               Agent                 │
                         │  ┌──────────────────────────────┐   │
                         │  │  Beacon Loop (configurable)  │   │
                         │  │  Sleep Mask  │  Evasion      │   │
                         │  │  60+ commands dispatched     │   │
                         │  └──────────────────────────────┘   │
                         └─────────────────────────────────────┘

Documentation

Full operator documentation is available in the wiki:

Page Description
Quick Start Get the server, CLI, and first agent running in minutes
Architecture How components fit together and how traffic flows
Configuration Server and agent configuration reference
Building Payloads Generate command: stager, stageless, formats, profiles
Operator Console Interactive console usage and all available commands
Agent Management List, inspect, and manage connected agents
Command Execution shell, cmd, status, history — with output examples
File Operations Upload and download files through the encrypted channel
Process Management List, kill, and start processes on the target
Persistence Registry, scheduled tasks, services, WMI — all methods
Code Injection All 6 injection methods with OPSEC comparison
Evasion AMSI, ETW, HWBP, sleep masking, NTDLL unhook
Credential Access LSASS, SAM, browser passwords, clipboard
Reconnaissance Screenshot, keylogger, network and ARP scan
Token Manipulation Token steal, impersonate, make_token, RunAs
Lateral Movement WMI, WinRM, DCOM, schtask, service
Network Pivot SOCKS5 proxy, port forwarding, registry
C2 Profiles Malleable HTTP profiles and OPSEC profiles
OPSEC Guide Operational security practices for engagements
Engagement Scenarios Full attack chain examples end to end

This tool is provided solely for authorized penetration testing, red team engagements, and security research.
Use against systems you do not own or lack explicit written permission to test is illegal and unethical.
The author assumes no liability for misuse.

Directories

Path Synopsis
cmd
agent command
agent/evasion.go
agent/evasion.go
generate command
taburtuai-generate — implant builder and delivery template generator.
taburtuai-generate — implant builder and delivery template generator.
listener command
smb_relay — Named pipe → HTTPS C2 relay.
smb_relay — Named pipe → HTTPS C2 relay.
operator command
server command
sign command
sign — Authenticode self-signed binary signer for Windows PE files.
sign — Authenticode self-signed binary signer for Windows PE files.
stager command
strenc command
strenc — compile-time string encryption helper.
strenc — compile-time string encryption helper.
implant
creds
Package creds provides credential access techniques for the agent implant.
Package creds provides credential access techniques for the agent implant.
evasion
Package evasion provides EDR/AV evasion techniques for the agent implant.
Package evasion provides EDR/AV evasion techniques for the agent implant.
exec
Package exec provides execution primitives for the agent implant.
Package exec provides execution primitives for the agent implant.
inject
Package inject provides process injection techniques for the agent implant.
Package inject provides process injection techniques for the agent implant.
lateral
Package lateral provides lateral movement techniques for the agent implant.
Package lateral provides lateral movement techniques for the agent implant.
persist
Package persist provides persistence establishment techniques for the agent implant.
Package persist provides persistence establishment techniques for the agent implant.
pivot
Package pivot provides network pivoting capabilities for the agent implant.
Package pivot provides network pivoting capabilities for the agent implant.
recon
Package recon provides host reconnaissance techniques for the agent implant.
Package recon provides host reconnaissance techniques for the agent implant.
internal
api
listener/dns
Package dnslistener implements a minimal authoritative DNS server for C2.
Package dnslistener implements a minimal authoritative DNS server for C2.
services
Package services — teamserver.go Multi-operator team server hub.
Package services — teamserver.go Multi-operator team server hub.
pkg
profiles
Package profiles defines malleable C2 HTTP profiles.
Package profiles defines malleable C2 HTTP profiles.
transport
Package transport — dns.go Native DNS C2 transport: sends payload encoded in DNS TXT queries to an authoritative server, reads commands from TXT responses.
Package transport — dns.go Native DNS C2 transport: sends payload encoded in DNS TXT queries to an authoritative server, reads commands from TXT responses.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL