infokek / suricata-telegram-notifier

The service for Suricata alerts notifying in Telegram
Apache License 2.0
6 stars 1 forks source link
blueteam home-assistant security suricata telegram-bot

suricata-telegram-notifier

This service for Suricata alerts to get notifications via Telegram Messenger. It can help to get alerts faster in your Telegram account using Telegram Bot API. It creates message with secure clickable IP-addresses that can be checked via VirusTotal.

messages vt_link vt_check

This service requires root rights to run Suricata in system mode. It can work as systemd service or can work as native.

Installation:

service_ini

Create Telegram Bot and get BOT_TOKEN using BotFather. Then get your Telegram User ID using myidbot. Specify interface that you would like monitor. You can specify multiply interfaces. To mute alert of specific rule (if you have messages spamming) you can specify sid or sids in BLACKLISTS_SIDS. For example you should mute sid 2033967, ET Telegram API Domain TLS SNI or you will get many messages with alerts

chmod +x install.sh
sudo ./install.sh

These steps will create systemd service:

Troubleshooting

TODO