Suricata is a IPS (Intrusion Prevention System), a system for the network intrusion analysis. The software analyzes all traffic on the firewall searching for known attacks and anomalies.
When an attack or anomaly is detected, the system can decide whether to block traffic
or simply save the event on a log (
Suricata can be configured using sets of rules organized in uniform categories. Each category can be set to:
Enable: traffic matching rules from this categories will be reported
Block: traffic matching rules from this categories will be dropped
Disable: rules from this categories are ignored
The use of an IPS impacts on all traffic passing on the firewall. Make sure you fully understand all the implications before enabling it. In particular, pay attention to blocking rules that may stop updates to the system itself.
Suricata is configured to use free rules from https://rules.emergingthreats.net/. 1
Selecting the correct rule set is always a trade-off between security and performance. NethServer provides a safe default rule set that can be used in most common scenarios. To use such rule set just click on on the Set default configuration button.
Rules are divided into categories listed below.
Attacks and vulnerabilities(CVE, etc.) regarding ActiveX.
- Attack Response
Responses indicative of intrusion—LMHost file download, certain banners, Metasploit Meterpreter kill command detected, etc. These are designed to catch the results of a successful attack. Things like “id=root”, or error messages that indicate a compromise may have happened.
- Botcc (Bot Command and Control)
These are auto-generated from several sources of known and confirmed active Botnet and other Command and Control hosts. Updated daily, primary data source is Shadowserver.org. Bot command and control block rules generated from shadowserver.org, as well as spyeyetracker, palevotracker, and zeustracker. Port grouped rules offer higher fidelity with destination port modified in rule.
- Botcc Portgrouped
Same as above, but grouped by destination port.
Identification of traffic related to numerous chat clients, irc, and possible check-in activity.
Collective Intelligence generated IP rules for blocking based upon www.cinsscore.com.
This is a list of known compromised hosts, confirmed and updated daily as well. This set varied from a hundred to several hundreds rules depending on the data sources. This is a compilation of several private but highly reliable data sources. Warming: Snort does not handle IP matches well load-wise. If your sensor is already pushed to the limits this set will add significant load. We recommend staying with just the botcc rules in a high load case.
- Current Events
Category for active and short lived campaigns. This category covers exploit kits and malware that will be aged and removed quickly due to the short lived nature of the threat. High profile items that we don’t expect to be there long—fraud campaigns related to disasters for instance. These are rules that we don’t intend to keep in the rule set for long, or that need to be tested before they are considered for inclusion. Most often these will be simple sigs for the Storm binary URL of the day, sigs to catch CLSID’s of newly found vulnerable apps where we don’t have any detail on the exploit, etc.
Suricata specific. These rules log normalization events related to decoding.
Rules removed from the rule set.
Rules for attacks and vulnerabilities regarding DNS. Also category for abuse of the service for things such as tunneling.
Denial of Service attempt detection. Intended to catch inbound DOS activity, and outbound indications.
Rules to block spamhaus “drop” listed networks. IP based. This is a daily updated list of the Spamhaus DROP (Don’t Route or Peer) list. Primarily known professional spammers. More info at http://www.spamhaus.org.
IP based rules for Dshield Identified attackers. Daily updated list of the DShield top attackers list. Also very reliable. More information can be found at http://www.dshield.org.
Exploits that are not covered in specific service category. Rules to detect direct exploits. Generally if you’re looking for a windows exploit, Veritas, etc, they’ll be here. Things like SQL injection and the like, while they are exploits, have their own category.
Example rules for using the file handling and extraction functionality in Suricata.
Rules for attacks, exploits, and vulnerabilities regarding FTP. Also includes basic none malicious FTP activity for logging purposes, such as login, etc.
Rules for the Identification of gaming traffic and attacks against those games. World of Warcraft, Starcraft, and other popular online games have sigs here. We don’t intend to label these things evil, just that they’re not appropriate for all environments.
Rules to log HTTP protocol specific events, typically normal operation.
General rules to track suspicious host network traffic.
Rules for the identification of pornography related activity. Includes Porn, Kiddy porn, sites you shouldn’t visit at work, etc. Warning: These are generally quite Regex heavy and thus high load and frequent false positives. Only run these if you’re really interested.
Malware and Spyware related, no clear criminal intent. The threshold for inclusion in this set is typically some form of tracking that stops short of obvious criminal activity. This set was originally intended to be just spyware. That’s enough to several rule categories really. The line between spyware and outright malicious bad stuff has blurred to much since we originally started this set. There is more than just spyware in here, but rest assured nothing in here is something you want running on your net or PC. There are URL hooks for known update schemed, User-Agent strings of known malware, and a load of others.
Miscellaneous rules for those rules not covered in other categories.
- Mobile Malware
Specific to mobile platforms: Malware and Spyware related, no clear criminal intent.
Rules for the identification, as well as attacks, exploits and vulnerabilities regarding Netbios. Also included are rules detecting basic activity of the protocol for logging purposes.
Rules for the identification of Peer-to-Peer traffic and attacks against. Including torrents, edonkey, Bittorrent, Gnutella, Limewire, etc. We’re not labeling these things malicious, just not appropriate for all networks and environments.
Application Identification category. Includes signatures for applications like DropBox and Google Apps, etc. Also covers off port protocols, basic DLP such as credit card numbers and social security numbers. Included in this set are rules for things that are often disallowed by company or organizational policy. Myspace, Ebay, etc.
Signatures for SCADA attacks, exploits and vulnerabilities, as well as protocol detection.
Things to detect reconnaissance and probing. Nessus, Nikto, portscanning, etc. Early warning stuff.
Remote Shellcode detection. Remote shellcode is used when an attacker wants to target a vulnerable process running on another machine on a local network or intranet. If successfully executed, the shellcode can provide the attacker access to the target machine across the network. Remote shellcodes normally use standard TCP/IP socket connections to allow the attacker access to the shell on the target machine. Such shellcode can be categorized based on how this connection is set up: if the shellcode can establish this connection, it is called a “reverse shell” or a connect-back shellcode because the shellcode connects back to the attacker’s machine.
Rules for attacks, exploits, and vulnerabilities regarding SMTP. Also included are rules detecting basic activity of the protocol for logging purposes.
Rules that will log SMTP operations.
Rules for attacks, exploits, and vulnerabilities regarding SNMP. Also included are rules detecting basic activity of the protocol for logging purposes.
Rules for attacks, exploits, and vulnerabilities regarding SQL. Also included are rules detecting basic activity of the protocol for logging purposes.
Rules for matching TCP stream engine events.
Rules for attacks and vulnerabilities regarding the TELNET service. Also included are rules detecting basic activity of the protocol for logging purposes.
Rules for attacks and vulnerabilities regarding the TFTP service. Also included are rules detecting basic activity of the protocol for logging purposes.
Rules for matching on TLS events and anomalies
IP Based rules for the identification of traffic to and from TOR exit nodes.
Malicious software that has clear criminal intent. Rules here detect malicious software that is in transit, active, infecting, attacking, updating, and whatever else we can detect on the wire. This is also a highly important rule set to run if you have to choose.
- User Agents
User agent identification and detection.
Rules for attacks and vulnerabilities regarding the VOIP environment. SIP, h.323, RTP, etc.
- Web Client
Web client side attacks and vulnerabilities.
- Web Server
Rules for attacks and vulnerabilities against web servers.
- Web Specific Apps
Rules for very specific web applications.
Traffic indicative of network based worm activity.
The bypass disables IPS protection for selected hosts: all traffic from/to the given host will not be analyzed.
To create a bypass access the new Server Manager and open the IPS application, then go to the Bypass page and click on Add bypass button.
Fill the Bypass field and click on Save button. The Bypass field supports:
host groups objects
IP range objects
raw IP addresses
EveBox is a web based alert and event management tool for events generated by the Suricata.
It can be accessed from the Server Manager under thepage.
Categories documentation source: proofpoint - ETPro Category Descriptions