A PoC to working with Havoc ExternalC2. With communicate through Microsoft GraphAPI channel
Agent automatically get access token based on refresh token.
First. Create External C2 Listener
Then run listener.py and handler.py
BOOM.

This is just a PoC to leverage graph.microsoft.com as a communicate channel. The process of syncing is just scrap. The response maybe slow. And im not fully implement the command handler to handle the command. Example sometimes it does not have any output because the files is deleted