The present invention relates to process exceptions, and more particularly to generating process exceptions.
An exception is a condition, often an error, which causes the program or microprocessor to branch to a different routine, and/or terminate. Performing some actions in response to the arising of an exception is called handling the exception. For example, exception handling in a C++ environment allows a detector of the exception to pass an error condition to code (e.g. an exception handler) that is prepared to handle the same.
Exceptions are relevant in a myriad of computing environments. For example, in a security program that monitors computer/network events for violation of a security rule, etc. such a rule may be found to be violated when, in reality, the event does not constitute a security threat. Such situation is often referred to as a false positive. In a general context, a false positive, also called a false alarm, exists when a test of any sort incorrectly reports that it has identified a situation where none exists in reality. Detection algorithms of all kinds often create false positives.
In order to address such false positives, an exception may be generated for each situation that would otherwise trigger a false positive. This process of creating exceptions to avoid false positives may be referred to as false positive tuning False positive tuning can be an expensive task. Traditionally, a user is required to identify a program (such as a security program), collect events, and then manually create exceptions for an associated rule set to avoid creation of events that were deemed false positives.
There is thus a need for overcoming these and/or other problems associated with the prior art.
A system, method and computer program product are provided for automatically generating a rule exception. An event is identified that at least potentially violates a rule. Thereafter, an exception to the rule is automatically generated.
Coupled to the networks 102 are server computers 104 which are capable of communicating over the networks 102. Also coupled to the networks 102 and the server computers 104 is a plurality of client computers 106. Such server computers 104 and/or client computers 106 may each include a desktop computer, lap-top computer, hand-held computer, mobile phone, hand-held computer, peripheral (e.g. printer, etc.), any component of a computer, and/or any other type of logic. In order to facilitate communication among the networks 102, at least one gateway or router 108 is optionally coupled therebetween.
The workstation shown in
The workstation may have resident thereon any desired operating system. It will be appreciated that an embodiment may also be implemented on platforms and operating systems other than those mentioned. One embodiment may be written using JAVA, C, and/or C++ language, or other programming languages, along with an object oriented programming methodology. Object oriented programming (OOP) has become increasingly used to develop complex applications.
Our course, the various embodiments set forth herein may be implemented utilizing hardware, software, or any desired combination thereof. For that matter, any type of logic may be utilized which is capable of implementing the various functionality set forth herein.
In operation 301, an event is identified that at least potentially violates a rule. In the context of the present description, an event may refer to any occurrence that may take place in the context of computer software and/or hardware that occurs with respect to any input, output, and/or computer processing. Still yet, a rule may refer to any entity that may be used to indicate whether an event should trigger a positive condition.
Thereafter, in operation 302, an exception to the rule is automatically generated. In the context of the preset description, an exception refers a condition, error, interrupt, instruction, operation, etc. that causes computer hardware and/or software to branch to a different routine, and/or terminate, when it would otherwise indicate the aforementioned positive condition. The automatic generation of the exception requires that at least the initiation or triggering of the rule exception generation process be automated, without manual input. To this end, a more efficient technique of generating exceptions is provided.
More illustrative information will now be set forth regarding various optional architectures and features with which the foregoing technique may or may not be implemented, per the desires of the user. Specifically, more information will be set forth regarding automated rule exception generation in the specific context of a security application (e.g. an intrusion detection system, etc.). It should be strongly noted that the following information is set forth for illustrative purposes and should not be construed as limiting in any manner. Any of the following features may be optionally incorporated with or without the exclusion of other features described in and out of a security-related context.
As shown, an event is first received in operation 401. In addition to the events set forth hereinabove during the description of the method 300 of
Next, in operation 402, the identified event may be compared to a database. Specifically, any aspect of the event may be compared to a list of entries in the database. Such aspects may include, but are not limited to, a user identifier, any aspect of an associated application program interface (API), a path, registry information, etc. Of course, the database may be a local or remote database that may be updated.
For reasons that will soon become apparent, each entry in the database includes, in addition to the aforementioned aspects, at least one rule and a tag indicating whether the rule allows for an exception. In the context of the present embodiment, such rule is capable of determining whether the event represents a security issue utilizing the associated aspect of the event. For example, each rule may include an intrusion detection rule that is capable of determining whether any aspect of the event represents an intrusion.
Table 1 illustrates an exemplary data structure that may be used as a database entry including a rule. It should be noted that such data structure is set forth for illustrative purposes only and should not be construed as limiting in any manner whatsoever.
Thus, it is determined in decision 404 whether there is a match based on the comparison of operation 402. Resulting from decision 404 is a list of entries (each including a rule, etc.) that include rules that are capable of utilizing the matching aspect in order to determine whether there is a violation of the rule. As will soon become apparent, by parsing down the list of entries in such a manner, only rules that are relevant to the available aspects are identified, thus avoiding the application of irrelevant rules, for efficiency purposes.
Next, in decision 406, it is determined whether any of the matching rules are violated. To accomplish this, each rule may, in one embodiment, include an expression, definition, signature, wild card, etc. that may process the identified aspects of the event to determine whether or not the event represents a rule violation. Of course, this may be accomplished in any manner that indicates that the rule is at least potentially violated, as a function of the any identified aspect of the event. It should be noted that, if neither a rule match nor violation are identified in decisions 404 and 406, the method continues by receiving and comparing additional events.
If, on the other hand, a rule match and violation are identified in decisions 404 and 406, the method 400 continues by determining whether the matched/violated rule is capable of having an associated exception. Note decision 408. This may be accomplished, for example, by simply reviewing the exception tag mentioned hereinabove with respect to Table 1.
Of course, such tag may be automatically and/or manually included on a rule-by-rule basis based on whether the rule is known to be or capable of being subject to a false positive. This determination may be a function of a type of rule, or any other defining characteristic, etc. By only carrying out the subsequent operations on a limited subset of rules that are capable of exceptions, further efficiencies are provided.
If, per decision 408, it is determined that the matched/violated rule does not allow for automated exception generation, a response to the violation is carried out. Note operation 409. Such response may include, but is not limited to, notifying a user or administrator, blocking the event or underlying activity, reporting the event, or cleaning, deleting, and/or quarantining data/code associated with the event, etc. Of course, such response may include any passive and/or active response.
If, on the other hand, decision 408 indicates that the matched/violated rule does indeed allow for automated exception generation, the method 400 continues to the automated generation of an exception. This may be accomplished by collecting information associated with the event, as indicated in operation 412. Such information may include, but is not limited to a user identifier, rule identifier, any aspect of an associated application program interface (API), path, registry information, and/or any other aspect associated with an event event.
Utilizing such information, an exception is automatically generated, per operation 414. Similar to the aforementioned rules, each exception may, in one embodiment, include an expression, definition, signature, wild card, etc. that may process the identified aspects of the event to determine whether or not the event represents a rule exception. This may be accomplished in any manner that indicates that the expression is appropriate, as a function of the any identified aspect of the event.
By utilizing additional collected information that particularly describes the event, the exception is capable of being narrowly tailored to be invoked in the current specific instance. Of course, the more information that is collected and applied in the generation of the expression, the more narrowly tailored the exception will be, so that it is not invoked in any other unintended circumstance. Thus, the information may be used to limit a scope of the exception.
To this end, the exception may take the form of a database entry. Table 2 illustrates an exemplary data structure that may be used as a database entry including an exception. It should be noted that such data structure is set forth for illustrative purposes only and should not be construed as limiting in any manner whatsoever.
As shown, each exception entry does not have an exception tag, as it is not necessarily capable of having an associated exception.
By this design, during subsequent iterations of operations 401-406, exception entries may be matched in a manner that is similar to the rule entries. Further, if it is determined in decision 406 that, in addition to the rule, an associated exception applies (with a matching rule identifier, etc.), decision 406 may be answered in the negative, thus avoiding a violation response that would otherwise normally occur.
With reference now to
In one embodiment, the exception may apply only to a computer that is subject to the event. In other words, each computer is used to generate and apply a plurality of exceptions that are used only in association thereof. As an option, the user may be allowed to convert the exception to a general exception that is applies to computers other than that which is subject to the event. Note decision 507. If the user decides such, the general exception may be pushed to (or otherwise shared with) other computers so that such exception may be applied on such computers as well. This generalization and exception distribution may be carried out in any desired automated manner.
While not shown, a user may be given the option to disable any of the decisions/operations. For example, a user may disable the rule exception generation capability. Further, while not represented in the current diagrams, it should be noted that, in one embodiment, the various operations need not necessarily be carried out serially, but rather may be carried out independently in parallel.
Using the instant technique, intercepted events that would normally generate rule violations may instead generate exceptions to reduce the occurrence of future violation events (i.e. false positives, etc.).
While various embodiments have been described above, it should be understood that they have been presented by way of example only, and not limitation. For example, any of the network elements may employ any of the desired functionality set forth hereinabove. Thus, the breadth and scope of a preferred embodiment should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.
Number | Date | Country | |
---|---|---|---|
Parent | 11313591 | Dec 2005 | US |
Child | 14165357 | US |