Open source intrusion prevention system capable of real-time traffic analysis and packet logging
open sourceGPL-2.0-onlyself-hostablefree
Snort is an open source intrusion prevention system from Cisco: it matches network traffic against rules that identify malicious activity and alerts on it or, deployed inline, drops the matching packets, and it also works as a packet sniffer and packet logger. Snort 3, a rewrite of Snort 2, runs any number of packet threads per process, configures and scripts with LuaJIT, has a plugin system with more than 200 plugins, detects services without port configuration, and inspects HTTP fully statefully. Cisco Talos writes the rules: the GPLv2 Community Ruleset is free, a free registration gives the Subscriber rules 30 days after release, and paid Personal and Business subscriptions get them immediately. The engine is GPL-2.0 only, and snort.org also offers OpenAppID application detectors and an IP block list.
Ways to install
Package managers
Problems it solves
- detect intrusion attempts on our network with free signature rules maintained by a professional threat research team
- block exploit traffic inline on a Linux gateway instead of just logging it
- get IPS rules for newly disclosed vulnerabilities the day they come out, without buying a security appliance
- write my own detection rules to alert on a specific attack pattern in network traffic
- sniff and log packets on my home network to see whether anything is attacking it
- replay a packet capture through an intrusion detection engine to find the attacks in it
- identify which applications are running on our network from their traffic, whatever port they use
- block connections to and from known malicious IP addresses on our network sensor with a maintained blocklist
- scale network intrusion detection across many CPU cores on one sensor
- detect port scans against our servers with thresholds we can tune
- inspect HTTP traffic statefully at the network edge to catch web attacks
- detect attacks on industrial control system protocols such as Modbus and DNP3 in network traffic
- catch variants of known exploits that exact-match IDS signatures miss, using machine learning
- an open source IDS/IPS engine we're allowed to build into our own security product and resell rules for
- an open source network intrusion prevention system we can run on our own servers instead of a commercial NGIPS
Features
- intrusion detection and inline intrusion prevention, plus packet sniffer and packet logger modes
- any number of packet processing threads per process, with shared configuration and memory
- plugin system with more than 200 plugins; plugins can be written with LuaJIT
- simple, scriptable Lua configuration that reports every configuration error at once
- automatic service detection for port-independent configuration
- fully stateful HTTP inspector and a reworked TCP stream implementation
- rule language with sticky buffers, service rules, file rules and file identification rules
- rule options for HTTP, DCE, SIP, GTP, DNP3, Modbus and other protocols
- SnortML machine learning detection
- port scan detection with configurable thresholds
View 5 more
- DAQ 3 packet acquisition library with vector input
- Hyperscan pattern matching option (PCAP readback up to 4x faster than Snort 2)
- Talos rulesets: free Community (GPLv2), free Registered (30 days behind) and paid Subscriber (immediate)
- OpenAppID application detectors and the Talos IP block list as free downloads
- extras packages that show how to build your own plugins
Limitations
- Doesn't run on Windows (Snort 3): Windows support is on Snort 3's roadmap, and snort.org's Windows installer is for Snort 2.9 only23
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what Snort does.
