Five IDS mistakes people make


Published on

The article covers the typical mistakes organizations make while deploying an IDS.

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Five IDS mistakes people make

  1. 1. Five IDS mistakes people make<br />Anton Chuvakin, Ph.D., GCIA, GCIH<br />WRITTEN: 2003<br />DISCLAIMER:<br />Security is a rapidly changing field of human endeavor. Threats we face literally change every day; moreover, many security professionals consider the rate of change to be accelerating. On top of that, to be able to stay in touch with such ever-changing reality, one has to evolve with the space as well. Thus, even though I hope that this document will be useful for to my readers, please keep in mind that is was possibly written years ago. Also, keep in mind that some of the URL might have gone 404, please Google around.<br />The article covers the typical mistakes organizations make while deploying an IDS.<br />The network intrusion detection systems are in the process of becoming<br />a standard information security safeguard. Together with firewalls and<br />vulnerability scanners, intrusion detection is one of the pillars of<br />modern computer security. While the IDS field is still in motion,<br />several classes of products have formed. Most IDS products loosely<br />fall into network IDS (NIDS) and host IDS (HIDS).<br />Network IDS usually monitors the entire subnet for network attacks<br />against machines connected to it, using a database of attack<br />signatures or a set of algorithms to detect anomalies in network<br />traffic (or both). Alerting and attacks analysis might be handled by a<br />different machine that collects the information from several sensors,<br />possibly correlating IDS alers with other data.<br />It appears that stateful and protocol-aware signature-based network<br />IDS is still the most widely deployed type of intrusion<br />detection. Simplified management and the availability of inexpensive<br />NIDS appliances together with dominance of network-based attacks are<br />believed to be the primary reasons for that.<br />In this brief article we will review several importnat mistakes<br />companies make while planning and deploying the IDS systems. In<br />addition to the obvious mistake (0th, I guess :-)) of not evaluating<br />and deploying the IDS technolgy at all, the issues we cover often<br />decrease or even eliminate the added value the companies might<br />otherwise derive from running an intrusion detection systems.<br />1. Since we already covered the trivial case of " not using an IDS" ,<br />the first mistake we discuss is using it without giving it an ability<br />to see all the network traffic. In other words, deploying the network<br />IDS without sufficient infrastructure planning. Network IDS might be<br />deployed on the network choke point (such as right inside or outside<br />the firewall), on the appropriate internal network segment or in the<br />DMZ to see important traffic. For the shared Ethernet-based networks<br />IDS will see all the network traffic within the Ethernet collision<br />domain or subnet and also destined to and from the subnet, but no<br />more. For the switched networks, there are several IDS deployment<br />scenarios which utilize special switch capabilities such as port<br />mirroring or spanning. Additionally, one might procure an IDS<br />integrated with a switch, such as Cisco IDS blade.<br />2. The second mistake occurs when the IDS is deployed appropriately,<br />but nobody is looking at the alerts it generates. This one is actually<br />much more common than it seems. It is well-known that IDS is a<br />" detection" technology, and it never promised to be a<br />" shoot-and-forget" means of thwarting attacks. While in some cases,<br />the organization might get away with dropping the firewall in place<br />and configuring the policy, such deployment scenario never works for<br />the intrusion detection. If IDS alerts are reviewed only after a<br />successful compromise, the system turns into an overpriced incident<br />response helper tool - clearly not what the technology designers had<br />in mind. It still helps, but isn't it better to learn about the attack<br />from the IDS rather then from angry customers? Being the form of<br />monitoring and network audit technology, IDS still (and likley always<br />will, unless its intelligence improves by orders of magnitude)<br />requires a skilled personnel to run.<br />3. Network IDS is deployed, " sees" all the traffic and there is a<br />moderately intelligent somebody reviewing the alert stream. No more<br />mistakes? Far from it! What is a response policy for each event type?<br />Does the person viewing the alerts know what is the best course of<br />action needed for each event (if any)? How to tell normal events from<br />anomalous and malicious? What events are typically " false positives" <br />(alerts being triggered on benign activity) and " false alarms" (alerts<br />being triggered on attacks that cannot harm the target systems) in the<br />protected environment? How to gather the required context information<br />to answer the above? Unless the above questions are answered in<br />advance by means of a response process, it is likely that no<br />intelligent action is being taken based on IDS alerts - a big mistake<br />by itself.<br />4. All the previous pitfalls are avoided and the NIDS is humming along<br />nicely. However, the staff monitoring the IDS starts to get flooded<br />with alerts. They know what to do for each alert, but how quickly they<br />can take action after receiving the 10,000th alert on a given day? <br />Unfortunately, current network IDS systems have to be tuned for the<br />environment. While the detailed guide for IDS tuning is beyond the<br />scope of this article, two general approaches are commonly used. One<br />approach is to enable all possible IDS rules and spend several days<br />flooded with alerts, analyzing them and reducing the rule set<br />accordingly. This route is more appropriate for internal network IDS<br />deployment. Another solution is to reduce the ruleset to only watch<br />the " risky" services. This works better in a highly secure DMZ setup<br />where all machines are carefully audited and hardened. <br />5. The last mistake is simply not accepting the inherent limitations<br />of network IDS technology. While anomaly-based IDS systems might<br />potentially detect an unknown attack, most signature based IDS will<br />miss a new exploit if there is no rule written for it. IDS systems<br />have to be frequently updated with vendor signature updates. Even if<br />updates are applied on a timely schedule, the exploits which are<br />unknown to the IDS vendor will likely not be caught by the<br />signature-based system. Attackers may also try to blind or evade the<br />NIDS using many tools available for download as well as,<br />undoubtefully, a large collection of non-public tools. There is a<br />constant battle between the IDS developers and those wishing to escape<br />detection. IDS are becoming more sophisticated and able to see through<br />the old evasion methods, but new approaches are created by<br />attackers. Those deploying the network IDS technology should be aware<br />of its limitations and practice " defense-in -depth" by deploying<br />multiple and diverse security solutions.<br />ABOUT THE AUTHOR:<br />This is an updated author bio, added to the paper at the time of reposting in 2009. <br />Dr. Anton Chuvakin ( is a recognized security expert in the field of log management and PCI DSS compliance. He is an author of books " Security Warrior" and " PCI Compliance" and a contributor to " Know Your Enemy II" , " Information Security Management Handbook" and others. Anton has published dozens of papers on log management, correlation, data analysis, PCI DSS, security management (see list . His blog is one of the most popular in the industry.<br />In addition, Anton teaches classes and presents at many security conferences across the world; he recently addressed audiences in United States, UK, Singapore, Spain, Russia and other countries. He works on emerging security standards and serves on the advisory boards of several security start-ups.<br />Currently, Anton is developing his security consulting practice, focusing on logging and PCI DSS compliance for security vendors and Fortune 500 organizations. Dr. Anton Chuvakin was formerly a Director of PCI Compliance Solutions at Qualys. Previously, Anton worked at LogLogic as a Chief Logging Evangelist, tasked with educating the world about the importance of logging for security, compliance and operations. Before LogLogic, Anton was employed by a security vendor in a strategic product management role. Anton earned his Ph.D. degree from Stony Brook University.<br />