BitNinja Alerts on Slack or Discord with Make Integration
In the first article, we will learn how to keep track of DoS, WAF, or Malware Incidents and send alerts to Slack or Discord using an excellent automation tool called Make (previously called Integromat). The benefit of this is being updated on any attacks almost instantly.
Creating the Make automation
4. Choose Custom Webhook
5. Name the Webhook, such as "BitNinja Incident Alerts."
6. Once done, you should have a Webhook URL created.
7. Click on the "Copy address to clipboard" below as the screenshot indicates.
8. Do NOT close the browser tab yet. We will need this to connect to your internal communications.
Setup the Webhook in BitNinja
// Our Recommendations
Remember, of course; this has to be fine-tuned to the size of your server. If you host more than 50 websites, you will likely need to increase the thresholds not to spam your communication channels.
Threshold
Slack
We will set the alerts in case you or your team use Slack for internal communications.
Please go ahead and return to the Make Scenario tab in your browser and add a new one as shown in the screenshot.
Discord
Finally, we will set this for Discord which is getting popular in the business area aside from gaming. The whole thing is very similar.
*Malware Alert** The threshold ({{1.threshold}}) has been reached in the last {{1.timeWindowMinutes}} minutes on server: {{1.serverName}}
4. If you are looking for a more appealing type, toggle the "Show Advanced Settings."
5. Customize it to your needs. Unfortunately, the buttons are not added by Make.com itself; therefore, I haven't added them in the Discord example, but you can achieve the same with HTTP calls. (You will need your bot though).
Alternatively of course you can add the links to the message.
6. Enjoy the alerts!
Also, if you have any questions or issues with BitNinja or the tutorial above itself, please don't hesitate to let me know.
See you next week when we learn how to integrate this with Zapier!