Header
Home | Set as homepage | Add to favorites
  Search the Site     » Advanced Search
Sections
Syndication


Blogroll:

||||| ALL Cisco-Network ARTICLES |||||  
CCIE Journey,
The CCIE Journey,


Verifying the IOS-IDS Configuration

Nov 26,2008 by admin

image

Verifying the IOS-IDS Configuration

A working and well-tested IDS can be very important for the continuity of your business. It ensures all attacks IOS has a signature for are being detected and that alerts are sent to the right place. In this section, we discuss how you can verify and test an IOS-based IDS configuration. We will see examples of commands you can use to verify the working of your IDS. In addition, we look at how to troubleshoot an IDS configuration. The commands and items we will discuss include:

  • show ip audit interfaces

  • show ip audit configuration

  • show ip audit statistics

  • show ip audit session

  • show ip audit debug

  • clear ip audit statistics

  • clear ip audit configuration

  • debug commands

show ip audit interfaces

The show ip audit interfaces EXEC command is used to display the interface configuration. Figure 11.5 shows an example of the output of this command.

In Figure 11.5, the audit rule idstest is applied to interface Ethernet1/0 on an inbound direction. When an informational signature is triggered by certain activity, the router sends an alarm to the configured Syslog or Director. When an attack signature is triggered, an alarm is sent, the packet is dropped, and in case of a TCP session, the session is reset. There is no audit rule applied in an outbound direction.

show ip audit configuration

The show ip audit configuration EXEC command is used to display an overview of configuration information. It includes information not shown using the show running-config command, like the default values of certain parameters. Figure 11.6 shows an example of the output of this command.

Figure 11.6 is an example of how the output of the show ip audit configuration command looks when only the log notification type is used and no PostOffice parameters are configured. As you can see, event notification through the Director is disabled, and PostOffice communications is not enabled.

Figure 11.7 shows the command output of another IOS-IDS sensor.

The first thing we see when looking at Figure 11.7 is that event notification through Syslog and Director are both enabled. This means that each time a signature is triggered an alarm is sent to both locations. The default actions for informational and attack signatures are set and the threshold of recipients for the spam signature has been set to 300. We also see that signature 1107 has been disabled.

In the next section of output, we find PostOffice settings, the current configured notification queue size, and statistics on packets sent between the IOS-IDS sensor and the Director. Using this data, you can verify the communication between the IOS-IDS sensor and the Director. The line ending with the word ESTAB *tells you that a session between IOS-IDS sensor and Director has been established. If you find the word SYN SENT at the end of this line, it means the IOS-IDS sensor tried to set up a session but the Director is not answering, or that the set up of the session has not yet been completed. Figure 11.8 shows an example of the output of the show ip audit configuration command in this situation.

The output of the show ip audit configuration command ends with the audit rule configuration on the router. In Figure 11.6 through 11.8, we see that an audit rule with the name idstest has been configured on this router, plus what actions have been configured for the information and attack signatures under that rule.

Debug Commands

A number of debug commands are available to troubleshoot and test your IDS configuration. A combination of alarms sent by the sensor and certain debug commands is very helpful in testing the quality of your IDS configuration. We saw an example of this earlier in the section, "Responses from the IOS-Based IDS," where we combined alarms with the debug ip audit detailed command. The following list shows the available ip audit debug commands in Cisco IOS; the last two commands are new in IOS 12.2.


Warning 

Use these debug commands with caution on a production system. Some of the commands generate a lot of output and consume available CPU cycles, possibly causing a router to hang.


270 times read

Related news

» The show ip audit all Command
by alperen posted on Sep 16,2009
» The show ip audit configuration Command
by alperen posted on Sep 16,2009
» The show ip audit statistics Command
by alperen posted on Sep 16,2009
» The show ip audit interface Command
by alperen posted on Sep 16,2009
» Responses from the IOS-Based IDS
by admin posted on Nov 26,2008
Did you enjoy this article?
(total 0 votes)

comment Comments (0 posted) 

More Top News
CCSP-Cisco Certified Security Professional
Most Popular
Most Commented
Featured Author