When Marty Roesch originally wrote Snort, he considered shipping it without any rules. Marty envisioned that Snort users would write their own rules, customized for their environment. Keep this in mind when you're deploying Snort on your customer's network. In the first Snort Report I wrote, "Snort is not a 'badness-ometer.' One cannot expect to run Snort on an arbitrary network location and simply start discovering malicious activity." Rules represent a rule writer's best approximation of a means to detect a certain type of network event.
Snort rules -- and any similar mechanism that performs some degree of matching against a packet or stream of packets -- are designed to alert an operator to a network event of interest. The two critical components in this statement are "network event" and "of interest." Snort rules often represent an inference -- sometimes even an educated guess -- that a particular network event has occurred. This network event is usually identified as a suspicious or malicious activity, but some of the network events could be utterly benign. Given the right combination of matching and/or inspection, Snort rules can be told to identify
Requires Membership to View
To gain access to this and all member only content, please provide the following information:
By submitting your registration information to SearchSecurityChannel.com you agree to receive email communications from the TechTarget network of sites, and/or third party content providers that have relationships with TechTarget, based on your topic interests and activity, including updates on new content, event notifications, new site launches and market research surveys. Please verify all information and selections above. You may unsubscribe at any time from one or more of the services you have selected by editing your profile, unsubscribing via email or by contacting us here
- Your use of SearchSecurityChannel.com is governed by our Terms of Use
- We designed our Privacy Policy to provide you with important disclosures about how we collect and use your registration and other information. We encourage you to read the Privacy Policy, and to use it to help make informed decisions.
- If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States.
The second important part of the statement above is "of interest." One Snort operator might think a certain rule or set of rules is absolutely critical to his environment, while another Snort operator couldn't care less. There is no right or wrong answer here. This is one of the main reasons Marty Roesch didn't want to ship rules with Snort. Who could say that an operator of Microsoft Windows IIS Web servers would want to run a set of rules detecting attacks against Apache Web servers, or vice versa?
Snort Report -- IDS Snort rules
Introduction
False positives
Sourcefire rules
Bleeding Edge Threats rules
Acquiring Snort rules
Activating Snort rules
Loading rules
About the author
Richard Bejtlich is founder of TaoSecurity, author of several books on network security monitoring, including Extrusion Detection: Security Monitoring for Internal Intrusions, and operator of the TaoSecurity blog.
This was first published in April 2007