4: Testing the agent

First, start up a Havoc teamserver and start a HTTP listener This is what our custom agent will be calling back to.

Then we run the python handler to register our custom agent. Do take note of the service credentials for the Havoc service. For this post I have left it as default, but if you have changed it you need to change it in your script accordingly.

Now we can run our agent and we should have a callback.

We can try running commands such as shell {commandhere} and exit to test that they work.

We have successfully created a third party agent and integrated it into Havoc C2!

Last updated