đŠInstalling and Configuring Network Based IDS In Ubuntu: Suricata
Install Suricata In Ubuntu
Modify The Configuration File
In the Line no 15 Change the HOME_NET IP address subnet to your machines IP subnet
In the Line no 580 change the Interface from eth0 to your local interface name (In my case it is enp0s3)
In the Line no 661 change the Interface from eth0 to your local interface name (In my case it is enp0s3)
In the Line no 129 change the community-id from false to true
You can add custom rules after Line no 1875
Update Suricata
List Suricata Rules

Download Rulesets

Enable A Source

Test The Suricata Configuration File
Run Suricata
View The Logs
Test If The Data Is Logged Or Not?
Make a Curl Request
View The Logs
Suricata Custom Rules
Create a Custom Rule
Add the Below Line In local.rules file
Add the local.rules file name/path in suricata.yaml file
Add the below text after the Line no 1875 in suricata.yaml file
Save the file and exit
Install jq
View the Latest Logs
Last updated
Was this helpful?