Daily learning part fifty-seven.
Today I finished the C2 (Command & Control) project. Firstly, I implemented TLS encryption in the C2 server by generating a self signed certificate and configuring flask to serve HTTPS instead of HTTP. Then I added XOR encryption with base64 encoding to both task commands and result outputs. I added threading to the agent file so it allows the agent to execute long running commands in the background while still checking for new tasks. I uploaded the project to GitHub.
GitHub repo link:
https://github.com/4ynow/flask-c2-server
"The dynamic laws of service have a way of compounding. The more you do, the more you can do." Mary McLeod Bethune
Top comments (0)