Suricata cheatsheet
A network guard that raises an alarm on suspicious traffic
How it works
- Watch — Suricata reads traffic from a network interface.
- Compare — Packets are checked against detection rules.
- Alert — Matches are written to log files.
- Act — Defenders investigate, or IPS mode blocks.
First steps
suricata --build-info- Check the build
sudo suricata-update- Download the latest rules
sudo suricata -T -c /etc/suricata/suricata.yaml- Test your configuration
sudo tail -f /var/log/suricata/fast.log- Watch alerts live