Python
Last updated
Was this helpful?
Was this helpful?
+------------+ +------------+ +----------------+ +------------+
| Client | | C2 | | Stager | | Agent |
+------------+ +------------+ +----------------+ +------------+
| | | |
| | | |
| Request Staging | | |
|------------------------->| | |
| | | |
| | Generate Staging Key | |
| | & Profile (AES/HMAC) | |
| |------------------------->| |
| | | |
| Send Staging Key & | | |
| Profile | | |
|<-------------------------| | |
| | | |
| | | Decrypt Staging Profile |
| | |<---------------------------|
| | | |
| | | Generate Diffie-Hellman |
| | | (AES Session Key) |
| | |<---------------------------|
| | | |
| | | |
| | | | Decrypt
| | | | Tasking
| | | | using AES
| | | | Session Key
| | | |<-------|
| | | |
| | | | Execute
| | | | Tasks
| | | |<-------|