The present invention relates to network security devices, and, in particular, a network security system analysing data from plurality of network security devices.
Computer networks and systems have become indispensable tools for modern business. Today terabits of information on virtually every subject imaginable are stored in and accessed across such networks by users throughout the world. Much of this information is, to some degree, confidential and its protection is required. Not surprisingly then, various network security monitor devices have been developed to help uncover attempts by unauthorized persons and/or devices to gain access to computer networks and the information stored therein.
Network security devices—also referred to as sensor devices, sensor products, security devices, and other similar names—largely include Intrusion Detection Systems (IDSs), which can be Network or Host based (NIDS and HIDS respectively). Other network security products include firewalls, router logs, and various other event reporting devices. Due to the size of their networks, many enterprises deploy many instances of these devices throughout their networks. Each network security device has a clock by which it tells time. However, these clocks may be out of synchronization with respect to each other.
Clocks used by network security devices can be synchronized by a network security system. In one embodiment, the synchronization can include the network security system receiving a first stream of alerts from a first network security device having a first clock, each alert in the first stream representing an event detected by the first network security device and including a time of detection by the first network security device according to the first clock. Similarly, the network security system can receive a second stream of alerts from a second network security device having a second clock, each alert in the second stream representing an event detected by the second network security device and including a time of detection by the second network security device according to the second clock. The system can then identify a common event represented by a first alert in the first stream from the first network security device and by a second alert in the second stream from the second network security device, and then synchronize the first clock and the second clock using the common event.
The present invention is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings in which like reference numerals refer to similar elements and in which:
Described herein is a method and apparatus for synchronizing the internal clocks of various security devices of a network security system.
Although the present system will be discussed with reference to various illustrated examples, these examples should not be read to limit the broader spirit and scope of the present invention. For example, the examples presented herein describe distributed agents, managers and various network devices, which are but one embodiment of the present invention. The general concepts and reach of the present invention are much broader and may extend to any computer-based or network-based security system.
Some portions of the detailed description that follows are presented in terms of algorithms and symbolic representations of operations on data within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the computer science arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers or the like. It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise, it will be appreciated that throughout the description of the present invention, use of terms such as “processing”, “computing”, “calculating”, “determining”, “displaying” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.
As indicated above, one embodiment of the present invention is instantiated in computer software, that is, computer readable instructions, which, when executed by one or more computer processors/systems, instruct the processors/systems to perform the designated actions. Such computer software may be resident in one or more computer readable media, such as hard drives, CD-ROMs, DVD-ROMs, read-only memory, read-write memory and so on. Such software may be distributed on one or more of these media, or may be made available for download across one or more computer networks (e.g., the Internet). Regardless of the format, the computer programming, rendering and processing techniques discussed herein are simply examples of the types of programming, rendering and processing techniques that may be used to implement aspects of the present invention. These examples should in no way limit the present invention, which is best understood with reference to the claims that follow this description.
Network Security System
With reference to
Agents are software programs that provide efficient, real-time (or near real-time) local event data capture and filtering from a variety of network security devices and/or applications. The primary sources of security events are common network security products, such as the firewalls, intrusion detection systems and operating system logs described above. Agents can collect alerts from any source that produces event logs or messages and can operate at the native device, at consolidation points within the network, and/or through simple network management protocol (SNMP) traps.
The network security system 100 can include a manager 114. In one embodiment, managers 114 are server-based components that further consolidate, filter and cross-correlate alerts received from the agents, employing a rules engine 118 and a centralized event/alert database 120. One role of manager 114 is to capture and store all of the real-time and historic event data to construct (via database manager 122) a complete, enterprise-wide picture of security activity. The manager 114 also provides centralized administration, notification (through one or more notifiers 124), and reporting, as well as a knowledge base 128 and case management workflow. The manager 114 may be deployed on any computer hardware platform and one embodiment utilizes a relational database management system such as an Oracle™ database to implement the event data store component. Communications between manager 114 and the distributed agents may be bi-directional (e.g., to allow manager 114 to transmit commands to the platforms hosting agents) and encrypted.
Consoles 116 are computer- (e.g., workstation-) based applications that allow security professionals to perform day-to-day administrative and operation tasks such as event monitoring, rules authoring, incident investigation and reporting. Access control lists allow multiple security professionals to use the same system and event database, with each having their own views, correlation rules, alerts, reports and knowledge base appropriate to their responsibilities. A single manager 114 can support multiple consoles 116.
In some embodiments, a browser-based version of the console 116 may be used to provide access to security events, knowledge base articles, reports, notifications and cases. That is, the manager 114 may include a web server component accessible via a web browser hosted on a personal or handheld computer (which takes the place of console 116) to provide some or all of the functionality of a console 116. Browser access is particularly useful for security professionals that are away from the consoles 116 and for part-time users. Communication between consoles 116 and manager 114 is bi-directional and may be encrypted.
As mentioned above, the rules engine 118 is used to correlate alerts to produce meta-alerts, i.e., higher level alerts. For example, one rule may be that if twenty or more unsuccessful logins are followed by a successful login from the same IP address within a specified time window, then a high-level alert representing a successful brute force dictionary attack is generated. Such rules are generally expressed as Boolean expressions, but can be expressed using expressions with different formats as well.
Many rules incorporate a temporal element. As implied above, twenty unsuccessful logins from one IP address during a year does not raise suspicions. People mistype their passwords on a regular basis. However, twenty unsuccessful logins within one minute begins to look like an attack, an unauthorized person (or machine) guessing at a password. To enable the execution of such time-sensitive rules, each alert generally includes a timestamp indicating when the respective security device detected the event reported by the alert. Each security device uses its own local clock to generate these timestamps.
An example is now given of how the performance of the network security system 100 may be reduced when the local clocks of the security devices 112 reporting to the system 100 are not synchronized. In this example, one rule of the rules engine 118 states that, if ALERT B is seen within 5 seconds of ALERT Y, then a high-level ALERT V is produced. For the purposes of this example, during the thirty second timeframe between 08:09:00 and 08:09:30, the agent manager 126 collects the following alerts from IDS1, as shown in Table 1:
During the same timeframe the agent manager 126 also collects the following alerts from IDS2, as shown in Table 2:
Form the data in Tables 1 and 2 above, it appears that ALERT B has not been seen within five seconds of ALERT Y, since ALERT B was detected six seconds before ALERT Y. Thus, the rules engine 118 would not correlate the two alerts to produce high-level ALERT V. However, if the clock used by IDS2 is two seconds ahead of the clock used by IDS1, then, in reality, the event giving rise to ALERT Y occurred only four seconds after the event giving rise to ALERT B. Thus, had the clocks been in synchronization, the rule should have been activated. Thus, the performance of the network security system was reduced because of this synchronization error.
Synchronizing Security Devices
One embodiment of the present invention is now described with reference to
In block 206, the manager 114 identifies a common event. In one embodiment, a common event is an event that is represented by an alert from both of the two security devices. The manager 114 may use a software module, such as synchronization module 130 in
In one embodiment, a common event is detected when the same new source or target IP address is observed within a certain timeframe by two separate security devices. For example, if the first device observes a new target IP address at 10:10:05 and the second device observes the same new target IP address at 10:11:00, then a common event may be inferred. The timeframe should not be so narrow that all common events are missed unless the clocks are already synchronized, nor so wide that separate events are inferred to be common events. In one embodiment, the user of the system 100 can configure this common event detection timeframe.
In another embodiment, common events can be detected by observing corroborative alerts from similar devices within the timeframe discussed above. For example, if two IDS devices from different manufacturers report similar alerts at around the same time, a common event can be inferred. These common alert detection methods, and other similar methods, are not mutually exclusive and can be used concurrently. In one embodiment, the user of the system 100 can configure the common event detection rules, and is allowed to author new rules.
After a common event is identified, it can be used, in block 208, to synchronize the clocks of the two devices. For example, with reference to the example in the section above, if a common event is identified with respect to ALERT A and ALERT X (in other words, if both alerts are found to be representations of the same event), then it can be inferred that they were detected at the same time. Since the time of detection of ALERT A is four seconds prior to the time of detection of ALERT X, it can be further inferred that the clock in IDS2 is four seconds ahead of the clock in IDS1. This information can then be used to synchronize the two clocks.
In one embodiment, synchronizing the two clocks can be accomplished by making the two clocks meet in the middle. For example, the clock of IDS1 would be advanced by two seconds and the clock of IDS2 would be decreased by two seconds.
In another embodiment, one of the two device clocks would be designated a reference clock, and the other clock would be adjusted to the reference clock. For example, if the clock of IDS2 were selected to be the reference clock, then the clock of IDS1 would be advanced by four seconds. There can be various ways to select which clock should be the reference clock. In one embodiment, the decision can be arbitrary or random.
In another embodiment, deciding which of the clocks should be the reference clock for a particular adjustment depends on the relationship of the clocks to the main system-wide reference clock. A real world network security system 100 has more than two sensor devices 112 whose clocks can be synchronized using the present invention. For example, consider a system with five such security devices 112, labelled Device1 to Device5. In this system, the system-wide reference clock is the clock of Device3.
Therefore, if one of the two devices 112 whose alarms represent the common event that is used to synchronize the clocks of these two devices is Device3, the clock of the other device 112 will be the one to be adjusted. In other words, between Device3 and any other device 112, the clock of Device3 will be the reference clock. However, what if the clock of Device1 is being synchronized with the clock of Device2.
If neither of the clocks to be synchronized is the system-wide reference clock, then, in one embodiment, the clock that has been most recently synchronized with the system-wide reference clock will be selected as the reference clock. For example, if Device2 has been recently synchronized with Device3, but Device1 has not, then the clock of Device2 is selected as the reference clock to which the clock of Device1 is adjusted. Many other such rules are possible to select the reference clock between the clocks being synchronized.
The discussion of
Furthermore, a common event that would trigger alerts from all, or substantially all, sensor devices 112 could be effectively used to synchronize all, or substantially all, the devices 112 at once. In one embodiment, one or more events are purposefully injected into the network being monitored by the security devices 112. Such a synchronization event can be designed to elicit alerts from a large number of the devices 112. In this manner, many of the devices 112 can be synchronized with one common, albeit induced, event.
For simplicity, the discussion of
Thus, in one embodiment, at least some of the clocks to be synchronized using embodiments of the present invention are not accessible to a real life network security system 100. In one embodiment, the manager 114 can synchronize these clocks by keeping a clock database that stores the offsets for each clock relative to the system-wide reference clock. For example, assume that the clock of router 112E is determined to be five seconds behind the clock of IDS 112A, the clock of Firewall 112D is determined to be two seconds ahead of the clock of IDS 112A, and IDS 112A is the system-wide reference clock, the clock database will so indicate, e.g., by associating +5 with Router 112E, and −2 with Firewall 112D.
In one embodiment, the clock database can be maintained by, and be accessible to the synchronization module 130. Thus, the synchronization module 130 can perform synchronization by adjusting entries in the clock database. Furthermore, the synchronization module 130 can correct the timestamps of the alerts based on the clock database. In the example above, each timestamp from Router 112E would be replaced by a timestamp that has been incremented by five seconds to compensate for the five second lag of Router 112E with respect to IDS 112A.
Thus, a method and apparatus for synchronizing security devices being monitored by a network security system have been described. In the forgoing description, various specific modules, such as the “synchronization module,” have been described. However, these names are merely to describe and illustrate various aspects of the present invention, and in no way limit the scope of the present invention. Furthermore, various modules, such as the manager 114 and the synchronization module 130 in
In the foregoing description, the various examples and embodiments were meant to be illustrative of the present invention and not restrictive in terms of their scope. Accordingly, the invention should be measured only in terms of the claims, which follow.
Number | Name | Date | Kind |
---|---|---|---|
4914444 | Pifer et al. | Apr 1990 | A |
5402394 | Turski | Mar 1995 | A |
5557742 | Smaha et al. | Sep 1996 | A |
5717919 | Kodavalla et al. | Feb 1998 | A |
5850516 | Schneier | Dec 1998 | A |
5896524 | Halstead et al. | Apr 1999 | A |
5956404 | Schneier et al. | Sep 1999 | A |
5978475 | Schneier et al. | Nov 1999 | A |
6070244 | Orchier et al. | May 2000 | A |
6134664 | Walker | Oct 2000 | A |
6148049 | Hein | Nov 2000 | A |
6157957 | Berthaud | Dec 2000 | A |
6192034 | Hsieh et al. | Feb 2001 | B1 |
6275942 | Bernhard et al. | Aug 2001 | B1 |
6321338 | Porras et al. | Nov 2001 | B1 |
6408391 | Huff et al. | Jun 2002 | B1 |
6408404 | Ladwig | Jun 2002 | B1 |
6484203 | Porras et al. | Nov 2002 | B1 |
6542075 | Barker et al. | Apr 2003 | B2 |
6694362 | Secor et al. | Feb 2004 | B1 |
6704874 | Porras et al. | Mar 2004 | B1 |
6708212 | Porras et al. | Mar 2004 | B2 |
6711615 | Porras et al. | Mar 2004 | B2 |
6760687 | Apel et al. | Jul 2004 | B2 |
6839850 | Campbell et al. | Jan 2005 | B1 |
6928556 | Black et al. | Aug 2005 | B2 |
6966015 | Steinberg et al. | Nov 2005 | B2 |
6988208 | Hrabik et al. | Jan 2006 | B2 |
7039953 | Black et al. | May 2006 | B2 |
7043727 | Bennett et al. | May 2006 | B2 |
7089428 | Farley et al. | Aug 2006 | B2 |
7127743 | Khanolkar et al. | Oct 2006 | B1 |
7159237 | Schneier et al. | Jan 2007 | B2 |
7171689 | Beavers | Jan 2007 | B2 |
7219239 | Njemanze et al. | May 2007 | B1 |
7260844 | Tidwell et al. | Aug 2007 | B1 |
7278160 | Black et al. | Oct 2007 | B2 |
7308689 | Black et al. | Dec 2007 | B2 |
7333999 | Njemanze | Feb 2008 | B1 |
7376969 | Njemanze et al. | May 2008 | B1 |
20020019945 | Houston et al. | Feb 2002 | A1 |
20020099958 | Hrabik et al. | Jul 2002 | A1 |
20020104014 | Zobel et al. | Aug 2002 | A1 |
20020136335 | Liou et al. | Sep 2002 | A1 |
20020147803 | Dodd et al. | Oct 2002 | A1 |
20020184532 | Hackenberger et al. | Dec 2002 | A1 |
20030084349 | Friedrichs et al. | May 2003 | A1 |
20030093514 | Valdes et al. | May 2003 | A1 |
20030093692 | Porras | May 2003 | A1 |
20030101358 | Porras et al. | May 2003 | A1 |
20030188189 | Desai et al. | Oct 2003 | A1 |
20030221123 | Beavers | Nov 2003 | A1 |
20040010718 | Porras et al. | Jan 2004 | A1 |
20040024864 | Porras et al. | Feb 2004 | A1 |
20040044912 | Connary et al. | Mar 2004 | A1 |
20040221191 | Porras et al. | Nov 2004 | A1 |
20050027845 | Secor et al. | Feb 2005 | A1 |
20050204404 | Hrabik et al. | Sep 2005 | A1 |
20050251860 | Saurabh et al. | Nov 2005 | A1 |
20060069956 | Steinberg et al. | Mar 2006 | A1 |
20060212932 | Patrick et al. | Sep 2006 | A1 |
20070110023 | Bennett | May 2007 | A1 |
20070118905 | Morin et al. | May 2007 | A1 |
20070136437 | Shankar et al. | Jun 2007 | A1 |
20070150579 | Morin et al. | Jun 2007 | A1 |
20070162973 | Schneier et al. | Jul 2007 | A1 |
20070169038 | Shankar et al. | Jul 2007 | A1 |
20070234426 | Khanolkar et al. | Oct 2007 | A1 |
20070260931 | Aguilar-Macias et al. | Nov 2007 | A1 |
20080104046 | Singla et al. | May 2008 | A1 |
20080104276 | Lahoti et al. | May 2008 | A1 |
20080162592 | Huang et al. | Jul 2008 | A1 |
20080165000 | Morin et al. | Jul 2008 | A1 |
Number | Date | Country |
---|---|---|
WO 0245315 | Jun 2002 | WO |
WO 02060117 | Aug 2002 | WO |
WO 02078262 | Oct 2002 | WO |
WO 02101988 | Dec 2002 | WO |
WO 03009531 | Jan 2003 | WO |
WO 2004019186 | Mar 2004 | WO |