Template:IDS Policy Manager Setup

From ImageStream Router Documentation

(Difference between revisions)
Jump to: navigation, search
(Add a new sensor)
Line 1: Line 1:
===Installation===
===Installation===
:*Download and install the IDS Policy Manager software from www.activeworx.org/programs/idspm
:*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===
===Add a new policy===
Line 42: Line 47:
::*''Test Command'': If ''Run Test Snort Before Restart'' is enabled, enter ''Checkconf snort''
::*''Test Command'': If ''Run Test Snort Before Restart'' is enabled, enter ''Checkconf snort''
::*''Test Fails if Output Contains'': Enter ''Failure''
::*''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.
 +
  <pre>
 +
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...
 +
done.
 +
 +
  Mounting add-on program partition read-only...
 +
done.
 +
 +
success (process id 3939)
 +
</pre>

Revision as of 00:28, 12 May 2009

Contents

Installation

  • 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 to add 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

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

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

success (process id 3939)
Personal tools
Router software releases