09-10-2010 03:24 PM - edited 03-10-2019 05:07 AM
Welcome to the Cisco Networking Professionals Ask the Expert conversation. This is an opportunity to get an update on Intrusion Prevention System with Scott Fringer. Scott Fringer is a Technical Assistance Center engineer on the intrusion detection system team in Research Triangle Park, North Carolina. His team supports Cisco's various intrusion detection/prevention sensors, the Cisco IOS IPS feature set, Cisco Security MARS, Cisco Security Manager, Cisco Security Agent, and the Cisco Anomaly Detector/Guard products. Fringer has represented the Technical Assistance Center at previous Networkers conferences and currently holds CCSP certification.
Remember to use the rating system to let Scott know if you have received an adequate response.
Scott might not be able to answer each question due to the volume expected during this event. Our moderators will post many of the unanswered questions in other discussion forums shortly after the event. This event lasts through September 24, 2010. Visit this forum often to view responses to your questions and the questions of other community members.
09-16-2010 03:02 AM
Hi Scott,
Our team is looking at mitigating the risk pertaining to the TLS cipher renegotiation (http://isc.sans.org/diary.html?storyid=7534 ) through a Cisco IPS (7.0(2) E4 on 4240/4275). Would it be possible for you to shed some light on this subject, is there any signature in particular that would do this job.
We are looking at mitigating this risk on any inbound traffic from the internet to our environment.
Thank You
09-16-2010 04:38 AM
Ali;
There is not a specific signature for Cisco's IPS sensors to detect an exploit of this vulnerability. Cisco's IntelliShield site (http://www.cisco.com/security) does have a security alert regarding this vulnerability:
http://tools.cisco.com/security/center/viewAlert.x?alertId=19361
To determine if a custom signature could be created would require capturing network traffic of the vulnerability being exploited and reviewing the captures to determine if there is any indentifiable/recurrent patterns.
At this time, the best mitigation looks to be implementing the available patches from each vendor.
Scott
09-16-2010 07:30 AM
Hello Scott,
I’m new to IPS and have a question (it may be dumb, so forgive me).
Is there any way to tie together multiple signatures as a type of compilation event? That is, when I see two separate signatures fire, 5606/0 and 16297/1, which turns out to be when an internal user gets prompted to log in at a DMZ system which is not part of the Windows Domain. I hope that makes sense enough to warrant an answer.
When I get some training under my belt I'll be dangerous...
Thanks for helping!
LC
09-16-2010 07:55 AM
LC;
Not a dumb question at all; and they all warrant an answer.
It is certainly possible to create a signature event based on the occurrence of two separate signatures firing in a specific order. To accomplish this, you will need to make use of the meta signature engine. This engine can combine multiple signatures (meta-components) into a single event when the component signatures fire. You can find out more about the meta engine here:
So, you can create a new custom signature that is based on the meta engine. Within the signature definition you would add signatures 5606/0 and 16297/1 as components. You would then set various requirements such as component ordering, component count, etc to tune the meta signature to fire based on your requirements.
Good luck with your training and learning - and feel free to come back to the Cisco Support Community with any other questions you may have.
Scott
09-17-2010 01:53 PM
I want to filter the src IP address on a signature.
Is there a way to say 'not equal to a value'? such as !10.10.0.0/16.
Thanks
09-17-2010 05:46 PM
While you cannot configure an exclusion via negation in the signature definition, you can create an event action filter (EAF) for that specific signature and that specific source (attacker) IP address. You can then set the actions to subtract for that EAF to not produce an alert, or deny traffic or any other available action.
You can read more about event action filters here:
This should allow you to achieve the same result of ignoring a specific source IP address for the given signature.
Scott
09-20-2010 12:38 PM
Hi, I'm looking for some guidelines on tuning the signatures available on an IPS4240 installed inline on an Internet-edge connection. I'm seeing that many signatures are enabled by default, and others are not. Short of looking through each and every signature, are there any guidelines for controlling these, or are they already optimized as received from Cisco? For example, in sig0 there are a whole bunch of "IOS IPS" signatures enabled. Are these just for IPS on IOS devices, or are these specific signatures protecting IOS devices. If just for IOS IPS, should I disable them all?
Thanks,
Pat
09-20-2010 12:48 PM
Pat;
As signature updates are made available, the signature developers work to ensure that currently active threats are able to be detected by the IPS. To that end, the defaultly enabled signatures are usually sufficient to meet those needs, and stepping through each and every signature may not be necessary. Though familiarizing yourself with those signatures that are available can be beneficial should you have legacy systems still running in your environment - this would allow you to enable signatures that may exist to detect any legacy exploits.
In regard to your question regarding noticing a "whole bunch" of IOS IPS signatures; if these were noted by selecting the "IOS IPS" category within IDM - this is simply a logical grouping of signatures. These "IOS IPS" signatures are those that are able to be implemented on a Cisco router running a supported release of IOS. These signatures are not limited to use only by IOS IPS, and disabling them will reduce the protection afforded by your IPS sensor. Signatures can belong to multiple categories.
Thanks,
Scott
09-20-2010 03:51 PM
Hello.
We have a 4240 running inline with software 7.0(4)E4 on our edge.
There have been a few occasions where the IPS has reached 100% Inspection Load and whenever this happens it just drops packets. The interfaces themselves are not saturated because we only have 200M from our ISP.
What troubleshooting tips would you advice so I could drill down on the actual cause of the Inspection Load reaching 100%? When this occurs it usually stays at 100% for 5to10minutes.
Thank you.
-
Jun
09-20-2010 04:53 PM
Jun;
The first thing to keep in mind is that the IPS-4240 is rated up to 250 Mbps throughput - traffic composition and sensor configuration can lower this rate. A potential configuration impact to sensor performance can come from excessive signature tuning/enabling of all signatures.
While the interfaces may not be processing at line rate, you can see if the sensor is over-subscribed by checking the interface statistics:
sh interface
The key indicators to check would be on the interfaces assigned to your inline pair; of interest are:
Total Receive Errors = 4215
Total Receive FIFO Overruns = 4240
sh stat virt
Total TCP packets processed since reset = 1297446Total UDP packets processed since reset = 5534273
Total packets processed since reset = 18898040Total IP packets processed since reset = 10958049
Number of seconds since a reset of the statistics = 509614
sh stat event-store
The number of times the event store circular buffer has wrapped = 5
Per-Signature SigEvent count since resetSig 1101.0 = 6Sig 1306.0 = 10Sig 2000.0 = 5041Sig 2004.0 = 24999
17Sep2010 10:11:36.389 18.139 sensorApp[841] IdsEventStore/W errWarning - the event store wrapped around [IdsEventStore::writeEvent(), index = 58590]
09-21-2010 08:43 AM
Thank you!
That was very helpful. The event store has wrapped 3 times in 17days. It seems like I need to do a lot more tuning or maybe disable some of the low risk signature.
I do have a TAC case open on this. The engineer advised to clear the stats while the issue is occurring and collect the stats after.
I'll post an update.
Thanks!
09-21-2010 07:29 AM
Hi Scott, can you please explain the data archiving functionailty within IME. I'm interested in details about maintaining past events, disk space management, and historical log file retention. Can the archive files be moved off the appliance, and if so, can they be re-imported at a later date, say for running reports? Any information about working with the events archive is appreciated, similar to how you would maintain old syslogs in case you needed to go back in time and research something. Any commands used to monitor disk space/log file size is appreciated too.
Thanks,
Pat
09-21-2010 10:05 AM
Pat;
The data archiving facility within IPS Manager Express (IME) is provided as a method to maintain performance of the IME system. IME stores events in a local MySQL database. The default storage is to store 1,000,000 events in 100 data files. You can adjust these values to better meet your storage needs; events per file can be configured to store between 1,000 and 1,000,000 events and the number of data files can range from 10 to 400.
There is no direct space monitoring/management functionality in the IME GUI. You can monitor system disk space via standard Windows tools. The data files are stored in:
\Program Files\Cisco Systems\Cisco IPS Manager Express\MYSQL\data\alarmDB
You can monitor this directly to see the direct impact of IME on the system's disk space. Standard Windows Explorer detail view should allow you to see the current file size of each archive file.
There is no functionality present to support moving the archive data from the IME system and restoring it at a later time. As long as the data files remain on the IME server, you can query for any date range that is currently stored in those files. If you need further protection for accessing data at a date that may be removed from the system, you may want to consider backing up the IME installation on a regular basis for restore to another system for archive review. Please note that this is only a possible solution, not fully tested.
Scott
09-21-2010 09:56 AM
What is the best way to configure IOS IPS to take action on the numerous viruses/malware/Trojans that are prevalent on any network at any given time? I have my routers configured with the IOS IPS to notify SDEE but how can I know that the signatures that are enabled are applicable for worms, Trojans, etc? How do I verify that I truly have the signatures enabled to alert me or any event relating to the IOS IPS?
09-21-2010 10:54 AM
David;
The most intuitive method for managing IPS signatures on a Cisco router is through the use of the Cisco Configuration Professional (CCP). This free GUI application allows you to fully manage and tune individual IPS signatures that are enabled on your IOS-based router (along with other router configuration options). CCP should be able to provide you a view of the installed signatures grouped by categories such as attack, dos, ddos, etc. You can find out more about CCP and download it here:
You can also make use of similar commands from the router CLI to see details of active signatures and other operational states. Some commands of interest would be:
show ip ips signature-category
show ip ips signatures
Based on the output of this command, you should be able to determine the enabled signatures for each category.
Scott
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide