Process callbacks from client tools, parse and send to ELK
The server is a dockerized flask server with endpoints to receive JSON from various redteam tools. For now, it will be ScavengerPro and Campfire. The flask app will take that JSON, parse it into a log file (which will be easier for logstash to process), then use filebeat to ship that log file to our redteam ELK stack.
You can set the following environment variables to change the way that Chainsaw will act
FLASK_HOST
The IP that Flask will listen on. Defaults to0.0.0.0
FLASK_PORT
The port that Flask will listen on. Defaults to5000
FLASK_DEBUG
Whether or not Flask should run in Debug mode. Defaults to TrueSYSLOG_HOST
The syslog host to send the logs toSYSLOG_PORT
The syslog port to send the logs toLOGFILE
If not using syslog, write the logs to this file