Template:IDS Policy Manager Setup

From ImageStream Router Documentation

Revision as of 00:36, 12 May 2009 by Syoder (Talk | contribs)
Jump to: navigation, search



  • Download and install the IDS Policy Manager software from www.activeworx.org/programs/idspm

Configure Settings

  • Select Options => Settings from the menu.
  • Enter your Oink Code
You must create an account with snort.org to obtain an Oink Code https://www.snort.org/reg-bin/userprefs.cgi

Add a new policy

  • Double-click on Snort Policies in the left-hand tree view.
  • Right-click on Snort Policies and select Add Policy.
  • Enter a name for the policy.
  • Select Snort Version Snort 2.7
  • Make sure the Initialize Policy checkbox is checked.
  • Click OK

Edit the new policy

ImageStream Variables
  • Click on the new policy to expand the tree view.
  • Click on Variables
  • Right-click on the right-hand pane with the list of variables and select Add Item
  • Enter SNORT_IFACE for the Name and the interface name for the Value.
  • Other Snort/Snort ImageStream Variables
Output Modules
  • Double-click on the database log,mysql line to set MySQL settings
  • Click the Enabled checkbox
  • Facility: Select log
  • Host/Username/Password/DB Name: Enter your MySQL database information.
  • Sensor Name: Enter the router's name.
  • Detail: Select Full
  • Double-click on the alert full line to disable file-based alerts.
  • Click the Enabled checkbox
  • Filename: Enter /dev/null
  • Double-click on the log_tcpdump line to disable file-based logging.
  • Click the Enabled checkbox
  • Filename: Enter /dev/null

Add a new sensor

  • Double-click on Snort Sensors in the left-hand tree view.
  • Right-click on Snort Sensors and select Add Sensor.
  • Name: Enter the router's name.
  • Description: Enter a description for the router.
Sensor Settings Tab
  • Sensor Host: Enter the router's hostname or IP address.
  • Policy: Select the policy you created earlier from the dropdown.
  • Snort Version: Select 2.8.
Upload Settings Tab
  • Upload Protocol: Select SFTP from the dropdown. Leave the default SSH port (22). Enable Use Compression.
  • Upload Directory: Enter /usr/local/snort/etc
  • Configuration File: Leave default snort.conf
  • Test Connectivity Command: Leave default uname -a;id
Authentication Tab
  • Username: Enter root
  • Authentication Mode: Leave default Password from the dropdown.
  • Password Settings: Enter and confirm the router's password for root.
Restart Settings Tab
  • Restart after Upload: Enable
  • Restart method: Select Script via SSH from the dropdown.
  • Restart script: Enter Restart snort
  • Run Test Snort Before Restart: If the router has 512 MB of RAM or more you may enable this option.
  • Test Command: If Run Test Snort Before Restart is enabled, enter Checkconf snort
  • Test Fails if Output Contains: Enter Failure

Update Rules

  • Click on Snort Sensors in the left-hand tree view.
  • Click on the Update Policies icon above the left-hand menu.
  • Click the Start button to download rules files from snort.org.

Update Sensors

  • Click on Snort Sensors in the left-hand tree view.
  • Click on the Upload Policies to Sensors icon above the left-hand menu.
  • Enable the Update checkbox.
  • Click the Start button to upload rules and configuration files to the router.
  • Click the View Log button to ensure Snort was restarted properly.
Done Uploading to Sensor Scott home.

Restart Log

Restarting Sensor Scott home.
Pid file /var/run/snort_eth0.pid is stale! Removing...

Snort service is not running

Starting the Snort service...
  Mounting add-on program partition read-write... 

  Mounting add-on program partition read-only... 

success (process id 3939)
Personal tools
Router software releases