Enterprise environments typically generate log files to record a variety of activities. Log content analytics (LCA) is the application of analytics and semantic technologies to consume and analyze heterogeneous computer-generated log files to discover and extract relevant insights in a rationalized and structured form.
Features of the present disclosure are illustrated by way of examples shown in the following figures. In the following figures, like numerals indicate like elements, in which
For simplicity and illustrative purposes, the present disclosure is described by referring mainly to examples thereof. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. It will be readily apparent however, that the present disclosure may be practiced without limitation to these specific details. In other instances, some methods and structures have not been described in detail so as not to unnecessarily obscure the present disclosure.
Throughout the present disclosure, the terms “a” and “an” are intended to denote at least one of a particular element. As used herein, the term “includes” means includes but not limited to, the term “including” means including but not limited to. The term “based on” means based at least in part on.
The opaque nature of modern computing and networking systems makes them vulnerable to cyber adversaries or advanced persistent threats (APTs) presenting an ever growing threat to globally interconnected networks. Many enterprise environments need to manage copious amounts of log files where forensic evidence of those threats and suspect anomalies reside unnoticed in logs until it may be too late. Analyzing log data from many heterogeneous sources to find errors and anomalies can be difficult, both in terms of computation and information technology (IT) coordination. Learning the behavior of applications through log traces, understanding the flow of events that occur within many applications, performing analytics at massive scales, and performing analytics with low latency and rapid results with streaming data is needed when finding relevant security events and being operationally aware in real-time. Often data present in log files, or trace data, generated from a device source is characterized by attributes that include unique identifiers, timestamps, events, and actions. These unique attributes can be indicative of application behaviors, processes, and patterns created by a series of events. Data contained within the trace sources can be modeled as a graph containing information about states and transitions between them.
In order to address the aforementioned challenges related to log file analysis, an event anomaly analysis and prediction apparatus, and methods for event anomaly analysis and prediction are disclosed herein. The methods for event anomaly analysis and prediction may substantially perform the functionality related to the event anomaly analysis and prediction apparatus. The apparatus and methods disclosed herein may provide for the extraction of correlations between trace events within a log and the information surrounding the correlations such as probability of occurrence of trace log events, probability of transitions between particular trace log events, execution times of trace log events, and anomalous occurrences of trace log events.
The apparatus and methods disclosed herein may include monitoring of agent behaviors (e.g. users, applications, servers, etc.) to produce situationally aware graphs that represent views of actions taken on a network by various entities in real-time.
The apparatus and methods disclosed herein may expand upon domain knowledge in the corporate, cyber security, defense, and academic realms concerning the application of analytics to uncover anomalies such as intrusion attempts and difficult to detect surreptitious APTs. Examples of surreptitious APTs may include unauthorized access to classified information by a user who otherwise performs authorized access to non-classified information in a chain of access events. Armed with an ever-watching tool, capable of evolving over time providing context to events, an analyst may be confident that the tool will generate alerts, quarantine and control agents, and stop malicious behavior before irreparable damage occurs to the Enterprise and its assets.
With respect to the apparatus and methods disclosed herein, behavior learning may denote learning common behaviors that occur within an Enterprise network and transforming the behaviors into probabilistic event graphs (based on extract-transform-load or ETL, distributed storage, distributed processing, and machine learning).
With respect to the apparatus and methods disclosed herein, anomaly identification may denote understanding why events are more important than others and identifying anomalous events (utilizing machine learning techniques).
With respect to the apparatus and methods disclosed herein, real-time anomaly detection may denote detecting event chains with highly anomalous attributes based on learned behaviors (which uses messaging queues, complex event processing (CEP), and in-memory databases). CEP may be described as tracking and processing streams of event data (e.g., click streams or video feeds) from multiple sources to infer and identify patterns that suggest more complicated circumstances. An example may include validating security events against previously verified breaches of information in real-time to assess new threats. CEP may combine data from multiple sources to infer events or patterns that suggest more complicated circumstances. CEP may identify meaningful events (such as opportunities or threats), and enable organizations to respond to such events as quickly as possible. CEP may enhance streaming ingestion. CEP may also increase speed by pre-processing data, and caches, where in-memory databases IMDBs enable real-time interactivity.
With the vast load of data streaming within a corporate network increasing every day and as are the number of security vulnerabilities and exploits, the human security analyst may become quickly overwhelmed and become reactive rather than proactive.
In this regard, the apparatus and methods disclosed herein may deploy a differentiated technology asset that may effectively capture, learn, discover and provide actionable contextually relevant security information. For the apparatus and methods disclosed herein, network traffic patterns may be learned, anomalies may be extracted and graded, and rules may be created to inform key security activities for hunter teams in exploration, forensics, auditing, and decision-making. Furthermore, the apparatus and methods disclosed herein may complete the explanation of security events through example visualizations that increase usability and enable faster insight.
For the apparatus and methods disclosed herein, graph analysis matching techniques may be applied to tagged and ordered data representing agent behaviors (e.g., users, applications, servers, etc.). Incoming data may be associated with appropriate metadata. The data may be gathered from one or more sources for multiple agents from a particular source (e.g., application trace entries/log entries from a particular server). All observed and learned agent behavior may then be represented as a set of graphs, and algorithms may be applied to discover what is typical and what is anomalous. These learned behaviors may be mined for typical and irregular patterns to determine anomalousness of events and a compound set of events. This methodology creates models of behavior that can be segmented by users, roles, and groups as well as the degree of anomaly. Additionally the apparatus may learn information in both on-line and off-line modalities to create an ecosystem balance between responsivity, or sensitivity, of models and accuracy of any findings reported by graph models.
The apparatus and methods disclosed herein may provide for the application of log content analytics and trace event analytics to detect application behaviors and detect anomalies, and to provide guidance to those individuals seeking to understand the data present within log files.
The apparatus and methods disclosed herein may utilize machine learning techniques and open source technologies to increase data literacy and enable downstream security engagements.
The apparatus and methods disclosed herein may discover the existence of aberrations and other phenomena within incoming trace events as they occur in real-time.
The apparatus and methods disclosed herein may provide a contextual and intuitive metric for anomalous behaviors and patterns that exist within trace events as they emerge. Insight gained from real-time analysis may provide information that can be of use proactively and provide a metric for the contextual anomalousness of an event sequence when compared to the probability distribution of patterns present within an overall mined graph.
Additionally, the apparatus and methods disclosed herein may evolve over time and be adjusted for increased sensitivity for specific time periods as threats may evolve and agents may attempt to circumvent and evade detection.
The apparatus and methods disclosed herein may deliver a set of interactive visualizations explaining the underlying network ecosystem and threats as they occur through the use of visualization tools. The expressive and innovative visualizations may convey the importance of anomalies, which might otherwise go unnoticed.
The apparatus and methods disclosed herein may provide graph analytics and pattern matching techniques to detect anomalies throughout several stages of the cyber kill chain to discover APTs.
The apparatus and methods disclosed herein may encompass online capabilities with CEP techniques.
With respect to cyber security, the apparatus and methods disclosed herein may provide new ways to combat APTs, and include visualization and other tools that assist end-users with threat detection.
The apparatus and methods disclosed herein may ascertain known states and behaviors, and detect correlations across graphs using various techniques in graph theory, statistics, and probability.
The apparatus and methods disclosed herein may provide information concerning how closely events across logs sources are related to each other.
The apparatus and methods disclosed herein may implement a scalable and performant technique for collecting tag-and-track information of multiple sources, implement a platform environment suitable for integration testing and system validation, implement a CEP technology capable of evaluating policies in real-time, and define enforcement capability within the apparatus and enable enforcement of policies.
In addition to the collecting and processing environments, enabling enforcement of security policies is non-trivial. Application processes may be blocked at many different levels (e.g., application, operating system, hardware, network, etc.) and enforcement techniques may be dependent on the implementation level of the technology. The apparatus and methods disclosed herein may include the creation of technology enforcement reference capability architectures to define the level of enforcement which may be expected based on the complexity of the technology environment deployment. These aspects may be used to identify the optimal enforcement points while minimizing the impact of the network as a whole.
The apparatus and methods disclosed herein may include the implementation of a command and control system to enable the enforcement. The apparatus and methods disclosed herein may leverage visualization to increase usability and enable faster insight.
The apparatus and methods disclosed herein may be applicable in a variety of areas such as, for example, anomaly detection and tracking, application debugging, audit or regulatory compliance, digital forensic investigation, error tracking, operational intelligence, security incidence response, security policy compliance, etc.
For the apparatus and methods disclosed herein, according to an example, edges for a master directed graph may be removed from an object linked list. In this regard, all edges for a master directed graph may be tracked according to the number of times an event sequence has gone, for example, from a node A to a node B. If the number is below a specified threshold, that entry may be deleted.
The apparatus and methods disclosed herein provide technical solutions to technical problems related, for example, to anomaly detection in log file data. In many instances, anomaly detection in log file data can be a daunting task, for example, due to the extensive volume of such log files. The apparatus and methods disclosed herein provide the technical solution of accessing a master directed graph that specifies known events and transitions between the known events. Each of the known events may be ranked. The ranking of each of the known events may be based on a probability of anomalousness assigned to each of the known events, and the probability of anomalousness assigned to a known event of the known events may be determined relative to each of the other known events. Each of the ranked known events may be clustered into a plurality of anomaly categories. A plurality of rules to analyze new events may be determine, based on the plurality of anomaly categories. Data that is to be analyzed for an anomaly may be accessed. Based on an application of the plurality of rules to the data, a determination may be made as to whether the data includes the anomaly. In response to a determination that the data includes the anomaly, a device associated with the data may be controlled. In this regard, the apparatus and methods disclosed herein provide the technical solution to a technical problem of detection of an anomaly and/or controlling a device based on detection of an anomaly. For example, a device, such as an automatic teller machine (ATM) may be controlled to initiate a lock-down mode based on the detection of an anomaly related to access to the ATM. According to another example, a network may be placed in a secure mode based on detection of surreptitious APTs. Thus, any type of device may be controlled based on detection of an anomaly related to operation of the device.
Referring to
In some examples, the elements of the apparatus 100 may be machine readable instructions stored on a non-transitory computer readable medium. In this regard, the apparatus 100 may include or be a non-transitory computer readable medium. In some examples, the elements of the apparatus 100 may be hardware or a combination of machine readable instructions and hardware.
The operations of the apparatus 100 as disclosed herein with respect to the various elements of the apparatus 100 may be performed by a processor (e.g., the processor 902 of
Operations of the apparatus 100 are described in further detail with respect to
For the apparatus 100, with respect to LCA, LCA may provide for the exploration, investigation, and enablement of analytics on semi-structured data sources that provide the data 118. Examples of semi-structured data sources include log files, and other such data sources. LCA may be used to uniquely identify events, event probabilities and statistics, and discover the temporal relationships between events.
Data present in log files may be characterized by log traces containing unique identifiers, timestamps, events, and actions. These unique attributes may be indicative of underlying behaviors of applications, the processes that may interact with applications, and the subsequent patterns that exist and may have been created by a series of events. Through mining and correlation of the information contained within the log files (e.g., a set of traces), LCA may be modeled as the master directed graph 104 with statistics, event states, and transition probabilities among events. Upon establishing the master directed graph 104 of normalized data, the incoming data 118 may be analyzed for anomalies by the data anomaly analyzer 116 using graph matching, pattern recognition, or other techniques, such as correlation algorithms, to extract anomalies and risks. The data anomaly analyzer 116 may support computing system transparency by applying analytics to (semi-) automatically consume and analyze the data 118 that includes heterogeneous computer generated trace entries. The rules generator 112 may serve to create the rules 114, which may be in the form of models of agent behaviors, for a given source, type of data, time of day, day of week, etc. The rules 114 may be used to perform anomaly detection and discover complex behavior sets that are indicative of APTs. The rules 114 may exemplify the anomalousness of events from analyzing all paths that lead to a particular node from the master directed graph 104.
With respect to the master directed graph 104, the master directed graph 104 may be used to abstract and model the dynamics of relations for a variety of systems. For example, the World Wide Web may be represented by a graph in which nodes correspond to webpages and edges correspond to hyperlinks.
The apparatus 100 may include three techniques for learning, detection, and enforcement suggestions of anomalous activities, with respect to operations of the rules generator 112, the data anomaly analyzer 116, and the device controller 120.
The first technique may include behavior profiling through a set of diverse models of varying granularity, time, users, and groups. The second technique may include approximated behavior profiling through rapid ingestion and learning in real-time. The third technique may include continuous authentication of newly tagged behaviors mapped against learned behavior sets.
The LCA framework stack may include a plurality of layers for data collection (i.e., event collection and management), data ingestion (normalization, parsing, and storage), query processing, data filtering, data mining, data analytics, an API wrapper allowing for extensive use and interplay with other tools and visualization applications to complete all necessary analytics, and web services control.
With respect to the data collection (i.e., event collection and management) layer at 200, the data anomaly analyzer 116 of the data collection layer may control the access and instruction set needed to enable collection of data between an operational log management (OLM) provider and the LCA framework.
Application, server, or device generated log files and traces may be difficult to analyze in an automated or semi-automated way. For example, a server log may record both successful and failed login attempts for millions of users. Such examples may be viewed as a problem in anomaly detection (with the anomaly being the intrusion attempt).
The data anomaly analyzer 116 may extract information from a multitude of sources or vendor solutions. This data collection layer with respect to the data collection (i.e., event collection and management) at 200 may control the access and instruction set needed to enable a smooth transition of data between tools, such as an operational log management (OLM) provider and the remainder of the framework.
The support of an event management system will be comprised of, at a minimum, a collection system that has a message queue. Additionally the underlying architecture may support relatively large storage for batch mode learning, and CEP systems for real-time learning. A system or set of systems may be needed to accept incoming data connections from multiple sources. In this regard, detection and enforcement may rely on the architecture of the apparatus 100 to provide the framework for these integration requirements to ensure proper execution.
The data anomaly analyzer 116 may handle information from multiple sources and provide the management needed for alignment of datasets and ultimate channeling of data to the data analytics layer. Additionally, the data anomaly analyzer 116 may ensure that all data will be in sequential temporal order for rapid data ingestion and optimal memory usage. The data anomaly analyzer 116 may perform data normalization as well to transform incoming traces into single lines as opposed to multiple line traces.
According to an example of network security events, the data 118 for the data anomaly analyzer 116 may include log files of network security events from all the devices on a network such as laptops, workstations, servers, routers, switches and intrusion detection systems and anti-virus systems. The data anomaly analyzer 116 may receive a nightly feed of encrypted, compressed logs into a staging server. The data 118 may be analyzed for anomalies as disclosed herein.
Referring to
With respect to offline-learning, the platforms needed for management of a batch of events may include a large scale distributed data store for storage of raw traces, or other query-able data stores capable of rapid ingestion. In both cases, the data anomaly analyzer 116 and the accompanying data stores may need to provide scalability horizontally with redundancy in case of storage failure.
With respect to online-learning, for real-time learning, a CEP solution environment over which analytics may be performed may be implemented. As trace events are tagged and ingested, for example, by CEP, a model representing agent behaviors may be learned in real-time. As information is tagged with agent information and other metadata, statistical learning techniques may be applied to understand the importance of new trace events and their place within the larger model of given granularity. Online learning may produce a representative model of the relationships of trace events that have occurred. All data handled for real-time analysis and learning may be handled (queued, tagged, enriched, etc.) inside a CEP engine, and the data may be exported from the CEP engine to perform subsequent tasks.
The online modality may provide a first layer approach to learning new models while a more thorough and exhaustive model may be compiled from stored offline data.
With respect to data normalization for data ingestion at 202, the data anomaly analyzer 116 may provide for the normalization of data into an agnostic format that the apparatus 100 may consume. For example, data may be normalized by converting timestamps to ZULU time. Normalization of data may be performed via customizable connectors that allow for reuse. Additionally, normalization may occur in real-time.
With respect to parsing and extraction for data ingestion at 202, the data anomaly analyzer 116 may serve to take incoming data and parse the incoming data. For example, at a minimum, the parsing and extraction may include extracting the relevant fields and attributes for an agent identifier, time of trace occurrence, type of event, action, and description information.
With respect to storage and retrieval for data ingestion at 202, the data anomaly analyzer 116 may provide the capability to load and store graph models generated and used for the apparatus 100. Storage and retrieval may be performed for storing graph model relationship information including transition probabilities, event probabilities, and statistics for linkages and captured event information. Graph databases and other NoSQL rapid ingestion and retrieval mechanisms may be employed for storage and retrieval.
Referring again to
With respect to the data filtering layer at 206, the data anomaly analyzer 116 may perform filtering of any data that has been analyzed. The data anomaly analyzer 116 may single out any events or edges based on predefined metrics.
With respect to the data mining layer at 208, the data anomaly analyzer 116 may perform data extraction and discovery of relationships within the data 118. The data mining may be controlled directly via a plugin framework. Graph aggregation and mining may occur in the data mining layer.
With respect to the data analysis layer at 210, the data anomaly analyzer 116 may perform the analysis of the data 118 that has been mined and extracted, e.g., event clustering. The data anomaly analyzer 116 may also perform the anomaly detection through various means of traversing the master directed graph 104 to understand how trace events relate to each other and how complex set of events match or don't match known patterns.
With respect to the example of network security events as disclosed herein, the data anomaly analyzer 116 may identify events, event probabilities and statistics, and discover the temporal relationships between events.
With respect to the API layer at 212, the API layer may facilitate interplay with respect to analytics, mining, graphs, etc., that may need to be extracted for end user consumption. The API layer may operate as an interface for any visualization that may need access to data not immediately available via a graph model but that may require additional or ad-hoc analytics performed. The API layer may serve as an orchestration layer between the command line, lower layers, and web services.
With respect to the web service control layer at 214, the web service control layer may allow for additional applications, queries, and other visualizations to be built as needed. The web service control layer at 214 may provide a common interface that applications may make calls to. The web service control layer at 214 may serve to provide an additional extensible interface for future visualizations, algorithms, and additional analytics that may be added for greater functionality. The web service control layer at 214 may expose the functionality of the framework of the apparatus 100 to external tools.
The framework of
Referring to
A big data platform 256 may be described as a distributed file system and compute engine that may be used to facilitate data movement and processing. The big data platform 256 may include a big data core (BDC) with a distributed data storage/computer cluster with distributed data storage, computing power, and may function as a platform for additional computing including data interactivity. For example, advancements in big data technologies have enabled BDCs to function as a platform for additional types of computing, some of which (e.g., query processors) may specifically support data interactivity. The big data platform 256 may be job based, where calculations are scheduled to run at a certain interval rather than being performed in real-time. The big data platform 256 may leverage replication and distributed parallel processing on large datasets, which enables advanced analytics. Applications and services may access the big data platform 256 directly and deliver improved performance on large, unstructured datasets. Additional enhancements to a big data core focus on creating fast interfaces with data on a cluster. The big data core may store semi-structured data (such as Extensible Markup Language (XML) and JavaScript Object Notation (JSON), and unstructured data (word documents, pdfs, audio files, and videos), and may employ map/reduce functionality to read. Query engine software may enable the creation of structured data tables in the core and common query functionality (such as structured query language (SQL).
The CEP 252 may be described as tracking and processing streams of event data (e.g., click streams or video feeds) from multiple sources to infer and identify patterns that suggest more complicated circumstances. An example may include validating security events against previously verified breaches of information in real time to assess new threats. The CEP 252 may combine data from multiple sources to infer events or patterns that suggest more complicated circumstances. The CEP 252 may identify meaningful events (such as opportunities or threats), and enable organizations to respond to such events as quickly as possible. The CEP 252 may enhance streaming ingestion. The CEP 252 may also increase speed by pre-processing data, and caches, where IMDBs enable real-time interactivity.
The CEP 252 may be used for performing real-time analytics and driving real-time insights. As new data streams in from its sources, pre-processing and aggregation may respectively perform the initial pre-processing and transformations to count parts of the data and use the totals to expedite future processing of data batches. The pre-processing and aggregation may be performed by combining historical data with new data, matching the data against pre-determined patterns as well as inferring new patterns in the data, and triggering events and actions based on the detected patterns, delivering real-time insights for decision making. An advantage of the CEP 252 is the immediacy of the insights and actions it facilitates, compared to users having to wait for an overnight batch-processing job to be completed. The increased processing speed stems from the fact that data movement and processing occur in parallel, backed by in-memory computations. The CEP 252 differs from ingestion solutions in that the CEP 252 includes the added processing power to perform calculations on the initial data before the data is consumed by a datastore or a file system. For example, with batch processing, a map/reduce job may be performed once all the data (in files) exists. As a map/reduce job may take a relatively long time to execute based on the amount of data, and the complexity of the algorithms in the map/reduce job, in contrast, the CEP 252 operates on one record at a time. Each record or event (in a file) may be consumed by the CEP 252 and is pre-processed (i.e., the data is enriched by adding to it or transforming it). Thus, by using the CEP 252, results may be obtained, or an action may be triggered after every record, instead of waiting for an entire file to process as with batch processing. For example, with batch processing, data may need to be first moved into a system before processing. For the CEP 252, the data may be processed in parallel with movement/ingestion of the data. Thus, with the CEP 252, data movement and processing may be achieved at the same time to increase the speed of data analysis.
The IMDB 254 may be described as a database management system that relies primarily on main memory for data storage. The IMDB 254 differs from database management systems that use a disk storage mechanism. The IMDB 254 includes low latency with simpler algorithm internals requiring fewer central processing unit (CPU) instructions and experience faster seek times. Moreover, accessing data in memory eliminates the “seek time” involved in querying data on disk storage, thus providing faster and more predictable performance. Because the IMDB 254 constrains the entire database and the applications to a single address space, the IMDB 254 reduces the complexity of data management. Any data may be accessed within just microseconds.
A cache 256 (or cache cluster) may be described as a cluster of servers acting as in an memory layer intermediary with centralized management software mitigating load from upstream data sources to applications and users. The cache 256 may be maintained in memory and may offer high-speed access to frequently accessed data. The cache 256 may reside between the data source and data consumer. The cache 256 may be used when there is an extremely high volume of reads from multiple sources of data that does not change often, or when a database is stored on disk where seek time can be sub-optimal. The cache 256 may perform caching operations on a large scale. For example, the cache 256 may accommodate operations such as reading and writing values. The cache 256 may be populated when a query is sent from a data consumer (e.g., a client application) to a data source (e.g., a disk). The results from the data source are then stored in the cache 256 (e.g., a memory cache). In this manner, if the same query is received again, the query does not need to be sent to the data source for retrieval by the data consumer. Query receipts build up over time in the cache 256. When a data consumer requests data stored in the cache 256, then the cache 256 responds by accessing the data source, unless specific parameters are met (e.g., time since the last refresh). Pre-populating data into the cache 256 with data that is known to be frequently accessed may decrease processing requirements on underlying systems after a system restart. Data grids add support for more complex query operations and certain types of massively parallel processing (MPP) computations.
An appliance 258 may be described as a prepackaged unit of hardware (e.g., servers, memory, storage, and input/output channels), software (operating system, database management system, and administrative management software), and support services built with redundancy to provide reliability, while utilizing a common database for online transaction and analytic processing to reduce system latency. The appliance 258 may include a common database for both online transaction processing and online analytical processing. These aspects reduce delays in data movement, processing, and interactivity.
With respect to processing of log files in the trace analysis framework, the apparatus 100 may include a preprocessing stage that may include the selection and ingestion of trace event information into a query-able format for normalization. Once normalized, the framework may proceed to mine the log traces for their placement in a behavior graph model with a mining algorithm. The mining algorithm may discover the temporal ordering between trace events based on an ordering or timestamp that may be present in a log file and an identifier that groups log traces together. That is, the mining algorithm may extract an event type and an identifier for each ingested trace entry. The framework may index the event and identifier pair to create a series of compound event sequences. The power of the framework may come from the ability to execute several mapper functions with the capability to normalize data on-the-fly, with each producing a localized version of a network graph model for the data. Additionally, the algorithm may discover and sort the temporal relation between events based on an ordering that may be present in the log file and an identifier that groups the security log traces together (e.g., internet address). Security event traces may be combined to create event sequences that aggregate to create a master graph model with statistical information on the likelihood of transitions between events, likelihood of the occurrence of events, and other relevant metadata. Statistics may be computed based on the occurrence of any event over localized mined sets, as well the probability of transition between any pair of events. Multiple mapper functions may be instantiated to perform normalization, mining, and model creation. A reducer may then aggregate localized network graph models to produce a larger holistic network graph model in the form of a directed cyclic graph depicting the overall structure for any given log file. The framework is capable of having any number of mining algorithms that have map-reduced pipelined execution. That is, the output of one mining map-reduced algorithm is sent to the input of the next map-reduced mining algorithm.
Once a series of trace sequences have been mined and an aggregate model created, analytics and filtering may be performed. The data anomaly analyzer 116 may be executed in a precedence ordered pipeline process with each plug-in receiving the output of the last. The framework may have any number of filtering plug-ins with each receiving the same data from the last pipelined analytics algorithm as the other, and returning either a true or false according to whether each event or edge from a mined model passes inspection. As each event or edge is filtered, information regarding the reason for returning a passing grade of true is stored and may be retrieved for later querying from a mined model.
As a number of event sequences increases, there may be an increased need for memory to perform the mining process. To address resource constraints of memory, event sequences may be time bound in length such that the first and last event in a sequence may not have a time difference greater than a specified threshold (typically 24 hours). To increase speed, the framework may also assume that trace entries are served in order.
The data anomaly analyzer 116 may ingest a portion of a file or subset of a group of files (i.e., from the data 118), and learn a graph for that portion of the trace entries. As each mapper completes its task, its graph is merged with other graphs through a series of reducers to create a final master graph representative of all behaviors for a given slice of time.
With respect to anomaly extraction and ranking, once the data anomaly analyzer 116 learns a series of network agent behaviors as a graph model, then the anomalies within a network may be discovered.
The master directed graph 104 with likelihood transition information may be considered similar to a web graph with documents. Thus, a ranking process may be applied over the master directed graph 104 to discover the importance of any given event node with respect to others. An example of a ranking process may include a PageRank™ process.
PageRank may be described as a technique to rank a node with respect to other nodes in the master directed graph 104. PageRank is a way of measuring the importance of nodes. PageRank operates by counting the number and quality of links to a node to determine a rough estimate of how important the node is. The underlying assumption is that more important nodes are likely to receive more links from other nodes. For example, for PageRank, the event ranker 106 may assign a numerical weighting to each node of the master directed graph 104, with the purpose of measuring each node's relative importance within the master directed graph 104. The numerical weight that is assigned to any given node N may be referred to as the PageRank of node N and denoted by PR(N). The numerical weight may correspond to the likelihood of transition to the given node. For example, for the master directed graph 104, the numerical weight for the node 1 may be 0.9, for the node 2 may be 1.0, etc. Alternatively, user-defined numerical weights may be assigned to each node of the master directed graph 104.
Opposite to the goals of search engines, which seek to return the set of most relevant nodes or documents in the graph, the event ranker 106 returns the least relevant node events and hence the most anomalous in this context. The event ranker 106 may use a set of probability values as the basis for automatically creating rules that contain the degree of anomalousness of streaming network event data. Each rule may be composed of several parts, where the first part is the event (including the event source), the first number is the anomaly category (Very High, High, Medium, Low, Very Low) expressed, for example, as a value from 0 to 4, and the second number is the probability of anomalousness of the event. Five examples of rules include the following:
1. ‘CISCO::Deny HOPOPT reverse path check’, 0, 0.00084952537103525564.
3. ‘CISCO::end configuration’, 0, 0.00084952537103525564.
4. ‘NetScreen::Vsys admin user logged on via Telnet from remote IP address using port’, 0, 0.00084952537103525564.
5. ‘NetScreen::SSH: Password authentication failed for admin user’, 0, 0.00084956880197824822.
For example, the rule “‘CISCO::Deny HOPOPT reverse path check’, 0, 0.00084952537103525564” indicates that if the incoming event ‘CISCO::Deny HOPOPT reverse path check’ matches a known event in a rules watch list, the incoming event is categorized (e.g., on a scale of 0-4) according to how the event has been classified. For this example, the incoming event ‘CISCO::Deny HOPOPT reverse path check’ is classified as “0”, which represents a “Very High” anomaly category. If an event is highly anomalous (as well as for all anomaly categories), then the rule may include an associated action. For example, for the rule “‘CISCO::Deny HOPOPT reverse path check’, 0, 0.00084952537103525564”, the associated action may include deny or quarantine the source (e.g., CISCO), etc.
Once anomaly probability values are calculated for every event node in a graph model, the event cluster generator 108 may apply k-means clustering with a randomly seeded centroid and a defined centroid displacement value indicating stability to rank the values into five distinct anomaly categories 110 as follows: very-high, high, medium, low, and very-low may be applied. A cluster may represent a group of events. The probability values calculated for every event node in the master directed graph 104 may be described as the probability of transition from a node to any other node in the master directed graph 104. For example, for the master directed graph 104 of
The event cluster generator 108 may be used to extract and categorize anomalousness scores for all events within a given model (i.e., a master directed graph). For example, the event cluster generator 108 may use k-means clustering on the ranked anomalousness values to produce distinct anomaly categories 110 based on ranking scores from high anomalousness to low anomalousness with a randomly seeded centroid and a defined centroid displacement value indicating stability. These categorizations may be fed into a real-time CEP engine to generate rules to grade new events for a given time of a day to aid analysts and help provide context to risk assessments. For example, as disclosed herein with respect to the incoming event ‘CISCO::Deny HOPOPT reverse path check’, the categorization of the associated known event from the master directed graph 104 may be fed into a real-time CEP engine to generate the rule “‘CISCO::Deny HOPOPT reverse path check’, 0, 0.00084952537103525564” to grade the incoming event ‘CISCO::Deny HOPOPT reverse path check’ for a given time of a day to aid analysts and help provide context to risk assessments.
In addition to mining, analytics may be performed on learned graphs to extract anomalous behaviors. Analytics may be applied to discover, detect, and provide guidance on enforcement of how anomalous a given event is with respect to others in two ways. First, analytics may be applied by analyzing learned behavioral graphs and extracting anomalous rankings of events with respect to other preceding events. Second, analytics may be applied by analyzing sequences of behaviors and discovering how much an emerging set of actions differ from known behavior patterns.
Anomalous behaviors may have a probability associated therewith. In this regard, the event cluster generator 108 may rank anomalous behaviors into five buckets/categories according to their probability (very-high, high, medium, low, and very-low). The five categories, along with the probability values, may serve to provide intuitive metrics. The discovered anomalies may be used for creation of a set of rules over which the data anomaly analyzer 116 will grade the data 118 that includes a stream of causally tagged event traces. This may serve to narrow the scope of further information processed, and provide a high level view of activities occurring across a system or network, and thus provide a view of the defense in depth or health of an ecosystem.
With respect to the classification of event probabilities into the five categories of very low probability, low probability, medium probability, high probability, and very high probability of occurrence, the event probabilities may be inverted and mapped to the corresponding anomaly category (e.g., a very low probability of occurrence for a particular event correlates to that event being very highly anomalous), resulting in the five anomaly categories of: very high, high, medium, low, and very low.
Analyzing sets of behaviors as a whole and comparing to the patterns that exist within a larger graph allow for the discovery of the persistent threats that are difficult to detect, and for discovering attack categories that take place.
Referring to
Thus, the data anomaly analyzer 116 may grade an incoming or emerging (in-flight) sequence of events against the probabilistic rankings of all known event walks that are contained within the master directed graph 104. The computation of the metric may be based on the graph structure, with the results yielding a probabilistic insight on graph similarity. For the example of
With respect to detection and enforcement, the apparatus 100 may implement a tiered approach where the first approach is to determine if an incoming event is anomalous with respect to all learned behaviors for a given model at a given time for a given granularity as disclosed herein with respect to
With respect to visualization, a goal of visualization may include making the data 118 accessible to downstream applications by enabling users and applications to connect to the data infrastructure in universally acceptable ways and by ensuring that query results are delivered as quickly as required. To further enhance usability, the anomaly visualizer 124 may generate various types of visualizations 126 to facilitate an identification of anomalies in the data 118. The anomaly visualizer 124 may provide for an understanding of the underlying graph that models behaviors and provides true exploration and interaction through full text search and drill down capabilities. Models may be visually enhanced to have events both highlighted, for example, with color according to how anomalous with respect to previously traversed events, as well as sized according to how probable the particular events are with respect to all events.
For example,
Referring to
For example,
Referring to
The output of graph analysis may provide input into dashboards and exploratory visualizations. For example, ranked event anomalies may be stored and streaming events may also be compared against a stored set of the anomaly rankings. Any streamed event that falls within the highest anomaly category may be marked, aggregated, and cumulative event information may be streamed to an in-memory database from which polling will occur at a constant rate to update the visualization for quick display.
Referring to
Visualization may allow access to the data, and enable users and applications to connect to the data infrastructure in universally acceptable low latency ways.
Referring to
Referring to
The processor 902 of
Referring to
At block 908, the method 900 may include ranking (e.g., by the event ranker 106) each of the known events. The ranking of each of the known events may be based on a probability of anomalousness assigned to each of the known events, and the probability of anomalousness assigned to a known event of the known events may be determined relative to each of the other known events.
At block 910, the method 900 may include clustering (e.g., by the event cluster generator 108) each of the ranked known events into a plurality of anomaly categories 110.
At block 912, the method 900 may include determining (e.g., by the rules generator 112), based on the plurality of anomaly categories 110, a plurality of rules 114 to analyze new events.
At block 914, the method 900 may include accessing (e.g., by the data anomaly analyzer 116) data 118 that is to be analyzed for an anomaly.
At block 916, the method 900 may include determining (e.g., by the data anomaly analyzer 116), based on an application of the plurality of rules 114 to the data, whether the data 118 includes the anomaly.
At block 918, in response to a determination (e.g., by the data anomaly analyzer 116) that the data 118 includes the anomaly, the method 900 may include controlling (e.g., by the device controller 120) the device 122 associated with the data 118.
According to an example, for the method 900, ranking (e.g., by the event ranker 106) each of the known events may further include ranking each of the known events in an ascending order in accordance with the probability of anomalousness assigned to each of the known events.
According to an example, for the method 900, ranking (e.g., by the event ranker 106) each of the known events may further include identifying a most anomalous known event as an event with a lowest probability of occurrence associated with the ranking of each of the known events.
According to an example, for the method 900, clustering (e.g., by the event cluster generator 108) each of the ranked known events into the plurality of anomaly categories may further include clustering each of the ranked known events into the plurality of anomaly categories that include at least two of a very-high, a high, a medium, a low, and a very-low probability of being an anomaly.
According to an example, for the method 900, clustering (e.g., by the event cluster generator 108) each of the ranked known events into the plurality of anomaly categories may further include applying k-means clustering to cluster each of the ranked known events into the plurality of anomaly categories.
According to an example, for the method 900, as disclosed herein with reference to
According to an example, for the method 900, comparing (e.g., by the data anomaly analyzer 116) the baseline activity graph to the real-time activity graph to determining whether the data 118 includes the anomaly may further include determining if the real-time activity graph includes an event that is not present in the baseline activity graph.
According to an example, for the method 900, comparing (e.g., by the data anomaly analyzer 116) the baseline activity graph to the real-time activity graph to determining whether the data 118 includes the anomaly may further include determining if the real-time activity graph includes a transition between events that is not present in the baseline activity graph.
Referring to
At block 1004, the method 1000 may include ranking (e.g., by the event ranker 106) each of the known events. The ranking of each of the known events may be based on a probability of anomalousness assigned to each of the known events, and the probability of anomalousness assigned to a known event of the known events may be determined relative to each of the other known events.
At block 1006, the method 1000 may include clustering (e.g., by the event cluster generator 108) each of the ranked known events into a plurality of anomaly categories.
At block 1008, the method 1000 may include determining (e.g., by the rules generator 112), based on the plurality of anomaly categories, a plurality of rules 114 to analyze new events.
At block 1010, the method 1000 may include accessing (e.g., by the data anomaly analyzer 116) data 118 that is to be analyzed for anomalies.
At block 1012, the method 1000 may include identifying (e.g., by the data anomaly analyzer 116), based on an application of the plurality of rules 114 to the data 118, selected ones of the anomalies in the data 118.
At block 1014, the method 1000 may include determining (e.g., by the anomaly visualizer 124), for the data 118, a plurality of objects of different sizes that represent different ones of the selected ones of the anomalies.
At block 1016, the method 1000 may include generating (e.g., by the anomaly visualizer 124) a display (e.g., one of the visualizations 126) of the plurality of objects.
According to an example, the method 1000 may further include controlling (e.g., by the device controller 120), based on the identified selected ones of the anomalies in the data, the device 122 associated with the data.
According to an example, the method 1000 may further include filtering (e.g., by the master directed graph receiver 102) the master directed graph 104 by removing edges for which a number of times an event sequence has transitioned between nodes that are associated with the edges to be removed is less than a specified threshold. A node may represent a known event of the master directed graph 104, and an edge may represent a transition between associated known events.
Referring to
At block 1108, the method 1100 may include ranking (e.g., by the event ranker 106) each of the known events. The ranking of each of the known events may be based on a probability of anomalousness assigned to each of the known events. The probability of anomalousness assigned to a known event of the known events may be determined relative to each of the other known events.
At block 1110, the method 1100 may include clustering (e.g., by the event cluster generator 108) each of the ranked known events into a plurality of anomaly categories.
At block 1112, the method 1100 may include determining (e.g., by the rules generator 112), based on the plurality of anomaly categories, a plurality of rules 114 to analyze new events.
At block 1114, the method 1100 may include accessing (e.g., by the data anomaly analyzer 116) data 118 that is to be analyzed for an anomaly.
At block 1116, the method 1100 may include determining (e.g., by the data anomaly analyzer 116), based on an application of the plurality of rules 114 to the data 118, whether the data 118 includes the anomaly by determining, based on the master directed graph 104, a baseline activity graph, determining, based on the data, a real-time activity graph, and comparing the baseline activity graph to the real-time activity graph to determine whether the data includes the anomaly.
At block 1118, in response to a determination that the data includes the anomaly, the method 1100 may include controlling (e.g., by the device controller 120) the device 122 associated with the data 118.
What has been described and illustrated herein is an example along with some of its variations. The terms, descriptions and figures used herein are set forth by way of illustration only and are not meant as limitations. Many variations are possible within the spirit and scope of the subject matter, which is intended to be defined by the following claims—and their equivalents—in which all terms are meant in their broadest reasonable sense unless otherwise indicated.
This application claims the benefit of Provisional Patent Application Ser. No. 62/181,150, filed Jun. 17, 2015, which is expressly incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
62181150 | Jun 2015 | US |