|
|
To print: Select File and then Print from your browser's menu
-------------------------------------------------------------- This story was printed from ZDNet Australia. --------------------------------------------------------------
|
Intruder alert January 29, 2003 URL: http://www.zdnet.com.au/reviews/software/security/soa/Intruder-alert/0,139023452,120271574,00.htm
Your data is important to you, but do you know if others are trying to get at it? An Intrusion Detection System (IDS) is a system that is able to detect those that are not behaving as they should. In the real world, your average home or office alarm system is an IDS, it detects intruders and then does something about it by flashing lights, screeching sirens, and ringing the security company. In the IT world, things are more complex, because, unlike your house, your IT system is rarely locked and unused when you are away. The IDS has to discriminate between all the traffic on your systems that is supposed to be there and weed out that which shouldnt be there.
How does an ids work? IDSes come in many forms, with different ways of monitoring and analysing the available data. IDSes monitor events at three different levels: network, host, and application. They can analyse these events using two techniques: signature detection and anomaly detection. Some IDSes have the ability to take action when an attack is detected, but this is something we believe you should think very carefully about and obtain legal advice before attempting. Of the two detection methods, signature detection is most commonly used in commercial IDS products, but anomaly detection is newer and growing. Signature-based detection Anomaly-based detection What types of IDS are available?
Network-based IDSes. Most of the IDSes on the market are based around Network IDSes (NIDS). NIDS work by capturing data from one or more points central to the network and reporting back to a management console. The capture systems must be placed in the network such that they can see all passing traffic. In a fully switched network, there may be difficulties in capturing data unless you can configure your switches to pass a copy of all the traffic to a specific port for the IDS. Pros:
Cons:
Host-based IDSes. Host wrappers or personal firewalls are configured to look at all network packets, attempted connections, or attempted logins to the monitored machine. Host-based agents are designed to monitor accesses and changes to critical system files and changes in user privilege. Ideally your HIDS will simplify the administration of a set of hosts by having the administration functions and attack logs all report to a central IT security console. Pros:
Cons:
What sort of intruders are we looking for?
Theoretically, if a vulnerability or attack is known, all systems should be patched, or workarounds applied and thus the need for a signature based IDS would be nil. Unfortunately the reality is that many systems are not patched or upgraded as vulnerabilities are discovered. This is clearly indicated by the number of system compromises that occur everyday, and the fact that most of the problems are predominantly old, well-known problems, with fixes available. Problem response If the SO is not always around, or there is a reason for heightened security, some IDSes can be configured to automatically respond to attacks. This may take the form of a simple e-mail or page as above, or could include a more active response to stop the attack in progress and then block that entry point. Direct intervention to disrupt communications between an attacker and victim is often called session sniping or knockdown, which is performed by injecting packets to break down the connection that triggered the response. The most effective way to knockdown a TCP connection is to forge packets to reset the connection. To do this, the IDS must forge packets to send to one or both systems with the TCP Reset bit set. Other intervention methods include reconfiguring the perimeter routers and firewalls to block the IP address of the attacker, or block the protocols that are being used. In severe cases, it may be better to break all communications to the targeted system than have it compromised. Further responses may include attempts to actively gain information about the attackers host or site, or even attack it in return. Again, we stress that you should seek legal advice before turning these functions on. How well do they work? On their own, IDSes work fairly well, but they are often too late detecting the problem and shut the gate just as the horse slips out. Implementing IDSes as one layer in a multi-layer overall security architecture (such as firewalls, access control and authentication mechanisms, monitoring tools, vulnerability scanning tools, ID systems, and security training) makes penetration by external intruders more difficult while making intrusion prevention and detection somewhat easier. Intrusion detection is needed because in practice, firewalls cannot provide complete protection against intrusion. Experience teaches us that we should never rely on a single defensive line or technique. A firewall generally serves as an effective filter, stopping many attacks before they can enter an organisations networks. However, firewalls are vulnerable to errors in configuration and ambiguous or undefined security policies. They are generally unable to protect against malicious mobile code, insider attacks, and unsecured internal networks and interfaces. Firewalls rely on the existence of a central point through which traffic flows when the growing trend is towards geographically distributed networks with inside and outside users traversing the same subnets and, therefore, the absence of central points for firewall monitoring purposes. The principle of Defence in Depth is common in physical security, and so it should be the same in IT Security. IDS vs IPS
Lets clear up a common misconception. Intrusion detection and intrusion prevention arent different names for the same market segmenttheyre different names for two distinct categories of security products.
Understand the IDS challenge There are a few fundamental problems with how some IDSes work today. First, as more and more network traffic becomes encrypted, IDSes become useless because they cant parse encrypted traffic. Second, as networks become more heavily switched, they typically see only a small amount of the traffic on your network. On a switched network, you need to greatly increase the number of intrusion detection sensors to monitor traffic on all the network segments. On large networks, this means that the total cost of ownership of IDSes can be very high. Third, IDSes generate a huge number of false positives, telling you that your network is being attacked when its not. These three problems are leading many companies to switch to IPSes. Leading vendors in the intrusion detection market include Cisco, ISS, and NFR. Some IDSes are sold as software packages you install on top of a leading operating system. Others are sold as turnkey appliances, commonly called sensors by the companies that make them. Typically, these devices work by monitoring the traffic on the network, noting which devices they are communicating with and categorising the types of traffic interacting with the devices. Traffic patterns are compared against known attack signatures, and alarms are typically set to go off according to certain thresholds and severity levels. For example, a syn-flood attack might be set to a severity level of high, and an ICMP flood might be set to medium. It is truly important to tune an IDS to report only the minimum data needed to detect an attack. Storing information on every packet header and payload is not useful, and in the long run, it will just create more work and overhead by taking up valuable disk space, requiring additional backups, and increasing storage requirements. Preventing intrusions Leading vendors in the intrusion prevention market include SecureWave and Entercept. These products typically work at the application level by analysing a proposed user action before it accesses and/or modifies any mission-critical files. The requested behaviour of the application must match the desired behaviour that has been previously defined by a standard set of rules. If the proposed action is unusual, the rules that govern the applications behaviour will prevent the action from executing. Some IPSs compare a checksum of the executable with a known good checksum list. If the proposed execution is legitimate, the application is allowed to execute. If there is a mismatch in the checksum hash, the application is not allowed to execute. Unlike IDSes, with IPSes, the logic is applied before the application is executed in memory. Other IPSes work by intercepting systems calls. An IDS still has its place Because IDSes need to collect a large array of traffic to understand anomalous patterns, they typically require a lot of massaging to tune them, interpret the information, and identify false positives. In fact, monitoring IDSes can be a full-time job. We have seen instances where a hacker has actually exploited an IDS, causing it to create a denial of service attack against the organisation its in place to protect. Bottom line Where to deploy?
Depending on your security practices and topology, you'll typically consider four areas for monitoring. These are as follows:
When deciding where to deploy your sensor(s), consider what is most valuable and the attacker's most logical avenue of approach. You also need to make sure that your IDS doesn't degrade the performance of the network segment that you're monitoring. Software-based IDS
IDS appliances
Subscribe now to Australian Technology & Business magazine.
About RMIT Test Labs
RMIT IT Test Labs is an independent testing institution based in Melbourne, Victoria, performing IT product testing for clients such as IBM, Coles-Myer, and a wide variety of government bodies. In the Labs testing for Technology & Business, they are in direct contact with the clients supplying products. Their findings are their ownonly the specifications of the products to be tested are provided by the magazine. For more information on RMIT, please contact the Lab Manager, Steven Turvey, at stevet@rmit.edu.au.
Copyright © 2009 CBS Interactive, a CBS Company. All Rights Reserved. |