course archive · antisyphon training

Building a C2 Framework in Go

Build a fully functional Command and Control framework from scratch. Multi-protocol communication, dynamic protocol switching, encrypted channels, and shellcode execution.

january 2026·16 hours·solutions on github ↗

overview

Over 16 hours you'll build a C2 framework that communicates over HTTPS and DNS, switches protocols on operator command, executes shellcode via reflective DLL loading, downloads files from target systems, persists through reboots, and authenticates and encrypts all of its traffic. By the end you'll have a working C2 system and a deep understanding of the Go patterns that make it possible.

  1. 00foundation

  2. 01architecture

  3. 02https communication

  4. 03dns communication

  5. 04protocol switching

  6. 05security layer

  7. 06command infrastructure

  8. 07agent execution framework

  9. 08extending the framework

  10. 09wrap-up