Building a C2 Framework in Modern C++23 (The Architecture of Malware)

Опубликовано: 17 Июнь 2026
на канале: Erarnitox
3,817
136

In this video, we dive into client and server network communication within C++, building our own custom RAT (Remote Administration Tool) or C2 (command and control framework). We cover the basics of what is a server and how to implement a client server network. This project also touches on aspects of cybersecurity and ethical hacking, providing a practical example for those interested in network programming.

Written instructions and Code can be found here:
https://www.erarnitox.de/pub/cpp_tut/

Link to the Playlist:
   • Learn Modern C++23  

The Github Repository:
https://github.com/Erarnitox/MalvexC2

The C2 Matrix:
https://docs.google.com/spreadsheets/...

Join my Discord Community:
  / discord  

My Links:
👾 https://github.com/Erarnitox
X https://x.com/Erarnitox
💧 https://www.erarnitox.de/

Tags
#cpp #tutorial #imgui #linux #windows #github

Timestamps
0:00 Introduction
0:20 What is a C2 Framework
1:45 Designing our own C2 Framework
2:30 Designing the Networking
8:57 Planning the UI
9:50 UI Case Studies
14:13 Planning the Implant
16:44 Updating our Design
19:50 Database Overview
21:41 (Attacker) REST API Design
23:50 The Tech Stack
24:55 How the Builder works
26:25 How to do Persistence
27:10 Some Stealth
28:25 A look at the final Product
34:20 A look at the Code
46:00 REST API Testing with Postman
47:14 A useful SQLite Plugin
50:46 The UI & More Code
57:42 Building & Setup
1:04:00 Github Repository & Call for Help
1:04:44 A look at the C2 Matrix
1:06:00 What others have to offer
1:06:46 There is much more!
1:09:45 Good Bye!