|
|||||||||||||
Intrusion Detection Systems (IDSs): Perspective
| ||||
|
| |||
| Table of Contents | |||
| List of Tables | |||
| Table 1: | Strengths and Weaknesses of Network-Based Intrusion Detection Systems | ||
| Table 2: | Strengths and Weaknesses of Host-Based Intrusion Detection Systems | ||
| Table 3: | Strengths and Weaknesses of Misuse Detection | ||
| Table 4: | Strengths and Weaknesses of Anomaly Detection | ||
| Table 5: | Leading IDS Products | ||
| Technology Basics [return
to Table of Contents] The Need for Intrusion Detection [return to Table of Contents] According to a recent study by the Computer Security Institute (CSI) and the Federal Bureau of Investigation (FBI), a staggering 70 percent of organizations surveyed reported a security incident. This figure is up from 42 percent reported in 1996. Taking into account organizations' reluctance to admit to incidents or their inability to detect them, the true figure is likely to be higher. E-business has driven organizations to open their networks to wider audiences over the Internet—home and mobile workers, business partners, suppliers, and customers—in order to stay competitive. But such open networks expose the organizations to intrusions—attempts to compromise, the confidentiality, integrity, or availability, or to bypass the security mechanisms of a computer system or network. Intrusion detection is the process of monitoring the events occurring in a computer system or network and analyzing them for signs of intrusion. But why is intrusion detection necessary? Is it not enough for an organization to use a firewall to control access to its network and maybe a virtual private network (VPN) to secure communications? Deploying firewalls and VPNs is a good thing. A robust firewall policy can minimize the exposure of many networks. Nevertheless, such countermeasures alone are not enough. Attackers Are Getting SmarterAttackers are evolving their attacks and network subversion methods. These techniques include e-mail-based Trojan horses, stealth scanning techniques, and tunneling attacks in which an attacker masks traffic that should be screened by the firewall by encapsulating it within packets corresponding to another network protocol, such as Internet Control Message Protocol (ICMP) or domain name system (DNS). Vulnerabilities Are ProliferatingAttackers also take advantage of vulnerabilities attributed to system misconfiguration, poorly engineered software, user neglect and carelessness, and basic design flaws in protocols and operating systems. There is an ever-growing list of application vulnerabilities, and attackers are very good at exploiting these via protocols, such as HTTP, that are let through by almost any firewall. "Hacker" Tools Make Attacks Easier Although many network scanning and attack techniques have been known for several decades, it is only recently that the tools to conduct sophisticated analysis of a target network have become widely available. As the sophistication of "hacker" tools has increased, the technical knowledge required to attack a network has fallen, so organizations are exposed to a rapidly growing number of potential attackers. Insider Attacks Are Still PredominantWhile outsiders may frequently and increasingly perpetrate misuse, it is still more often the result of malicious insider activity. This is because a legitimate (but untrustworthy) user can take advantage of physical access, some level of genuine privilege, and knowledge of local security measures (objects an outsider must endeavor to acquire illicitly). Perimeter defenses cannot protect against this kind of attack. Intrusion Detection Systems [return to Table of Contents]An intrusion detection system (IDS) is a software product or hardware device that automates the intrusion detection process. Without such automation, effective intrusion detection is practically impossible. An IDS's capability to apply the latest security and attack expertise to separate a relatively few potentially interesting events from a vast amount of benign activity enables much more effective network security administration and facilitates timely response. Functional ComponentsAn IDS is made up of three functional components:
The system obtains event information from one or more information sources, performs a preconfigured analysis of the event data, and then generates specified responses, ranging from reports to active intervention when it detects intrusions. There is also a management system that allows a security or network administrator to monitor and configure the system and to analyze the data. These components may or may not be running on the same box, and all of them may not be present. System Monitoring ApproachesBroadly, the two system monitoring approaches are:
A NIDS monitors all network traffic passing on the segment where the agent is installed, reacting to any anomaly or signature-based suspicious activity. NIDSs come in the guise of turnkey appliances that just plug in to the network or software that installed on commercial off-the-shelf (COTS) computers. A NIDS usually has two logical components:
The sensor sits on a network segment, analyzing every network packet for attack signatures. The console receives alarms from the sensor(s) and displays them to an administrator. The sensors are usually dedicated systems that exist only to monitor the network. They have a network interface in promiscuous mode, which means they receive all network traffic, not just that destined for their IP address, and they capture passing network traffic for analysis. HIDSIn its narrowest sense, a HIDS is an IDS that monitors platform and application event logs from multiple sources for suspicious activity. Host computers may include user workstations (including specialized applications such as Web browsers), peripherals (such as printers), specialized servers such as Web servers, or network components (such as firewalls, routers, and switches). HIDSs use software modules installed on each monitored host. HIDSs can detect computer misuse from trusted insiders as well as from those who have infiltrated a corporate network. They look for unusual activity confined to the local host such as logins, improper file access, unapproved privilege escalation, or alterations on system privileges:
| |||
| Table 1 | ||||||||||||
| Strengths and Weaknesses of Network-Based Intrusion Detection Systems | ||||||||||||
| [return to List of Tables] | ||||||||||||
| ||||||||||||
| Table 2 | ||||||||||
| Strengths and Weaknesses of Host-Based Intrusion Detection Systems | ||||||||||
| [return to List of Tables] | ||||||||||
| ||||||||||
| Analysis Strategy Analysis strategies fall into two basic types: knowledge-based misuse detection and behavior-based anomaly detection. Vendors, however, are often leery of having their proprietary analysis strategies categorized so simply. Knowledge-Based Misuse DetectionKnowledge-based detection methods use information about known security policy, known vulnerabilities, and known attacks on the systems they monitor. This approach, also known as misuse detection, compares network activity or system audit data to a database of known attack signatures or other misuse indicators, and pattern matches produce alarms of various sorts. The most common form of misuse detection used in commercial products specifies each pattern of events corresponding to an attack as a separate signature. More sophisticated IDSs use state-based analysis techniques; for example:
HIDSs generally use rule-based engines for analyzing activity. An example of such a rule might be, "superuser privilege can only be attained through the su command." Therefore successive login attempts to the root account might be considered an attack. All commercial systems use some form of knowledge-based approach. Thus, the effectiveness of current commercial IDSs is based largely on the validity, currency, and expressiveness of their database of known attacks and misuse, and the efficiency of the matching engine that is used. Behavior-Based Anomaly DetectionBehavior-based detection methods use information about repetitive and usual behavior on the systems they monitor. Also called anomaly detection, this approach notes events that diverge from expected (based on repetitive and usual) usage patterns. One technique is threshold detection, in which certain attributes of user and system behavior are expressed in terms of counts, with some level established as permissible. Such behavior attributes can include the number of files accessed by a user in a given period; the number of failed attempts to log in to the system; and the amount of CPU used by a process. Another technique is to perform statistical analysis on the information, build statistical models of the environment, and look for patterns of anomalous activity (e.g., accesses that occur at strange times, or an unusual number of failed logins). Some vendors are now incorporating this technology in commercial products, but it is difficult to engineer for commercial products, as well as uncommon. There is now a considerable amount of active research in adaptive systems. These start with generalized rules for the environment, then learn, or adapt to, local conditions that would otherwise be unusual. After the initial learning period, the system understands how people interact with the environment, and then warns operators about unusual activities. | |||
| Table 3 | ||||||||
| Strengths and Weaknesses of Misuse Detection | ||||||||
| [return to List of Tables] | ||||||||
| ||||||||
| Table 4 | ||||||
| Strengths and Weaknesses of Anomaly Detection | ||||||
| [return to List of Tables] | ||||||
| ||||||
| Timing of Information Sources and
Analysis An IDS might work in either batch mode or real-time mode. All COTS products that vendors market as IDSs work in real time or "near" real time. NIDS are generally true real time. HIDS can be real time, but this demands a mechanism to capture an event at the same time that the audit record is being written, which is technically more challenging. It is easier for a HIDS to read the logs just after the records have been written, which imposes a small delay. This delay is not significant where an organization is trusting in a manual response, but can reduce the effectiveness of an automatic active response (e.g., forcibly terminating a user's session) by the IDS. A system performing analysis of network packets or audit records at intervals longer than about 15 minutes cannot respond quickly enough to meet most organizations' expectations for an IDS. Nevertheless, batch mode analysis of IDS data can be valuable in at least two ways:
Response Options—Passive or Active An IDS may respond to an identified attack, misuse, or anomalous activity in two ways. The first (and clearly universal) is a passive response, one where the IDS simply informs responsible personnel of an event by way of console messages, e-mail, cellular phones or pagers, and report updates. Some commercial IDSs generate Simple Network Management Protocol (SNMP) alarms and alerts, reporting them to a network management system. Less often, the IDS also has the capacity to engage in an active response to critical events where (as specified by an administrator) it takes corrective or proactive action. Actions can include:
When it detects a threat, an IDS generally sends an alert to a centralized management console where alert information can be recorded and brought to the attention of an administrator. Some IDSs can generate reports of system events and intrusions detected over a particular reporting period (say, a week or a month). Some provide intrusion data in formats suitable for inclusion in database systems or for use in report-generating packages (such as Crystal Decisions' Crystal Reports). IDS ConfigurationTypically, an IDS provides capabilities for selecting which attacks are monitored. Depending on the specific implementation of an IDS, an administrator might be able to select:
This capability is critical to optimize the monitoring capability for an IDS. In this way, it is possible to focus the sensor on specific events of interest, and the response that the IDS will have on the detection of events. Technology Analysis [return to Table of Contents]Business Use [return to Table of Contents] Intrusion detection allows organizations to protect their systems from the threats that come with increasing network connectivity and reliance on information systems. Given the level and nature of modern network security threats, the question for security professionals should not be whether to use intrusion detection, but which intrusion detection features and capabilities to use. IDSs have gained acceptance as a necessary addition to every organization's security infrastructure. When used conscientiously and knowledgeably, IDS products can provide worthwhile indications of malicious activity and spotlight security vulnerabilities, thus providing an additional layer of protection. Without them, network administrators have little chance of knowing about, much less assessing and responding to, malicious and invalid activity. Properly configured, IDSs are especially useful for monitoring the network perimeter for attacks originating from outside and for monitoring host systems for unacceptable insider activity. IDS products automatically review massive amounts of network and system data in real time, identify suspicious activity, provide real-time automated notification to security personnel, guide further investigation, and sometimes automatically respond to specified attacks. Properly used, an IDS product can detect common attacks, attempts to exploit known weaknesses, network probes, or critical resource overloads in a reasonably timely manner. By identifying successful invalid activity, IDSs can indirectly spotlight network and system vulnerabilities, enabling fixes and fine-tuning. Benefits and Risks [return to Table of Contents]Benefits Deters Problem Behaviors By increasing the perceived risk of discovery and punishment for those who would attack or otherwise abuse the system, an IDS can serve as a significant deterrent to insiders who would violate an organization's information security policy. Detects Misuse That Other Countermeasures Cannot PreventAlthough vendors and administrators are encouraged to address vulnerabilities that an attacker can exploit, this is not possible in many situations:
An IDS can detect when an attacker has penetrated a system by exploiting an uncorrected or uncorrectable flaw. Furthermore, it can serve an important function in system protection, by bringing the fact that the system has been attacked to the attention of the administrators who can contain and recover any damage that results and, perhaps, address the vulnerability against future attacks. Detects and Deals With the Preambles to AttacksPreparatory activity is commonly experienced as network probes and other "doorknob rattling." When adversaries attack a system, they typically do so in predictable stages. The first stage of an attack is usually probing or examining a system or network, searching for an optimal point of entry. In systems with no IDS, the attacker is free to thoroughly examine the system with little risk of discovery or response and will eventually find a vulnerability and exploit it to gain entry to various systems. The same network with an IDS presents a much more formidable challenge to that attacker. Although the attacker may probe the network for weaknesses, the IDS will observe the probes, will identify them as suspicious, may actively block the attacker's access to the target system, and will alert security personnel who can then take appropriate actions to block subsequent access by the attacker. Documents the Existing Threat to an OrganizationAn IDS substantiates claims that networks and systems are likely to be attacked or are even currently under attack—many people mistakenly deny that anyone (outsider or insider) would be interested in breaking into their networks. Furthermore, if an organization understands the frequency and characteristics of attacks, it can better determine what security measures are appropriate to protect against those attacks. Acts as Quality Control for Security Design and AdministrationWhen an IDS runs over a period, patterns of system usage and detected problems can become apparent. These can highlight flaws in the design and management of security for the system, in a fashion that supports security management correcting those deficiencies before they cause an incident. Provides Useful Information About Intrusions That Do Take PlaceEven when IDSs are not able to block attacks, they can still collect relevant, detailed, and trustworthy information about the attack that supports incident-handling and recovery efforts. Furthermore, this information can, under certain circumstances, enable and support criminal or civil legal remedies. Ultimately, such information can identify problem areas in the organization's security configuration or policy. RisksAn IDS Is Not a Panacea Despite the positive impact it can have on an organization, no IDS is indestructible and certainly should not be the only security measure that an organization employs. Only by combining an IDS with other countermeasures—such as firewalls, VPNs, and antivirus products—does an organization protect from a realistic range of security attacks. This combination is sometimes called security in depth or defense in depth. Active Response Can Create Not Prevent ProblemsBecause hackers can use automatic responses to deny service, organizations must approach proactive responses with extreme caution. They are in themselves dangerous, since the reaction may cut off innocent individuals or shut down entire networks or services, thus cutting off many innocent users, who may, as a result, become furious. Within an organization, mistakes of this sort create hostility towards security and might result in loss of earnings. Externally, they might leave the organization legally liable and will inevitably create bad press. The IDS That Cried "Wolf!" If there are 10 real attacks per million sessions—which is almost certainly an overestimate—then even if the system has a "false positive" rate as low as 0.1 percent, the ratio of false alarms to real alarms will be 100:1. (The problem is much worse where anomaly detection is employed to alert administrators about unusual activity that might signal a new form of attack, as this technique generates far more false positives.) This is a well-known issue for guards' response to burglar alarms and for medics running screening programs for diseases where the test error exceeds the organism's prevalence in the population. In general, where real alarms are so rare in comparison with false alarms, an alarm system is likely to so fatigue the guards that even the genuine alarms get missed. Human Intervention Is Still RequiredWhile the IDS can identify that an intrusion has occurred or is in process, and it may be able to provide the intruder's IP address, the security administrator or network manager must then investigate the attack, determine how it occurred, and correct the problem. In short, an organization must have both the capability and, moreover, the will to respond promptly to any alert at any time. An organization should have incident-handling procedures describing how it will handle security incidents, such as viruses, insider abuse of systems, and attacks. These should, at a minimum, assign roles and responsibilities for all parties within the organization, outline the actions that are to be taken when an incident occurs, and establish schedules and content for training everyone about their responsibilities in the incident-handling process. Furthermore, the organization should make provisions to conduct "fire drills" in which all organizational parties step through their specific responsibilities and assignments. Standards [return to Table of Contents]Intrusion Detection Exchange Protocol (IDXP) The Internet Engineering Task Force (IETF) Intrusion Detection Working Group (IDWG) (Internet: www.ietf.org/html.charters/idwg-charter.html) is working to define data formats and exchange procedures for sharing information of interest to intrusion-detection and response systems and to management systems that may need to interact with them. The design involves sending XML-based alerts over an HTTP-like communications format. The WG has paid a lot of attention to the needs of IDS analysis, and to making the protocol work through firewalls in a straightforward way. Its recent Internet Drafts include The Intrusion Detection Exchange Protocol (IDXP) (11 September 2001) and Intrusion Detection Message Exchange Format Data Model and Extensible Markup Language (XML) Document Type Definition (November 2001), and appears to be close to publishing Requests for Comments (RFCs). The IDWG has built on some of the work of Common Intrusion Detection Framework (CIDF) (Internet: www.gidos.org/), begun in 1997, but which has been dormant since early 2000. International Organization for Standardization/International Electrotechnical Commission (ISO/IEC) WD 15947: 1999 Information Technology—Security Techniques—IT Intrusion Detection FrameworkThe ISO/IEC Joint Technical Committee 1 Subcommittee 27 Working Group 1 (JTC 1/SC 27/WG 1) is working to define a framework for detection of intrusions into IT systems. It seeks to establish common definitions for intrusion-detection terms and concepts. It describes the methodologies and concepts and the relationships among them, addresses possible orderings of intrusion detection tasks and related activities, and attempts to relate these tasks and processes to an organization's procedures to demonstrate the practical integration of intrusion detection within a corporate security policy. This Technical Report (TR) has languished as a Working Draft (WD) since December 1998. All target dates for further drafts and the final TR have passed. Common Criteria Protection ProfilesA Protection Profile (PP) is an implementation-independent set of security requirements for a category of products or systems that meet specific consumer needs, as defined by the Common Criteria for Information Technology Security Evaluation (International Standard ISO/IEC 15408:1999). The Information Assurance Technical Framework Forum (IATFF), an organization sponsored by the U.S. National Security Agency (NSA), has published a number of PPs for IDSs and vulnerability assessment (VA) scanners. (Internet: www.iatf.net/protection_profiles/intrusion.cfm) Common Vulnerabilities and Exposures (CVE)CVE is a list of standardized names for vulnerabilities and other information security exposures. CVE aims to standardize the names for all publicly known vulnerabilities and security exposures in order to make it easier to share data across separate vulnerability databases and security tools. While CVE may make it easier to search for information in other databases, CVE is not a vulnerability database. The content of CVE is a result of a collaborative effort of the CVE Editorial Board, which includes representatives from numerous security-related organizations such as vendors, academic institutions, government agencies, and prominent security experts. The MITRE Corporation maintains CVE and moderates Editorial Board discussions. The current version of CVE is free to use and available for download from the CVE Web site (Internet: www.cve.mitre.org/about/). Selection Guidelines [return to Table of Contents]Suitability Organizations should consider requirements and constraints imposed by their network topology and hardware and software infrastructure:
An IDS product must be adaptable to the network or system it monitors. It should provide the organization with the means to customize monitoring, attack responses, event prioritization, and so on. Possible customizable features include:
Given its criticality to the security of any enterprise, an effective IDS must be resistant to malicious tampering. The features that determine this include:
It is extremely advantageous if IDS products are able to interoperate at some level with other network management and security tools, including:
It is essential that an IDS provide the means for the user to effectively manage security events. This may include the following:
There are a number of features that can make an IDS product eminently more useful to a user; and in fact can determine whether the product is even considered for purchase, or if acquired, is effectively used. Critical support factors include:
The IDS research field is still comparatively young, with most research dating from the 1980s and 1990s, and wide-scale commercial use from the mid-1990s. However, the intrusion-detection market has grown into a significant commercial presence. Gartner Research reported a 73 percent growth in the $153 million IDS software market in 2000. The leader by market share is Internet Security Systems (ISS) with 47 percent. The second largest is Computer Associates with 29 percent. Symantec and Network Associates also have IDS offerings, although they currently have little share and are seeing low growth. (Cisco is not represented in these figures as it offers a hardware-based IDS.) | |||
| Table 5 | ||||||||||||||
| Leading IDS Products | ||||||||||||||
| [return to List of Tables] | ||||||||||||||
| ||||||||||||||
Other Vendors
None of these IDS vendors offers a HIDS product for IBM zSeries eServer hosts (mainframes). A number of specialist vendors do offer batch-mode System Management Function (SMF) audit log analysis tools:
Of these, BETA and Vanguard now offer real-time alerting, with CONSUL developing this functionality. Super-IDS ProductsA number of vendors offer products that consolidate information from IDS products and other sources (firewalls, routers, OSes, etc.), present it to a unified monitoring console, and analyze and correlate events across the organization's infrastructure. Some vendors brand these products as threat management solutions. Vendors offering such products include:
Commercial IDSs are still in their formative years. Some commercial IDSs have received negative publicity due to their large number of false alarms, awkward control and reporting interfaces, overwhelming numbers of attack reports, lack of scalability, and lack of integration with enterprise network management systems. However, the strong commercial demand for IDSs will increase the likelihood that vendors will successfully address these problems in the near future. It is very likely that certain IDS capabilities will become core capabilities of network infrastructure (such as routers, bridges, and switches) and operating systems. In this case, the IDS vendors will be able to better focus their attention on resolving some of the pressing issues associated with the scalability and manageability of IDS products. Other trends in computing will affect the form and function of IDS products including the move to appliance-based IDSs. It is also likely that certain IDS pattern-matching capabilities will move to hardware in order to increase bandwidth. Technology Alternatives [return to Table of Contents]Consolidated Audit Management (CAM) Products A number of vendors offer products that gather, normalize, and analyze event and audit data from multiple platforms. While some of these include a real-time HIDS component, the main benefit of these products is not prompt response to attack. By securely aggregating all data, and evaluating them consistently against a "universal" policy, these products allow:
Vendors offering CAM products include:
These products are an alternative to dedicated real-time HIDS products, but offer limited or no real-time responses and poor interoperability with NIDS products and management consoles. Managed Security Monitoring (MSM)An IDS is only a tool. To get benefit from it, an organization needs people—people who can analyze alerts and detect real attacks, and people who know how to respond to attacks. Considerable expertise and continuous vigilance are required to detect all attacks and to respond effectively to them. Few enterprises can recruit, train, and retain enough people with the necessary expertise. Most MSM offerings leverage the organization's investment in IDSs and other security technology; some use vendor-specific NIDS devices. They use a combination of sophisticated proprietary software and human expertise to detect attacks on the organization's networks and to respond to those attacks—typically by advising the organization's on-site technicians. For about the cost of one security expert an MSM customer gets a team of security experts trained in attack recognition and diagnosis that monitors the organization's network 24×7. Nevertheless, the organization itself must be prepared to take prompt remedial action and properly follow up any security incident. A number of vendors offer MSM services, most in combination with other managed security services:
A number of products are more widely recognized as complementing IDSs. These countermeasures each address a particular security threat to an organization's system—and each has weak and strong points. Only by combining them together with an IDS—defense in depth—does an organization protect from a realistic range of security attacks:
Maintaining a honey pot requires a considerable amount of attention and may offer as its highest value nothing more than a learning experience—that is, the organization may not catch any attackers. A honey pot is probably the last defense-in-depth component that an organization should consider. Insight [return to Table of Contents]IDS technology has improved dramatically over time. Initially developed to automate tedious and difficult log parsing activity, IDS products have developed into sophisticated applications with the ability to monitor network traffic and host audit logs to expose malicious activity. But, like a firewall, an IDS is not itself a complete security solution. Network-based and host-based IDSs must be used along with complementary countermeasures—firewalls, antivirus software, vulnerability assessment products, etc.—as a component of defense in depth. IDSs will soon be seen as an indispensable and integral component of any comprehensive security program and will likely become as ubiquitous as firewalls. Even so, while many attacks will be detected, some will be missed, and for every real attack, there will be more (probably many more) false alarms. IDS products will need the continuous attention of a staff of knowledgeable and skilled technicians to tune and customize the IDS and to investigate and respond to all alarms. Organizations lacking security staff, or having three or more IDS sensors, may benefit from managed security monitoring services to help them identify and investigate attacks. But any organization must have the capability and will to respond—otherwise an IDS is completely ineffective. | |||
| Entire contents © 2002 Gartner, Inc. All rights
reserved. Reproduction of this publication in any form without prior
written permission is forbidden. The information contained herein has been
obtained from sources believed to be reliable. Gartner disclaims all
warranties as to the accuracy, completeness or adequacy of such
information. Gartner shall have no liability for errors, omissions or
inadequacies in the information contained herein or for interpretations
thereof. The opinions expressed herein are subject to change without
notice. Resource ID: 320015 | ||