Quintessential Event Processing: Signature Versus Anomaly Detection


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Complex Event Processing RSS News Quintessential Event Processing: Signature Versus Anomaly Detection
# 1  
Old 11-28-2008
Quintessential Event Processing: Signature Versus Anomaly Detection

Tim Bass
11-28-2008 02:07 PM
Detection experts understand that the optimal detection design and architecture is generally a combination of both signature and anomaly detection engines. * In event processing, signature detection involves the real-time pattern matching analysis of events.** A core advantage of signature detection is that basic pattern matching models are easy to understand and develop when you know exactly what pattern you are looking for. * Designers then use a pattern, often called a signature, that searches for exact strings within an event object to detect, track, or observe an object of interest.* Pattern matching can be executed very quickly, efficiently and inexpensively on most all computing platform today.

Howver, signature detection engines have weaknesses.* Generally speaking, signature detection engines can only detect known patterns based on a posteriori models. * An a posteriori signature must be created for every pattern under observation.* Therefore, unknown or modified patterns and situations will generally go undetected; hence, in practice, signature detection engines can suffer from both false positives and false negatives.

Pattern matching works well when detecting signatures in a known, deterministic model.* However, pattern matching does not work well against changing, self-modifying or adaptive behavior. * In addition, signature detection is made more difficult by advanced techniques that attempt to conceal the “real” pattern by generating easy to detect “decoy” patterns. * An example of this deception is chaff, small metal objects used to deceive signature-based radar detection.** The same type of deception is easily created in event processing networks.* Furthermore, the overall capability of a signature-based engine to scale upwards against adaptive and deceptive behavior is constrained by the fact that a new signature must be created for each variation, and as the rule set grows, the detection engine performance decreases.

In threat detection, signature-based detection often reduces, in practice, to a race condition between the malicious user (the threat) and the signature developers where the advantage goes to the threat because malicious users can develop new threats faster than new detection signatures can be written, tested and deployed to the detection engine.

On the other side of the detection coin, anomaly detection focuses on the concept of baselining normal behavior and detecting variations from the baseline.*** The baseline is learned and/or specified by system designers.* Detected situations in an anomaly detection engine are created by any situation that falls outside the predefined boundary of the anomaly detection model.

A key component of baselining in anomaly detection is the capability of the detection engine to detect deviations from situational models at many different layers.* This means that anomaly detection engines are initially computationally expensive.* However, one trade off is that anomaly detection engines tends to scale better than a signature detection engines as the event data-set grows.* As a result,* designers often see fewer false positives in anomaly detection.

A known disadvantage of anomaly-detection engines, similar to signature detection, is the difficultly of predefining rules.** Even more challenging, the detailed knowledge of normal baseline situations must be constructed and transferred into the engine memory for accurate detection.* However, once a robust baseline has been established and normal behavior or situational pattern defined, an anomaly detection engine tends to scale more quickly and easily than signature-based engines because a new signature does not have to be designed, tested and uploaded for every new variant that comes along.

Detection experts know that the optimal detection design is generally a combination of both signature and anomaly detection engines.* This is one reason that I tend to be critical of rule-based signature detection “only” in the CEP/EP market place. * Because anomaly detection engines tends to be adaptive, learning systems, the current trend is for anomaly detection engines are designs based on statistical learning algorithms such as artificial neural networks or dynamic Bayesian networks.

In other words, it is well established in detection systems design that the optimal approach for most non-trivial detection-oriented problems is a combination of both signature and anomaly detection engines.** If you are buying a “CEP engine” and the engine is only capable of signature or pattern detection across a sliding time window, you will be using a suboptimal detection architecture.** This is a well established systems engineering principal in detection-oriented systems design.



Source...
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Programming

Parallel Processing Detection and Program Return Value Detection

Hey, for the purpose of a research project I need to know if a specific type of parallel processing is being utilized by any user-run programs. Is there a way to detect whether a program either returns a value to another program at the end of execution, or just utilizes any form of parallel... (4 Replies)
Discussion started by: azar.zorn
4 Replies
Login or Register to Ask a Question