Home > Security Channel Tips > Snort Report > Snort rules
Security Channel Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

Snort rules


Richard Bejtlich
Rating: -4.33- (out of 5)

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 int...


RELATED CONTENT
Open Source Security Tools
Using SnortSP and Snort 2.8.2
OSSEC Host-Based Intrusion Detection Guide
How to find new features in Snort 2.8.2
How to use shared object rules in Snort
Snort frequently asked questions
How to test Snort
How to run IDS Snort on Red Hat Enterprise Linux 5
Working with Snort's unified output
Output options for Snort data
Snort IDS installation basics and tips for security resellers

Open Source Security Software
Network session data analysis with Snort and Argus
How to use shared object rules in Snort
Why is the Snort IDS still alive and thriving?
Is Snort right for the IDS needs of all clients?
What is the difference between Snort and Bro?
How can the operator test Snort?
What does the future hold for Snort?
What extra functionality do Snort add-ons provide?
Does Snort support target-based intrusion detection?
Will deploying Snort detect malicious events quickly?

Snort
The power of Snort 3.0
When Snort is not enough
Justifying Snort
Network session data analysis with Snort and Argus
How to use shared object rules in Snort
Why is the Snort IDS still alive and thriving?
How can the operator test Snort?
How can I learn more about Snort?
Snort limitations
Top five Snort tips

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


erest." 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 any sort of packet -- or even stream of packets -- desired by the rule author. In some cases, however, the means by which the rule author chooses to identify a network event might apply to traffic that is not what he wanted to identify. I'll return to this thought when I discuss false positives.

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?

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.


Rate this Tip
To rate tips, you must be a member of SearchSecurityChannel.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogsEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2006 - 2010, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts