Skip navigation

Step-by-Step Snorting the Easy Way

Here are the steps you should perform when installing Snort for the first time. Don't overlook the resources and reading materials that will help you understand and get the most from this handy utility.

  1. Download and read the Snort user’s manual and FAQ (http://www.snort.org). Learn what each command-line parameter, preprocessor, and plugin does; understand the Snort configuration file; and know how to analyze the output that Snort creates.


  2. Download and read Snort Help documents available on the Internet. Try searching http://www.secadministrator.com and http://www.sans.org for relevant information, as well as performing a few search-engine searches.


  3. Decide what you want to do with Snort (e.g., packet sniffing, network intrusion detection).


  4. Decide where you want to install Snort.


  5. Decide how you want to track Snort's output (e.g., ASCII log files, MySQL, syslog).


  6. Download and install Silicon Defense’s installer file (swIb10.exe) from http://www.silicondefense.com.


  7. Download the most current rule sets from http://www.snort.org and other sources? and place them in Snort's rules folder.


  8. Double-click the IDScenter icon on the desktop, then right-click the IDScenter system tray icon and choose Settings.


  9. Click Test configuration to test the default installation for errors.


  10. Configure Snort’s main settings by reviewing each IDScenter area and making any needed changes. Save and test the configuration often between configuration changes.


  11. Be sure to turn on and off rule sets as needed in your environment.


  12. To test logging and alerting, create a test rule that any type of TCP traffic will activate, such as
    alert tcp any any -> any any 
      (msg: "Test rule-TCP Traffic detected";)
    Open a TCP session on a monitored machine to create traffic for Snort to sniff (e.g., open an Internet browser session to any external host site), then check the log directory and alert log for activity.


  13. Consider subscribing to Snort mailing lists to stay up-to-date on the latest Snort versions and bug fixes.
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish