Method and apparatus for enterprise management

Abstract
A method and apparatus for a network monitor internals mechanism, which serves to translate packet data into multiple concurrent streams of encoded network event data, to contribute to enterprise management, reporting, and global mechanisms for aggregating monitors at a centralized aggregation point, and to facilitate rate limiting techniques because such monitors are not in control (i.e. cannot back pressure flow) is provided.
Description


BACKGROUND OF THE INVENTION

[0002] 1. Technical Field


[0003] The invention relates generally to network security. More particularly, the invention relates to a method and apparatus for efficiently monitoring and subsequent handling of network data.


[0004] 2. Description of the Prior Art


[0005] Networked information systems are an essential part of many organizations. Critical systems, services, and information resources all require protection that depends on effective orchestration of a variety of factors: network architecture, security products, site security, administrative procedures, end user responsibility, and more. A network security policy is an explicit plan of how to accomplish this multi-faceted protection, what objectives the plans should meet, and what assets are being protected.


[0006] To manage a network, an end user needs to know and understand what is happening on the network. Most security holes come from unexpected, misconfigured, or unauthorized services, for example, from a high-port telnet, a new service added in, a rogue server, and/or a misconfigured workstation. The end user does not know what is the unauthorized network traffic.


[0007] Security administrators need tools to help them formulate site security policy and to translate the policy into monitoring and enforcement mechanisms. They need to be sure that the computer enforced policy—often cobbled together from a plethora of disjoint access control mechanisms—matches their enterprise policy, all too often specified in a loose natural language or a set of unwritten principles. This leads to confusion as to why access is being granted or denied to particular resources and may lead to unintentional breaches of security.


[0008] In addition to monitoring network system traffic, it is important for network analysts to assess their network's configuration. A discussion on current techniques for network assessment follows below.


[0009] A conventional network assessment visit determines the customer network using the following information:


[0010] 1) Network security scanning technology, e.g. port or vulnerability scans;


[0011] 2) Customer interviews;


[0012] 3) Inspection of customer log files, perhaps using machine aggregation and filtering; and


[0013] 4) Occasionally, inspection of customer log files and network traffic.


[0014] As a matter of practicality, the information is typically derived from the first three of these items. Customer log files and network traffic is of a volume so great that it is impractical to examine it in a short assessment visit.


[0015] The weaknesses such conventional methods are as follows:


[0016] Vulnerability Scans


[0017] Network vulnerability scanners only detect certain types of known vulnerabilities. Such vulnerabilities are generally not detected directly, but are inferred based on host responses to a series of network packets sent to hosts by the scanner. This process does not directly ensure that data traffic on the subject network matches expectations, either explicit or implicit.


[0018] Network vulnerability scanners cannot see a host if it does not respond to packets. A host that is only a source of network packets, such as, for example, a rogue router, is not visible to a scanner. Hosts which are turned off or otherwise temporarily disconnected, such as, for example, workstations and laptops, are often missed by vulnerability scanners. This problem is compounded by the fact that scans are often scheduled for non-work hours in order to alleviate customer fears that the scans will somehow impact production systems and organizational mission.


[0019] Network scanners typically return a large volume of vulnerability information, based on all possible configured elements in a network. The scanner tools cannot currently interpret those vulnerabilities in light of business requirements which the subject systems are intended to support, or even for the specific network architecture of which those systems are a part. The scan results must be reviewed manually by a security analyst, who applies a knowledge of the business requirements and network architecture to an interpretation of those results. Such manual process is error-prone because the volume is so great that problems may be overlooked.


[0020] Another problem is that the scan derives only vulnerabilities, not network usage patterns. Therefore, the scan cannot detect security problems that are attributable to human behavior, but only those scans that result from misconfigured systems and/or systems which have documented design problems.


[0021] Network scanners cannot diagnose incorrect client usage of software. For example, network scanners cannot detect whether web servers are being used with invalid ciphersuites, whether 40-bit browsers are in use, and whether a given telnet port is accessed only by a management station.


[0022] Network scanners must be targeted to particular subnets. If a customer has forgotten to mention a subnet, the scanner does not notice it.


[0023] Customer Interviews


[0024] Customers may not provide the network analyst complete or accurate information, either because the customer forgot details, because the information is not known to the customer, or because the customer does not understand the importance of giving the information to the analyst.


[0025] Customer interviews at best can provide descriptions of overt usage of subject systems, and generally not covert usage. Often, formal policies of the organization are not even documented, much less promulgated, audited and enforced.


[0026] Hidden agendas, office politics, and other factors also can affect the success of the interview process.


[0027] Host Inspection


[0028] Inspecting host configuration files is a time consuming, manual process that is subject to human error. In the assessment of any large network, it is impractical to include an inspection of the configurations for more than a few critical systems.


[0029] Once again, inspection of host configurations does not reveal completely intended usage of the subject systems. The configurations must be analyzed within the context of the business requirements and overall security environment of the organization. This manual process is very human dependent and prone to error.


[0030] Log File Inspection


[0031] Log file inspection can provide great insight into the workings of network components. Machine-based aggregation and filtering systems can speed this process. However, logs provide only a components' own view of its status. If a component is misconfigured, the log data from the component cannot be trusted. Log data may also be subject to modification by an attacker who has penetrated the machine and is seeking to mask his presence.


[0032] In addition, because log aggregation systems work in cooperation with the components that generate the information, they require configuration changes to every component that they examine. Also, they are unable to detect when a component is added to the system.


[0033] Back Pressuring


[0034] A conventional pipelined system uses flow-control between the stages of the pipeline. Consider stage N, putting data into a queue for stage N+1. When stage N generates data faster than N+1, the queue will fill. This prevents stage N from inserting new data into the pipeline. Stage N waits until stage N+1 is ready to accept more data. The process of each stage causing its predecessor to slow down is called “back-pressuring”.


[0035] In a passive network monitoring device, back-pressuring is not possible, because the data that feeds the pipeline is not controlled by the network monitor. Were a monitoring system to use back-pressuring, it would have no recourse but to drop input data from the network interface when too much data is received.


[0036] Such techniques of performing network assessments generally are limited in their ability to determine actual security threats to information systems. Generally, they represent the state of the art and are indicative of best practices within the security community today.


[0037] It would be advantageous to provide a method and apparatus for harnessing the traffic across networks in such a way as to also expand the environment from which to gather traffic, and to further provide a method and apparatus for accessing and hence viewing such greater volumes of data in a meaningful way.


[0038] It would further be advantageous to provide a method and apparatus for controlling great volumes of data in a smooth and reliable fashion.



SUMMARY OF THE INVENTION

[0039] A method and apparatus for a network monitor internals mechanism, which serves to translate packet data into multiple concurrent streams of encoded network event data, to contribute to enterprise management, reporting, and global mechanisms for aggregating monitors at a centralized aggregation point, and to facilitate rate limiting techniques because such monitors are not in control (i.e. cannot back pressure flow) is provided.


[0040] More specifically, an architecture of enterprise management, enterprise global management, and enterprise reporting is provided; a corresponding underlying technology for distributed querying, i.e. a command manager protocol is provided; and exemplary enterprise monitor operations view is provided.







BRIEF DESCRIPTION OF THE DRAWINGS

[0041]
FIG. 1

a
is a schematic diagram of components of the system according to the invention;


[0042]
FIG. 1

b
is a schematic diagram of components of the system according to the invention;


[0043]
FIG. 2 is a high level workflow flow diagram according to the invention;


[0044]
FIG. 3 is an example of a policy wizard dialog box according to the invention;


[0045]
FIG. 4

a
is an example of a policy wizard dialog box according to the invention;


[0046]
FIG. 4

b
is an example of a policy wizard dialog box according to the invention;


[0047]
FIG. 5 is an example of a policy monitor dialog box according to the invention;


[0048]
FIG. 6 is an example of a query tool dialog box according to the invention;


[0049]
FIG. 7 is an example of a query tool dialog box according to the invention;


[0050]
FIG. 8 is an example of a query tool dialog box according to the invention;


[0051]
FIG. 9 is an example of a query tool dialog box according to the invention;


[0052]
FIG. 10

a
is an example of a policy wizard dialog box according to the invention;


[0053]
FIG. 10

b
is an example of a policy wizard dialog box according to the invention;


[0054]
FIG. 10

c
is an example of a policy wizard dialog box according to the invention;


[0055]
FIG. 11 shows a high-level view of an example network according to the invention;


[0056]
FIG. 12 shows an algorithm according to the invention;


[0057]
FIG. 13 shows a flow diagram according to the invention;


[0058]
FIG. 14 shows an algorithm according to the invention;


[0059]
FIG. 15 shows a high level schematic diagram according to the invention;


[0060]
FIG. 16 shows a schematic diagram of process flow according to the invention;


[0061]
FIG. 17 is a block schematic diagram according to the invention;


[0062]
FIG. 18 is a high level flow diagram of the preferred output section according to the invention;


[0063]
FIG. 19 shows a schematic diagram according to the invention;


[0064]
FIG. 20 is an example of a dashboard according to the invention;


[0065]
FIG. 21 shows an example of a tear off console according to the invention;


[0066]
FIG. 22 shows an example of an events summary view according to the invention;


[0067]
FIG. 23 shows an example of a conformance event details page according to the invention;


[0068]
FIG. 24 shows an example of a protocol event details page according to the invention;


[0069]
FIG. 25 shows an example of an events summary page containing a pop up description according to the invention;


[0070]
FIG. 26 shows an example of an events summary page containing a pop up description according to the invention;


[0071]
FIG. 27 shows an example of a conformance event details page containing a pop up description according to the invention;


[0072]
FIG. 28 shows an example of an alert details page according to the invention;


[0073]
FIG. 29 shows an example of a violators chart and table page according to the invention;


[0074]
FIG. 30 shows an example of a targets chart and table page according to the invention;


[0075]
FIG. 31 shows an example of an advanced search dialog box according to the invention;


[0076]
FIG. 32 shows an example of a link to the advanced search dialog box according to the invention;


[0077]
FIG. 33 is a schematic diagram of the main components of a single monitor deployment according to the invention;


[0078]
FIG. 34 is a schematic diagram of the main components of full monitor deployment according to the invention;


[0079]
FIG. 35 is a schematic diagram illustrating basic architectural components and their respective interactions with each other according to the invention;


[0080]
FIG. 36A is a schematic diagram illustrating the main monitor component according to the invention;


[0081]
FIG. 36B is a schematic diagram illustrating the main Enterprise Manager component according to the invention;


[0082]
FIG. 36C is a schematic diagram illustrating the main Enterprise Reporting component according to the invention;


[0083]
FIG. 37 is a schematic diagram illustrating the studio component according to the invention;


[0084]
FIG. 38 is a schematic diagram illustrating the web server structure according to the invention;


[0085]
FIG. 39 is a schematic diagram illustrating a summary of protocols according to the invention;


[0086]
FIG. 40 is a schematic diagram illustrating a high level architecture of Enterprise Global according to the invention;


[0087]
FIG. 41 is a schematic diagram illustrating a high level architecture of an Enterprise Global and an Enterprise Report gathering data from a plurality of Enterprise Managers according to the invention;


[0088]
FIG. 42 shows a summary configuration of the Enterprise Global system according to the invention;


[0089]
FIG. 43 is a schematic diagram illustrating a configuration of Independent Manager User Databases according to the invention;


[0090]
FIG. 44 is a schematic diagram illustrating a configuration of Shared Manager User Databases according to the invention;


[0091]
FIG. 45 is a schematic diagram illustrating the web architecture on both the Monitor and the EM according to the invention;


[0092]
FIG. 46 is a schematic diagram illustrating Monitor console interactions according to the invention;


[0093]
FIG. 47 is a schematic diagram illustrating the Enterprise Manager (Regional) Console interactions according to the invention;


[0094]
FIG. 48 is a schematic diagram illustrating an overall architecture of the Enterprise Global, Single Monitor, and Enterprise Manager Operational Views according to the invention;


[0095]
FIG. 49 is a screen shot of a monitor home page according to the invention;


[0096]
FIG. 50 is a schematic diagram showing incorporated rate limiting features into a network security system's components according to the invention;


[0097]
FIG. 51 is a graph of connections received versus connections dropped according to the invention;


[0098]
FIG. 52 is a time line presentation of a previous interval and a current interval used for rate limiting according to the invention;


[0099]
FIG. 53 is a schematic diagram showing a working block and a Ring Buffer reserve block according to the invention;


[0100]
FIG. 54 is a schematic diagram of part of a User Space and a Kernel Space according to the invention;


[0101]
FIG. 55 is a schematic diagram showing the interaction of a hash_struct with a mru_struct according to the invention;


[0102]
FIG. 56 is a schematic diagram illustrating what happens within a queue at the Empty, LWM, and Full (=HWM) levels according to the invention;


[0103]
FIG. 57 is a schematic diagram of one device mapping multiple interface cards according to the invention;


[0104]
FIG. 58 is a schematic diagram of the VLAN switch according to the invention;


[0105]
FIG. 59 is a schematic diagram showing both the mapping of multiple interface cards and the VLAN tags according to the invention;


[0106]
FIG. 60 is a schematic diagram of SPFM physical replication according to the invention;


[0107]
FIG. 61 is a schematic diagram of SPFM physical replication in a Load Balancing application according to the invention; and


[0108]
FIG. 62 is a schematic diagram showing a cascading design with each harvester taking a portion of the traffic according to the invention.







DETAILED DESCRIPTION OF THE INVENTION

[0109] Network Monitor Internals Description


[0110] A method and apparatus for a network monitor internals mechanism that serves to translate packet data into multiple concurrent streams of encoded network event data is provided. The data translation is accomplished by interpreting both sides of each protocol transaction.


[0111] The invention is a component of a network security policy monitoring system and method that comprises supportive features, algorithms, and tools. The monitoring system is ideally suited for network and security assessments or long-term monitoring where real network traffic is analyzed to identify abnormal traffic patterns, system vulnerabilities, and incorrect configuration of computer systems on the network. The monitoring system listens on a network, logs events, and takes action, all in accordance with a rule based system-wide policy. The monitoring system provides a technique that is able to incorporate external sources of event information, such as are generated in log files of other network components. The inventive technique of the monitoring system gets protocol information, which can make it more meaningful to a network administrator. It sends data upstream to an event log and interprets the data. It listens to secure protocols and can identify encryption quality of service parameters. It extracts basic security parameters, such as, for example, network events, and passes them to a policy manager component.


[0112] An important part of understanding the invention is understanding network security terminology for policy monitoring. See Table A below.
1TABLE ATerminologyNetwork Event: One complete transaction on the network, such as a FTPconnection or a HTTPS transaction. Each network event has severalcomponent protocol events.Protocol Event: A transaction at one protocol level. For example, anetwork event that represents an FTP connection has protocol eventsrepresenting an IP association, a TCP connection, an FTP controlconnection, and several FTP control commands.Initiator, Target: The endpoints of a network event or protocol event.Credential: An identification of the initiator or target of a protocolevent at a particular protocol level. For lower-level protocols,credentials are, for example, IP addresses or UDP port numbers. Forhigher level protocols, credentials are, for example, user names, filenames, or public key certificates.Association: A placeholder for a transaction run over a datagram-basedprotocol such as IP, ICMP or UDP. The invention herein constructs anassociation to collect a conversation between two hosts, or processes inthe case of UDP. It is noted that when the invention misses any datapackets between the two communicating computers, it might not be able todetermine the initiator and the target of the association.Associative array: A list of value pairs where each associative arrayentry is indexed by the first element of its value pair, which is calledthe key. Keys are stored in a hash table to make lookups efficientirrespective of the size of the associative array.Rule: A policy rule governs a specific interaction, or set of interactions,between two communicating entities. The invention evaluates policy rulesagainst protocol events to determine if the latter conform to the activesecurity policy.Disposition: The policy definition of what action or state change needs totake place in response to a network event.Policy Domain: A top level segmentation of a network, roughly akin to acloud-like object in a network diagram, which hides internal detail.Within the policy domain communities of hosts provide or access services.One community of hosts defines the limits of the domain.Monitoring Point: A point within a policy domain where it will be possibleto plug a machine into the network in order to collect packet data.Communities of Hosts: A mechanism for grouping hosts that have asimilar function, e.g. all web servers or all NT workstations.Perimeter Element: A hardware device that allows access to and fromcommunities of hosts outside a policy domain. Examples of perimeterelements are firewalls and routers.Policy Language: A policy language is used to create a formalspecification of a network security policy. The preferredembodiment of the invention incorporates the policy definitionlanguage of U.S. Pat. application No. 09/479,781, filed Jan. 7, 2000,entitled, “A Declarative Language for Specifying A Security Policy.”It defines first class objects such as rules, credentials and dispositions.It is based on s-expressions, which are LISP-like parenthesizedexpressions.Rogue server: A machine introduced to a network that is not authorized tobe on that network.Rogue router: An unauthorized router that is added to a network, providingan alternate path into the network. Typically occurs throughmisconfiguration of switches or dialup connections.Real-time monitoring: Reading packet data off a network and processing itto events in a stream, so that an event appearing in the network causes acorresponding event in the stream a short time later.DLL: Any kind of a dynamically linked library


[0113] System Overview


[0114] The preferred embodiment of the invention translates traffic on the network into protocol events that are themselves combined into network events. As protocol events are detected, they are compared against a policy. The policy specifies a disposition of the network event, as defined by the observed series of protocol events. Information about the protocol events, the network event and its disposition is stored in a database. This database of network traffic information can be mined for policy violations.


[0115] This preferred embodiment of the invention is described with reference to FIG. 1a. FIG. 1a is a schematic diagram of components of the system according to the invention. The system comprises a policy monitoring component 100 that takes as input a policy file 105 that has been generated using a policy generator wizard 110 or other means, and a file containing network packet dump data 115 that has been collected from an observed network 125 by a packet capture 126, or that has been processed by a protocol monitor processor 127. The system can also process packet event data from the observed network 125 in a continuous real-time mode, without first storing packet data to a file.


[0116] The policy monitoring component 100 comprises a policy manager component 106 that itself comprises a parser 101 for parsing the policy file 105, a policy engine for 102 for assigning policy dispositions to network events, and a logger 103 for determining how to log the information processed by the policy engine 102, according to an input logging policy 130. It also comprises a database 104 for storing synthesized information of the packet dump's 115 conformance to the specified policy 105 performed by the policy engine 102, where it can be mined with a query tool 135. It also comprises a report script component 160 for querying the database 104 and creating reports 161, and an alarm script component 155, for generating alarms based on the severity of the disposition assigned to network events.


[0117] An equally preferred embodiment of the invention also comprises a parser tool 150 that takes the policy specification file 105 as input and automatically generates an English description of the policy 151 for the end user. The parser tool 150 is optional.


[0118] An equally preferred embodiment of the invention also provides a secure Web server feature 162 for the end user to review reports from the end user's host computer 163. The secure Web server feature 162 comprises the Web server 164 and a report database 165 that hosts the reports 161 generated using the report script 160. The Web server feature 162 is optional.


[0119] An equally preferred embodiment of the invention provides secure management connections (141, 142) and a secure management host 140 for managing the policy monitoring component 100 and the combination of the network monitoring components 128, respectively.


[0120]
FIG. 1

b
shows a simpler embodiment of the invention, wherein the parser tool 150 and the secure Web server feature 162 are omitted.


[0121] The default action of the policy engine 102 is that it denies all traffic. The policy 105 opens holes in this denial to allow permitted traffic to flow. Although the policy engine 102 assigns a single disposition to an entire network event, the protocol events are significant. As network data 115 arrives, the policy engine 102 interprets protocols and generates updates of protocol event information. The policy 105 is, consulted as each new piece of information arrives, so that the earliest determination of disposition is reached. For example, if the policy 105 states that a given IP address may not communicate with another IP address, the policy 105 can generate a disposition immediately upon receiving the first packet 115 of the network event.


[0122] To aid policies in early determination of disposition, the policy language divides dispositions into immediate and final. An immediate disposition fires immediately, i.e. its value becomes associated with the network event right away. A final disposition sets a bookmark to itself as the latest and best disposition. When all protocol events are processed without an immediate disposition, the last bookmark set is the disposition that is applied to that network event. Immediate dispositions are designed to generate early results and to allow policy writers to issue a definitive disposition for the network event based on the information received up to that point. Final dispositions allow for the possibility that a better disposition might be determined later on. In other words, they allow the policy engine 102 to make a more informed decision based on additional protocol events that might be received as the network event progresses.


[0123] Overview of the Components


[0124] An overview of main components of the preferred embodiment of the invention is discussed below with reference to FIG. 1.


[0125] Policy Generator


[0126] The preferred embodiment of the policy generator component 110, also referred to as policy wizard, is a program that makes an end user readily able to generate a first-pass policy for a new site. Policy information is input into a set of dialog boxes and a policy is generated. The wizard enables the end user to generate policy based on what can be considered gross characteristics of a network at the IP level, such as, for example, policy domains, communities of hosts, servers, subnets and firewalls, as well as at the UDP/TCP service level. For example, such network characteristics can comprise communities of hosts that can access certain services on server hosts.


[0127] Once a policy has been generated with the wizard, it is output in the policy specification language 105 so that it may be directly processed by the policy monitor component 100. The policy wizard 110 is also able to save files at the wizard level, i.e. such that the policy may be refined in the wizard and re-generated.


[0128] Policy Monitor


[0129] The policy monitoring component 100 comprises a suitable user interface, such as an MFC-based front end or a command line interface, and the policy manager 106. The policy manager 106 performs the actual examination of a sequence of event updates stored in a file or transmitted in a continuous stream 115 in the context of a policy specification 105 and signals the adherence to the policy via records written to the database 104.


[0130] Network Monitor


[0131] The network monitor component 127 provides the following capabilities:


[0132] Streams-based interpretation of packet dump data 126 in, for example, DMP format; and


[0133] Packet- and connection-based textual logging of protocol information. Logging is selectable by protocol and may be enabled only for one or more connections. In another embodiment of the invention, the network monitor 127 can perform serialization of event data. That is, the network monitor 106 can process a packet capture file 126 into a series of event updates that contain only the salient security details for processing by the policy monitor 100. The resulting file is significantly smaller than the original, for example, approximately {fraction (1/20)}th to {fraction (1/100)}th the size of the original. It is also possible for sensitive data, such as passwords and documents, to be removed from the file. However, it should be appreciated that the original packet capture file is needed to perform full analysis.


[0134] In another embodiment of the invention, the network monitor 127 can read packet data directly from observed network 125, generating a continuous stream of event updates for the policy monitor 100. This stream operates in real-time so that the policy monitor 100 processes events shortly after they happen on observed network 125.


[0135] It should be noted that the network monitor 127 can be used as a standalone tool, but typically is invoked from within the policy monitor component 100 and the query tool 135 in normal operation of the invention.


[0136] It should also be noted that the network monitor and the policy monitor may run on the same machine.


[0137] For a more detailed discussion on the internals of the network monitor, refer to the section, below entitled “Network Monitor Internals Descriptions.”


[0138] Query Tool


[0139] The query tool 135 allows the end user to view the data that has been stored in the database 104 by the policy manager 106.


[0140] Policy Compiler


[0141] The policy compiler performs syntactic and semantic checking of a policy specification. Upon successful compilation the compiler as controlled by runtime arguments, may:


[0142] Generate a DLL containing a compilation of credential and condition verification code; and


[0143] Generate a pseudo-english report that summarizes the policy.


[0144] It should be appreciated that it is not necessary to run the compiler because the policy monitor component automatically compiles and installs policy from the policy specification file.


[0145] Platform


[0146] The policy generator 110 runs on a Windows NT or Unix machine, while the policy monitor 100 and the network monitor 127 run on Linux machine(s). It should be appreciated that these components can run equally well on other suitable operating systems. In addition to policy and network monitoring software, the following software components are also installed on the appropriate machines:


[0147] Microsoft Visual C++ 6.0;


[0148] Sybase ASE 11.9.2; and


[0149] NT NDIS packet drivers and Windump 2.0.


[0150] It should be appreciated that these components can run equally well on other compilers, databases, and packet monitoring systems.


[0151] Policy Files


[0152] There are two file types that are used within the invention's environment, and are described below in Table B.
2TABLE BFile TypeSuffixDescriptionPolicy wizard File.spwIntermediate file used by the policy wizardto store policy information betweeninvocations.Policy monitor File.spmOutput file generated by the policy wizardand used as the policy input into the policymonitor. Contains a description of thepolicy in the policy language.


[0153] The preferred embodiment of the invention incorporates a high level workflow method for developing policy, as follows:


[0154] 1) Creating an initial policy using the policy generator tool;


[0155] 2) Uploading the policy file to a remote machine;


[0156] 3) During the initial policy development phase, running the network monitor to collect traffic, and the policy monitor to analyze traffic separately, as follows:


[0157] a) Running the network monitor and specifying an output file of the collected traffic, and possibly specifying via parameter a limit to the number of packets captured, e.g. 50,000;


[0158] b) Running the policy monitor to analyze traffic collected by specifying the file containing the collected traffic;


[0159] 4) Examining the output of the policy monitor run by querying the database using the query tool;


[0160] 5) Modifying the policy as needed using the policy generator tool; and


[0161] 6) Repeating steps 2 through 5 until a comprehensive desired policy is defined. At this point the end user may start monitoring network traffic on a continuous basis, and using generated reports as input for further policy refinement.


[0162] High Level Workflow Example


[0163] The high level workflow described above can be illustrated further by understanding an example, as follows. System components of the invention are referenced using FIG. 1. Screen interactions are described with reference to the preferred embodiment of the invention. Other screen displays with similar function might equally well embody the invention.


[0164] Referring to FIG. 2, an initial policy is generated (201). Often the initial policy is created from corporate network policy, in whatever form that may take, and a network topology diagram. For the sake of this example, it is assumed that the policy wizard 110 was used to generate an initial, simple policy 105.


[0165] Next, compliance of current network traffic to this initial policy is monitored (202). Such monitoring is achieved by collecting packet information off the network and running such data 115 against the initial policy 105 using the policy monitor 100.


[0166] Then the query tool 135 is used to data-mine output network event data from the database 104, using the mined data to check for traffic that is not consistent with the policy 105, and reporting the results (203).


[0167] Once anomalies have been found, the next step is to work out where the problem lies. The problem could be network equipment is misconfigured and needs to be corrected (203); otherwise acceptable behavior is not covered currently by the policy specification file the file needs to be corrected (204); or, otherwise acceptable behavior is not covered currently by the corporate policy and the corporate policy needs to be corrected (205). In the case of this example, it is assumed that the policy specification 105 is incomplete and an end user needs to add a new rule to permit the observed traffic pattern.


[0168] Generate a Policy Specification File from a Wizard Policy


[0169] The end user starts the policy generator tool, or wizard 110, by double clicking on a policy wizard shortcut on the end user's desktop. In the preferred embodiment, a window such as depicted in FIG. 3 opens.


[0170] In this example, the end user has opened a file, c:\spm\quickstart\null.spw, through the File−>Open menu item 301. This file contains a very simple policy that defines a single policy domain defined by a 10.0.0.0/8 subnet mask. Rules within this policy deny essentially all traffic.


[0171] The end user chooses to compile the policy, whereby the dialog box in FIG. 4 opens. The end user presses the “Process Policy” button 401 and a file named null.spm in the output file exntry field 402 is generated and saved.


[0172]
FIG. 4

b
shows the dialog box in FIG. 4a with printed results from the compile process in a text window 403.


[0173] File Running Policy Monitor Over Canned Data


[0174] The end user starts the policy monitor 100 by double clicking on a policy monitor shortcut on the desktop. In the preferred embodiment, a window such as depicted in FIG. 5 opens.


[0175] The end user ensures that the “Input Dump File” entry field 501 points to a data dump file, here qs.dmp, and that the “Policy” entry field 502 points to the null.spm (monitor) file that the end user generated above. The “Monitoring Point” entry field 503 is derived from a policy domain name “Intranet” that is present in the null.spw (wizard) file.


[0176] The end user ensures database connectivity information is set correctly. The ODBC entry field 504 with entry “sybase” points to a Sybase database running on a local machine. The username “policy” 505 with some password, shown as “******” 506 have been preinstalled.


[0177] The end user presses the Run button 507 and the .dmp file is processed through the policy specification file 105 placing the output data into the database 104.


[0178] Look at the Results Using Query Tool


[0179] The end user starts the query tool 135 by double clicking on a query tool shortcut on the desktop. In the preferred embodiment, a window such as depicted in FIG. 6 opens.


[0180] The end user presses a “Network Events” button 601 and the dialog box depicted in FIG. 7 appears. FIG. 7 is a dialog box that allows the end user to enter login information for the database 104.


[0181] Here, the end user enters the same username and password as was used in policy monitor 100 and connects to a database 104 named Policy on localhost.


[0182] When connected, the screen shown in FIG. 8 appears. FIG. 8 is a dialog box that allows the user to select which processed network data to view from database 104. The topmost entry in the “Execution Run” pull-down contains most recent data was added to the database 104. In this case it is current processing of the qs.dmp file. The end user presses the “Query” button and network event information for this run is retrieved from the database 104 and shown in as in FIG. 9.


[0183]
FIG. 9 shows a queried rule view dialog box according to the preferred embodiment of the invention. FIG. 9 shows that the null.spw policy has denied all traffic. The network events having disposition Udp_Access_Denied represent DNS lookups from an internal host (10.5.63.143) to another internal host (10.5.63.6). It is assumed for this example that this is traffic conforming to policy, and therefore the end user adds a rule to the policy to permit this event.


[0184] Add a New Rule Using the Wizard


[0185] The end user returns to the policy wizard main window and presses the “Edit Rules” button which opens a dialog box as shown in FIG. 10a. FIG. 10a shows a dialog box for generating a new rule according to the invention. The end user selects the “Intranet” domain from the “Policy Domain” pull-down to add a rule for our Intranet domain. The end user types a rule name, such as Internal_Dns into the “Rule Name” field and presses the “New” button. The end user selects the communities and services to which this rule applies. For simplicity in this example, the end user wants to allow DNS from any internal nodes to any other internal nodes and therefore selects an Initiator community of hosts Inside_Nodes, a service of DNS, and a Target community of hosts Inside_Nodes. The end user then presses the “Add Selected” button for each in turn to create a rule as shown in FIG. 10b, where FIG. 10b shows a dialog box for generating a new rule according to the preferred embodiment of the invention.


[0186] Next the end user generates a new policy specification file and runs policy monitor. The end user returns to the query tool and presses the “Network Events” button again to get a new rule view dialog box. The topmost “Execution Run” is now the output from the processing just completed. The end user presses the “Query” button and can now see that DNS traffic from 10.5.63.143 to 10.5.63.6 is now conformant to the policy as shown in FIG. 10c, where FIG. 10c shows the communities of the policy specification.



DETAILED DESCRIPTION OF COMPONENTS

[0187] The preferred embodiment of the invention incorporates the following components, detailed description of which follows below.


[0188] The Policy Generator Tool


[0189] The preferred embodiment of the invention provides a policy generator tool, or simply policy generator, equally referred to as policy wizard, that provides a level of abstraction on top of the policy language, and which simplifies the process of creating an initial policy based on gross characteristics of a network at the IP level, such as policy domains, communities of hosts, servers, subnets, firewalls.


[0190] The policy generator provides a novel mechanism for translating desired network security policy, such as corporate network security policy, into a policy specification file that can be interpreted and implemented by a policy monitor mechanism.


[0191] Building a policy with the policy wizard involves: deciding on logical divisions within the network, i.e. policy domains, grouping network nodes into logical communities, and expressing rules about which communities of hosts can provide what services to which communities of hosts.


[0192] High Level View of Policy Generation


[0193] The first step in building a basic policy is to define a high-level topology for the network. Not much detail is necessary. In the preferred embodiment of the invention, the network needs to be divided into bounded units called policy domains.


[0194] In practice, the choice of a policy domain boundary is fairly obvious. Usually natural logical and physical boundaries in a network help define policy domain boundaries. For example, firewalls and routers with packet filters commonly denote the important boundaries. When defining a simple policy, it is reasonable to ignore switches, bridges, hubs, and routers that connect interior subnets.


[0195] It is suggested that policy domains be as small as required by traffic monitoring limitations and as large as specification of rules allow. Rules are written about traffic visible in a policy domain. Traffic in a policy domain is logically considered to be visible anywhere within the policy domain even though networking elements, such as, for example, switches prevent such visibility in most networks. By writing rules about traffic as though it is visible anywhere within the policy domain, the same set of rules can be applied to network traffic anywhere within the policy domain.


[0196] It has been found that if a policy domain is too small, rules need to be duplicated for each extraneous policy domain. If a policy domain is too large, then the choice of a network traffic monitoring point can become overly constrained, or the ability to detect IP spoofing and rogue routers is lost.


[0197] Identify the Policy Domains


[0198]
FIG. 11 shows a high-level view of an example network. An Intranet 1101 is connected to a DMZ 1102 through a firewall 1103. The DMZ 1102, in turn, connects through a router 1104 to the Internet 1105 and through a second router 1106 to an external corporate network 1107. In this example, an end user is only expected to be able to monitor traffic in the Intranet and DMZ, so these two entities are declared to be policy domains. Rules in the policy only apply to allowed traffic in the DMZ and Intranet. The corporate network and Internet are viewed only as communities of hosts visible from within the policy domains.


[0199] It should be appreciated that the end user could choose to declare the Internet and Corporate network to be policy domains, but, by doing so, would only create unnecessary work because the end user does not intend to monitor traffic there. Any rules generated would thus never be used.


[0200] Add Perimeter Elements


[0201] In the preferred embodiment of the invention, the point of connection of a policy domain to the outside world is known as a perimeter element. For each perimeter element the set of nodes visible through it needs to be known and, for generating rules to detect IP spoofing and rogue routers, the MAC address of the perimeter element itself needs to be known.


[0202] As an example, if an end user could sit inside a policy domain and look out through boundaries, it is probable that the end user would see a filtered version of what is on the other side. Network address translation (NAT) can change the IP addresses seen though the boundary. For example, a proxying firewall may not let the end user see anything directly beyond a single IP address at the boundary. Filters may limit the view to only a few hosts when thousands are actually present.


[0203] Define Communities


[0204] In the preferred embodiment of the invention, communities consist of sets of IP addresses. They can be expressed as, for example, individual IP addresses, ranges of addresses, or subnet masks. Additionally, communities can be composed of other communities. It is often the case that a community of nodes involves all nodes in some existing set except for a node or two. Communities are defined in terms of included elements and excluded elements.


[0205] Define Rules for Each Policy Domain


[0206] In the preferred embodiment of the invention, rules defined for a policy domain describe allowed transactions. For example, if no rules are written, the policy specifies that everything at the IP level or above is denied, although this specification is not strictly true because typically auto-generated rules that apply to IP broadcast traffic and ICMP traffic within the policy domain exist. Rules create holes in this base layer that declares all traffic illegal.


[0207] Rules are defined in terms of initiator communities, target communities, and the services allowed. Services consist of a set of port numbers and indicators of whether TCP or UDP protocols are used.


[0208] Using the Policy Generator


[0209] The preferred embodiment of the invention provides a front end for the policy generator. It provides a user interface for entering and editing a simple policy. The front end reads and writes the current state of a policy from or to an intermediate file. The currently preferred extension for the intermediate file is .spw. When a policy has been specified to the satisfaction of the end user, it is written to an intermediate policy file for processing by the policy generator backend that generates a formal policy specification file compatible with the policy monitoring system.


[0210] The front end allows the end user to edit policy domains, communities, services, and rules, to read and write the current policy from or to an intermediate file, and to process the intermediate policy file into the formal policy specification file.


[0211] The preferred embodiment of the invention allows several instances of each editing process to be open simultaneously. The interaction is intended to feel very live. Data changed in one editing process should be reflected in the contents shown in other editing processes. For example, if a community is added in one community editing process, then it is immediately available for use in all editing processes. When building a policy, entities are first created, then filled in. From the time of creation they can be used throughout the policy. Consequently, a community or policy domain does not need to be fully specified in order to be used. However, to prevent errors in backend processing, all entities should be complete before the intermediate policy file is submitted to the backend for policy specification file generation.


[0212] In the preferred embodiment, only one policy is under development at any time. The front end starts up containing a default policy that is empty except for some predefined default services. This policy can be used as a starting point or an existing policy can be read from a saved intermediate policy file.


[0213] It has been found that it is best to use simple names in developing a policy and to use a name that makes sense from a predetermined point of reference, not a fully qualified name that makes sense from any point of reference. For example, it is better to give a rule a short, descriptive name such as, “Allow_Outgoing_ Mail” than to give the rule a long name such as, “Allow_Mail_From_Intranet_To_Outside_Intranet”.


[0214] For an in-depth understanding of the formal policy specification generated by the policy generator, or policy wizard, please refer to the section, Understanding the Wizard Generated Policy, below.


[0215] Collecting Packet Data


[0216] The preferred embodiment of the packet gathering component 128 is a program referred to as the harvester. It reads packets off the observed network 125 and writes them to either a packet capture file 126 or to a TCP socket that is connected to the policy monitor 100.


[0217] As an example, the harvester reads packets off the network when invoked as follows:


harvester -i eth0 -c 1000 -dump qs.dmp


[0218] In this example, 1000 packets are read from a network interface labeled ‘eth0’ and stored in file ‘qs.dmp.’


[0219] The harvester can also be configured to read packet data and convert it to event data suitable for policy monitor 100. As an example, the harvester may be invoked as follows:


harvester -i eth0 -c 1000 -enc qs.dme


[0220] In this example, 1000 packets are read off the network interface labeled ‘eth0’, converted to event data suitable for policy monitor 100, and stored in the file ‘qs.dme’.


[0221] The harvester can also be configured to read packet data, convert it to event data suitable for policy monitor 100, and stream such data directly to the policy monitor in real time. As an example, the harvester may be invoked as follows:


harvester -i eth0 -c 1000 -enc 10.5.63.6:333


[0222] In this example, 1000 packets are read off the network interface labeled ‘eth0’, converted to event data suitable for policy monitor 100, and transmitted in a TCP network stream to port 333 on the machine with IP address 10.5.63.6. This machine and TCP port may be configured so that the policy monitor 100 reads the data and processes it.


[0223] It should be appreciated that the events are transmitted as they are processed, so that the policy monitor 100 is able to see events shortly after they occur on the observed network 125.


[0224] In this mode of operation, the policy monitor 100 is also able to pass information about policy dispositions back to the harvester. The harvester can use this information to make processing of packets more efficient. For example, if the policy monitor 100 has determined that a given network event is acceptable according to the policy, the monitor can sometimes expedite its protocol processing by skipping packets until the network event terminates.


[0225] Policy Monitor


[0226] The preferred embodiment of the invention provides a policy monitor component that provides a user interface, either graphical or command line, that allows the configuration of various options of the monitor, policy engine and logger.


[0227] Monitor Configuration


[0228] Monitor configuration allows the end user to configure the location of the input packet dump, policy to be used, and the specification of the monitoring point.


[0229] The Input dump file specifies the input file, in tcpdump format that is to be used.


[0230] The Policy input specifies the .spm file that contains the policy specification to be used.


[0231] The Monitoring Point is a specification of where the Input dump file was collected. This name is derived from policy domain names that are specified in the policy wizard. For example, if a packet dump was collected in a policy domain named “Intranet” then the Monitoring Point name INTRANET_MONITOR should be used.


[0232] Monitor Logging Options


[0233] The monitor logging options allow the end user control of the location and the amount of data that gets written to the backend database.


[0234] The Execution Run Comment field allows the entry of freeform text that is added to the logs in the database to help identify this particular run of policy monitor.


[0235] ODBC Name provides the name of the ODBC source to which output data is written. The DB Username and DB password are the end user's database login information. The Save Password allows the program to save the password in the clear so that it does not need to be entered the next time the program is run.


[0236] Output Options


[0237] Output options allow the end user to specify whether the trace output from the monitor should be displayed in a console window (Output to console) or sent to a file (Output to file:).


[0238] Advanced Options


[0239] Advanced options allow more options to be set. In day to day operation, it is rare that such options need to be changed.


[0240] Advanced Monitor Configuration


[0241] An Assert DLL parameter allows specification of the name of the DLL to be used to verify condition and credential assertions. Note that if this DLL does not match the version of the policy specified then this DLL is regenerated, overwriting the provided DLL.


[0242] A Trace Options parameter allows the end user to provide configuration of runtime trace options. This option affects the amount of output generated by the monitor. For a more efficient operation, this field should be left blank.


[0243] A Certificate Dir argument points to a directory that contains trusted CA root certificates in DER encoded form.


[0244] Advanced Packet Logging Options


[0245] The packet logging options section allows the configuration of the trace options to be provided by the low level packet monitor. The various logging options may be specified at a global level (by setting them for layer “-All-”) or individually on a per-layer basis. Again it is to be noted that specifying logging options adversely affect the performance of the monitor.


[0246] The Site Handle parameter specifies a name that is associated with the particular company or site that is being monitored. It is used to segment a table that is used for IP-address name resolution within the output database.


[0247] Advanced Monitor Logging Options


[0248] The Disable Logging checkbox disables the writing of all logging data to the database. If logging is enabled then the remaining checkboxes provide for the enabling or disabling of the logging of network events with the given final disposition code. For example, if Disable Logging is not selected and only Policy Error selected then the only network events that are logged to the database are those that resulted in a final disposition code of POLICY_ERROR.


[0249] During normal operation information about all protocol events within a network event is logged, even those that occurred after a final disposition was reached. An Enable All Layer Logging parameter can control this feature. When set on, all protocol events are logged to the database. When not set only those protocol events that are processed before a disposition is reached are logged.


[0250] QueryTool


[0251] The preferred embodiment of the invention provides a query tool to examine the data that was placed in the database. The preferred query tool allows the following functions to be performed:


[0252] Examining network events, such as protocol events, that are contained within the execution runs in the database;


[0253] Examining IP Connectivity for execution runs in the database;


[0254] Editing and making user defined SQL queries to the database;


[0255] Performing forward and reverse DNS lookups (using the current DNS configuration);


[0256] Viewing policy monitoring run information from the database, and selecting a default run for further viewing;


[0257] Explicitly connecting to a specific database; and


[0258] Turning on/off IP address to hostname resolution.


[0259] Other Tools


[0260] The preferred embodiment of the invention provides other tools discussed below.


[0261] Compiler


[0262] In its simplest form the compiler needs just a single argument that is the input policy specification file. This form is often all that is needed while doing initial development of a policy. It should be appreciated that the compiler is rarely used in standalone form since its function, with the exception of the -r flag, is subsumed into the policy monitor component.


[0263] Example Usage


[0264] During initial development a command such as the following could be used while getting rid of syntactic and semantic errors from the policy under development:


pmsCompiler.exe security.pms


[0265] Once compiler errors are gone, the end user is ready to generate pieces that are used to run the policy monitor. For example, the end user can use the command line:


pmsCompiler.exe -d verify security.pms


[0266] that compiles the security policy, and generates a verification DLL named “verify.dll”.


[0267] Compiler Options


[0268] The following arguments in Table C may be provided to the example pmsCompiler.exe.
3TABLE CpmsCompiler -? -r -c <cxx-file> -d <dll-file>  <policy-file>*-c <cxx-file>Generate Credential and Condition assertion verification code to the named file. The suffix “.cxx”is appended to the name that is provided. This option is rarely used to allow the end user to lookat the actual code that is used to verify assertions.-d <dll-file>Generate a DLL containing the assertion verification code to the named file. The suffix “.dll” isappended to the name that is provided. If the -d flag is used without the -c flag then the sourcecode is written to a temporary file. This option is often used to generate the assertion verificationDLL. The alternative is to allow the runtime Policy Monitor to generate the DLL for itself.-rGenerate a pseudo-english description of the policy to stdout. The output of this command is auseful starting point for a policy report to a customer.-?Display a usage string.<policy-file>The required policy specification (“.pms”) file.-b <db-name>Store information about the compiled policy in the named database. db-name is the name of auser data source that has been configured within Control Panels−>ODBC. This argument is rarelyused. The alternative is to allow the runtime Policy Monitor to write the policy to the database ifneeded.-o <output-file>Redirect compiler messages to stdout to the named output file. Rarely used.-t <trace-opts>Enable debug tracing. For more specific details try providing the argument “-t ?”. This option israrely used because it only provides information to allow debugging of the compiler itself.-vUse VisualC++ to preprocess macros rather than the internal preprocessor. This overrides the -noption. This option is rarely used.-gAdd debug trace code, i.e. printf statements, to the generated Credential and Conditionverification code. The generated code is compiled with symbol information (the C compiler -gflag). This option is rarely used.-nDo not run a preprocessor. C preprocessor macros such as #define and #include may beincluded within a policy file. This option specifies that the pre-compiler should not be run prior toactually compiling. This option is rarely used.-zOutput the dump output of the parsed policy. This output looks remarkably similar to the input filewith the comments stripped and some component definitions reordered.


[0269] Network Monitor


[0270] The preferred embodiment provides a streams-based network monitor that can be run in a standalone mode independent of the policy monitor. In this way it can be used to provide a detailed, streams-based view of the network traffic, or a subset thereof. For example, run in standalone mode is desirable when a particular protocol is not supported natively by the policy monitor and an end user desires to see raw data to gain an understanding of what is going on.


[0271] It should be appreciated that a convenient way of accessing such functionality is through the query tool.


[0272] Example Usage


[0273] The following invocation of the network monitor:


mon -ev 2 -I ALL=all C:\spm\quickstart\qs.dmp


[0274] examines the qs.dmp file, producing extremely verbose output for event 2 only.


[0275] Table D provides a list of network monitor options according to the invention.
4TABLE DMonitor Optionsmon [-log LAYER[=[−]option1,[−]option2...]]*[-n npkt] [-skip pkt] [-until endpkt][-ev eventID] [-untilev eventid] [-justev eventid][-noclients] dump_file-log-n npktOnly process the first npkt packets from the input data.-skip pktSkip pkt packets before beginning to process the input data.-until endpktOnly process data through the packet number provided is reached-ev eventIDOnly process the data starting at the given eventID.-untilev eventidOnly process the data through eventid. Note that to find the end of eventid,events with ids greater than eventid may be processed.-justev eventidOnly process the data for eventid. Note that to find the end of eventid,events with ids greater than eventid may be processed. This option is theequivalent of −ev eventld −untilev eventld.-noclientsDo not generate any output for higher level protocols such as HTTP,FTP, etc.dump_fileThe dump file, in tcpdump/windump format, that contains the input data.


[0276] Understanding the Wizard Generated Policy


[0277] Using the Policy Generation Wizard, a user specifies a network security policy in terms of the network services provided by certain hosts to other hosts in the network. When such policy is processed, the wizard generates a formal and more detailed description of the network security policy using the policy language. The policy language specification may then be used to analyze network traffic using the policy monitor tool. The results of this analysis can be studied using the query tool. An exemplary policy language is taught in A Declarative Language for Specifying a Security Policy, U.S. patent application Ser. No. 09/479,781 (Jan. 7, 2000).


[0278] Understanding the output of the preferred query tool requires understanding how the preferred wizard translates the high-level view of security policy it presents to its users into a set of policy language objects such as rules, credentials and dispositions.


[0279] Understanding the policy generation process involves the following:


[0280] Understanding the predefined rules, credentials and dispositions;


[0281] Understanding the implicit rules and credentials; and


[0282] Understanding the explicit rules and credentials.


[0283] Predefined Rules, Credentials and Dispositions


[0284] Every policy generated by the wizard includes a set of predefined default rules for handling protocol events that do not conform to the user-defined policy i.e. rules that deny access, as well as rules for handling common network events not covered by the user policy. These rules and their dispositions are shown in Table E and Table F, and further discussed below.
5TABLE ERuleProtocol - ActionDispositionIp_DenyIP - allIp_Access_DeniedIcmp_DenyICMP - allIcmp_Access_DeniedUdp_DenyUDP - allUdp_Access_DeniedTcp_DenyTCP - allTcp_Access_DeniedHttp_DenyHTTP - allHttp_Access_DeniedFtp_DenyFTP - allFtp_Access_DeniedSsl_DenySSL - allSsl_Access_DeniedSsh_DenySSH - allSsh_Access_Denied


[0285] Table F shows the default rules for all the protocols supported by the policy monitor. The policy engine selects these rules when no other rule can be found that is satisfied by the protocol event.
6TABLE FRuleProtocol - ActionDispositionIp_Deny_Pure_IpIP - PROTOCOL_UNKNOWNDeny_Pure_IpTcp_Missed_ConnectionsTCP - MISSED_CONNECTWarn_Missed_Tcp_ConnectFtp_Ignore_Data_ConnectionsFTP - DATA_OPENok


[0286] Table G below shows rules that cover protocol events not addressed by the wizard's user interface. These are well understood events that can be separated from those handled by the default rules. Ip_Deny_Pure_ Ip is assigned to IP associations whose payload is not one of the three well-known IP-based protocols (ICMP, UDP and TCP). Tcp— Missed_Connections is assigned to network events where the establishment of the TCP connection was not witnessed by the policy monitor. Ftp_Ignore_Data_Connections is assigned to all FTP data connections which, from a security policy monitoring perspective, can be safely ignored. It is noted that the preferred policy wizard generates other rules to deal with common protocol events as discussed below.


[0287] Table G shows the predefined dispositions used by all the rules in the generated policy. Associated with each disposition are its disposition code and severity, which may be used in the query tool to filter network events.
7TABLE GDispositionDisposition CodeDisposition SeverityokOKNonepolicy-errorPOLICY_ERRORCRITICALIp_Access_DeniedACCESS_DENIEDHIGHDeny_Pure_IpACCESS_DENIEDHIGHMonitor_BroadcastsOKMONITORIcmp_Access_DeniedACCESS_DENIEDHIGHMonitor_IcmpOKMONITORUdp_Access_DeniedACCESS_DENIEDHIGHTcp_Access_DeniedACCESS_DENIEDHIGHWarn_Missed_Tcp_ConnectOKWARNINGFtp_Access_DeniedACCESS_DENIEDHIGHHttp_Access_DeniedACCESS_DENIEDHIGHSsl_Access_DeniedACCESS_DENIEDHIGHSsh_Access_DeniedACCESS_DENIEDHIGH


[0288] It should be noted that ok and policy-error are actually built-in dispositions in the policy language. If policy-error is encountered it indicates an error in the processing of either the policy or the network traffic data by the policy monitor. The meaning of the other dispositions is explained later in this document in the context of the rules in which they are used.


[0289] Finally, the wizard includes a set of predefined credentials that are combined with dynamically generated credentials and used in implicitly generated rules:


[0290] _Multicast_Addresses—a set of commonly used IP multicast addresses;


[0291] _Local Broadcast_Address—the IP address used for non-directed local broadcasts (255.255.255.255); and


[0292] _Zero_Ip_Address—a zero-valued IP address (0.0.0.0), commonly used by BOOTP clients;


[0293] It is noted that the double underscore prefix in these credential names is used to ensure that there aren't any name conflicts with credentials generated to represent user-defined communities and services.


[0294] Explicit Rules and Credentials


[0295] Every community defined by the user results in a credential of the same name. Because the scope of a community name is that of the entire policy specification, the resulting credential names need not be massaged to ensure uniqueness.


[0296] Service names are also global in scope. Because services and communities share the same name space, every service defined in the policy results in a credential whose name is constructed by prefixing the user-supplied service name with the underscore character. Thus, for example, the Smb service is represented by a credential named_Smb.


[0297] Rule names, on the other hand, are only unique within the scope of a policy domain. Furthermore, if a user-defined rule addresses a service that is both a UDP and a TCP service, the wizard generates two rules, one for the UDP protocol and another for the TCP protocol. Thus, a rule name is constructed by prefixing the user-supplied name with the protocol name (Udp_ or Tcp_) and the policy domain name.


[0298] For example, if the user defines a rule titled Smb_Services within a policy domain named Intranet, the wizard generates two rules, Udp_Intranet_Smb_Services and Tcp_lntranet_Smb_Services, for the UDP and TCP protocols respectively.


[0299] User-defined rules may also result in the generation of additional credentials. When defining a rule, the user provides the following information:


[0300] Zero, one, or more initiator communities;


[0301] Zero, one, or more services; and


[0302] Zero, one, or more target communities.


[0303] If more than one initiator community are specified, the wizard generates a credential that combines these communities into a union. The credential name is constructed by appending the word_Initiator to the user-supplied rule name, prefixed by the policy domain name. Using the example above, the wizard would create a credential named Intranet_Smb_Services_Initiator.


[0304] Likewise, if more than one target communities are specified, the wizard creates a credential representing their union and names it by appending the word_Target to the policy domain and rule names, e.g. Intranet_Smb_Services_Target).


[0305] However, if one or more services are specified they are combined with the target credentials according to the service type. For example, the Smb service (for the SMB protocol suite) and its like-named credential include ports that are used for both TCP and UDP. Thus, for the Smb_Services rule used above, the wizard would generate the following additional credentials: Udp_lntranet_Smb_Services_Target and Tcp_lntranet_Smb_Services_Target. These credentials combine Intranet_Smb_Services_Target (or a single target community) with the _Smb credential and constitute the actual target credentials used in Udp_lntranet_Smb_Services and Tcp_lntranet_Smb_Services respectively. It should be noted that, in many cases, the set of UDP and TCP services referenced in a rule have little, if any overlap.


[0306] If the end user does not specify any services the wizard uses the Intranet_Smb_Services_Target credential (or a single target community credential) to identify the target principal.


[0307] Implicit Rules and Credentials


[0308] For each policy domain within the policy specification, the wizard automatically generates a set of rules and credentials that define the valid IP-level traffic seen at the monitoring point within the domain. In addition, an ICMP rule is generated that handles all intradomain ICMP traffic, as well as a credential for the monitoring point in that domain.


[0309] The monitoring point credential is based on an agent descriptor string manufactured by the wizard. The agent descriptor is constructed by converting the policy domain name to uppercase and appending to it the word _MONITOR. Thus, for example, a policy domain named Intranet is assigned the agent descriptor:


INTRANET_MONITOR.


[0310] Note that this is the agent descriptor to be used in the policy monitor when analyzing data collected at this monitoring point.


[0311] The monitoring point credential itself is named by appending the word _Monitors to the policy domain's name. In the example above, the credential is named Intranet_Monitors.


[0312] The wizard segregates all intradomain ICMP traffic (common on an enterprise network) by use of a rule that assigns it the disposition Monitor_Icmp. The rule is named by combining the protocol name with the domain name using the word _Within. For example, in the Intranet policy domain the rule is named Icmp_Within_Intranet.


[0313] IP traffic is described by a set of rules that systematically enumerate all valid IP-level traffic within the policy domain, between hosts in the policy domain and external hosts, and between external hosts through the policy domain (when more than one perimeter element is present). Most of these rules provisionally allow IP traffic, letting the subsequent protocol layers (ICMP, UDP, TCP, etc.) determine if the traffic is indeed allowed either by a user-defined (explicit) rule or by a predefined rule.


[0314] The first IP rule provisionally allows all intradomain IP traffic. It is named by combining the protocol name with the domain name using the word _Within (e.g., Ip_Within_Intranet). In the absence of a higher-level protocol within an intradomain IP association, the rule assigns the network event a disposition of Deny_Pure_Ip, i.e. its final outcome.


[0315] The intradomain IP rule uses the policy domain's defining community as its target principal. However, it generates another credential to be used as the initiator. This credential combines the defining community with the predefined credential for zero-valued IP addresses (_Zero_Ip_Address). The generated credential is named by appending the word _Initiator to the generated rule name, e.g. Ip_Within_Intranet_Initiator.


[0316] Another intradomain IP rule is used to segregate typical broadcast and multicast traffic within an enterprise network. It is named by combining the protocol name with the domain name using the words _Broadcasts_Within, e.g. Ip_Broadcasts_Within_Intranet. Its initiator principal is the same as that used for the general intradomain traffic , e.g. Ip_Within_Intranet_Initiator. Its target is a new credential constructed by combining the predefined credentials _Multicast_Addresses and _Local_Broadcast_Address with the directed broadcast addresses for all the subnets within the policy domain's defining community. The new credential is named by appending the word _Target to the rule name e.g. Ip_Broadcasts_Within_Intranet_Target.


[0317] The intradomain broadcast and multicast traffic is assigned the disposition Monitor_Broadcasts.


[0318] Traffic between hosts in the policy domain and external hosts is described by a set of rules whose complexity depends on how much information the user supplied about the topology of the network. Specifically, it depends on how many perimeter elements were specified and on whether or not the interface addresses, i.e. MAC addresses, of the perimeter elements are included in the policy specification.


[0319] If there are external communities associated with at least one perimeter element for which the interface address is not known, the wizard generates a credential combining all such communities in a single union unless there is only one such community, in which case its credential already exists. This credential is named by combining the policy domain name with the string _External _Communities, e.g. Intranet_External_Communities.


[0320] The wizard then generates two rules defining the traffic between hosts internal to the policy domain and these external communities. The wizard names these rules by combining the protocol name with the domain name and the string _To_External_Communities or _External_Communities_To, depending on the direction of the IP traffic, e.g. Ip_Intranet_To_External_Communities for outbound traffic and Ip_External_Communities_To_Intranet for inbound traffic.


[0321] The credentials used alternately as the initiator and target principals for these rules are the policy domain's defining community and the aforementioned credential for the external communities. The rules provisionally allow the IP traffic to flow, subject to other rules for higher level protocols. In the absence of a higher-level protocol within the network event, the rule assigns it a disposition of Deny_Pure_Ip, i.e. its final outcome.


[0322] External communities visible through one or more perimeter elements whose interface addresses are known, are handled by a separate set of rules, two per perimeter element. For each perimeter element, the wizard starts by creating a credential that combines one or more credentials for one or more external communities visible through it with the perimeter element's interface address. Such credential is named by combining the domain name with the perimeter element name and the string _Communities. For example, external communities visible through a perimeter element named Firewall are described by a credential named Intranet_Firewall_Communities.


[0323] The wizard then generates two rules defining the traffic between hosts internal to the policy domain and the external communities visible through this perimeter element. The wizard names these rules by combining the protocol name, the domain name, the perimeter element name and the word _To, e.g. Ip_Intranet_To_Intranet_Firewall for outbound traffic and Ip_Intranet_Firewall_To_Intranet for inbound traffic.


[0324] The credentials used alternately as the initiator and target principals for these rules are the policy domain's defining community and the aforementioned credential for the external communities. The rules provisionally allow the IP traffic to flow, subject to other rules for higher level protocols. In the absence of a higher-level protocol within the network event, the rule assigns it a disposition of Deny_Pure_Ip, i.e. its final outcome.


[0325] Finally, if there is more than one perimeter element associated with the policy domain, the wizard generates rule-pairs that describe the traffic between external communities visible through specific perimeter elements as well as external communities visible through any perimeter element, i.e. those without associated interface addresses. The rules are named by combining the names of each pair of perimeter elements with the protocol name, the policy domain name and with the word _To, in the case of addressable perimeter elements, or with the string _External_Communities, for all other external communities. An additional rule is generated to cover traffic between external communities not associated with an addressable perimeter element and is named by combining the protocol name with the domain name and the string _Between_External_Communities.


[0326] Thus, if the Intranet domain used as an example in this section were to have a second (addressable) perimeter element named Router and a third non-addressable perimeter element (whose name is unimportant), the wizard would generate the following rules to cover all traffic amongst their respective external communities:


[0327] Ip_Intranet_Firewall_To_Intranet_Router


[0328] Ip_Intranet_Router To_Intranet_Firewall


[0329] Ip_Intranet_Firewall_To_External_Communities


[0330] Ip_External_Communities_To_Intranet_Firewall


[0331] Ip_Intranet_Router_To_External_Communities


[0332] Ip_External_Communities_To_Intranet_Router


[0333] Ip_Intranet_Between_External_Communities


[0334] Table H and Table I summarize all the implicit rules and credentials generated for the example policy domain Intranet. The policy domain includes two perimeter elements with a specified interface address (Firewall and Router) and a third non-addressable perimeter element.
8TABLE HCredentialCommentIntranet_MonitorsUses agent descriptorINTRANET_MONITORIp_Within_Intranet_InitiatorDefining community pluszero-valued IP addressIp_Broadcasts_Within_Intranet_TargetCombines standard multicastaddresses with local broadcastand directed broadcastaddressesIntranet_External_CommunitiesCombines all externalcommunities not associatedwith addressable perimeterelementsIntranet_Firewall_CommunitiesCombines all externalcommunities visible throughthe Firewall perimeter elementIntranet_Router_CommunitiesCombines all externalcommunities visible throughthe Router perimeter element


[0335]

9







TABLE I









Credentials
Disposition



(I -Initiator
(I -Immediate


Rule
T - Target)
F - Final)







Ip_Within_Intranet
I: Ip_Within_Intranet_Initiator
I: continue



T: Intranet
F: Deny_Pure_Ip


Ip_Broadcasts_Within_Intranet
I: Ip_Within_Intranet_Initiator
I: Monitor_Broadcasts



T: Ip_Broadcasts_Within_Intranet_Target


Icmp_Within_Intranet
I: none (ignore)
I: Monitor_Icmp



T: none (ignore)



Note: uses Ip_Within_Intranet as



prerequisite


Ip_Intranet_To_External_Communities
I: Intranet
I: continue



T: Intranet_External_Communities
F: Deny_Pure_Ip


Ip_External_Communities_To_Intranet
I: Intranet_External_Communities
I: continue



T: Intranet
F: Deny_Pure_Ip


Ip_Intranet_To_Intranet_Firewall
I: Intranet
I: continue



T: Intranet_Firewall_Communities
F: Deny_Pure_Ip


Ip_Intranet_Firewall_To_Intranet
I: Intranet_Firewall_Communities
I: continue



T: Intranet
F: Deny_Pure_Ip


Ip_Intranet_To_Intranet_Router
I: Intranet
I: continue



T: Intranet_Router_Communities
F: Deny_Pure_Ip


Ip_Intranet_RouterTo_Intranet
I: Intranet_Router_Communities
I: continue



T: Intranet
F: Deny_Pure_Ip


Ip_Intranet_Firewall_To_Intranet_Router
I: Intranet_Firewall_Communities
I: continue



T: Intranet_Router_Communities
F: Deny_Pure_Ip


Ip_Intranet_Router_To_Intranet_Firewall
I: Intranet_Router_Communities
I: continue



T: Intranet_Firewall_Communities
F: Deny_Pure_Ip


Ip_Intranet_Firewall_To_External_Communities:
I: Intranet_Firewall_Communities
I: continue



T: Intranet_External_Communities
F: Deny_Pure_Ip


Ip_External_Communities_To_Intranet_Firewall
I: Intranet_External_Communities
I: continue



T: Intranet_Firewall_Communities
F: Deny_Pure_Ip


Ip_Intranet_Router_To_External_Communities
I: Intranet_Router_Communities
I: continue



T: Intranet_External_Communities
F: Deny_Pure_Ip


Ip_External_Communities_To_Intranet_Router
I: Intranet_External_Communities
I: continue



T: Intranet_Router_Communities
F: Deny_Pure_Ip


Ip_Intranet_Between_External_Communities
I: Intranet_External_Communities
I: continue



T: Intranet_External_Communities
F: Deny_Pure_Ip










[0336] Logging and Reporting Modules


[0337] The preferred embodiment of the invention provides logging and reporting modules, as described herein with reference to FIG. 1a. As the policy engine module 102 reaches dispositions on network events, it passes the network event object to the logging module 103.


[0338] The preferred embodiment of the invention also provides an alarm script 155. As the policy engine module 102 reaches dispositions on network events of a certain disposition severity, for example, CRITICAL or HIGH, the alarm script is invoked to provide expedited alerting of the disposition.


[0339] The following algorithm is used to enter the data into the database 104.


[0340] During initialization of the logging module 103, the database 104 is tested to see if it contains a policy that matches the MD5 hash of the policy 105 currently being used by the policy engine 102. If no such policy is found then the policy details are added to the database 104;


[0341] with each network event passed to the logging module 103, if logging of network events is enabled, then:


[0342] if the final disposition of the network event matches one of the list of dispositions that is to be logged, then:


[0343] add the network event to the buffer of network events, flushing the buffer to the database 104 if it is full;


[0344] loop through each of the protocol events contained in the network event;


[0345] if the initiator and responder principals have not been already added to the database 104 then do so, caching the database keys for later use; and


[0346] add the protocol event to the buffer of network events, flushing the buffer to the database 104 if it is full.


[0347] On a periodic basis report statistics 161 are sent across a secure channel to a secure, customer accessible server 162. The preferred embodiment of the invention uses the following algorithm.


[0348] A report script 160 described is used to generate a report 161 for the configured or predetermined time period. An example of a list of preferred acquired or calculated statistics or intermediate steps is contained in Table J below;


[0349] The report 161 is then packaged using the tar command and PGP to encrypt the resulting file using the public key of a recipient email account; and


[0350] This encrypted file is then emailed to the recipient email account.


[0351] It should be appreciated that an equally preferred embodiment performs name resolution on packet data after the packet data has been collected, rather than concurrent with collecting the packet data. An advantage to such name resolution technique is that name resolution after collection is removed from real-time processing, thereby rendering name resolution more efficient.


[0352] On the receiving secure server 162 the following algorithm is invoked on the received email message.


[0353] PGP is used to decrypt the received encrypted tar file;


[0354] Tar is used to extract the report data;


[0355] The report data is then processed to link the report into the reporting website 164 for the client; and


[0356] Any supplied protocol event data is then stored in a reporting database 165.


[0357] Upon accessing the reporting website 164 the client is able to peruse the reports that have been generated, access the protocol event data stored in the database 165 via a cgi script.
10TABLE JGenerate network events in subsidiary web files, based on execution run;Generate network events table,Generate table for URL's and status codes;Find events of interest;Check for all execution runs being in sequence;Give best optimization for queries;Compute number of events and number of exceptions;Apply definitions of log severity and disposition code in order ofcriticality;Apply query to several execution runs at a time, collect results;Select key disposition and key policy rule first, to be able to finddistinct disposition and policy rule;Determine sort order for disposition and policy rule table; andGenerate a list of dispositions in the selected events, counting how manyevents were generated by each.


[0358] Automated Generation of an English Language Representation of a Formal Network Security Policy Specification


[0359] The preferred embodiment of the invention uses a formal specification of network security policy that is to be enforced on a network. This specification provides a precise, compact description of network security policy. However, it is difficult for a layperson to understand. In order to allow comprehension of the policy by non-technical staff within a user's organization the parser module (FIGS. 1150) is used to generate an English language description of the policy. This description is simple enough to be understood, yet captures the salient details of the policy. It will be appreciated that the invention generated a representation in a human readable language, such as english, those skilled in the art will recognize that the invention may generate representations in any human readable language.


[0360] The preferred embodiment of the invention provides the following algorithm for generating the English language representation. The algorithm comprises the following:


[0361] Loading the policy into the parser from its text representation; and


[0362] Looping through all supported protocols, from the highest level protocols to the lowest;


[0363] Sorting the rules for this protocol into ranked order; and


[0364] Looping through these rules from the highest ranking to the lowest;


[0365] Generating a text description of the rule using the algorithm below. If an HTML flag has been set then format the text into a HTML table; and


[0366] Append this description to a collection of descriptions already generated.


[0367] The preferred embodiment of the invention provides the following rule algorithm to generate an English language representation of a single policy language rule. The algorithm is described with reference to FIG. 12. The algorithm outputs the name of the rule at hand (2001). It then proceeds to output the agent's name (2002), where the agent is the subject network monitor(s) to which the policy applies. The algorithm then loops through all protocol and action combinations (2003). If the action is to be ignored (2004), then the rule applies to the whole protocol (2005). Otherwise, the rule applies to certain actions only (2014). The algorithm then looks at the immediate outcome for the rule (2006). The algorithm then outputs the corresponding directive for the outcome (2007). If any conditions exist on the disposition, then the algorithm outputs the conditions (2008). The algorithm looks at the final outcome (2011), then outputs the corresponding final outcome of the rule (2012). If any conditions exist on the disposition, then the algorithm outputs the conditions (2013). If the rule applies to a particular initiator or target, then the algorithm outputs the initiator or target name (2009). Otherwise, the algorithm outputs a general inclusive name, such as, for example, “anyone.” The algorithm then checks for prerequisites (2010). If any are discovered, the algorithm then outputs such prerequisites.


[0368] For an example of the rule algorithm discussed above, Table K below shows code to the example implementation.
11TABLE Kif (isBuiltin( )) return;Bool processedImmediate = false;Bool immediateDefaultContinue = false;Bool capitalize = true;string str;string protocol;// output the table row startif (html) str = “\n<tr><p>”; else str = “\n\n”;// output the rule nameif (html) str += “<TD WIDTH=\“10%\” VALIGN=\“TOP\”><B>” + getName( ) + “<a name = \“ ” + getName( ) +“\”></a></B></TD>”;else str += “Rule” + getName( ) + “:”;// output the agent namestring agentName;if (getAgent( ) == 0) agentName = “All Monitors”;else agentName = getAgent( )−>getName( );if (html) str += “<TD WIDTH=\“5%\” VALIGN=\“TOP\”>” + agentName + “</TD>”;// start the cell for the descriptionif (html) str += “<TD WIDTH=\“85%\” VALIGN=\“TOP\”>”;// loop through the protocol and action combinationsBool first = true;for (PrsUnion::const_iterator t0 = _protocol−>begin( ); t0 != _protocol−>end( ); t0++){ for (PrsUnion::const_iterator t2 = _action−>begin( );  t2 != _action−>end( );  t2++) {  if (first)   first = false;  else   protocol += “,”;  // if the action is ignore then it applies to the whole protocol  if ((*t2)−>getStringRepresentation( ) != PrsConst::META_IGNORE)   protocol += (*t0)−>getStringRepresentation( ) + “−” + (*t2)−>getStringRepresentation( ) + “ ”;  else   protocol += (*t0)−>getStringRepresentation( ) + “ ”; }}// look at the outcome to figure what we do with this traffic// is there an immediate clauseif (_immediate != 0){ // output text based on the code string code = _immediate−>getDefault( )−>getCode( ); if (code == PrsConst::DISPCODE_OK) {  capitalize ? str += “Allow” : str += “allow”;  capitalize = false; } else if (code == PrsConst::DISPCODE_CONTINUE) {  if (_final−>getDefault( )−>getCode( ) == PrsConst::DISPCODE_OK)   capitalize ? str += “Provisionally allow” : str += “provisionally allow”;  else if (_final−>getDefault( )−>getCode( ) == “POLICY_ERROR”)   ;// say nothing. . .this is the default  else   capitalize ? str += “Provisionally deny” : str += “provisionally deny”;  immediateDefaultContinue = true; } else {  capitalize ? str += “Deny” : str += “deny”;  capitalize = false; } str += protocol; if ((_immediate−>getGuards( )) != 0 && (_immediate−>getGuards( )−>size( ) != 0)) /* KGS &&!immediateDefaultContinue */ {  if (_immediate−>getGuards( )−>size( ) == 1)   str += “with condition (”;  else   str += “with conditions (”;  first = true;  for (std::vector<PrsGuardedDisposition*>::const_iterator cond = _immediate−>getGuards( )−>begin( );   cond != _immediate−>getGuards( )−>end( );   cond++)  {   if (first)  first = false;   else  str += “,”;   if (html) str += “<l>”;   str += (*cond)−>getGuard( )−>getName( );   if (html) str += “</l>”;  }  str += “),”; } processedImmediate = true;}// is there a final clauseif (_final != 0){ if (!processedImmediate) {  // output text based on the code  string code = _final−>getDefault( )−>getCode( );  if (code == PrsConst::DISPCODE_OK)  {   capitalize ? str += “Provisionally allow” : str += “provisionally allow”;   capitalize = false;  }  else if (code == “POLICY_ERROR”)  ;// say nothing. . .this is the default else {  capitalize ? str += “Provisionally deny” : str += “provisionally deny”;  capitalize = false; } str += protocol; if ((_final−>getGuards( )) != 0 && (_final−>getGuards( )−>size( ) != 0)) {  if (_final−>getGuards( )−>size( ) == 1)   str += “with condition (”;  else   str += “with conditions (”;  Bool first = true;  for (std::vector<PrsGuardedDisposition*>::const_iterator cond = _immediate−>getGuards( )−>begin( );   cond != _immediate−>getGuards( )−>end( );   cond++)  {   if (first)  first = false;   else  str += “,”;   if (html) str += “<l>”;   str += (*cond)−>getGuard( )−>getName( );   if (html) str += “</l>”;  }  str += “),”; }}else{ // output text based on the code string code = _final−>getDefault( )−>getCode( ); if (!immediateDefaultContinue) {  if (code == PrsConst::DISPCODE_OK)   str += “but provisionally allow”;  else if (code == “POLICY_ERROR”)   ;// say nothing. . .this is the default  else   str += “but provisionally deny”; } if ((_final−>getGuards( )) != 0 && (_final−>getGuards( )−>size( ) != 0)) {  str += “with conditions (”;  Bool first = true;  for (std::vector<PrsGuardedDisposition*>::const_iterator cond = _immediate−>getGuards( )−>begin( );   cond != _immediate−>getGuards( )−>end( );   cond++)  {   if (first)  first = false;   else  str += “,”;   if (html) str += “<l>”;   str += (*cond)−>getGuard( )−>getName( );  if (html) str += “</l>”;   }   str += “),”;  } }}if (html) str += “from <l>”  + (_initiator−>getCredential( ) ? _initiator−>getCredential( )−>getName( ) : “anyone”)  + “</l> to <l>”  + (_target−>getCredential( ) ? _target−>getCredential( )−>getName( ) : “anyone”)  + “</l>”;else str += “from”  + (_initiator−>getCredential( ) ? _initiator−>getCredential( )−>getName( ) : “anyone”)  + “to”  + (_target−>getCredential( ) ? _target−>getCredential( )−>getName( ) : “anyone”);if (getPrerequisite( ) != 0){ str += “, provided that”; Bool first = true; for (vector<const PrsRule*>::const_iterator t3 = _prerequisite−>begin( );  t3 != _prerequisite−>end( );  t3++) {  if (first)   first = false;  else   str += “or”;  if (html)   str += “<l><a href=\“#” + (*t3)−>getName( ) + “\”>” + (*t3)−>getName( ) + “</a></l>”;  else   str += (*t3)−>getName( ); } str += “is true.”;}// start the cell for the descriptionif (html) str += “</TD></TR>”;else str += “(Agent” + agentName + “).”;ostm << str.c_str( );


[0369] For an example of an output file generated by the main algorithm discussed above, Table L shows the example of the output in table format. For an example of a policy specification file that can be used as input into the main algorithm discussed above, refer to Table P below.
12TABLE LRules for protocol HTTPHttp_Blocked_Service_ViolationAll MonitorsDeny HTTP from anyone to anyone,provided that Tcp Blocked Services is true.Http_DenyAll MonitorsDeny HTTP from anyone to anyoneRules for protocol FTPFtp_Blocked_Service_ViolationAll MonitorsDeny FTP from anyone to anyone,provided that Tcp Blocked Services istrue.Ftp_DenyAll MonitorsDeny FTP from anyone to anyoneFtp_Anonymous_AuthenticationAll MonitorsAllow FTP-CONTROL_AUTHENTICATEwith condition (Authentication_Rejected),from Anon_User to anyoneFtp_Validate_PasswordAll MonitorsAllow FTP-CONTROL_AUTHENTICATEwith conditions (Authentication_Rejected,Strong_Password), from anyone to anyoneFtp_Ignore_Data_ConnectionsAll MonitorsAllow FTP-DATA_OPEN from anyone toanyoneRules for protocol SSHSsh_Validate_HandshakeAll MonitorsAllow SSH-HANDSHAKE, SSH-SESSION_ABORTED with conditions(Ssh_Authentication_Failed,Ssh_Authentication_Aborted,Ssh_Secure_Authentication_Modes),from anyone to anyoneSsh_Blocked_Service_ViolationAll MonitorsDeny SSH from anyone to anyone,provided that Tcp Blocked Services istrue.Ssh_DenyAll MonitorsDeny SSH from anyone to anyoneRules for protocol SSLSsl_Validate_HandshakeAll MonitorsAllow SSL-HANDSHAKE with conditions(Authentication_Rejected,Ssl_Session_Qos), from anyone toanyoneSsl_Blocked_Service_ViolationAll MonitorsDeny SSL from anyone to anyone,that Tcp Blocked Services istrue.Ssl_DenyAll MonitorsDeny SSL from anyone to anyoneSsl_Missed_HandshakesAll MonitorsAllow SSL-MISSED_HANDSHAKE fromanyone to anyoneRules for protocol TCPTcp_Blocked_Services_ResponseAll MonitorsDeny TCP-ABORT, TCP-CLOSE,TCP-TIMEOUT with condition(Tcp_Data_Xfer), from anyone to anyone,provided that Tcp Blocked Services istrue.Tcp_Connection_TerminatedAll MonitorsAllow TCP-ABORT, TCP-CLOSE,TCP-TIMEOUT from anyone to anyoneTcp_DenyAll MonitorsProvisionally deny TCP from anyone toanyoneTcp_X_Shh_From_Clouds_To_Cgi_ProvisionalX_MonitorsProvisionally allow TCP-CONNECT fromClouds toTcp_X_Shh_From_Clouds_To_Cgi_Provisional_TargetTcp_X_Spm_Colloc_TrafficX_MonitorsAllow TCP-CONNECT from Modin toTcp_X_Spm_Colloc_Traffic_TargetTcp_X_Spm_Colloc_Traffic_ProvisionalX_MonitorsProvisionally allow TCP-CONNECT fromModin toTcp_X_Spm_Colloc_Traffic_Provisional_TargetTcp_X_Ssh_From_Monkey_To_Fluffy_ProvisionalX_MonitorsProvisionally allow TCP-CONNECT fromMonkey toTcp_X_Ssh_From_Monkey_To_Fluffy_Provisional_TargetTcp_X_X_Loghost_TrafficX_MonitorsAllow TCP-CONNECT fromX_Web_Servers toTcp_X_X_Loghost_Traffic_TargetTcp_X_Dns_From_Colloc_To_Dns_ServerX_MonitorsAllow TCP-CONNECT fromX_Coloc_Subnet toTcp_X_Dns_From_Colloc_To_Dns_Server_TargetTcp_X_Port_1984_TrafficX_MonitorsAllow TCP-CONNECT fromX_Coloc_Subnet toTcp_X_Port_1984_Traffic_TargetTcp_X_Ssh_To_Web_ServerX_MonitorsAllow TCP-CONNECT from X_Ssh_To_Web_Server_Initiator toTcp_X_Ssh_To_Web_Server_TargetTcp_X_Ssh_From_Fluffy_To_Monkey_ProvisionalX_MonitorsProvisionally allow TCP-CONNECT from.Fluffy toTcp_X_Ssh_From_Fluffy_To_Monkey_Provisional_TargetTcp_X_Ssh_From_X_To_X_Web_Servers_ProvisionalX_MonitorsProvisionally allow TCP-CONNECT fromX_Ssh_From_X_To_X_Web_Servers_Provisional_Initiator toTcp_X_Ssh_From_X_To_X_Web_Servers_Provisional_TargetTcp_X_Http_From_Any_To_All_Web_Servers_ProvisionalX_MonitorsProvisionally allow TCP-CONNECT fromanyone toTcp_X_Http_From_Any_To_All_Web_Servers_Provi-sional_TargetTcp_X_Stmp_From_All_To_XX_MonitorsAllow TCP-CONNECT fromX_Stmp_From_All_To_X_Initiator to _SmtpTcp_Blocked_ServicesAll MonitorsProvisionally deny TCP-CONNECT fromanyone to anyoneTcp_Missed_ConnectionsAll MonitorsAllow TCP-MISSED_CONNECT fromanyone to anyoneTcp_Blocked_Services_ViolationAll MonitorsDeny TCP-PROTOCOL_UNKNOWN fromanyone to anyone, provided thatTcp Blocked Services is true.Tcp_Unknown_ProtocolAll MonitorsDeny TCP-PROTOCOL_UNKNOWN fromanyone to anyoneRules for protocol UDPUdp_X_Dns_From_Colloc_To_Dns_ServerX_MonitorsAllow UDP-ASSOCIATION fromX_Coloc_Subnet toUdp_X_Dns_From_Colloc_To_Dns_Server_TargetUdp_DenyAll MonitorsDeny UDP from anyone to anyoneRules for protocol ICMPIcmp_Within_XX_MonitorsAllow ICMP-ASSOCIATION from anyoneto anyone, provided that Ip Within X istrue.Icmp_DenyAll MonitorsDeny ICMP from anyone to anyoneRules for protocol IPIp_Directed_Broadcasts_Within_XX_MonitorsAllow IP-ASSOCIATION fromIp_Within_X_Initiator toIp_Directed_Broadcasts_Within_X_TargetIp_External_Communities_To_XX_MonitorsProvisionally deny IP-ASSOCIATION fromX_External_Communities toX_Coloc_SubnetIp_X_To_External_CommunitiesX_MonitorsProvisionally deny IP-ASSOCIATION fromX_Coloc_Subnet toX_External_CommunitiesIp_Within_XX_MonitorsProvisionally deny IP-ASSOCIATION fromIp_Within_X_Initiator to X_Coloc_SubnetIp_Non_Directed_Broadcasts_Within_XX_MonitorsAllow IP-ASSOCIATION fromIp_Within_X_Initiator to_Generic_Multicast_And_Broadcast_AddressesIP_DenyAll MonitorsDeny IP from anyone to anyoneIp_Unknown_ProtocolAll MonitorsDeny IP-PROTOCOL_UNKNOWN fromanyone to anyone


[0370] Algorithm for Efficient Rule Evaluation


[0371] The preferred embodiment of the invention comprises a technique for a policy engine internally to organize policy rules in order to effect an efficient evaluation of protocol events at runtime. Evaluation of a protocol event entails selecting one or more applicable policy rules using an evaluation algorithm. The preferred evaluation algorithm is described in A Declarative Language for Specifying a Security Policy, U.S. patent application Ser. No. 09/479,781 (Jan. 7, 2000). An excerpt describing the preferred evaluation algorithm is provided below in Table P.


[0372] Using this technique, policy rules are organized in a manner that minimizes the number of rules that need to be considered when determining the set of rules applicable to a given protocol event. The algorithm is described with reference to FIG. 13 as follows:


[0373] Create a first associative array, such as, for example, agent-to-protocols, where the key is an agent descriptor and the value is a reference to a second associative array with all the policy rules applicable to network traffic monitored by that agent (3001);


[0374] Create a second associative array, such as, for example, protocol-to-actions, where the key is a protocol name and the value is a reference to a third associative array with all the policy rules applicable to that protocol (3002).


[0375] Create a third associative array, such as, for example, action-to-rules, where the key is a protocol action and the value is a list of references to the policy rules applicable to that protocol action (3003). The rules referenced in this list (3004) are sorted in decreasing order of rank number, taking into account any constraints such as, for example, rank-above, that might be present. Rules with the same rank number are ordered in the lexical order of their names.


[0376] It should be noted that the same rule can be referenced by different lists of ordered rules and, in each list, can have different rank numbers because the ranking of a rule is relative to the ranking of the other rules in the same list.


[0377] Assessment Tool


[0378] The preferred embodiment of the invention provides an assessment tool that allows the discussed technique for continuously assessing the security of a system to be applicable to both long-term and short-term network assessment. The tool provides an additional dimension to network assessment. That is, it provides the ability to capture and classify large volumes of network traffic efficiently, based on a formal policy which describes permitted traffic. The tool adds network usage to the known list of features discussed in an assessment framework.


[0379] It has been found through field experience that the invention can be useful in the following contexts:


[0380] Identifying services that were not mentioned by the system administration staff of a network that is being assessed;


[0381] Identifying usage patterns of critical machines. In an assessment framework, this applies to typical usage patterns, because a long-term deployment of the invention is needed to continuously analyze and monitor changes in usage or rare aberrant behavior;


[0382] Identifying services; and


[0383] Analyze routing patterns. It should be appreciated that subnets are not scanned.


[0384] It should be appreciated that using the invention as a supplemental process in performing network assessments results in at least the following benefits:


[0385] Rather than providing an inference of possible network behavior that is based on what hosts are configured to do, the network behavior is directly analyzed based on direct observation of data traffic;


[0386] Rather than basing security analysis on a static snap-shot of the network environment as it existed at a particular moment, the analysis is based on a dynamic recording of network behavior over some non-trivial amount of time. As an analogy, traditional known network vulnerability scans take still photographs, while the invention takes a motion picture;


[0387] Instead of relying on the accuracy of information provided by the customer point of contact through an interview process, the invention provides specific and tangible data points for discussion that facilitates the interview process and educates the customer on problems in an immediate feedback loop; and


[0388] Because the invention is policy based, and because of the rigor built into the policy language and analysis engine, the otherwise manual (and hence error prone) analysis of security issues relative to the business and architectural context are enforced with a precise methodology which greatly reduces errors and omissions during the assessment process.


[0389] It should be appreciated that because the invention operates passively, the customer network can be monitored while in normal operation or production.


[0390] Operational Description


[0391] An example of implementing the assessment tool is described in the following discussion. A consultant arrives at a customer office with one or more workstations with the monitoring invention discussed herein loaded. The workstation, or station for short, may be a laptop computer, or other suitably portable platform. The monitoring station is attached to the customer network at a critical network bottleneck, e.g. just inside an Internet firewall, and monitors all traffic at that point in the network. From a security point of view, the monitoring station is entirely passive and invisible to the network. The monitoring station only receives packets and does not respond to any protocol actions. Due to the monitoring station's passive nature, no operational impact is imposed on the subject network. Hence, assessments may be performed during peak production times, as well as when a network is in a quiescent state.


[0392] In this example, the monitoring station is left attached to the network for a long period of time, depending on conditions, such as, for example, the practical demands of the visit, storage space on the station, and the amount of traffic on the customer's network. If appropriate, the station can be left at the customer site to gather data over a short-term period, such as, for example, days and weeks.


[0393] In this example of an assessment situation, the policy specification is used to remove from consideration as much mundane network traffic as possible, allowing the analyst to concentrate on more interesting traffic. Due to the opinion of the analyst being part of the assessment process, there is no fixed goal for the level of detail needed in the policy specification. In the simplest case, the analyst generates no policy at all, and examines the network events one by one (perhaps using the query tool to filter them). In practice, it can be suggested that the analyst undergoes a short policy development phase, as the short policy development phase can serve the analyst well to reduce thousands of network events into a page or two, which may then be examined by inspection.


[0394] The invention allows data to be stored in full packet form for most detailed analysis, or in compressed form storing only security-sensitive events. The latter form also removes customer-confidential information, such as, for example, embedded passwords, so that it is more appropriate for removal from the customer site. A typical usage scenario is capturing full-packet data in a short burst, such as, for example, five minutes. After a brief analysis, a longer data collection is run using the compressed form.


[0395] The preferred embodiment of the invention provides the following algorithm for an operator, such as an analyst, to perform the data analysis on a data packet or on a compressed file of data. The algorithm is described referring to FIG. 14, as follows:


[0396] 1) Create a null policy, which denies all actions, for a customer site (copying a file). Set null policy to the current policy (4002);


[0397] 2) Run the policy engine discussed herein over the input data and using current policy (4002), and store the resulting data in a local database (4003);


[0398] 3) Using the query tool discussed herein, examine the network traffic that is declared in violation by the current policy (4004);


[0399] 4) Categorize the most frequent traffic based on customer input:


[0400] a) If the traffic matches known customer-supplied input patterns, add this traffic to the policy with an OK disposition (4005);


[0401] b) If the traffic does not match customer-supplied input patterns, but has high volume, add this traffic to the policy with an OK,monitor disposition (4006).


[0402] 5) Repeat from step 2 (4009) until only a small, manageable number of events remains (4007). Then end the algorithm (4008).


[0403] It should be appreciated that the same packet or compressed file is run by the policy engine multiple times.


[0404] It should be appreciated that in an assessment situation a policy can be edited by using the policy generator discussed herein. The invention provides for using the policy generator for rapid policy development based on transport-level parameters. Enhanced policy development, using more complex tools, typically is not necessary in an assessment situation.


[0405] It should also be appreciated implementing the algorithm discussed above does not take very long. Part or all of the process may take place at the customer site, in a hotel room, on an airplane, or back at the analyst's office, for example. When the process is completed, the analyst has a list of monitored network events. This list is used as a basis for additional discussion with the customer to determine the meaning of such events. Experience has shown that such conversation is useful to the assessment interviewing process.


[0406] It should also be appreciated that the variations of the algorithm above can be implemented and are within the scope of the invention. Examples of variations follow.



EXAMPLE VARIATION I

[0407] An equally preferred embodiment comprises the analysts first determining the customer requirements and the customer network credentials. Using this information, the analyst programs an initial policy. The analyst can derive and use additional information from the scanning process as described in the algorithm above.



EXAMPLE VARIATION II

[0408] The customer or analysts designs an initial best policy as a set of credentials and rules, set all dispositions to DENY, and monitors the network to determine what the dispositions should be.


[0409] Credential/Condition Assertion Verification Optimization


[0410] In the preferred embodiment of the invention, the policy language describes a policy decision involving two principals, an initiator and a target principal. These principals are identified by a set of one or more credentials. For each policy decision the policy engine ascertains which credential in the policy best describes the information about the principals involved in an interaction. Similarly, the policy language herein describes conditions that in turn describe tests performed on the state of an associated protocol event.


[0411] The preferred embodiment of the invention provides a credential / condition assertion verification optimization algorithm to ensure that the choice of credentials and conditions are made as efficiently as possible.


[0412] To accomplish credential/condition assertion verification optimization, the policy engine:


[0413] During the initialization process dynamically creates comparing functions for principals with credentials, and comparing functions for state of protocol events with particular conditions in a high level language such as C++;


[0414] Dynamically creates and loads a module containing the comparing functions;


[0415] During runtime ensures that installed policy file matches module containing comparing functions, otherwise generates new module containing comparing functions that correspond to installed policy file; and


[0416] Calls comparing functions as appropriate.


[0417] The preferred embodiment provides a more rigorous algorithm, an example of which is described in Table M below.
13TABLE MDuring the initialization process of the policy engine:the policy engine requests that the parser module load a policy file,comprising credentials and conditions into an in-memory representation;the policy engine requests that the parser module load an assertionverification dynamically loadable library (DLL);if this DLL exists thenit is loaded into memory; anda predetermined function, for example named dllValidateFunc(), containedin the loaded DLL is called. If the return value of the function call isthe same as a MD5 hash of the previously loaded policy file, then loadingis complete. Otherwise execution initialization continues below;because the DLL does not exist or because the MD5 hash does not match,a code generation function of the parser module is invoked, which:adds header information to a C++ assertion code file;adds a function that returns the MD5 hash of the policy file that was usedto generate this C++ file;iterates through credentials contained in the in-memory representation,generating C++ function prototype and function declarations for code thatcan compare a principal description with the definition of a credential intothe assertion code file, wherein such comparison is performed by:calling other credential comparison methods for any credentials used in thedefinition of the credential under test;making calls to the policy engine module to perform comparisonoperations based on allowable operations for the built-in types ofthe policy language; andcombining the results of the above tests with logical operators AND, ORand NOT;iterates through the conditions contained in the in-memory representation,generating C++ function prototype and function declarations for code thatcan compare a protocol state description with the definition of a conditioninto the assertion code file, wherein such comparison is performed by:calling other condition comparison methods for any conditions used in thedefinition of the condition under test;making calls to the policy engine module to perform comparisonoperations based on the allowable operations for the built-in types of thepolicy language; andcombining the results of the above tests with logical operators AND, ORand NOT;compiles and links this generated C++ file to create a dynamicallyloadable module containing a compiled version of the principal/credentialand protocol/condition comparison functions; andloads this newly created module.During the runtime of the policy engine:each time that it needs to decide whether a principal is described by aparticular credential it computes the name of the comparison functionbased on the name of the credential to be tested;calls the comparison function which returns a Boolean value thatrepresents whether the credential under test matches the principal undertest;each time that it needs to decide whether a protocol state satisfies aparticular condition it computes the name of the comparison functionbased on the name of the condition to be tested; andcalls the comparison function which returns a Boolean value thatrepresents whether the condition under test satisfies the protocol stateunder test.


[0418] Network Monitor Internals Descriptions


[0419] The preferred embodiment of the invention provides a network monitor internals mechanism discussed below that serves to translate packet data into multiple concurrent streams of network event data. It accomplishes this by interpreting both sides of each protocol transaction.


[0420]
FIG. 15 shows a high level schematic diagram of the network monitor 127 accepting packet data from either a live network interface 125 or a file containing packet data 126. The network monitor extracts security-sensitive details from the input packet stream. 125, 126, and generates output in a serialized stream of encoded network event information 115. The preferred encoded format is DME encoded format, discussed below in section, Network Event Encoding Format. The output network event information can be stored for logging or debugging purposes, or can be passed directly to the policy engine. Thus, the discussed network monitor provides an efficient process of exporting data from a customer's site, such process comprising extracting security-sensitive information.


[0421]
FIG. 16 shows a schematic diagram of process flow according to the invention. The network monitor 127 is a single-threaded program that processes packets (125 or 126) as they are read. Each packet is passed to a monitor protocol engine 6100 for processing. When security-sensitive protocol events are encountered in the packet data, the monitor calls into its output section 6200 to transmit network or protocol events to the rest of the policy monitoring system 100 via a network pipe, direct procedure call. Output section 6200 can also store protocol events in a file for later processing.


[0422] Protocol Engine


[0423] The preferred embodiment of the invention provides a protocol engine in the network monitor that can be described with reference to FIG. 17, which is a block schematic diagram of features of the protocol engine according to the invention. Input packet data 115 is read into a known object-oriented structure type 6101, such as, for example, a C structure here named pkt_t structure. The pkt_t structure 6101 represents a packet on the network. It provides a stack-based structuring mechanism 6102 that allows protocol headers and trailers 6103 to be marked in the packet so that software may focus easily on the correct protocol layer. The pkt_t structure 6101 also includes generic src 6104 and dst 6105 address locations, and flags 6106 to pass useful information up and down a connection stack, for example, if such packet is transiting from server to client or vice versa.


[0424] The protocol engine 6100 provides one module 6107 for each protocol implemented 6108. The modules implement a generic series of operations, a preferred example of such series is provided below in Table N. A common connection structure 6109 allows connection data to be arranged in a stack allocation for each access across layer boundaries. In Java or C++ terminology, for example, each protocol is a superclass of connection. The layering permits protocols to assume one or more roles as the layer responsible for each corresponding boundary, such as, for example: Network, Transport, Session, Application, or Transactions.
14TABLE NExample of generic operations for each protocol implementation:1.Init: Call-once initialization2.Bind(packet, connection): given the first packet of a connection,attempt to bind this packet into a new instance of this protocol withinconnection. Establish the instance in its proper role(s) within theconnection.3.Input(packet, connection): given a packet, which has been associatedwith a connection (in some cases, connection is NULL, indicatingthat no such relationship exists, or exists yet), process the packet asinput to the connection.4.GiveBack(packet, connection): given a packet, which has beenassociated with a connection at a higher level of protocol, give backthe packet to this layer, so that the data will be received later, as ifit was retransmitted. Typically, packet has been modified to containonly part of the input data.5.GetMore(connection, amountNeeded, fromClientOrServer)returns(packet): given a connection, attempt to return a packetcontaining more data on the connection, if such is available. This callis used from a higher layer of protocol calling down to a lower layerof protocol. The fromClientOrServer argument is used to determine ifthe data is being requested that was received by the server side orthe client side of the connection.6.StopCollecting(connection): given a connection, adjust the protocolstack so that no further data will be processed on this connection.Depending on the protocol in question, this may involve discardingdata or adjusting filters. A connection which is not “collecting”attempts to process packets in the most efficient manner.7.Shutdown(connection, fromOrg, fromDst): given a connection,modify the connection state to indicate that the client, server, orboth have acted to take down the connection. The full generality ofthe call is needed only for a transport connection like TCP.8.Del(connection): given a connection, arbitrarily delete the instance ofthis protocol from the connection object. This call is intended to cleanup the resources used by the connection; Shutdown is used to indicateprotocol agreement that the connection is coming to an end.9.Alarm(connection, time): given a connection and the current time,this call is used to signal an alarm has expired on this connection. Thetime argument is the official time of the alarm, which may not evenbe related to the current time.10.SwitchSrcDst(connection): this call indicates that a higher layer ofsoftware (perhaps a higher level protocol) has determined that thechoice of client and server in this protocol instance are wrong, andshould be reversed. This may happen when initial connectionnegotiation packets are not seen by the monitor, but laterinformation makes the client and server clear.


[0425] It should be appreciated that in the stopCollecting generic operation, and in a transport protocol, header information in packets may need to be examined to determine connection state, allowing freeing of resources when the connection terminates. Transport protocols discard all subsequent data from the connection, and do not forward packets on to higher level protocols. Such mechanism allows the monitor to efficiently process bulk transfers, encrypted connections, or connections that are no longer of interest to the policy engine.


[0426] It should be appreciated that the process discussed above for the stopcollecting generic operation can be appropriate for a hardware filter to stop packets from arriving.


[0427] The concept of the current time in the monitor flows from the packet level upwards. That is, time is associated with the packet and is maintained throughout the packet. When the network monitor is running in real time off live packet data, current time reduces to the time a packet was received, which may be earlier than the time when the packet is processed. When the network monitor is running off stored packet data, current time in the monitor has no relation to actual current time. The packet is processed relative to the time it was received and whereby time intervals remain the same. Also, results can be lined up in the database reflecting the point of reference of the time the packet was received.


[0428] The network monitor provides support for setting alarms on connections. An alarm is set by registering a connection to receive a signal when the network monitor transitions to a predetermined value of current time. The signal consists of a call to a generic alarm operation in every protocol layer registered with such connection. Alarm handlers are called in order from lowest protocol layer to highest protocol layer.


[0429] Because network monitor functionality is based on network events that can map to network connections, the network monitor provides a connectionless association feature. By using the feature, the network monitor registers the fact that it noticed two IP hosts communicating. Typically, an association is long lived, whether or not the network monitor knows its intention. Examples of associations are a series of ICMP PING/PING REPLY packets and a stream of IPSEC packets. The network monitor treats associations as connections. Indeed, often associations are connections at a higher level of protocol.


[0430] Output Section


[0431] The preferred embodiment of the invention provides an output section in the protocol engine. FIG. 18 is a high level flow diagram of the preferred output section according to the invention. The output section 6200 of the network monitor receives network event data from the protocol engine and generates outbound calls 6203 to transmit such data to the policy engine or to a file.


[0432] The output section 6200 works by allowing the network monitor to establish a transaction which forms an association between a monitor connection and a network event in the policy engine. FIG. 19 shows a schematic diagram of a transaction 6204, comprising an association 6205 between a subject monitor connection 6206 and a network event 6207. Typically, the lifetime of the connection 6206, the transaction 6204, and the network event 6207 is similar.


[0433] The output section's interface comprises a set of calls to establish communication with the policy engine, and to start and finish transactions, and a set of protocol-specific calls. The calls progress as follows:
15Connect BeginTransaction  ProtocolEvent1  ProtocolEvent2  . . . EndTransactionDisconnect


[0434] It should be appreciated that in addition to the calls above, multiple transactions can be active at a time, as long as each transaction follows the ordering described above.


[0435] The output section internally translates such calls into a generic set of calls, an example of which is listed below. At initialization of the network monitor, the output section is configured with a chain of output generic modules, each of which is used as filter on the output data. An example of the implemented modules follows:


[0436] NULL: acts as an endpoint, but discards input data without doing anything;


[0437] SM: connects by procedure call directly to policy processing;


[0438] ENC: generate encoded form of output; and


[0439] LOG: generate textual form of output.


[0440] In an equally preferred embodiment of the invention, the network monitor also includes an input section that decodes an encoded version of events. For an example application, in a real-time monitoring system embodiment the monitor 127 processes network traffic 125 in real time and uses ENC to generate encoded output. The encoded output is transmitted in real-time over a TCP connection where it is decoded and connected using SM to the Policy Engine 102.


[0441] In another embodiment of the invention, the output section is used for testing purposes. The output section is configured using command line arguments. An example of an algorithm for such testing follows:


[0442] 1. Capture packet data into a file;


[0443] 2. Run the network monitor on the packet data, using LOG→ENC. Store the logged textual data and the encoded form into separate files; and


[0444] 3. Run the network monitor on the encoded data, using LOG→NULL. Store the logged textual data in a file.


[0445] 4. Compare the two textual files to make sure that the decoded version matches the logged textual file.


[0446] Network Event Encoding Format


[0447] The preferred embodiment of the invention provides a technique for network event encoding to be used by the network monitor. The encoding technique is designed for both archival and transmission purposes. The basic format of the encoding is:


[0448] Header


[0449] Embedded agent descriptors


[0450] Type map


[0451] Encoded transactions


[0452] An example of the preferred form of the header follows:


[0453] 4 byte magic number: “SMKo”


[0454] 1 byte major version=2


[0455] 1 byte minor version=1


[0456] 4 bytes containing the size of this header


[0457] 8 bytes (struct timeval) begin time, which is a time which is less than or equal to every timestamp in this encoded record


[0458] 4 bytes offset of agent descriptor section


[0459] 4 bytes indicating number of agent descriptors


[0460] 4 bytes offset of type map section


[0461] 4 bytes indicating number of type map entries


[0462] 4 bytes offset to first transaction record


[0463] 4 bytes size of this file, or 0xFFFFFFFF if unknown.


[0464] 4 bytes 1's complement checksum of this file or 0xFFFFFFFF if unknown


[0465] The agent descriptor section is used to store a possibly null list of agent descriptors that are configured into the network monitor at encoding time. The agent descriptors are strings that plug into a particular policy language policy. They indicate the location of the subject monitor in the subject network wiring structure, enabling rules that apply to such location in the network and disable rules that do not apply.


[0466] A preferred agent descriptor section comprises an array, where each element of the array is an ASCII string, preceded by a single byte giving its length. The size of the array is given in the header cited above.


[0467] The preferred type map section is used to improve maintainability of the full policy monitoring system. Provided by the type map section is a mapping between update types used in an encoded record and the update types' string names. The decoding module uses this information to detect new update types that are not supported by mapping known updates to the correct values. That is, because new update types typically are not interpretable by old software, they are therefore successfully skipped.


[0468] A preferred type map section comprises an array, where each element of the array contains a four-byte type value, a single byte of string length, and the ASCII name of the type. The size of the array is given in the header cited above.


[0469] The preferred encoded transactions comprise an array of individual update encodings. The size of the array is either derivable from the header file size information, or is unbounded, such as, for real-time monitoring.


[0470] A preferred header for an individual update has the following format:


[0471] 1 byte, giving the update type


[0472] 4 bytes, giving the size of this header in bytes, not including the length of the header


[0473] 8 bytes (struct timeval) giving the absolute time when this update occurred


[0474] 4 bytes, giving the packet number of this update since the monitor started (first packet=packet #0)


[0475] 4 bytes, giving the eventID of this update, which is the number of BEGIN_TRANS updates that occurred before this one, since the monitor started


[0476] Following the header a body contains additional update-type-specific data, or possibly none.


[0477] To understand all events that transpire on a connection, it is necessary to combine events of different protocol layers. For example, an update, named SM_IP_ASSOCIATION, provides IP src and dst addresses and establishes a peer relationship. Subsequent events assume that this information is known and builds on it. For example, an update named ICMP_ECHO has no body at all.


[0478] An example of a set of update types and corresponding encoding body for each update, according to the invention is given below in Table O. The meaning of the term “string” is: if length(string) is <255, then byte[length], byte[string][length], else byte[0xff], byte[a], byte[b], byte[c], byte[d], byte[string][length] where a,b,c,d are the four (big-endian) bytes of length.
16TABLE PEvaluation AlgorithmIn the preferred embodiment the policy engine applies a policyevaluation algorithm to each incoming protocol event. The algorithmresults in a selection of a policy rule applicable to theprotocol event and may produce an immediate or final disposition.Following is a step-by-step description of the evaluation algorithmaccording to the preferred embodiment. It is noted that the evaluationprocedure described herein below is in conceptual form and does nottake into account any possible runtime optimizations:1)Select a set of rules applicable to an Agent reporting an event;2)From said set, select a second set of rules applicable to an associatedexamined protocol.3)From said second set, select a third set of rules applicable to anassociated examined protocol action.4)Starting with a most specific policy rule in said third set anddescending to a least specific rule find a policy rule satisfiedby said protocol event. A matching algorithm according to thepreferred embodiment is as follows:a) If one or more orderly listed prerequisite rules are specified, ensureat least one of said prerequisite rules is satisfied by a previouslyprocessed protocol event. In the preferred embodiment a prerequisiterule is satisfied if it is a pending policy rule for the protocol event.b) Match initiator and target credentials in the policy rule against thecorresponding initiator and target credentials presented in the protocolevent.5)If a policy rule satisfying the protocol event is not found the policyengine generates a disposition for the network event indicating that apolicy specification error was encountered. Effectively the processingof the network event thereby terminates.6)If a policy rule satisfying the protocol event is found, the policyengine checks for other rules having a same ranking number and alsosatisfying the event. If such rules are found the policy engine usesthe following algorithm in the preferred embodiment to select asingle applicable rule:a) Rules that specify all protocols, i.e. using ignore or present, areless specific than rules that explicitly list a set of one or moreprotocols.b) Rules that specify all actions (i.e. using ignore or present) areless specific than rules that explicitly list a set of one or moreactions.c) Rules that have prerequisites are more specific than rules that donot have prerequisites. Rules that specify a higher-rankingprerequisite are more specific than rules that specify a lower-ranking prerequisite. In the preferred embodiment a rankingrelationship is relevant only if both prerequisite rules belongto a same protocol-action group.d) If thereafter a single rule is determined as more specific than theothers it is selected for the protocol event. If more than one ruleremains the policy engine sorts the remaining rules in increasinglexical order by name and selects a first rule from the sortedrules having an immediate disposition indicating in decreasingorder of precedence:i) a policy violation (any disposition code other than OK orCONTINUE);ii) CONTINUE (allows other rules to examine further the networkevent); andiii) OK


[0479] The outcome of the policy evaluation algorithm herein above is a policy rule that satisfies the protocol event. If an immediate outcome is specified for that rule, it is executed, producing a disposition for the protocol event. If the disposition comprises a final disposition code (any code other than CONTINUE), the disposition is also the final disposition for the network event.


[0480] Otherwise in the preferred embodiment the selected policy rule is a pending policy rule for the network event. In absence of any further protocol events the pending policy rule is promoted to selected policy rule. A final outcome of the selected policy rule is executed producing a final disposition for the network event.


[0481] An Exemplary User Interface for Providing and Reporting Processed and Analyzed Network Data to an End User


[0482] An exemplary user interface for providing and reporting the processed and analyzed network data from the database (FIGS. 1a165) to an end user is provided below.


[0483] It should be appreciated that examples of a typical end user using such interface are, but are not limited to a customer whose network is being monitored, an operations analyst reviewing the customer's network environment and network data, and/or a policy analyst reviewing the network data and its conformance to network policy.


[0484] The preferred embodiment of the invention uses a web page paradigm as an example of a type of user interface, and is described with reference to figures of screen prints of web pages herein. While the claimed invention herein has disclosed a web page implementation of a user interface, it will be appreciated by those skilled in the art that such user interface readily encompasses any form, that can be substituted therefore to effect a similar result as is achieved by the web page, including but not limited to any graphical user interface or non-graphical user interface.


[0485] The preferred embodiment of the invention is described with reference to FIG. 20 and comprises a system dashboard, label 20000 on a home page, wherein the dashboard 20000 is kept up to date with current monitoring information from the monitored network.


[0486] In the preferred embodiment of the invention, the dashboard 20000 updates once every five minutes. It should be appreciated that different update rates can be used to keep the data on the dashboard 20000 current, and that parts of the underlying customer data may be updated at a different, such as a slower rate.


[0487] The preferred embodiment of the invention provides a tear off feature on the system dashboard 20000. In this example, the end user clicks on a tear off tab 20010 to open a tear off console window. FIG. 21 shows an example of a tear off console window according to the invention. It is intended that the end user keep the console window open on the computer desktop all day long to view high level reporting of the health of the monitored network.


[0488] The preferred embodiment of the invention provides an outstanding alerts area 20020 of the dashboard and consists of a FIFO queue of CRITICAL alerts that have been generated by the policy monitoring system (FIGS. 1a106). In the preferred embodiment of the invention the following applies. The size of the alert list can be limited to a predetermined number of elements. The total number of open alerts can be displayed within the alerts area 20030.


[0489] The underlying data is updated on a real-time basis. Entries in the list link to alert details, as depicted in FIG. 28. In this example, clicking on an entry in the list 20030 opens up an alert details page 2801 for that particular alert, comprising such alert details as, for example rule, disposition, time of alert, type of alert, source ip-address, destination IP-address, and the like.


[0490] The preferred embodiment of the invention provides a health monitor 20040 to show a visual representation of the severity categories into which the current observed traffic has been assigned over a predetermined amount of time. In this example, the underlying data is updated every five minutes and summarizes traffic over the last one hour and last twenty four hour periods. CRITICAL and HIGH severity alerts have a red bar 20050, MEDIUM, WARNING and MONITOR uses a yellow bar 20060, and all others are green 20070.


[0491] The preferred embodiment of the invention provides access to current summary reports. An example is shown in FIG. 20 as part of the end user's home page. Such screen allows the end user to generate queries that summarize report data filtered by the monitoring point and over configurable time periods. An interface feature, such as a dropdown listbox 20090 allows the end user to choose one of a predetermined set of time periods, such as but not limited to the following:


[0492] Select date range—A specific time period expressed in starting month, day and hour, followed by ending month, day and hour using an interface feature such as dropdown listboxes 20091;


[0493] Last two hours;


[0494] Last 24 hours;


[0495] Today (since midnight);


[0496] Yesterday (00:00-23:59:59);


[0497] Last seven days;


[0498] This month (from first to present);


[0499] Last month (from first to end of month);


[0500] Last three months (three months back from present); and


[0501] Custom (retrieves date/time range from the last manually configured query).


[0502] The preferred embodiment of the invention provides an events summary view as shown in FIG. 22.


[0503] In the example shown in FIG. 22, viewing the summary for a specific time period displays both a chart 2201 of a predetermined number of columns and a table 2202 displaying the following information, when the conformance tab 2203, the violators tab 2204, or the targets tab 2205, respectively, is selected:


[0504] A conformance chart/table shown in FIG. 22, displaying the count of violations for each rule/disposition pair.


[0505] An icon 2206 links to a network event details page, such as shown in FIG. 23 that contains details of events that make up this count, i.e. all network events with such rule/disposition pair that occurred in the given time period.


[0506] A violators chart 2901 and table 2902 shown in FIG. 29, displaying the count 2903 of the number of violations for each of the top violating ip-addresses 2904.


[0507] An icon 2206 links to a network event details page, such as shown in FIG. 23 that contains details of events that make up this count, i.e. all network events with such originating ip-address that occurred in the given time period.


[0508] A targets chart 3001 and table 3002 shown in FIG. 30, displaying the count 3003 of the number of violations for each of the top destination IP-addresses 3004.


[0509] An icon 2206 links to the a event details page, such as shown in FIG. 23 that contains details of events that make up this count, i.e. all network events with such destination IP-address and port that occurred in the given time period.


[0510]
FIG. 22 shows the events summary report for conformance.


[0511] The preferred embodiment of the invention provides a link to network events detail information. In this example, a separate link 2206 builds a network events details page as shown in FIG. 23. FIG. 23 contains a table that may be sorted or reverse sorted by any of the columns displayed 2301 of all violating network events with such a rule/disposition pair that occurred in the chosen time period.


[0512] In the preferred embodiment of the invention, the summary page (FIG. 22) contains a specification of the date range of the data being displayed. In particular, if the start of the range falls outside the range of date for acquiring user data then the actual start date of the user data is displayed.


[0513] It should be appreciated that in another equally preferred embodiment, user defined and configurable query and reports settings can be stored, for example, in a user's preferences or profile.


[0514] The preferred embodiment of the invention comprises trend reports on the dashboard, wherein such reports comprise charts that link to a network events summary page containing details of the summarized traffic. More specifically, the charts, unless otherwise explicitly specified, are bar charts, each of which link to the network events summary page.


[0515] Referring to FIG. 20, the preferred embodiment of the invention comprises a section, such as a QuickWeek section 20100 of the end user's main page, such as a login page or home page that contains trend graphs, such as but not limited to the following:


[0516] During the past seven days, the five most frequent rule/disposition combinations versus count 20110;


[0517] During the past seven days, the five most frequent violator ip-addresses versus count 20120; and


[0518] During the past seven days, the five most frequent target ip-addresses versus count 20130.


[0519] It should be appreciated that another equally preferred embodiment of the invention comprises an input means for the end user to customize which trends appear in the trend, e.g. QuickWeek section, and to customize the time period being viewed.


[0520] The preferred embodiment of the invention comprises trend charts that are embedded into details pages. Each of the trend charts allows the end user to dynamically configure a time range by a means such as a pull down menu. Examples of such embedded trend charts are:


[0521] Policy effectiveness;


[0522] Number of policy changes over time;


[0523] Event Summary (such as for the following):


[0524] Conformance: Graphical view of the data for the specified time period 2201;


[0525] Violators: Graphical view of the data for the specified time period; and


[0526] Targets: Graphical view of the data for the specified time period; and


[0527] Network Event Details (such as for the following):


[0528] Conformance Event Details (FIG. 23): Violator count over time for a particular rule/disposition combination 2303;


[0529] Violators Event Details: Conformance count over time for a particular violator; and


[0530] Target Event Details: Conformance count over time for a particular target;


[0531] All, e.g. in chronological order:Conformance count over time for a particular time period.


[0532] The preferred embodiment of the invention provides event detail reports, such as for but not limited to network event details, protocol event details, and alert details, described below.


[0533] The preferred embodiment of the invention provides a network event details page containing listed fields in columns that vary according to the violation type, such as, for example, All, Conformance (FIG. 23), Violator, and Target that had been selected at the summary level. For each type, except All, rather than repeat the field or column(s) which reiterate the violation, it will be displayed in the heading of the events detail page. For example, after choosing to view event details for a particular target, the DstIP is not repeated in every row. Each of the columns may be used to sort or reverse sort the report by clicking on that column's heading name. Following is a list of types of data provided in a network event details page:


[0534] Monitoring Point;


[0535] Disposition Name;


[0536] Rule Name;


[0537] Disposition Code;


[0538] Severity;


[0539] Src IP;


[0540] Src Port;


[0541] Dst IP;


[0542] Dst Port;


[0543] IPProtocol;


[0544] Event Time: event times can be stored throughout the system in UTC; and


[0545] Application Data:


[0546] ICMP—ICMP action code;


[0547] HTTP—URL;


[0548] FTP—Filename;


[0549] SSL—Ciphersuite, Issuer and Subject's certificate CommonName, Certificate Status;


[0550] SSH—Authentication handshake status; and


[0551] Application Status Code


[0552] HTTP—StatusCode.


[0553] The preferred embodiment of the invention provides a protocol event details page as depicted in FIG. 24 and that is created in the context of a particular network event instance. This data is retrieved on an as-needed basis from a database. The content of this page reflects the data available in a protocol event view of the QueryTool and is specific to the protocol or protocols being displayed. Such data includes, but is not limited to:


[0554] Data from such attributes as IP address, interface address, protocol ID, service port, URL, file pathname, user name, password metrics, public key certificate, encrypted session parameters and status codes; and


[0555] Protocol-specific actions such as HTTP methods, TCP protocol messages, ICMP message codes, FTP control commands, and authentication steps.


[0556] The preferred embodiment of the invention provides an alert event details page as depicted in FIG. 28 containing, but not limited to the following:


[0557] details of the network event that caused the alert;


[0558] rule and disposition name that triggered alert;


[0559] log comment from the disposition;


[0560] time at which the alert was generated;


[0561] initiator ip address of the corresponding non-conformant traffic;


[0562] target ip address of the corresponding non-conformant traffic;


[0563] an icon that links to the network event details page describing the non-conformant network event; and


[0564] checkbox to clear the alert.


[0565] The preferred embodiment of the invention provides a policy update page containing, but not limited to a table displaying each time a new policy is installed on the security policy management system discussed herein. This table contains, but is not limited to:


[0566] Date of the policy installation;


[0567] Description of policy; and


[0568] A link to the English description that represents the newly installed policy.


[0569] It should be appreciated that in the preferred embodiment of the invention alerts are generated whenever a disposition with a CRITICAL severity is assigned to a network event, each alert generating an email containing, but not limited to the following information:


[0570] time the alert occurred;


[0571] rule and disposition name that triggered alert;


[0572] log description, if any, from the corresponding disposition;


[0573] initiator ip address of the corresponding non-conformant traffic;


[0574] target ip address of the corresponding non-conformant traffic; and


[0575] link to the network event detail describing the non-conformant network event.


[0576] The preferred embodiment of the invention provides a customer page that allows the user to configure a list of email addresses within a customer's organization that shall receive alert email.


[0577] Another equally preferred embodiment provides means for accessing ad-hoc queries for the end user, such as, but not limited to, filtering results by any one or all of the following:


[0578] Protocol of the rule name;


[0579] Policy rule name;


[0580] A regular expression within the rule name;


[0581] Disposition name of the violation;


[0582] A regular expression within the disposition name;


[0583] Source ip-address;


[0584] A regular expression with source ip-address;


[0585] Target (Destination) ip-address;


[0586] A regular expression within target (destination) ip-address;


[0587] Target (destination) port; and


[0588] A regular expression within target (destination) port.


[0589] An example of a means for accessing ad-hoc queries is an advanced search feature, such as for example, an advanced search dialog box 3100, as depicted in FIG. 31. In the preferred embodiment of the invention, the advanced search dialog box 3100 comprises list boxes for such categories, such as protocol 3101, rule 3102, and disposition 3103, and text boxes for descriptions, such as regular expression in a rule 3104 or disposition 3105 and IP-addresses 3106.


[0590] In the preferred embodiment of the invention, an end user can open the advanced search dialog box 3100 from an Advanced Search link 3201 on the dashboard, as depicted in FIG. 32, or from any event summary or event details page.


[0591] The preferred embodiment of the invention provides informational aids. For example, the following information about a user's policy is available via a variety of features, such as but not limited to links, tool tips, and the like:


[0592] Customer specific policy interpretation, such as provided by English language representation;


[0593] Rule and disposition descriptions as defined by the user in the user's policy, resolved DNS names for ip-addresses, and TCP and UDP service names; and


[0594] A copyright page containing copyrights and trademarks as required by licensing agreements with vendors.


[0595] The preferred embodiment provides links to descriptions of rules, dispositions, IP-addresses, and the like, displayed, for example in a pop up window whenever the user's cursor is over the respective field, as depicted in FIGS. 222207, FIG. 232302, FIG. 252501, FIG. 262601, and FIG. 272701, respectively.


[0596] The preferred embodiment of the invention provides links on each page that include, but are not limited to:


[0597] Context sensitive help per-page.


[0598] In the preferred embodiment of the invention, each details page contains a button linking to a printer friendly version of the page.


[0599] In the preferred embodiment of the invention, regardless of the time zone the user's or the policy monitoring systems runs on, such as, for example Universal Time Coordinates (UTC). Any time being displayed to the user, such as, for example, on a website or in contents of emails, is converted to the user's time zone and as such is explicitly displayed.


[0600] Enterprise Management and Rate Limiting Description


[0601] A method and apparatus for a network monitor internals mechanism, which serves to translate packet data into multiple concurrent streams of encoded network event data, to contribute to enterprise management, reporting, and global mechanisms for aggregating monitors at a centralized aggregation point, and to facilitate rate limiting techniques because such monitors are not in control (i.e. cannot back pressure flow) is provided.


[0602] More specifically, an architecture of enterprise management, enterprise global management, and enterprise reporting is provided; a corresponding underlying technology for distributed querying, i.e. a command manager protocol is provided; an exemplary enterprise monitor operations view is provided; and rate limiting techniques for the incoming packets are provided.


[0603] Data Dictionary


[0604] This section provides a user level view of the information managed by the invention. It includes definitions of entities visible to the user, rules for determining a unique instance of each entity, relationships between entities, and the constraints that the application of the invention enforces to maintain data integrity.


[0605] Conventions


[0606] The data entities are presented using the following conventions:


[0607] Entity Name


[0608] {Enumerated list of values or types, where appropriate}


[0609] Unique identifier for an instance


[0610] References to other entities


[0611] Attributes


[0612] Definition and usage


[0613] Constraints


[0614] It should be appreciated that unique identifiers in the logical model herein are defined based on objects represented in the system, rather than system generated identifiers used in implementation.


[0615] Policy Entities


[0616] Policy


[0617] Policy Name


[0618] Current policy version


[0619] Author


[0620] Checkout status


[0621] Definition:


[0622] A Policy is a technical specification of network security policy for a specific network. A policy is made up of policy objects used by a Policy Engine to characterize network traffic. A policy is versioned each time a change is made anywhere in the policy.


[0623] Policy Version


[0624] Policy Name


[0625] Policy Version


[0626] Last Update Time


[0627] Definition:


[0628] A specific collection of policy entities making up the policy at a point in time. Individual policy objects have timestamps to indicate when they were last changed, allowing easy identification of what actually changed in a given revision.


[0629] The policy version defines what policy is in effect for all conformance data.


[0630] Network Object


[0631] {Top Level Network, Subnet, Network Interface, Host}


[0632] Network Object Name


[0633] Policy Name


[0634] Policy Version


[0635] Last Update Time


[0636] Fully Model Traffic Flag


[0637] Definition:


[0638] The network object is a supertype entity that represents anything that generates or receives network traffic. Network objects have the ability to participate in Relationships, which means they can offer services to and require them from other network objects. See Relationship.


[0639] In one embodiment of the invention, a Fully Model Traffic flag directs a Policy Developer system (Policy Developer) to create detailed rules to validate all traffic to and from network objects rolling up to a reporting element. If this flag is not set, traffic not covered by specific relationships are not reported, i.e. are swept under the carpet. Tuning detailed rule generation improves output when evaluating a policy. It also allows policy to be developed for part of a network only.


[0640] Constraints:


[0641] Each network object has a unique name.


[0642] Every network object has one to which Reporting Element it reports. See Reporting Element.


[0643] Every IP address unambiguously resolves to a specific subnet and host network object.


[0644] Top Level Network


[0645] {All Networks, Internet, Intranet, Extranet}


[0646] Definition:


[0647] A Top Level Network is a type of network object and is one of a defined set of commonly recognized high level network elements. Top Level Network objects provide containment for subnets, and form the first two levels of a network object containment hierarchy, with All Networks at the root of the hierarchy.


[0648] A Top Level Network object may be connected to one or more Perimeter Elements through a Network Interface.


[0649] Subnet


[0650] Collection Point Name (optional)


[0651] Network Type {Intranet, Extranet}


[0652] Subnet Mask(s)


[0653] Definition:


[0654] A subnet is a type of network object contained by a designated Top Level Network object (network type). A subnet represents a collection of network devices using an address space defined by the subnet mask(s).


[0655] If a subnet has a collection point, it is considered a “monitored” subnet.


[0656] A Subnet may be connected to one or more Perimeter Elements through a Network Interface.


[0657] Constraints:


[0658] A subnet is contained within a Top Level Network object.


[0659] Subnet address spaces may not overlap.


[0660] Network Interface


[0661] Perimeter Element Name


[0662] Subnet Connected


[0663] IP Address (optional)


[0664] Media Access Control (MAC) Address (optional)


[0665] NAT Specification


[0666] Definition:


[0667] A Network Interface is a type of network object that defines a connection between a Subnet or Top Level Network and a Perimeter Element. The MAC address of the network interface is used to generate IP routing rules if provided. The network address translation specification is also used to validate IP routing when provided.


[0668] Constraints:


[0669] A Network Interface must uniquely connect a Subnet or Top Level Network and a Perimeter Element (only one Network Interface can connect a given pair).


[0670] Host


[0671] Host Member(s) {IP Address Space, Host}


[0672] Definition:


[0673] A host represents a device or logical group of devices. Hosts are commonly used to represent groups of devices that share relationships or other characteristics. A host may contain an IP addresses space (an IP list or range) and/or other hosts (host group).


[0674] Constraints:


[0675] A host's IP address space may not overlap with another host's IP address space or span multiple subnets. If a host definition would result in an IP space overlap, more specific hosts must be created such that no overlap exists. The specific hosts can then be contained in a host group for relationship definition and reporting purposes. In the case of a host with interfaces on multiple subnets, a virtual host is created for each interface and a host group defined containing those virtual hosts if summary reporting is needed.


[0676] A host may not recursively contain itself.


[0677] Perimeter Element


[0678] Perimeter Element Name


[0679] Policy Name


[0680] Policy Version


[0681] Last Update Time


[0682] Perimeter Element Type [Firewall, Router}


[0683] Definition:


[0684] A perimeter element is a device that acts as a router or firewall, and supports network connections between subnets and Top Level Network objects. The perimeter element contains a network interface for each connection it supports.


[0685] Service


[0686] Service Name


[0687] Policy Name


[0688] Policy Version


[0689] Last Update Time


[0690] Protocol


[0691] Service Owner


[0692] Definition:


[0693] A service is a category of network traffic that is associated with a specific application. A service has a “base protocol”, which specifies both the transport protocol and application layer protocols supported by the invention. See Protocol. The traffic descriptor(s) identify which ports are used by this service. If the “base protocol” is TCP and/or UDP, the service is more generally defined as all traffic using the specified transport protocol(s) and set of ports.


[0694] Protocol Component


[0695] Protocol Component Name


[0696] Protocol Name


[0697] Definition:


[0698] Each IP network protocol is defined to have a set of “components”, which are potential characteristics of a protocol session. For example, the SSL protocol has a component to identify a connection where poor-quality encryption is used. The TCP protocol has a component to identify a connection where data is transferred, and another one to identify a connection where no data is transferred.


[0699] Outcome


[0700] Protocol Name


[0701] Outcome Name


[0702] Policy Name


[0703] Policy Version


[0704] Last Update Time


[0705] Outcome Owner


[0706] Outcome Component(s)


[0707] Protocol Component Name


[0708] Criticality


[0709] Definition:


[0710] An outcome defines how security policy applies to the use of a given protocol. For example, an OK outcome means that use of the protocol is expected. Note that outcome names are not unique, e.g. each protocol has an OK outcome. An outcome contains a list of protocol components with a criticality assigned to each one. For protocol uses that are not expected, or are known to be bad, an outcome can be created that defines for each protocol component how critical a policy violation it represents.


[0711] Criticality is an important attribute throughout the system, as it identifies to the user when significant violations occur. Criticality is assigned to each network event by the policy engine, and is used to generate policy alerts.


[0712] Relationship


[0713] Destination Network Object


[0714] Source Network Object


[0715] Service


[0716] Policy Name


[0717] Policy Version


[0718] Last Update Time


[0719] Outcome


[0720] Definition:


[0721] Relationships describe expected or anticipated network traffic and are the basis for the rules used by the policy engine. A relationship is defined as a service “offered” by a destination object (or server application), and “required” by a source object (or client application). An associated outcome defines how policy applies to the relationship. Relationships can describe both expected good traffic and traffic that is forbidden by policy.


[0722] Inherited relationships are created when relationships are defined for a network object that contains other network objects. For example, if a host is contained within a subnet and a relationship is defined for the subnet, the contained host inherits the relationship. This means that the same policy applies to traffic to or from the host as to the subnet. Inherited relationships can be overridden.


[0723] Conformance Entities


[0724] Conformance entities are used or created by the policy engine when evaluating network traffic against a policy.


[0725] Collection Point


[0726] Collection Point Name


[0727] Definition:


[0728] A collection point represents a physical place in the network (typically a SPAN port on a switch) where traffic capture is occurring and the policy engine is applying policy.


[0729] The location of the collection point determines what traffic should be visible to the Monitor.


[0730] A Collection point is associated with one or more subnet objects.


[0731] Rule Name


[0732] Policy Name


[0733] Policy Version


[0734] Prerequisite rule (optional)


[0735] Source credential


[0736] Destination credential


[0737] Service (optional)


[0738] Description


[0739] Protocol


[0740] Action


[0741] Outcome


[0742] Definition:


[0743] A rule is an input to the policy engine created when a policy is compiled in the Policy Developer. Rules are derived from relationships and other policy objects through system logic. The policy engine associates a rule to each protocol and network event.


[0744] Disposition


[0745] Disposition Name


[0746] Policy Name


[0747] Policy Version


[0748] Outcome Component


[0749] Owner


[0750] Description


[0751] Disposition Code


[0752] Log Directive


[0753] Definition:


[0754] A disposition is an input to the policy engine created when a policy is compiled. A disposition characterizes a possible outcome of applying a rule to a protocol event. Dispositions are derived from relationships and other policy objects through system logic.


[0755] Credential


[0756] Credential Name


[0757] Policy Name


[0758] Policy Version


[0759] Description


[0760] Assertion


[0761] Definition:


[0762] A credential is an input to the policy engine created when a policy is compiled. A credential identifies a network entity or type of network traffic. It includes a boolean expression which, if true, defines a match. Credentials can also be created for application level entities such as user name, PKI certificate, URL, etc. Credentials are used in rules.


[0763] Condition


[0764] Condition Name


[0765] Policy Name


[0766] Policy Version


[0767] Description


[0768] Assertion


[0769] Definition:


[0770] A condition is an input to the policy engine created when a policy is compiled. A condition contains a boolean expression used in evaluating a rule. Credentials are used in rules.


[0771] Network Event


[0772] Network Event ID


[0773] Collection Point Name


[0774] Dump File (optional)


[0775] Policy Name


[0776] Policy Version


[0777] Source Network Object


[0778] Destination Network Object


[0779] Rule


[0780] Source IP Address


[0781] Destination IP Address


[0782] Source Routing Object


[0783] Destination Routing Object


[0784] Network Event Service


[0785] Outcome Component


[0786] Owner


[0787] Criticality


[0788] Protocol Action


[0789] Source Port


[0790] Destination Port


[0791] Source MAC


[0792] Destination MAC


[0793] Event Time


[0794] Definition:


[0795] A network event is an output of the policy engine created when network traffic is evaluated against a policy. A network event is a summary of the set of protocol events that make up a complete application level session on the network. For example, viewing a Web page creates a network event that summarizes the underlying IP association, TCP connection and HTTP Get protocol events.


[0796] A network event is identified by the packet which initiates an application session between devices. The optional capture file reference supports offline traffic analysis using discrete capture files. The policy engine assigns the following information to the network event, based on the protocol events and the most relevant policy rule that fires during policy evaluation:


[0797] source and destination IP addresses, and the derived policy network objects to which those IP addresses resolve;


[0798] policy rule that was selected as the most relevant by the policy engine;


[0799] service: either the service specified in the selected rule; the industry standard service for the destination port; user defined service on that port if no standard exists; or finally the combined protocol/port (e.g. tcp/1300) in that order of precedence;


[0800] outcome component assigned, including: protocol, outcome, protocol component, criticality;


[0801] owner: either the outcome, service or reporting element owner in that order of precedence;


[0802] source and destination routing objects to provide IP routing information; and


[0803] event time and other relevant protocol details.


[0804] Policy Alert


[0805] Network Event ID


[0806] Notification Time


[0807] Notification Method


[0808] Alert Cleared


[0809] Time Cleared


[0810] Definition:


[0811] A policy alert is created whenever a network event is assigned a severity of “critical”. The policy alert is sent via email or SNMP trap to specified addresses, and is tracked through an Operations View. The alert cleared flag and time indicate when an operational user clears the alert from the Operations View.


[0812] Protocol Event


[0813] Protocol Event ID


[0814] Policy Name


[0815] Policy Version


[0816] Network Event ID


[0817] Protocol


[0818] Rule


[0819] Disposition


[0820] Protocol Action


[0821] Definition:


[0822] A protocol event is an output of the policy engine that is created when network traffic is evaluated against a policy. A protocol event describes a single protocol exchange, and references the policy rule/disposition pair describing the result of policy evaluation for that event.


[0823] Protocol Event Attribute


[0824] Protocol Event ID


[0825] Protocol Name


[0826] Protocol Attribute Name


[0827] Protocol Attribute Value


[0828] Definition:


[0829] A protocol event attribute is output from the policy engine recording the value of each defined field in a protocol event. The set of protocol attributes for each protocol is statically defined.


[0830] Reporting Entities


[0831] Reporting Element


[0832] Reporting Element Name


[0833] Policy Name


[0834] Policy Version


[0835] Last Update Time


[0836] Definition:


[0837] A reporting element is a network object used to summarize network activity. Any network object may be designated a Reporting Element. Being reporting elements makes “interesting” network objects visible in summary views regardless of where they appear in the network object hierarchy.


[0838] When containment relationships create a hierarchy of reporting elements, network events are preferably reported at the lowest level. Reporting elements higher in the hierarchy summarize network events that do not roll up to any lower-level reporting element. Every IP address rolls up to some Reporting Element, with the Top Level Network objects functioning as Reporting Elements by default for any IP addresses that don't roll up to a user defined reporting element.


[0839] An owner may be assigned to the reporting element.


[0840] Network Object Hierarchy


[0841] Definition:


[0842] The network object containment relationships create a network object hierarchy. At the root is “All Networks”, the next level is the Internet, Intranet and Extranet objects. All defined subnets are contained within either Intranet of Extranet, and hosts are contained (implicitly) by the subnets.


[0843] Groups of hosts can be defined as well as groups of groups, forming a host group hierarchy separate from the subnet hierarchy.


[0844] Counts of network events can be rolled up at all the nodes in these hierarchies.


[0845] It should be appreciated that in one embodiment of the invention, host groups are constrained to roll up to a specific subnet.


[0846] Reporting Network Objects


[0847] For reporting purposes, network objects are identified by name. This has two implications:


[0848] if an object's definition is changed such that it no longer represents the same logical entity, its name must be changed; and


[0849] if two objects in different policies have the same name and the same parent name, the data is then rolled up and aggregated across policies.


[0850] Violation Summary


[0851] Monitor Name


[0852] Time Interval


[0853] Collection Point


[0854] Policy Name


[0855] Policy Version


[0856] Source Network Object


[0857] Destination Network Object


[0858] Source IP Address


[0859] Destination IP Address


[0860] Summary Service


[0861] Outcome Component


[0862] Owner


[0863] Criticality


[0864] Count


[0865] Definition:


[0866] Counts of violations (network events with criticality other than OK) from a monitor summarized over a time interval. The monitor is part of the identifier to support the case where multiple monitors are deployed at a collection point. The time interval varies depending on the level of summarization. At the monitor, summarization is performed on a batch interval, e.g. 5 minute. Each summary row counts the number of occurrences of violations with the same:


[0867] Source IP Address


[0868] Destination IP Address


[0869] Summary Service


[0870] Outcome Component


[0871] Owner


[0872] Criticality


[0873] The Summary Service is the same as the Network Event Service except that the “Unknown Service” value is used to consolidate all protocol/port based network event services into a single count.


[0874] Conformance Summary


[0875] Monitor Name


[0876] Time Interval


[0877] Collection Point


[0878] Policy Name


[0879] Policy Version


[0880] Source Network Object


[0881] Destination Network Object


[0882] Outcome Component


[0883] Owner


[0884] Summary Service


[0885] Count


[0886] Definition:


[0887] Counts of conforming network events (events with criticality of OK) from a monitor summarized over a time interval.


[0888] The Conformance Summary is the same as the Network Event Summary except that the summarization is by network object instead of IP address. As implemented, the two types of summaries are denormalized into the same summary table, but the level of detail available for conforming events is less than for violations.


[0889] Policy Domain


[0890] Policy Name


[0891] Management Domain Name


[0892] Definition:


[0893] A policy domain represents the collection of all Monitors running the same policy. The monitors are referenced indirectly through the Management Domain. See Management Domain.


[0894] Management of a policy domain is the responsibility of the policy analyst who is the author of the policy.


[0895] A policy domain can span management domains.


[0896] Architecture


[0897] Introduction


[0898] The preferred embodiment of the invention provides the following architecture of the invention. The description of the preferred architecture comprises studio components (Studio), monitor components (Monitor), and Enterprise Manager and Reporting components (Enterprise Global and/or Enterprise Reporting) and their respective communication protocols.


[0899] It should be appreciated that the following discussed architecture in this entire section is by way of example only, and that other architectural configurations are possible and necessarily fall within the scope of the present invention.


[0900] Terms and Definitions


[0901] Following are definition of terminology introduced in this section.


[0902] An enterprise manager (EM) is a consolidation point for several monitors that provides an operational view and centralized management.


[0903] A tier 1 enterprise manager is an EM that interfaces directly to monitors.


[0904] A tier 2 enterprise manager is an EM that interfaces with monitors and other downstream EM's. Embodiments of tier 2 managers would be Enterprise Global and Enterprise Reporting.


[0905] High Level Architecture


[0906] Deployment Scenarios


[0907] Single Monitor Deployment


[0908] Single Monitor Deployment can be described with reference to FIG. 33, a schematic diagram of the main components of single monitor deployment according to the invention.


[0909] The preferred Monitor 180 is made up of two machines, a harvester performing packet capture and protocol processing 128, and a Security Manager (SM) 100 evaluating the captured traffic against policy. The SM additionally provides an externally accessible web interface for operations view (“a dashboard”) and systems management, and a remote querying and management technology (“the command manager”).


[0910] Each harvester collects data from a single “policy collection point”. Data may be physically collected on multiple interface cards for de-multiplexing into a single logical SPFM device from which the harvester is reading (see SPFM below).


[0911] Full Deployment


[0912] Full Deployment can be described with reference to FIG. 34, a schematic diagram of the main components of full monitor deployment according to the invention.


[0913] A full deployment of the preferred architecture comprises:


[0914] An Enterprise Manager 200 providing consolidated operational view, reporting, and systems management over a collection of monitors. This collection of monitors is divided into disjoint Policy Domains within which each monitor processes the same policy.


[0915] As with single monitor deployment, each monitor is made up of two machines, a harvester performing packet capture and protocol processing, and an SM evaluating the captured traffic against policy. Each harvester collects data from a single “policy collection point”. Data may be physically collected on multiple interface cards for de-multiplexing into a single device from which the harvester is reading.


[0916] Architectural Diagram


[0917]
FIG. 35 illustrates the basic architectural components of one preferred embodiment of the invention and their respective interactions with each other. Each of these components is described in more detail in subsequent sections of this document.


[0918] Components


[0919] Monitor


[0920] The Monitor provides the following functionality:


[0921] 24×7 monitoring of network traffic against policy.


[0922] A web-based operational view (the “dashboard”) of the conformance of monitored traffic.


[0923] A web-based console for the systems management of the monitoring application.


[0924] An interface to which Studio can connect to query online conformance data.


[0925] Generation of alerts for CRITICAL violations of policy.


[0926] Generation of alerts for status changes of monitor components.


[0927] The preferred Monitor is physically two servers, one (the “harvester”) 128 collecting packet data, performing protocol analysis and sending a summary of the traffic to a second (the “SM”) 100 evaluating these summaries against a user supplied policy and storing the output of this evaluation. Refer to FIG. 36A, a schematic diagram illustrating the main monitor component according to the invention.


[0928] Enterprise Manager


[0929] The preferred Enterprise Manager 200 provides the following functionality (refer to FIG. 36B):


[0930] A consolidated web-based operational view 202 of the conformance of traffic monitored by multiple monitors.


[0931] Consolidated web-based trend reporting 204 over the data collected by multiple monitors.


[0932] A web-based console for the systems management 206 of the deployment according to the invention.


[0933] An interface to which Studio 400 can connect to query online conformance data across multiple monitors.


[0934] Display of alerts for CRITICAL violations of policy.


[0935] Generation of alerts for status changes of monitor components.


[0936] Enterprise Reporting


[0937] The preferred Enterprise Reporting module 410 provides the following functionality (refer to FIG. 36C):


[0938] Providing Management reports 412; and


[0939] Long term trend reporting 412.


[0940] It should be appreciated that FIGS. 36A-36C can be placed together contiguously, side by side, such that the output of FIG. 36A provides the input to FIG. 36B, and the output of FIG. 36B provides the input to FIG. 36C. In other words, the flow starts from the Monitor, proceeds to the Enterprise Manager, and then proceeds to the Enterprise Reporter.


[0941] Enterprise Global


[0942] The preferred Enterprise Global module 900 provides the following functionality (refer to FIG. 48):


[0943] A consolidated web-based operational view 1502 of the conformance of traffic monitored by Enterprise Managers.


[0944] Studio


[0945] The preferred Studio 400 provides the following functionality (refer to FIG. 37):


[0946] A visual development tool for the creation and maintenance of a corresponding Policy 420.


[0947] An analysis environment 422 that allows the interrogation of the output of policy evaluation. This output may be either on the local machine, or within a Manager and/or Monitor.


[0948] A policy evaluation environment 414 within which a network traffic file can be locally evaluated against a policy and the output stored in a local datastore 416.


[0949] Web Server Structure


[0950] The following functionality is provided by the preferred web server environment 600 (refer to FIG. 38):


[0951] Reporting (Manager only) 602


[0952] Console 604


[0953] Operational View 606


[0954] Remote Query Support 608


[0955] Data Transport Access 610


[0956]
FIG. 38 is the general structure of the webserver application in both the Manager and Monitor. Each of the “Manager” components provides an interface that abstracts away the monitor or manager specifics of the underlying concrete implementation.


[0957] It should be appreciated that one possible embodiment of the Command Manager 612 protocol of FIG. 38 is XML over HTTPS (referred to as XMUHTTPS).


[0958] Communication Protocols


[0959] This section discusses the preferred communications protocols between various components according to one preferred embodiment of the invention.


[0960] Manager and Monitor


[0961] Table Q below summarizes the communication between the Manager and each of its Monitors.
17TABLE QFunctionProtocolSrcDestRqdDescriptionConformanceXML/ManagerMonitor{square root}Manager periodically polls each MonitorSummariesHTTPSrequesting any summary files (andassociated policies) that are available.Client/Server certificates authentication.SystemsXML/ManagerMonitor{square root}Manager Systems Management interfaceManagementHTTPSproxies requests to Monitors. Client/Server certificates authentication.PolicyXML/ManagerMonitor{square root}Queries originating on a Studio beingAnalyzerHTTPSforwarded to the monitor for evaluation.QueriesClient/Server certificates authentication.CRITICALXML/ManagerMonitor{square root}Manager periodically polls each monitoralertsHTTPSrequesting any alerts generated from thePolicy Engine for critical violations of thepolicy.MonitorXML/ManagerMonitor{square root}Manager periodically polls each monitorComponentHTTPSrequesting any alerts generated from theStatusProcess Manger to indicate systemChangesstatus, such as system startup, or aprocess failure.


[0962] Manager and Studio


[0963] Table R summarizes the communication between the Manager and Studio.
18TABLE RFunctionProtocolSrcDestRqdDescriptionPolicyXML/StudioManager{square root}Conformance data queries for analysis ofAnalyzerHTTPSpolicy violations. The query will beQueriesexecuted either on the Manager or on a(or a set) of Monitors. Cookie-basedscheme using username/password.


[0964] It should be appreciated that the protocol XML/HTTPS is that of the Command Manager component.


[0965] Manager and Reporting


[0966] Table S summarizes the communication between the Manager and Reporting.
19TABLE SFunctionProtocolSrcDestRqdDescriptionReportsHTTPSManagerReportingManager proxies client report requeststo the Reporting server.ConformanceXML/ReportingManagerReporting periodically polls theSummariesHTTPSManager requesting any summary files(and associated policies) that areavailable. Client/Server certificatesauthentication.


[0967] Manager and External Servers


[0968] Table T summarizes the communication between the Manager and servers that are external to the preferred deployment of the invention.
20TABLE TFunctionProtocolSrcDestRqdDescriptionTimeNTPManagerNTP{square root}System clock synchronization with aServerconfigurable external clock.MonitorSNMPManagerNMSSystem status alerts for ManagerComponentcomponents being forwarded to aStatusconfigurable, external, NetworkChangesManagement System.


[0969] Manager and External Clients


[0970] Table U summarizes the communication between the Manager and clients that are external to the deployment.
21TABLE UFunctionProtocolSrcDestRqdDescriptionOperationsHTTPSBrowserManager{square root}Web based operational view. Cookie-Viewbased scheme using username/password or X.509 client side certificate.ReportsHTTPSBrowserManager{square root}Web based trend reporting. Cookie-based scheme using username/password or X.509 client side certificate.ManagementHTTPSBrowserManager{square root}Web based SecurVantage managementConsoleconsole. Cookie-based scheme usingusername/password or X.509 clientside certificate.ManagementHTTPSNMSManagerWeb based SecurVantage managementConsoleconsole being opened within the contextof an external NMS. Cookie-basedscheme using username/password orX.509 client side certificate.


[0971] Monitor and Studio


[0972] Table V summarizes the communication between the Monitor and Studio.
22TABLE VFunctionProtocolSrcDestRqdDescriptionPolicyXML/StudioMonitor{square root}In the single monitor deploymentAnalyzerHTTPSscenario, conformance data queries forQueriesanalysis of policy violations. The querywill be executed either on the Manageror on a Monitor (or a set thereof).Cookie-based scheme using username/password or X.509 client side certificate.


[0973] Again, it should be appreciated that the protocol XMUHTTPS is from the Command Manager protocol.


[0974] Monitor and External Servers


[0975] Table W summarizes the communication between the Monitor and servers that are external to the deployment.
23TABLE WFunctionProtocolSrcDestRqdDescriptionTimeNTPMonitorNTP{square root}System clock synchronization with aServerconfigurable external clock.Name LookupDNSMonitorDNSDNS name lookup for host names thatServerappear in conformance data; uses aconfigurable external server.CRITICALSNMPv2cMonitorNMSCritical policy alerts having beenalertsreceived from a Monitor being forward toa configurable, external, NetworkManagement System.CRITICALSMTPMonitorSMTPCritical policy alerts being sent to analert email/Serveremail address; uses a configurablepageexternal server.Status UpdateSNMPv2cMonitorNMSSystem status alerts generated toindicate, for example, the start or stop ofsystem processes. Being forwarded to aconfigurable, external, NetworkManagement System.Status updateSMTPMonitorSMTPSystem status alerts being sent to anemail/pageServeremail address. Uses a configurableexternal server.


[0976] Monitor and External Clients


[0977] Table X summarizes the communication between the Monitor and clients that are external to the deployment.
24TABLE XFunctionProtocolSrcDestRqdDescriptionOperationsHTTPSBrowserManager{square root}In the single monitor deploymentViewscenario, web based operational view.Cookie-based scheme using username/password or X.509 client side certificate.ManagementHTTPSBrowserManager{square root}In the single monitor deploymentConsolescenario, web based Monitor console.Cookie-based scheme using username/password or X.509 client side certificate.


[0978] Protocols Summary


[0979] Refer to FIG. 39 for viewing an illustrated summary of protocols according to one preferred embodiment of the invention.


[0980] Enterprise Global


[0981] One preferred embodiment of the invention provides Enterprise Global, which comprises a configuration of a plurality of Enterprise Managers.


[0982] High Level Architecture


[0983] For an understanding of Enterprise Global, refer to FIG. 40, a schematic diagram illustrating a high level architecture of the preferred Enterprise Global.


[0984] The full hierarchical architecture comprises a second tier manager 200b farming out requests to first tier managers 200a. The second tier managers uses the same protocols to interact with the first tier managers as the first tier use to talk to the monitors.


[0985] Further tiers are identical to the second tier.


[0986] Reporting Server Without a Manager


[0987] One embodiment of the invention provides having a Reporting server without a Manager, the Reporting server collecting data from a number of Monitors.


[0988] Tier-2 Manager


[0989] The second tier manager is a “global” manager as opposed to a “regional” manager. Such second tier manager maintains no conformance data but rather farms out the queries it needs to perform to its Tier-1 Managers. The second tier manager provides for a greater aggregation of conformance data, and a more centralized locus of management. As another embodiment, the second tier manager provides for aggregation of conformance data via web interface, but does not provide centralized management or studio query functions.


[0990] One embodiment would be an implementation acting purely as a HTTP proxy, i.e. a UI displays the list of accessible Tier-1 managers, and then proxies the Tier-1 interface to the user.


[0991] A second embodiment would be an implementation that puts application logic on the Tier-2 manager that then generates queries to the Tier-1 Managers and then renders the results. Such permits a Tier-2 Manager to perform a query that spans multiple Tier-1 Managers.


[0992]
FIG. 41 is a schematic diagram illustrating a high level architecture of an Enterprise Global and an Enterprise Report gathering data from more than one Enterprise Managers according to the invention.


[0993] Protocols


[0994] The following protocol interactions are added to the system to support the extended architecture.


[0995] Tier-2 Manager and Tier-1 Manager


[0996] The following table summarizes the communication between the Manager and the Studio.
25TABLE YFunctionProtocolSrcDestRqdDescriptionOperationalXML/T2-T1-{square root}Operational view queries for analysis ofViewHTTPSManagerManagerpolicy violations. The query will beexecuted on the T1-Manager. Client/Server certificates authentication.OperationalHTTPST2-T1-{square root}Proxied HTTP for Operational view asViewManagerManageravailable on a particular T1-Manager.Client/Server certificates authentication.SystemsHTTPST2-T1-{square root}T2-Manager Systems ManagementManagementManagerManagerinterface proxies requests to T1-Manager. Client/Server certificatesauthentication.PolicyXML/T2-T1-{square root}Conformance data queries for analysis ofAnalyzerHTTPSManagerManagerpolicy violations. The query will beQueriesexecuted either on the T1-Manager or ona (or a set) of Monitors. Client/Servercertificates authentication.


[0997] Tier-2 Manager and External Servers


[0998] The following table summarizes the communication between the Tier-2 Manager and servers that are external to the deployment.
26TABLE ZFunctionProtocolSrcDestRqdDescriptionTimeNTPT2-NTP{square root}System clock synchronization with aManagerServerconfigurable external clock.


[0999] Tier-2 Manager and External Clients


[1000] The following table summarizes the communication between the Tier-1 Manager and clients that are external to the deployment.
27TABLE AAFunctionProtocolSrcDestRqdDescriptionOperationsHTTPSBrowserT2-{square root}Web based operational view. Cookie-ViewManagerbased scheme using username/password or X.509 client side certificate.ManagementHTTPSBrowserT2-{square root}Web based management console.ConsoleManagerCookie-based scheme using username/password or X.509 client side certificate.


[1001] Tier-2 Manager and Studio


[1002] The following table summarizes the communication between the Tier-2 Manager and the Studio.
28TABLE ABFunctionProtocolSrcDestRqdDescriptionPolicyXML/StudioT2-{square root}Conformance data queries for analysis ofAnalyzerHTTPSManagerpolicy violations. The query will beQueriespassed directly to the Tier-1 Managerwhere it may be evaluated or furtherpassed on to a Monitor. Cookie-basedscheme using username/password orX.509 client side certificate.


[1003] Summary


[1004]
FIG. 42 shows a summary configuration of the Enterprise Global system 900 according to the invention.


[1005] User Configuration Data


[1006] The User Authentication and Authorization database within a system deployment contains user authentication data and what roles that user has within each Policy Domain.


[1007] Independent Manager User Databases


[1008] Refer to FIG. 43. FIG. 43 is a schematic diagram illustrating a configuration of Independent Manager User Databases according to the invention, as follows. A default deployment contains an independent User Authentication and Authorization database. A login is authenticated in the context of a particular Manager. Manager to Manager and Manager to Monitor trust relationships are then used to allow a user to access data further. For example, EM A1 1002 may only trust EM B1 1004 to access only one of its two policy domains.


[1009] Shared Manager User Databases


[1010] One alternative deployment is using a shared user authentication and authorization database, or an external authentication server such as an LDAP directory or a Radius server. Refer to FIG. 44, a schematic diagram illustrating a configuration of Shared Manager User Databases 4402 according to the invention.


[1011] An Exemplary Command Manager Protocol


[1012] This section discussed one preferred embodiment of the Command Manager protocol. Such embodiment is meant by example only and does not limit the scope of the invention.


[1013] Herein is a description the functional interface and design of the provided systems management, also referred to herein as the Command Manager. In particular this mechanism is used to manage:


[1014] A Monitor;


[1015] A collection of Monitors via a Manager (EM); and


[1016] An EM.


[1017] High Level Design


[1018] Assumptions


[1019] The system management of the Monitor and Manager is accomplished via a Web based interface. All active management of the system takes place through this interface.


[1020] Status change notifications and ongoing monitoring are provided.


[1021] Component Architecture


[1022] An application, referred to herein as the Apache / tomcat, is used as the webserver platform. The management application is implemented as a collection of Java language JSP (Java Server Pages) and serviets that perform system functions.


[1023] In one embodiment, the Manager invokes operations on the Monitor by accessing URLs. The Manager has the capability to do such on multiple monitors simultaneously, e.g. for restarting the entire system.


[1024] Refer to FIG. 45 for understanding the web architecture on both the Monitor 180 and the EM 200. The web architecture on both the Monitor and the EM consists of the same core abstract classes with their implementations varying to conform to their respective platform.


[1025] Functional Specification


[1026] Monitor Console


[1027] The Monitor console 1202 is a web browser that connects to a set of servlets that run on the Monitor 180, where they invoke console manager commands on behalf of a client. The client can request that the result be returned either as a rendered HTML page or as a XML document.


[1028] Environment


[1029] The Monitor console 1202 uses a web browser to run commands on the Monitor 180.


[1030] Interactions


[1031] Refer to FIG. 46 for a schematic diagram illustrating Monitor console 1302 interactions according to the invention.


[1032] Management Console to Monitor, EM Command Manager to Monitor


[1033] The monitor management interface, implemented by the Command Manager, consists of a list of commands/URLs. A preferred embodiment of this command list is in the Table AC, following. Additional or different commands may be added to extend the protocol framework. It should be appreciated that the set of commands provided by the command manager is limited by its configuration. This limitation provides for an interface that is easily audited for security issues, and is resistant to many common security attacks.
29TABLE ACCustomCommandArgumentsAction and ResultRestart(re)start the system. ReturnsSuccess or Failure reason.StopStop the system. Returns Successor Failure reason.StatusReturn a list of system componentsand their current status or Failurereason.UploadPolicyPDX fileInstall a new policy file, validatingname, restartthat it successfully compiles.Restart the system if the restartflag is set. Returns Success orFailure reason.GetPolicyHashReturn the hash of the currentpolicy file or a Failure reason.UploadConfigConfig fileInstall a new configuration file.name,Validate that the file containsrestartinformation for this Monitor.Restart the system if the restart flagis set. Returns Success or Failurereason.GetConfigHashReturn the hash of the currentconfiguration file or a Failurereason.EditConfigEdit the current configuration filechangeMonitorNamenewNameChange the name of the monitor.Returns Success or Failure reason.Install Softwareupdate file,Upload an update file to theUpdatesm, harvesterMonitor and install it on thespecified machines. ReturnsSuccess or Failure reason.ListDMEsReturn a list of the DME files thatare currently available on theMonitor or Fialure reason.DownloadDMEDME fileDownload a particular DME file ornamereturn a Failure reason.ListLogsReturn a list of the log files thatare currently available on theMonitor or Failure reason..downloadLogLog fileDownload a particular log file ornamereturn a Failure reason.AddUserUsername,Add a user who is permitted topasswordconnect locally to the Monitor (asopposed to via the Manager).Returns Success or Failure reason.ListUsersReturn a list of the monitor usersor a Failure reason.SetUserPasswordUsername,Change the password of a monitorpassworduser. Returns Success or Failurereason.DeletelUserUsernameDelete a monitor user. ReturnsSuccess or Failure reason.


[1034] It should further be appreciated that in addition to the custom arguments named above a “no-render” argument is also optionally supplied. If supplied then an XML result is returned to the caller rather than an HTML page.


[1035] Console Manager Result DTD


[1036] One embodiment of a Document Type Definition (DTD) is provided that describes the data returned by the Command Manager 612. It should be appreciated that this DTD is encapsulated and transported within the Command Manager DTD.


[1037] The following table shows sample DTD.
30TABLE AD<? xml version = ‘1.0’ encoding = ‘UTF-8’ ?><!-- What is the version of the file that is being used →<!ELEMENT version X CDATA #REQUIRED ><!ELEMENT result (result-value+, (hash-result | file-list | status-list)? ><!ELEMENT result-value > <!-- system-name is the name of the monitor or EM that generated <!-- the result. Value is “1” (success) or “0” (failure). <!-- information is freeform text with further information. <!ATTLIST result-value system-name CDATA #REQUIREDvalue CDATA #REQUIREDinformation CDATA ><!ELEMENT hash-list (hash-details*) > <ELEMENT hash-result > <!ATTLIST hash-result file-name CDATA #REQUIREDfile-hash CDATA #REQUIRED ><!ELEMENT file-list (file-details*) ><!ELEMENT file-details > <!ATTLIST file-details file-name CDATA #REQUIREDfile-size CDATA ><!ELEMENT status-list (status-details*) ><!ELEMENT status-details > <!-- component is the name of the subsystem being reported on <!-- State is “1” (up) or “0” (down) or “−1” (unknown). <!-- Update-time is the time at which the components state was last <!-- assessed. Comment is free form additional data <!ATTLIST status-details component CDATA #REQUIREDstate CDATA #REQUIREDupdate-time CDATA #REQUIREDcomment CDATA >


[1038] Details of Command Manager Preferred Embodiment


[1039] The command manager 612 provides a naming mechanism for command targets, referred to as LogicalHostnames. Exemplary targets are: a Monitor, an Enterprise Manager, an Enterprise Reporting system, and Enterprise Global. The naming structure makes use of randomly allocated large numbers, referred to as UUID's. The size of the UUID's and their random selection makes it possible to choose them without a coordinated selection scheme. Each UUID also maps to a more convenient textual name, used in the user interface.


[1040] A LogicalHostname consists of three subsidiary entity names, referred to as the Domain, Tier, and MachineID. The Domain indicates the policy domain into which the Command Manager requestor is authenticated. The Tier indicates the level of hierarchy within the domain, 0 being a Monitor, 1 being an Enterprise Manager (tier 1), 2 being an Enterprise Manager (tier 2), and so on. The MachineID identifies a single machine within the Command Manager interconnectivity.


[1041] Each of Domain, Tier, and MachineID may be specified to be a wildcard, indicating that all or any such target will match this field. In this way, a LogicalHostname may refer to more than one actual command manager target.


[1042] With reference to the preferred embodiment of a command set in Table AC and FIG. 45, and the command manager 612 provides a requesting entity ,(e.g. a servlet program running on Enterprise Manager 200) with the ability to invoke an authorized command on one or more targets identified by a LogicalHostname (e.g. one or more Monitors 180), the latter case implying concurrent execution. The requesting entity is not required to specify network routing or addressing information to reach the target machines, and need not know how many machines matches a given LogicalHostname.


[1043] An exemplary notation for a LogicalHostname is as follows:


[1044] [DomainString·TierNumber·MachineIDString]


[1045] where DomainString and NameString are textual strings and identify the Domain and MachineID, respectively, and TierNumber is a decimal number indicating the Tier, where 0 is a Monitor, 1 is a Tier 1 Enterprise Manager, 2 is a Tier 2 Enterprise Manager, and so on. For each of these values, a ‘*’ is used to denote a wildcard.


[1046] Some examples of this notation follow:


[1047] [policy3.0.*]


[1048] indicates all Monitors that are in the Policy Domain “policy3”.


[1049] [*.1.*]


[1050] indicates all Enterprise Managers that are reachable via command manager, regardless of what policy domains or machine identification they have.


[1051] [*.0.fred ]


[1052] indicates the (single) monitor named ‘fred’, regardless of the policy domain in which it is contained.


[1053] Authorization


[1054] Authorization begins when a requesting entity, referred to as the requestor, gives the command manager a command to invoke, a LogicalHostname, specifying one or more machines on which to invoke the command, and a set of roles to authorize the command. An exemplary command set appears in Table AC. Such set of roles may indicate that any role is acceptable.


[1055] The command manager has access to User Configuration Data as specified below. The requester authenticates to the command manager, which looks up the acceptable roles for the user in the User Configuration Data. In two equally preferred embodiments, such authentication is based on either user name and password or SSL client certificate authentication. With respect to the exemplary command set in Table AC, a set of roles is associated with each command. The command manager matches the authenticated requestor's command to the roles associated with the command, and requires the requestor to have such role before such command is performed.


[1056] If such command is authorized in said manner, the command manager configuration builds, on behalf of the requester, a chain of trusted connections through one or more connected machines, which may serve as requestors or targets. A preferred embodiment example of said trusted connections is an SSL protocol connection with Client and Server certificate authentication.


[1057] The requested command, set of roles, and LogicalHostname is then transmitted to one or more connected machines using such trusted connections, along with the LogicalHostname. The command manager sends said items to only those machines that might need to perform it, based on the said LogicalHostname.


[1058] When a machine on the chain receives such command, such set of roles and such LogicalHostname, it intersects the set of roles with a configured list of roles it is willing to adopt on behalf of the previous machine in the chain. For example, a monitor may be willing to perform only a subset of available commands for its Enterprise Manager. The LogicalHostname is translated into a set of LogicalHostNames, with the Domain wildcards expanded to each domain which might be able to execute the command, based on the intersected set of roles. The command, intersected set of roles, and set of LogicalHostnames is then transmitted to further machines, if required.


[1059] In addition to the such transmission to further machines, if said machine on the chain matches an element of the set of LogicalHostnames, then the set of roles is further intersected with a configured list of roles that said is willing to adopt for that command. If the result of this intersection is not an empty set, then the command is executed.


[1060] An Exemplary Enterprise Monitor Operations View


[1061] This section discusses an exemplary embodiment of both the user interface and functional interface design of the Operations (Ops) view for the Enterprise Manager and Monitor systems. The Operations View provides access to the data being generated by the SM and is then viewed via a website. The data generated by the SM is currently stored into a database. The Operations View is responsible for querying the database using a separate API that has been optimized and been written specifically for this purpose. The difference between the Manager's and the Monitor's Ops View is that the Manager can show one or more Policy Domains whereas the Monitor only shows one Policy Domain.


[1062] It should be appreciated that such exemplary implementation is by example only. It should be apparent to one skilled in the art that various other implementations and configurations are possible and are each within scope of the invention.


[1063]
FIG. 48 provides a view of the overall architecture of the Global, Single Monitor, and Regional Operational Views. It should be appreciated, however, that FIG. 48 does not show the Enterprise Reporting.


[1064] User Interface


[1065] Several components share the same look and feel, including the Manager and Monitor Operation Views, and the Monitor Console. Access to the same such components is through a common infrastructure. All components are accessed from a web browser, using HTTPS to access a Java language servlet that implements monitor operation view functions.


[1066] HOME


[1067] Home Page (Monitor Page, Dashboard, etc.)


[1068]
FIG. 49 is a screen shot of an example monitor home page. The page contains a summary of the data that an operator may want to see. This data allows the user to determine whether there is a problem to attend to. This page meta-refreshes every predetermined number of minutes. The data shown is restricted according to the user's identity, so that the user can only view data he is allowed to see. The left hand side navigation allows the user to select the items that are needed to update the current page. The user is also able to view a single policy domain view by clicking on the graphs or the buttons just below them.


[1069] Referring to FIG. 49, such data shown is over a previous 24 hour period. From this page the user is able to drill down to the summary page by clicking on one of the reporting element links or graphs.


[1070] This page also shows an alert box. In this summary, the user is able to see the new alerts coming in and he or she is then able to go to the details of each of these from there. The alert box works similarly to the way email works. Whenever there are new alerts, the New Alerts text becomes bold and it shows how many new alerts there are. These will remain bold until a user goes to the details view by clicking on them, reviewing them, and checking them as “read”.


[1071] The user then gets to this page after logging in. The login servlet checks whether the username/password are valid and then it checks the roles for that particular user. The role dictates what policy domains the user is allowed to see. The policy domains that the user is allowed to see show on the left side of the page, and the graphs containing the last twenty four hour data show on the right hand side of the page together with the first fifteen lines of the first level summary table. The data shown the first time is of the first policy domain on the list. The user is able to click on an item in the summary table to go to the second level summary table or select a date range, the number of rows desired to view and clicks on the view summary button to go to the first level summary table.


[1072] The user may filter the data by Policy Domains. All a user has to do is select the Policy Domain desired from the left hand side of the page, and click on the update view button. This causes the page to reload and shows the data for the Policy Domain(s) selected. The last selection the user makes is remembered across logins, depending if the user has cookies enabled in the browser.


[1073] First Level Summary


[1074] The first page in the event summary provides a table with a Policy Domain's Reporting Element and the count for each of its severities. This table is sorted on the status column with most critical being on top; the status column indicates the most severe violation for that Reporting Element during the selected time period. Clicking on a row of the table displays second level summary for that Reporting Element.


[1075] There are two ways to get to this page. One is from the home page, by clicking on the view summary button, and the other is by clicking on the home page graphs. Required information is date range, number of rows to show, and user information.


[1076] The following table shows an example of the data rollup at the first level.
31TABLE AE98 violation in 10000 events (0.09%)Policy Domain Production NetworkPolicyReportingSta-Warn-DomainElementtusCriticalHighMediumingTotalPd1MyBEc1302525100Pd2MyBEh0737373292Pd1WebServersm00143143572


[1077] Second Level Summary


[1078] The second level summary expands the information for the Reporting Element selected in the previous page. Each line has at. least one reporting element. The reporting element appears in bold text, for emphasis. Clicking on a row of the table displays Event Summary 3 for that Reporting Element. This table is sorted by criticality.


[1079] The only way to get to this page is by clicking on one of the rows on the first level summary table. This can be done from the first level summary page or from the summary table on the home page. Required information is date range, number of rows to display, and Reporting Element.


[1080] The following table shows data rollup at the second level.
32TABLE AFOutcomeSrcDestServiceOutcomeComponentMonitor/CPOwnerCriticalityCountMyBEInternetHttpsDefaultSession QosSM1/DMZFredHIGH12MyBEWebserverHttpsDefaultSession QosSM2/DMZFredHIGH13LDAPMyBESSHUnexpectedHostConnectionSM1/DMZGeorgeMedium73AcceptedDataTransfer


[1081] It should be appreciated that Source (Src), Destination (Dest), Service, Outcome, Outcome Component, Owner and Criticality columns show how the traffic violations fit into the way that the Policy models the network.


[1082] Third Level Summary


[1083] The third level summary shows event detail summary for the row clicked on the second level summary. The ExecutionRun keys in which this data can be found is available either in the table or as a tooltip.


[1084] DNS names are available for the IP-Addresses, either as tooltips or vise versa.


[1085] The only way to get to this page is by clicking on a row on the second level summary table on the second level summary page. Required information are date range, number of rows to display, outcome and outcome component, plus either source or destination reporting element


[1086] The following table shows third level summary data.
33TABLE AGIpLevelRollup for MyBE FROM Noc Session_Qos (HIGH) on SM1/DMZ for<time period>Src ObjectDest ObjectSvcSrc IPDest IPPortCountBEServersNocMgmtServersHTTPS10.2.3.5192.168.200.104435BEServersNocMgrHTTPS10.10.7.15192.168.200.124437


[1087] Parameters


[1088] Most of the summary and detail queries preferably give the user the option of setting the following parameters:


[1089] Time Periods: 1 hour, each our for the last 24 hours, and last 24 hours;


[1090] Policy Domain (choose 1 or more); and


[1091] Collection Point(s) (within the selected Policy Domain).


[1092] Other Embodiments


[1093] It should be appreciated that in the first level summary, add another view that is by Outcome and another one by Criticality. And, in the third level summary, allow clicking through the rows to perform a remote query (of some definition) on the SM.


[1094] Rate Limiting Overview


[1095] Rate limiting is the process of selectively dropping data at various stages of a pipelined system, so as to prevent back pressuring. Rate limiting is applied at each stage so that data is dropped in a heuristic manner that is appropriate to this stage of the pipeline. The heuristic is chosen so that the data discarded causes the least impact on the monitoring result. For example: packets may be dropped based on connection boundaries, rather than randomly; event details may be dropped, but counts of the events maintained; event information may be abstracted by counting and combining like events over a time interval.


[1096] One preferred embodiment of rate limiting according to the invention is discussed with reference to FIG. 50, a schematic diagram of incorporated rate limiting features into a network security system's components according to the invention. Packets from a packet source 1702 are gathered by the Harvester 128. Such packets first enter through the SPFM 1704 component. Because SPFM cannot back pressure in the case of too many packets, a rate limiting mechanism has been incorporated into the SPFM module. The non-discarded packets are then passed on to the Monitor 127 component. Similarly, the Monitor has a rate limiting feature incorporated in order to effectively control the incoming packets. The monitor processes the packets and forwards events to the SPM module, first to the Policy Engine 102. In one embodiment of the invention, the Monitor 127 incorporates a rate limiting technique for input data, referred to as RL0. In another equally preferred embodiment of the invention, the RL0 algorithm is incorporated in the rate limiting module of the SPFM 1704 component. Similarly, the Monitor incorporates a rate limiting technique referred to as RL1 for rate limiting events that it wishes to send to the SPM 106. An enhanced version of this algorithm, referred to as RLE, is also present in the Monitor 127. Similarly, the Logger module 103 also has a rate limiting mechanism. Finally, non-discarded events are forwarded on to the monitor database 104, consistent with the normal operation of the logger module 103, as described above. Although, the logger module might not forward events to the database, if they are not violations, as is described herein above.


[1097] Each of these rate limiting features is discussed in detail herein below.


[1098] It should be appreciated that each rate limiting design and implementation is based on the type of process (such as the SPFM, the Monitor, and the Logger, for example) and each process' idea of connection. Each process discards unwanted packets and events in its own way.


[1099] It should further be appreciated that the rollup feature discussed herein above can be viewed as another means for rate limiting as data goes into the Enterprise Reporting system. In one embodiment of the Enterprise Reporting System, received event data is processed over a time interval so that like events are counted and combined as a rollup, such rollup data maintained in lieu of the complete event data. In addition, as such rollup data ages, it may be further rolled up over successively longer time intervals, to achieve more efficient storage for older data. Further, the rolled up event data may be combined based on the network object containment hierarchy including a combination of the following:


[1100] 1. Host objects may be rolled up to a containing host object.


[1101] 2. Host objects may be rolled up to a reporting element.


[1102] 3. Host objects may be rolled up to a containing subnet element


[1103] 4. Subnet elements may be rolled up to a containing object, such as Intranet, Extranet, Internet or All Networks.


[1104] In another embodiment of the Enterprise Reporting System, such longer time interval are dynamically adjusted over time to allow data to fit into available storage space as follows, based on rollup data:


[1105] Algorithm for Dynamic Space Adjusting based on Rollups


[1106] Parameters


[1107] MT=Target available space


[1108] MC=current available space


[1109] MaxRollup=maximum interval over which events are currently rolled up.


[1110] Algorithm


[1111] 1. If MCMT then the algorithm terminates.


[1112] 2. MaxRollup=N*MaxRollup (where N may be 2 or a greater integer)


[1113] 3. Combine N adjacent rollups in data into rollups with the new MaxRollup interval.


[1114] 4. Optionally: Combine rollups based on object hierarchy, using one or more of the following:


[1115] Combine host groups with containing host groups;


[1116] Combine host groups with containing subnets;


[1117] Combine host groups based on reporting element


[1118] Said combination performed by incrementing the count of the containing group and removing the contained group, so that the total count of events remains the same.


[1119] 5. Continue with step 1


[1120] A Functional Description of Rate Limiting for the Logger


[1121] This section provides an in depth discussion and functional description of one preferred embodiment of rate limiting. It should be appreciated that the discussion below is meant by example only and that variations of specific configurations and descriptions are readily apparent to one skilled in the art as being within scope of the invention.


[1122] Benefits of the Mechanism


[1123] Following is a list of benefits from the rate limiting mechanism of one preferred embodiment of the invention:


[1124] The number of events entered into the Monitor (mon) database 104 is limited, even if the number of events on the wire is not. A sudden bulge of events on the wire or a sudden change of network traffic (for example, if the policy is mistuned) should not cause unlimited data to be written into the database.


[1125] This above benefit applies both when policy is initially developed for the monitor and later, if the network traffic should unexpectedly change.


[1126] The logger 103 is able to distinguish between a momentary increase in data, representing a sporadic increase in input traffic, compared with a longer term increase in data, caused by a mistuned policy (either because the policy is bad or the traffic has changed long term).


[1127] The logger 103 maintains several levels of “degraded service” so that service degrades slowly, rather than abruptly.


[1128] When it needs to degrade service, the logger 103 drops data based on a heuristic classification of the input traffic by rule, disposition and logging severity.


[1129] Logger Rate Limiting Functional Description


[1130] Configuration


[1131] The logger rate limiting is configured via the following example .ini file configuration variables, i.e. parameters:


[1132] # Enables rate based filtering, if set to 0 no rate limiting takes place


[1133] FILTER_ENABLE=1


[1134] # For each execution run, once this percentage of violations occur then start filtering


[1135] # the highest volume rule/disposition combinations. Expressed in tenth of a percent.


[1136] FILTER_START_HIGH_VOLUME_VIOL=15


[1137] # For each execution run, once this percentage of violations is reached start filtering off


[1138] # all but CRITICAL violations. Expressed in tenth of a percent.


[1139] FILTER_START_LOW_PRIORITY=25


[1140] # For each execution run, once this percentage of violations is reached logging of further


[1141] # violations is disabled. Expressed in tenth of a percent.


[1142] FILTER_START_ALL=30


[1143] # How many execution runs should be logged in a non-limited way even though the filtering


[1144] # threshold has been met


[1145] FILTER_ER_LAG=10


[1146] It should be appreciated that the term “execution run,” above, refers to an interval defined by a number of packets, a period of time, or a number of network events, or some combination of the three.


[1147] Description


[1148] Such logger algorithm performs a filter on data arriving into the logger module 103 of the SPM 106 process. The algorithm escalates the aggressiveness of the filtering based on the number of violations the Policy Engine 102 (PE) prefers to log and the configuration of the filter as defined in the .ini file. This filtering takes place on a per ExecutionRun (ER) basis, with the filtering lagging by N execution runs, i.e. the N execution runs after a change in traffic pattern will contain unfiltered data.


[1149] The function will be described by example.


[1150] Consider the following configuration as defined in the .ini file, svs.ini.
34FILTER_ENABLE = 1FILTER_START_HIGH_VOLUME = 20# 20 tenths of apercent (i.e. 2%)FILTER_START_LOW_PRIORITY = 30# 30 tenths of apercent (i.e. 3%)FILTER_START_ALL = 40# 40 tenths of apercent (i.e. 4%)FILTER_ER_LAG = 10EVENTS_PER_ER = 10000#Note this means a total of 10000 events, both conformant and non- conformant


[1151] The above implies that the following filtering takes place:


[1152] All violations are logged until 200 violations have occurred (i.e 2% of 10000 events)


[1153] All but the highest volume rule/disposition pairs are logged when the number of violations is between 200 and 300 (i.e. between 2% and 3% of 10000 events)


[1154] Only CRITICAL violations are logged between 300 and 400 violations (i.e. between 3% and 4% of 10000 events)


[1155] No further violations are logged once 400 violations have occurred (i.e. greater than 4% of 10000 events)


[1156] Imagine the following:


[1157] A monitoring system (SVS system) is started with a reasonably tuned policy wherein about 0.5% violations (50 violations per ER) are observed; all violations are logged.


[1158] A user logs onto the internet via a modem on a PC while also connected to the LAN, the routers notice a new route to the internet and start routing traffic through the PC.


[1159] The SVS system notices the invalid traffic and assigns the disposition Ip_Rogue_Router (rule Ip_Deny) to the traffic.


[1160] SVS continues logging the current ER without filtering despite the fact that now 20% of the traffic being assigned Ip_Rogue_Router is observed.


[1161] The logger closes the ER with the following statistics:
35Ip_DenyIp_Rogue_RouterM2000Weird_SMBStrangeH5FTP_AuthenticationWeak_PasswordM2SSL_Bad_Cipher40_BitM1


[1162] For a total of 2008 violation of EVENTS_PER_ER NEs seen (20.08%). Note that all of these violations have been logged.


[1163] After this rate has continued for another 9 execution runs (i.e. FILTER_ER_LAG execution runs are observed where the violation rate is higher than FILTER_START_HIGH_VOLUME) and rate limiting is now enabled.


[1164] The traffic pattern continues and all violations are logged until 200 violations are logged (EVENTS_PER_ER*FILTER_START_HIGH_VOLUME/100). At this point the statistics are as follows:
36Ip_DenyIp_Rogue_RouterM198Weird_SMBStrangeH1FTP_AuthenticationWeak_PasswordM1SSL_Bad_Cipher40_BitM0


[1165] The logger then starts to filter the rule/disposition pair with the highest rates, by calculating the maximum of a slowly trailing average of the normal number of violations for this pair or X% of violations. Note that this average is not updated when rate limiting is in effect.


[1166] Once filtering is enabled and the FILTER_HIGH_START value is reached, the following applies per rule/disposition:


[1167] the minimum per rule/disposition pair is the greater of 0.1% of the traffic or 5 events. A minimum exists so that rarely occurring events (a low average per ER) is not starved when limiting occurs; and


[1168] the maximum is the smaller of the average of this rule/disposition over the last 20 execution runs or the FILTER_START_HIGH_VOLUME*EVENTS_PER_ER.


[1169] In such case, the rule/disposition pair max is calculated as, for example, 175 violations (with the minimum set at 5). This implies that no more Ip_Deny/Ip_Rogue_Router events are logged, although the statistics table are updated accurately.


[1170] As more Ip_Deny/Ip_Rogue_Router violations arrive they are ignored, while other violations continue to be logged. Once EVENTS_PER_ER NEs have been seen, the ER is once again closed, resulting in:
37Ip_DenyIp_Rogue_RouterM1550Weird_SMBStrangeH2FTP_AuthenticationWeak_PasswordM1SSL_Bad_Cipher40_BitM2


[1171] It should be appreciated that only 198 of the 1550 Ip_Deny/Ip_Rouge_Router events are logged, while all other violating NEs are logged. It should be further appreciated that the correct count, being 1550, of Ip_Deny/Ip_Rouge_Router events is logged with the summary rollup data for this period of time.


[1172] Because the total number of violations is still greater than FILTER_START_HIGH_VOLUME, the logger leaves rate limiting enabled for the next ER.


[1173] With the next ER, a high Ip_Deny/Ip_Rogue_Router violation rate continues to be observed. When the 200 violations point is hit, the following results:
38Ip_DenyIp_Rogue_RouterM198Weird_SMBStrangeH1FTP_AuthenticationWeak_PasswordM0SSL_Bad_Cipher40_BitM1


[1174] Once again, the number of each pair is capped.


[1175] Now, however, an increase in the number of Weird_SMB/Strange violations is also observed, and the (FILTER_START_LOW_PRIORITY*EVENTS_PER_ER/100)=300 limit is hit.
39Ip_DenyIp_Rogue_RouterM1009Weird_SMBStrangeH99FTP_AuthenticationWeak_PasswordM1SSL_Bad_Cipher40_BitM2


[1176] Now, the process starts logging only critical violations, and collecting the count statistics for all other violations.


[1177] Similarly, should the (FILTER_START_ALL*EVENTS_PER_ER/100)=400 limit be reached (i.e. 100 more CRITICALS are generated in this ER), all logging is stopped and only count statistics are collected until such execution run ends.


[1178] Once the rogue router is disconnected, then the next execution run falls below the FILTER FILTER_START_HIGH_VOLUME and rate limiting is again disabled internally for the next ER.


[1179] Tracking of Dropped Events


[1180] The ExecutionRun object of the monitor Database preferably has counters added to indicate the following:


[1181] the number of NetworkEvents that are logged;


[1182] the number of NetworkEvents that are dropped; and


[1183] the total number of Network Events that occurred. during the collection of the current ExecutionRun.


[1184] This information is then sent to the EM within a batch file that is generated periodically, such as every 5 minutes.


[1185] An Exemplary Monitor Rate Limiting Mechanism


[1186] One preferred embodiment of the invention provides a monitor program (i.e. a harvester and a monitor) including two rate limiting options. This section describes the changes to an existing monitor program and how to use such changes according to one preferred embodiment of the invention. It should be appreciated that variations on rate limiting and monitoring rate limiting are apparent to one skilled in the art to be within scope of the present invention.


[1187] Following is a table showing the two rate limiting options added:
40OptionFlag to invokeDescriptionRL0−rlpRate limit packets - discard packets oninput when input packet rate exceeds aspecified limit.RL1−rleRate limit events - choose not to send events tothe SM when the rate at which new eventsarrive exceeds a specified limit.


[1188] The specific chosen numbers correspond to where in the pipeline the option appears. The RL0 code comes into play just after packets are received. The RL1 code comes into play after the monitor has processed packets.


[1189] The RL0 option is useful in the following situations:


[1190] Where the traffic incoming into the monitor 127 has so many new connections that the monitor 127 process grows without bound.


[1191] Where the output from the monitor 127 is too great for the SPM 106 to keep up. However, applying RL1 is preferred in this case.


[1192] The RL1 option is useful in the following situation:


[1193] Where the output from the monitor 127 is too great for the SPM 106 to keep up.


[1194] It is apparent that the RL0 option protects the monitor 127 itself, and the RL1 option protects the SPM 106 downstream from the monitor 127. Clearly, RL0 also has effects downstream and can be used to protect the SPM 106, but the RL1 option is the preferred option.


[1195] RL0 Algorithm


[1196] The RL0 algorithm causes the monitor 127 to discard packets when the number of packets received per unit time is too great. The input is the number of packets per second that may be processed by the monitor 127, as:


[1197] harvester -i spfm2 -rlp 10000 -enc localhost:6669


[1198] Such command runs the harvester on a local network device, SPFM2, generating a stream of events in a TCP connection to localhost port 6669, and restricting the average processing rate to 10,000 packets/second.


[1199] The algorithm works by defining a measurement interval. An exemplary interval is 71 seconds. The argument value is normalized to the number of packets that may be received in a single measurement interval. When that number of packets is received, no more packets are received until the interval is over.


[1200] For example:


[1201] harvester . . . -i spfm1 -rlp 5000 . . .


[1202] Maximum packets/interval is 5,000*71=355,000 packets/interval


[1203] If, for example, data is received on spfm1 at 10,000 packets/second. Then 355,000 packets are received and processed by the monitor in the first 35.5 seconds of the interval.


[1204] For the last 35.5 seconds of the interval, packets are received by the monitor, but discarded (not processed).


[1205] The monitor runs effectively in a 50% duty cycle, sampling the wire.


[1206] This technique is somewhat coarse. When rate limiting is needed, it causes the monitor to sample the wire, going “deaf” for a certain portion of each 71 second interval. This is a heuristic to ensure that the monitor 127 generates the best possible event data for the SPM 106 while it is “on” and then generates nothing while it is “off”.


[1207] RL1 Algorithm


[1208] The RL1 algorithm causes the monitor 127 to choose not to pass data to the SPM 106 about one or more connections (a “network event”) when the rate of new connections exceeds a fixed number of connections per second. The argument is the number of events/second*100 (or the number of events in 100 seconds).


[1209] The argument is normalized to the measurement interval (exemplary value=10 seconds) to yield ‘s’:


[1210] Iv=interval length, in seconds


[1211] avgN=number of intervals to time average


[1212] S=maximum events per Iv (input specification)


[1213] M=measured events per last Iv


[1214] Ma=time averaged value of M


[1215] NB=a number of bytes to write at once


[1216] The RL1 algorithm works by measuring the number, M, of new connections over the interval Iv (exemplary value=10 seconds). The succeeding interval of Iv seconds is then rate limited based on this measured value M and the specified limit S. Thus the algorithm is always at least one measurement interval behind the input.


[1217] To smooth out the performance of the algorithm, the number of connections measured in one interval (M) is time averaged over the last avgN (currently 8, in one embodiment) intervals using the algorithm:




Ma
=(Ma*(avgN−1)+M)/avgN



[1218] This is intended to allow a small spike through the rate limiting code, while a steady trend is limited.


[1219] From Ma and S, the number of connections that should have been dropped by rate limiting over the last interval is derived, as well as the fraction of connections that should have been dropped:




D=Ma−S
, (when Ma>S, 0 otherwise)





frac=D/Ma




[1220] To apply this number to the next interval, frac is added to a sum every time there is a new connection. When frac crosses an integer boundary, the connection is dropped. Such is analogous to drawing a line from (0,0) to (D, Ma) as shown in FIG. 51. Each packet advances the line to the right, and every integer crossing represents one part of “D”.


[1221] Refer to FIG. 52 for a time line interpretation of the RL1 rate limiting. Assume the number of events for the current interval, Nc, is approximately equal to the number of events in the previous interval, Np. Then drop ‘extra’ events>Np in current interval. Use the assumption to create a count of how often to drop an event.


[1222] It should be appreciated that connections are not really “dropped” in RL1. They are still maintained by monitor 127, but the SPM 106 is not informed of them.


[1223] An Exemplary Automatic Monitor to Policy Engine Rate Limiting Mechanism


[1224] This section describes a system and method of an automatic monitor 127 to policy engine 102 rate limiting. It should be appreciated that the discussion below is meant by example only and that variations of specific configurations of components are readily apparent to one skilled in the art as being within scope of the invention.


[1225] In one preferred embodiment of the invention, the monitor 127 includes automatic rate limiting to the SPM 106. This rate limiting algorithm, referred to as RLE, enhances the RL1 algorithm described, above.


[1226] RLE accepts as an input parameter the buffer size for encoding DME data to the SPM 106. An exemplary value is 2 MB. A second input parameter specifies a fraction of the buffer to reserve for rate limiting. An exemplary value is 0.5 (one half).


[1227] A third input parameter, NB, specifies the number of bytes to write at one time. An exemplary value is 8192.


[1228] RLE may be combined with the previously defined RL0 and RL1 options in the section, Description of Monitor Rate Limiting, herein. RLE represents an automatic tuning mechanism for performing the RL1 function, so typically RL1 is not used in conjunction with RLE. RL0 is independent of RL1 and RLE.


[1229] The RLE option is useful when the output of the monitor 127 is too great for the SPM 106 to process. RLE protects the SPM from overload of data, and protects the monitor from being back pressured by the SPM 106.


[1230] RLE Algorithm


[1231] The output section of the preferred monitor 127 implements the RLE algorithm in the follow way:


[1232] When writing DME data to a socket for transmission to the SPM 106, the monitor 127 maintains a large output buffer as a queue data structure.


[1233] Referring to FIG. 53, the buffer 1802 is conceptually divided into a working section 1804 and a reserved section 1806. In reality, the entire buffer is treated as one unit, with the “last” part of the buffer containing the reserved section. The monitor tests the output buffer from time to time to see if the reserved section has come into use (see below).


[1234] The TCP socket to the SPM 106 is modified to use non-blocking I/O mode, so that the monitor process can tell when the socket is full.


[1235] Generated DME data is placed in the output buffer. Every NB bytes, the monitor 127 attempts to write buffered data to the socket. The monitor attempts to write all the data in the output buffer, stopping only when the buffer is empty or the socket is full.


[1236] If the buffer is empty, there is no more data to send to the SPM 106, so the monitor continues (the SPM is keeping up with the stream, so rate limiting is not needed).


[1237] If the socket is full, the SPM 106 is currently not keeping up with the monitor's production of DME data. The DME data is left in the output buffer and processing continues until another NB bytes of data has been added to the output buffer.


[1238] If the DME output buffer is full, the socket is placed in blocking I/O mode, and the harvester must wait until at least NB bytes of data are processed by the SPM before continuing. Note that this condition is rare, because rate limiting occurs as below.


[1239] When the monitor 127 determines that a new connection has appeared, it queries the RLE code to see if the output buffer is currently using the reserved section.


[1240] If the output buffer is using the working section, the new connection is processed and all the DME data from that connection will be sent to the SPM 106 as it is produced.


[1241] If the output buffer's working section is full, and the reserved section is in use, the new connection is processed, but all the DME data from that connection is discarded.


[1242] For automatic RLE algorithm, the following should be appreciated (refer to FIG. 53):


[1243] The flow goes from Monitor 127 Output to DME encoder to Ring Buffer;


[1244] For a new connection:


[1245] If Ring Buffer size is greater than Ring Buffer reserve size, then do not send this connection;


[1246] else send this connection.


[1247] An Exemplary Packet Filter Module Design


[1248] The preferred embodiment of the invention provides a packet filter system based on a preferred packet filter module design according to the invention. This section discusses an exemplary packet filter module, Securify Packet Filter Module (SPFM).


[1249] It should be appreciated that the discussion herein below is meant by example only and that variations of specific configurations and descriptions are readily apparent to one skilled in the art as being within scope of the invention.


[1250] Overview


[1251] A Monitor Configuration


[1252] One configuration for data capture included a monitor 127 component and a PCAP Library in a User space, and NIC Driver(s) in Kernel space. It has been found that data capture rates were restricted by packet flow through the PCAP library. The monitor 127 would request a packet, which would be copied from the NIC driver to a PCAP buffer and then handed to monitor. This resulted in numerous switches from user to kernel space and yielded limited performance.


[1253] SPFM


[1254] Then, an SPFM module is introduced in the Kernel space between the PCAP Library of the User space and the NIC Driver(s) of the Kernel space, as follows:


[1255] The Security Packet Filter Module (SPFM) allows a user program to supply thousands of buffers into which the packet stream from the NIC drivers is placed.


[1256] This results in an increase in performance due to a significant decrease in context switching from user space to kernel space and visa versa.


[1257] No monitor 127 or NIC driver changes required.


[1258] The SPFM module may filter packets that are not of interest to the Monitor 127 (see FIG. 50) e.g. non-IP protocol packets.


[1259] Modified PCAP Library


[1260] The PCAP Library is modified as follows:


[1261] The upper interface into monitor remains the same.


[1262] A small initialization routine allocates a number of buffers into which SPFM writes packet data.


[1263] The modified PCAP Library requests numerous packets from SPFM at a time and gives them to monitor one at a time as requested from monitor 127.


[1264] Components


[1265] Referring to FIG. 54, a schematic diagram of part of a User Space 1902 and a Kernel Space 1904 according to the invention, shows a embodiment of the invention whereby up to eight NIC cards and up to eight monitors 127 can connect to a SPFM device.


[1266] SPFM Initialization


[1267] The initialization process incorporates the following:


[1268] SPFM is a module and inserted by startup scripts; and


[1269] The command line parameters below are used:
41debug=NDebug Level, defaults to 0us_tty=[0,1]use tty for debug output, defaults to 0logfile=filenamelog debug to a file, default NULLconTime=t1average connection time for a stream (in jiffies)connectiondisc Time=t2disconnect timer, used in disabling streams (in jiffies)lowWater=LLLLset low water mark for capture, default 10,000hiWater=HHHset high water mark for capture, default 20,000leaveVlan=1defaults to 0 since Monitor doesn't recognize vlan tags(yet).


[1270] SPFM Packet Initialization


[1271] Each buffer has an owner flag set to module.


[1272] SPFM Start Capture


[1273] PCAP starts capture by issuing a IOCTL_SET_START to the SPFM device. This sets an internal flag that cause SPFM to start capture for the interface that issued the start command.


[1274] SPFM Packet Copies


[1275] Such IOCTL_GET_NEXT command causes data to be copied from the backlog[ ] queues to the appropriate user space queue. Once copied, the owner flag is switched to user which allows the PCAP Library to access the packet.


[1276] SPFM Streams


[1277] The preferred embodiment of the invention provides the following innovative SPFM Streams processing.


[1278] To maximize the usefulness of captured data, SPFM has the concept of data streams. A stream uses a hash of the SRC and DST IP addresses (in either order). The hash function used has the property that hashID=hash(SRC,DST)=hash(DST,SRC). This hashID is used to identify a stream. It should be appreciated that, such “stream” could be composed of numerous connections between two servers.


[1279] In another embodiment of the invention, the hash function includes the destination and source port numbers for UDP and TCP packets, such that hashID=hash(SRC,SrcPort,DST,DstPort)=hash(Dst,DstPort,Src,SrcPort).


[1280] A Most Recently Used (MRU) queue is kept for all connections with a given hashID. The hashID indexes into a hash_struct array.


[1281] Command line parameters for the streams are as follows:
42conTime=t1average connection time for a stream connectiondiscTime=t2disconnect timer, used in disabling streamslowWater=LLLLset low water mark for capture, default 10,000hiWater=HHHset high water mark for capture, default 20,000


[1282] It should be appreciated that lowWater=LLLL is the rate limiting point.


[1283] It should be appreciated that while the preferred embodiment of the invention uses a hash of addresses, the particular hash chosen, and the choice of SRC and DST is a specific implementation and that it is readily apparent to one skilled in the art that other hashes can equally be used.


[1284] It should be appreciated that with the SPFM feature, stream rate limiting (RL) is compatible with Monitor Connections or Network Events, resulting in complete connections being transmitted.


[1285] It should further be appreciated that without the SPFM feature, rate limiting occurs at the monitor 127 interface, resulting in random packet loss being very high and a loss of connection integrity.


[1286] SPFM Discard Policy


[1287] This sub-section describes a preferred embodiment of the invention in the case of limited memory. Following is a list of the SPFM discard policy according to the invention:


[1288] Each connection has a hash_state: HASH_UNUSED, HASH_RECEIVING or HASH_DISCARDING.


[1289] Initially the hash_state is HASH_UNUSED and switches to HASH_RECEIVING when a stream is first encountered.


[1290] When below lowWater all streams are collected.


[1291] When above lowWater any new stream of data is ignored. A packet on a current data stream in (HASH_RECEIVING) times out after conTime and is placed into the HASH_DISCARDING state for a period of discTime. This is an attempt to discard data input when above the lowWater mark, but only on rarely used connections.


[1292] When above the hiWater mark, all streams are discarded and each discarded stream stays in the discard state for discTime.


[1293] SPFM Streams Structures


[1294] SPFM Streams Structures is described with reference to FIG. 55, a schematic diagram showing the interaction of a hash_struct 2002 with a mru_struct 2004 according to the invention.


[1295] The preferred hashStruct is indexed via a hashID. If the stream has a most recently used (MRU) element already, it is moved to the top of the queue. Otherwise, an element is removed from the bottom of the MRU and placed on the top with a back pointer to the hashStruct.


[1296] The following table summarizes processing streams using low water marks (LWM) and high water marks (HWM) according to the invention.
430- LWMLWM-HWM@ HWMNew StreamNoNoOld StreamYesNoTimeoutYesYesNo New DiscardsYes New DiscardsYesYes Old DiscardsYes Old DiscardsN/A


[1297] Also, FIG. 56 illustrates what happens within a queue 2102 at the Empty 2104, LWM 2106, and Full 2108 (=HWM) levels. Between empty and the low water mark, the SPFM activates new streams, processes old streams, and has no new discard states. Between the low water mark and the high water mark, SPFM processes old streams and discards new streams.


[1298] MRU Circular Queue


[1299] Referring to FIG. 55, also, the SPFM MRU list is like a set of tickets or tokens that limit the number of simultaneous connections (stream/host pairs) that SPFM can handle. When SPFM is rate limiting, only streams with an MRU object are processed. When a stream is processed in non-rate limiting mode, the least recently used (LRU) object is assigned to the stream and set as the MRU for every packet.


[1300] It should be appreciated that the MRU feature is optionally added to the RL algorithm.


[1301] It should be appreciated that if sizeof mru.q==sizeof hasharray, then the MRU algorithm above has no effect.


[1302] SPFM VLAN Tags Background


[1303] VLAN tags, as specified in IEEE 802.1Q, typically are used by a switch to create virtual LANs inside a switch (or series of switches). VLAN tags typically consist of 4 bytes of protocol information that is inserted in what would be the TYPE field of an Ethernet frame. Also, the 4 bytes consist of the Tag Protocol Identifier (TPID) and Tag Control Information (TCI).


[1304] Innovative SPFM VLAN Support


[1305] According to one preferred embodiment of the invention, VLAN configuration is via the setupVlan program, as follows:


[1306] A) spfm032 eth|eth2


[1307] B) spfm0=eth0:[VLAN1]


[1308] spfm1=eth0:[VLAN2]


[1309] A+B) spfm0=eth0:[VL1]|eth1:[VL4]


[1310] spfm1=eth0:[VL2]|eth1:[VL3]


[1311] Item A is described with reference to FIG. 57, a schematic diagram of one SPFM device 2212 mapping multiple interface cards 2214 according to the invention. The monitor can see all traffic, e.g. in and out, as one SPFM device.


[1312] Item B is illustrated in FIG. 58, a schematic diagram of the VLAN switch 2312 according to the invention.


[1313] Item A+B is illustrated in FIG. 59, a schematic diagram showing both the mapping of multiple interface cards and the VLAN tags according to the invention.


[1314] If the embodiment of the monitor 127 does not support VLAN tags, the tags are stripped off by SPFM. However the VLAN tags are used to show which monitor 127 is interested in which VLAN stream.


[1315] Separate portions of multiple Ethernets 2412 can be grouped into a single SPFM device 1704.


[1316] Innovative SPFM Physical Replication


[1317] Following is a list of considerations for SPFM physical replication according to one preferred embodiment of the invention:


[1318] Use a physical layer stream duplication (e.g. a NetOptics Layer1 1:4 optical splitter or an electro-optical Tap for a 1:2 duplication, or an Ethernet hub).


[1319] Assign each SPFM device different parts of the hashID stream to capture.


[1320] Implementation is simple and cheaper than using a dedicated stream-aware load balancer device (e.g., TopLayer).


[1321] Refer to FIG. 60, a schematic diagram of SPFM physical replication according to the invention. It should be appreciated that the hash table can be logically split between multiple monitors in the configuration.


[1322] That is, according to a preferred embodiment of the invention, a configuration item is added: use_hash_only (UHO) to a region of the Hash table, e.g. [0,127][128,255]. Thus, packets in its respective region are processed as normal; other packets are discarded.


[1323] N Boxes (monitors) 128 are configured for all traffic going to all boxes.


[1324] Each box is configured with a portion (e.g., 1/N) of the hash space.


[1325] Then, the traffic is partitioned amongst the boxes by SPFM.


[1326] It should be appreciated that an application of SPFM physical replication is load balancing. Refer to FIG. 61, a schematic diagram of SPFM physical replication in a Load Balancing application according to the invention. FIG. 61 shows a high bandwidth network channel (“Big Pipe”) 2502 is thus partitioned 2504, 2506, 2508.


[1327] Innovative SPFM Cascade


[1328] One embodiment of the invention uses a cascading design with each harvester taking a portion of the traffic. Refer to FIG. 62.


[1329] It should be appreciated that SPFM Cascade design is similar to SPFM Physical Replication. However, for packets in Harvester1 2602, process events as normal. For other packets, send to the next machine, i.e. Harvester2-HarvesterN 2604, 2606.


[1330] SPFM cascade avoids using an expensive splitter device.


[1331] It should be appreciated that an embodiment of the SPM Cascade design may use a plurality of network interface cards for both/either input and for output, with a tree-like interconnection, the SPFM VLAN support, described above, being used to combine streams, and other packet selection criteria (e.g., protocol identity) being used to split the output packet data that is destined for the said next machine to a plurality of said next machines.


[1332] Accordingly, although the invention has been described in detail with reference to particular preferred embodiments, persons possessing ordinary skill in the art to which this invention pertains will appreciate that various modifications and enhancements may be made without departing from the spirit and scope of the claims that follow.


Claims
  • 1. An apparatus for aggregating Monitors at a centralized aggregation point, said apparatus comprising: at least one monitor device, each running a policy; and an Enterprise Manager system for providing a consolidation point for said at least one monitor device, for providing an operational view of said at least one monitor device, and for providing centralized management of said at least one monitor device.
  • 2. The apparatus of claim 1, wherein said at least one monitor is organized by policy domain, wherein a policy domain represents a collection of all monitors running a same policy.
  • 3. The apparatus of claim 1, further comprising a studio system coupled to said Enterprise Manager system, said studio system querying online conformance data for analysis of policy violations.
  • 4. The apparatus of claim 1, further comprising an Enterprise Reporting system coupled to said Enterprise Manager, said Enterprise Reporting system providing management reports and long term trend reporting.
  • 5. The apparatus of claim 1, wherein a monitor device of said at least one monitor device provides any of the following: means for 24×7 monitoring of network traffic against policy; a web-based operational view of conformance of monitored traffic; a web-based console for systems management of monitoring application; an interface to which a studio system can connect for querying online conformance data across multiple monitors; means for generating alerts for CRITICAL violations of policy; and means for generating alerts for status changes of monitor components.
  • 6. The apparatus of claim 1, wherein said Enterprise Manager system provides any of the following: a consolidated web-based operational view of conformance of traffic monitored by said at least one monitor device; means for consolidated web-based trend reporting over data collected by said more than one monitor device; a web-based console for systems management; an interface to which a studio system can connect for querying online conformance data across multiple monitors. means for displaying CRITICAL violations of policy; and means for generating alerts for status changes of monitor components.
  • 7. The apparatus of claim 3, wherein said studio system provides an analysis environment allowing interrogation of said output.
  • 8. The apparatus of claim 7, wherein said output may be located on any of: said Enterprise Manager; and said at least one monitor device.
  • 9. The apparatus of claim 1, wherein either of or both of said at least one monitor device and said Enterprise Manager system comprise a web server platform for facilitating web server access.
  • 10. The apparatus of claim 9, said web server platform comprising any of the following: a reporting module; a console module; means for providing an operational view; remote query support; and a data transport access module for accessing traffic summaries.
  • 11. The apparatus of claim 1, further comprising a plurality of Enterprise Manager systems.
  • 12. The apparatus of claim 11, wherein said plurality of Enterprise Manager systems are organized into at least a first tier and a second tier, whereby a second tier Enterprise Manager system farms out requests to first tier Enterprise Managers, said second tier Enterprise Manager system using same protocols to interact with said first tier Enterprise Managers as said first tier Enterprise Managers use to communicate with monitors devices, and wherein further tiers are identical to said second tier.
  • 13. The apparatus of claim 12, further comprising application logic on said second tier Enterprise Manager system for generating queries to said first tier Enterprise Managers and for rendering results of said queries.
  • 14. The apparatus of claim 12, wherein each Enterprise Manager system comprises a user database, said apparatus further comprising any of the following functionality: means for user accounts existing on any of said user database; means for said user database containing an authentication database and an authorization database; means for first tier Enterprise Managers providing operational views and management consoles; means for second tier Enterprise Managers providing operational views only; means for first tier Enterprise Managers having a list of trusted second tier Enterprise Managers; means for second tier Enterprise Managers having a list of first tier Enterprise Managers of which to make requests; means for authorizing first tier Enterprise Managers users for a role in a set of policy domains; and means for authorizing second tier Enterprise Managers users for an operational view role in a set of first tier Enterprise Managers.
  • 15. The apparatus of claim 14, wherein a first tier Enterprise Manager system and a second tier Enterprise Manager system share a user database.
  • 16. The apparatus of claim 1, wherein said at least one monitor device comprises a platform and said Enterprise Manager system comprises a platform, wherein said at least one monitor device and said Enterprise Manager system each comprise a same set of core abstract classes, and wherein each of said set of core abstract classes is implemented by conforming to said monitor device platform and said Enterprise Manager system platform, respectively.
  • 17. The apparatus of claim 16, wherein said Enterprise Manager system invokes operations on said at least one monitor device by accessing URLs, and wherein said Enterprise Manager system has capability to invoke operations on a plurality of monitor devices simultaneously.
  • 18. The apparatus of claim 16, wherein said Enterprise Manager system invokes operations on said at least one monitor device by accessing a Command Manager communications module resident on said at least one monitor device, and wherein said Enterprise Manager system has capability to invoke operations on a plurality of monitor devices simultaneously.
  • 19. The apparatus of claim 16, wherein said at least one monitor device has a Monitor Console, and wherein said core abstract classes facilitates any of the following interactions: Enterprise Management Console to said Monitor Console, Enterprise Management Command Manager to said Monitor Console; said Monitor Console to a User Manager; said Monitor Console to a Configuration Manager; and said Monitor Console to a Status Manager.
  • 20. The apparatus of claim 16, wherein said Enterprise Manager system has an Enterprise Manager Console, and wherein said core abstract classes facilitates any of the following interactions: said Enterprise Management Console with a Configuration Manager, said Enterprise Management Console with a Status Manager; said Enterprise Management Console with a User Manager; said Enterprise Management Console with a Monitor Console; and said Enterprise Management Console with a Regional Management Console.
  • 21. The apparatus of claim 2, further comprising a user interface providing a same look and feel for said at least one monitor device and said Enterprise Manager system, said user interface comprising: a first level summary Web page in an event summary showing a table with each of a Policy Domain's Reporting Elements and a count for each severity of each of said Reporting Elements; a second level summary Web page showing an expansion of information for each of said Reporting Elements selected in said first level summary Web page, wherein each line has at least one Reporting Element; and a third level summary Web page showing event detail summary for each row clicked on said second level summary Web page; wherein a Reporting Element is a network object used for summarizing network activity.
  • 22. The apparatus of claim 21, wherein said first level summary Web page further comprises views showing counts by outcome and counts by criticality.
  • 23. The apparatus of claim 21, wherein said third level summary Web page allows selecting rows for performing a remote query on a coupled Monitor system.
  • 24. The apparatus of claim 1, further comprising means for communicating using one or more Command Manager modules, each of said one or more Command Manager modules performing distributed command functions in a hierarchical collection of machines by automatically forwarding commands to particular machines needing to run said commands, said each of said one or more Command Manager modules Command Manager comprising: a naming convention for addressing machines or collections of machines, based on Domain, Tier, and MachineID, wherein each field is optionally a wildcard; and a set of commands for executing on said machines.
  • 25. The apparatus of claim 24, wherein said naming convention uses a randomly-chosen large number to assign machine identity.
  • 26. The apparatus of claim 24, further comprising means for using User Configuration Data for assigning a set of acceptable roles to a corresponding command request of a command.
  • 27. The apparatus of claim 26, wherein said User Configuration Data is any of: shared between all machines in a command framework; and is separate for each machine in said command framework.
  • 28. The apparatus of claim 26, wherein said assigned set of acceptable roles to said corresponding command request is used for limiting authorization to run said command.
  • 29. The apparatus of claim 28, wherein said authorization to run said command is determined by intersecting sets of roles, wherein: said user configuration data serves as the origination of one set of roles; each machine that processes a forwarded command provides a set of roles associated with the previous machine; each machine that is an intended target to execute a command provides a set of roles associated with that command; any of the above sets of roles might be the set of all possible roles, indicating that any and all roles are accepted.
  • 30. The apparatus of claim 24, wherein said set of commands is fixed at runtime for auditing purposes.
  • 31. A method for aggregating Monitors at a centralized aggregation point, said method comprising the steps of: providing at least one monitor device, each running a policy; and providing an Enterprise Manager system for providing a consolidation point for said at least one monitor device, for providing an operational view of said at least one monitor device, and for providing centralized management of said at least one monitor device.
  • 32. The method of claim 31, wherein said at least one monitor is organized by policy domain, wherein a policy domain represents a collection of all monitors running a same policy.
  • 33. The method of claim 31, further comprising the step of providing a studio system coupled to said Enterprise Manager system, said studio system querying online conformance data for analysis of policy violations.
  • 34. The method of claim 31, further comprising the step of providing an Enterprise Reporting system coupled to said Enterprise Manager, said Enterprise Reporting system providing management reports and long term trend reporting.
  • 35. The method of claim 31, wherein a monitor device of said at least one monitor device provides any of the following: means for 24×7 monitoring of network traffic against policy; a web-based operational view of conformance of monitored traffic; a web-based console for systems management of monitoring application; an interface to which a studio system can connect for querying online conformance data across multiple monitors; means for generating alerts for CRITICAL violations of policy; and means for generating alerts for status changes of monitor components.
  • 36. The method of claim 31, wherein said Enterprise Manager system provides any of the following: a consolidated web-based operational view of conformance of traffic monitored by said at least one monitor device; means for consolidated web-based trend reporting over data collected by said more than one monitor device; a web-based console for systems management; an interface to which a studio system can connect for querying online conformance data across multiple monitors. means for displaying CRITICAL violations of policy; and means for generating alerts for status changes of monitor components.
  • 37. The method of claim 33, wherein said studio system provides an analysis environment allowing interrogation of said output.
  • 38. The method of claim 37, wherein said output may be located on any of: said Enterprise Manager; and said at least one monitor device.
  • 39. The method of claim 31, wherein either of or both of said at least one monitor device and said Enterprise Manager system comprise a web server platform for facilitating web server access.
  • 40. The method of claim 39, wherein said web server platform comprises any of the following: a reporting module; a console module; means for providing an operational view; remote query support; and a data transport access module for accessing traffic summaries.
  • 41. The method of claim 31, further comprising the step of providing a plurality of Enterprise Manager systems.
  • 42. The method of claim 41, wherein said plurality of Enterprise Manager systems are organized into at least a first tier and a second tier, whereby a second tier Enterprise Manager system farms out requests to first tier Enterprise Managers, said second tier Enterprise Manager system using same protocols to interact with said first tier Enterprise Managers as said first tier Enterprise Managers use to communicate with monitors devices, and wherein further tiers are identical to said second tier.
  • 43. The method of claim 42, further comprising the step of providing application logic on said second tier Enterprise Manager system for generating queries to said first tier Enterprise Managers and for rendering results of said queries.
  • 44. The method of claim 42, wherein each Enterprise Manager system comprises a user database, said method further comprising any of the following functionality: user accounts existing on any of said user database; said user database containing an authentication database and an authorization database; first tier Enterprise Managers providing operational views and management consoles; second tier Enterprise Managers providing operational views only; first tier Enterprise Managers having a list of trusted second tier Enterprise Managers; second tier Enterprise Managers having a list of first tier Enterprise Managers of which to make requests; authorizing first tier Enterprise Managers users for a role in a set of policy domains; and authorizing second tier Enterprise Managers users for an operational view role in a set of first tier Enterprise Managers.
  • 45. The method of claim 44, wherein a first tier Enterprise Manager system and a second tier Enterprise Manager system share a user database.
  • 46. The method of claim 31, wherein said at least one monitor device comprises a platform and said Enterprise Manager system comprises a platform, wherein said at least one monitor device and said Enterprise Manager system each comprise a same set of core abstract classes, and wherein each of said set of core abstract classes is implemented by conforming to said monitor device platform and said Enterprise Manager system platform, respectively.
  • 47. The method of claim 46, wherein said Enterprise Manager system invokes operations on said at least one monitor device by accessing URLS, and wherein said Enterprise Manager system has capability to invoke operations on a plurality of monitor devices simultaneously.
  • 48. The method of claim 47, wherein said Enterprise Manager system invokes operations on said at least one monitor device by accessing a Command Manager communications module resident on said at least one monitor device, and wherein said Enterprise Manager system has capability to invoke operations on a plurality of monitor devices simultaneously.
  • 49. The method of claim 46, wherein said at least one monitor device has a Monitor Console, and wherein said core abstract classes facilitates any of the following interactions: Enterprise Management Console to said Monitor Console, Enterprise Management Command Manager to said Monitor Console; said Monitor Console to a User Manager; said Monitor Console to a Configuration Manager; and said Monitor Console to a Status Manager.
  • 50. The method of claim 46, wherein said Enterprise Manager system has an Enterprise Manager Console, and wherein said core abstract classes facilitates any of the following interactions: said Enterprise Management Console with a Configuration Manager, said Enterprise Management Console with a Status Manager; said Enterprise Management Console with a User Manager; said Enterprise Management Console with a Monitor Console; and said Enterprise Management Console with a Regional Management Console.
  • 51. The method of claim 32, further comprising the step of providing a user interface providing a same look and feel for said at least one monitor device and said Enterprise Manager system, said user interface comprising: a first level summary Web page in an event summary showing a table with each of a Policy Domain's Reporting Elements and a count for each severity of each of said Reporting Elements; a second level summary Web page showing an expansion of information for each of said Reporting Elements selected in said first level summary Web page, wherein each line has at least one Reporting Element; and a third level summary Web page showing event detail summary for each row clicked on said second level summary Web page; wherein a Reporting Element is a network object used for summarizing network activity.
  • 52. The method of claim 51, wherein said first level summary Web page provides views showing counts by outcome and counts by criticality.
  • 53. The method of claim 51, wherein said third level summary Web page allows selecting rows for performing a remote query on a coupled Monitor system.
  • 54. The method of claim 31, further comprising the step of communicating using one or more Command Manager modules, each of said one or more Command Manager modules performing distributed command functions in a hierarchical collection of machines by automatically forwarding commands to particular machines needing to run said commands, said each of said one or more Command Manager modules Command Manager comprising: a naming convention for addressing machines or collections of machines, based on Domain, Tier, and MachineID, wherein each field is optionally a wildcard; and a set of commands for executing on said machines.
  • 55. The method of claim 54, wherein said naming convention uses a randomly-chosen large number to assign machine identity.
  • 56. The method of claim 54, further comprising the step of using User Configuration Data for assigning a set of acceptable roles to a corresponding command request of a command.
  • 57. The method of claim 56, wherein said User Configuration Data is any of: shared between all machines in a command framework; and is separate for each machine in said command framework.
  • 58. The method of claim 56, wherein said assigned set of acceptable roles to said corresponding command request is used for limiting authorization to run said command.
  • 59. The method of claim 58, wherein said authorization to run said command is determined by intersecting sets of roles, wherein: said user configuration data serves as the origination of one set of roles; each machine that processes a forwarded command provides a set of roles associated with the previous machine; each machine that is an intended target to execute a command provides a set of roles associated with that command; any of the above sets of roles might be the set of all possible roles, indicating that any and all roles are accepted.
  • 60. The method of claim 54, wherein said set of commands is fixed at runtime for auditing purposes.
Priority Claims (1)
Number Date Country Kind
PCT/US01/19063 Jun 2001 WO
CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to U.S. Provisional Patent Application Ser. No. 60/385,252, filed May 31, 2002; and is a Continuation-in-part of U.S. patent application Ser. No. 10/311,109, filed Dec. 13, 2002, which is a national filing of International Patent Application No. PCT/U.S. 01/19063 filed Jun. 14, 2001, which claims priority to U.S. Provisional Patent Application Ser. No. 60/212,126 filed Jun. 16, 2000.

Provisional Applications (1)
Number Date Country
60385252 May 2002 US