The present disclosure relates generally to computer networks, and, more particularly, to deploying network anomaly detection systems based on endpoint criticality.
Monitoring the behavior of endpoints in a network is especially important as it can allow for the early detection of attacks, misconfigurations, and others situations that compromise the correct functionality of the network. Fortunately, such anomalies can be detected by network anomaly detection systems that often employ behavioral, machine learning-based models that go beyond the declarative characteristics of devices and learn from their behavioral characteristics instead. For instance, an endpoint that is consistently inactive during the night suddenly sending a significantly high amount of traffic at night could indicate the presence of malware.
Typically, network anomaly detection systems treat all endpoints in a network as equivalent in terms of their importance of being monitored. However, it is often the case that each anomaly can have quite different consequences, depending on the location and the connectivity of the affected endpoint in the network. For instance, compromised door locks in critical lab facilities represents a much more serious security concern than compromised door locks in conference rooms. The same is true for devices connected close to aggregation switches when compared to devices connected to more remote access switches: the first ones have more visibility on North-South traffic of the network, while the later are only exposed to East-West traffic. In addition, since each endpoint is treated equally, alerts raised by lower priority endpoints may overshadow those from critical endpoints.
The embodiments herein may be better understood by referring to the following description in conjunction with the accompanying drawings in which like reference numerals indicate identically or functionally similar elements, of which:
According to one or more embodiments of the disclosure, a device determines a criticality of each of a plurality of endpoints in a network, based on network telemetry data regarding the network. The device translates a plurality of anomaly detection models available for deployment to the network and their metadata into a set of adjustable resources. The device generates an anomaly detection deployment strategy for the network by selecting a set of one or more of the plurality of anomaly detection models for deployment to one or more execution points in the network, based on the criticality of each of the plurality of endpoints and on the set of adjustable resources. The device causes the set to be deployed to the one or more execution points in the network, in accordance with the anomaly detection deployment strategy.
A computer network is a geographically distributed collection of nodes interconnected by communication links and segments for transporting data between end nodes, such as personal computers and workstations, or other devices, such as sensors, etc. Many types of networks are available, with the types ranging from local area networks (LANs) to wide area networks (WANs). LANs typically connect the nodes over dedicated private communications links located in the same general physical location, such as a building or campus. WANs, on the other hand, typically connect geographically dispersed nodes over long-distance communications links, such as common carrier telephone lines, optical lightpaths, synchronous optical networks (SONET), or synchronous digital hierarchy (SDH) links, or Powerline Communications (PLC) such as IEEE 61334, IEEE P1901.2, and others. The Internet is an example of a WAN that connects disparate networks throughout the world, providing global communication between nodes on various networks. The nodes typically communicate over the network by exchanging discrete frames or packets of data according to predefined protocols, such as the Transmission Control Protocol/Internet Protocol (TCP/IP). In this context, a protocol consists of a set of rules defining how the nodes interact with each other. Computer networks may be further interconnected by an intermediate network node, such as a router, to extend the effective “size” of each network.
Smart object networks, such as sensor networks, in particular, are a specific type of network having spatially distributed autonomous devices such as sensors, actuators, etc., that cooperatively monitor physical or environmental conditions at different locations, such as, e.g., energy/power consumption, resource consumption (e.g., water/gas/etc. for advanced metering infrastructure or “AMI” applications) temperature, pressure, vibration, sound, radiation, motion, pollutants, etc. Other types of smart objects include actuators, e.g., responsible for turning on/off an engine or perform any other actions. Sensor networks, a type of smart object network, are typically shared-media networks, such as wireless or PLC networks. That is, in addition to one or more sensors, each sensor device (node) in a sensor network may generally be equipped with a radio transceiver or other communication port such as PLC, a microcontroller, and an energy source, such as a battery. Often, smart object networks are considered field area networks (FANs), neighborhood area networks (NANs), personal area networks (PANs), etc. Generally, size and cost constraints on smart object nodes (e.g., sensors) result in corresponding constraints on resources such as energy, memory, computational speed and bandwidth.
In some implementations, a router or a set of routers may be connected to a private network (e.g., dedicated leased lines, an optical network, etc.) or a virtual private network (VPN), such as an MPLS VPN thanks to a carrier network, via one or more links exhibiting very different network and service level agreement characteristics. For the sake of illustration, a given customer site may fall under any of the following categories:
Servers 152-154 may include, in various embodiments, a network management server (NMS), a dynamic host configuration protocol (DHCP) server, a constrained application protocol (CoAP) server, an outage management system (OMS), an application policy infrastructure controller (APIC), an application server, etc. As would be appreciated, network 100 may include any number of local networks, data centers, cloud environments, devices/nodes, servers, etc.
In some embodiments, the techniques herein may be applied to other network topologies and configurations. For example, the techniques herein may be applied to peering points with high-speed links, data centers, etc.
In various embodiments, network 100 may include one or more mesh networks, such as an Internet of Things network. Loosely, the term “Internet of Things” or “IoT” refers to uniquely identifiable objects (things) and their virtual representations in a network-based architecture. In particular, the next frontier in the evolution of the Internet is the ability to connect more than just computers and communications devices, but rather the ability to connect “objects” in general, such as lights, appliances, vehicles, heating, ventilating, and air-conditioning (HVAC), windows and window shades and blinds, doors, locks, etc. The “Internet of Things” thus generally refers to the interconnection of objects (e.g., smart objects), such as sensors and actuators, over a computer network (e.g., via IP), which may be the public Internet or a private network.
Notably, shared-media mesh networks, such as wireless or PLC networks, etc., are often on what is referred to as Low-Power and Lossy Networks (LLNs), which are a class of network in which both the routers and their interconnect are constrained: LLN routers typically operate with constraints, e.g., processing power, memory, and/or energy (battery), and their interconnects are characterized by, illustratively, high loss rates, low data rates, and/or instability. LLNs are comprised of anything from a few dozen to thousands or even millions of LLN routers, and support point-to-point traffic (between devices inside the LLN), point-to-multipoint traffic (from a central control point such at the root node to a subset of devices inside the LLN), and multipoint-to-point traffic (from devices inside the LLN towards a central control point). Often, an IoT network is implemented with an LLN-like architecture. For example, as shown, local network 160 may be an LLN in which CE-2 operates as a root node for nodes/devices 10-16 in the local mesh, in some embodiments.
In contrast to traditional networks, LLNs face a number of communication challenges. First, LLNs communicate over a physical medium that is strongly affected by environmental conditions that change over time. Some examples include temporal changes in interference (e.g., other wireless networks or electrical appliances), physical obstructions (e.g., doors opening/closing, seasonal changes such as the foliage density of trees, etc.), and propagation characteristics of the physical media (e.g., temperature or humidity changes, etc.). The time scales of such temporal changes can range between milliseconds (e.g., transmissions from other transceivers) to months (e.g., seasonal changes of an outdoor environment). In addition, LLN devices typically use low-cost and low-power designs that limit the capabilities of their transceivers. In particular, LLN transceivers typically provide low throughput. Furthermore, LLN transceivers typically support limited link margin, making the effects of interference and environmental changes visible to link and network protocols. The high number of nodes in LLNs in comparison to traditional networks also makes routing, quality of service (QOS), security, network management, and traffic engineering extremely challenging, to mention a few.
The network interfaces 210 include the mechanical, electrical, and signaling circuitry for communicating data over physical links coupled to the network 100. The network interfaces may be configured to transmit and/or receive data using a variety of different communication protocols. Notably, a physical network interface 210 may also be used to implement one or more virtual network interfaces, such as for virtual private network (VPN) access, known to those skilled in the art.
The memory 240 comprises a plurality of storage locations that are addressable by the processor(s) 220 and the network interfaces 210 for storing software programs and data structures associated with the embodiments described herein. The processor 220 may comprise necessary elements or logic adapted to execute the software programs and manipulate the data structures 245. An operating system 242 (e.g., the Internetworking Operating System, or IOS®, of Cisco Systems, Inc., another operating system, etc.), portions of which are typically resident in memory 240 and executed by the processor(s), functionally organizes the node by, inter alia, invoking network operations in support of software processors and/or services executing on the device. These software processors and/or services may comprise model deployment process 248, as described herein, any of which may alternatively be located within individual network interfaces.
It will be apparent to those skilled in the art that other processor and memory types, including various computer-readable media, may be used to store and execute program instructions pertaining to the techniques described herein. Also, while the description illustrates various processes, it is expressly contemplated that various processes may be embodied as modules configured to operate in accordance with the techniques herein (e.g., according to the functionality of a similar process). Further, while processes may be shown and/or described separately, those skilled in the art will appreciate that processes may be routines or modules within other processes.
Model deployment process 248 includes computer executable instructions that, when executed by processor(s) 220, cause device 200 to deploy anomaly detection functions to a network as part of an anomaly detection infrastructure within the network. In general, network anomaly detection attempts to identify patterns that do not conform to an expected behavior. For example, in one embodiment, the anomaly detection infrastructure of the network may be operable to detect network attacks (e.g., DDOS attacks, the use of malware such as viruses, rootkits, etc.). However, anomaly detection in the context of computer networking typically presents a number of challenges: 1.) a lack of a ground truth (e.g., examples of normal vs. abnormal network behavior), 2.) being able to define a “normal” region in a highly dimensional space can be challenging. 3.) the dynamic nature of the problem due to changing network behaviors/anomalies, 4.) malicious behaviors such as malware, viruses, rootkits, etc. may adapt in order to appear “normal,” and 5.) differentiating between noise and relevant anomalies is not necessarily possible from a statistical standpoint, but typically also requires domain knowledge.
Anomalies may also take a number of forms in a computer network: 1.) point anomalies (e.g., a specific data point is abnormal compared to other data points), 2.) contextual anomalies (e.g., a data point is abnormal in a specific context but not when taken individually), or 3.) collective anomalies (e.g., a collection of data points is abnormal with regards to an entire set of data points). Generally, anomaly detection refers to the ability to detect an anomaly that could be triggered by the presence of malware attempting to access data (e.g., data exfiltration), spyware, ransom-ware, etc. and/or non-malicious anomalies such as misconfigurations or misbehaving code. Particularly, an anomaly may be raised in a number of circumstances:
In various embodiments, model deployment process 248 and/or the models that it deploys may utilize machine learning techniques, to perform anomaly detection in the network. In general, machine learning is concerned with the design and the development of techniques that take as input empirical data (such as network statistics and performance indicators), and recognize complex patterns in these data. One very common pattern among machine learning techniques is the use of an underlying model M, whose parameters are optimized for minimizing the cost function associated to M, given the input data. For instance, in the context of classification, the model M may be a straight line that separates the data into two classes (e.g., labels) such that M=a*x+b*y+c and the cost function would be the number of misclassified points. The learning process then operates by adjusting the parameters a,b,c such that the number of misclassified points is minimal. After this optimization phase (or learning phase), the model M can be used very easily to classify new data points. Often, M is a statistical model, and the cost function is inversely proportional to the likelihood of M, given the input data.
Computational entities that rely on one or more machine learning techniques to perform a task for which they have not been explicitly programmed to perform are typically referred to as learning machines. In particular, learning machines are capable of adjusting their behavior to their environment. For example, a learning machine may dynamically make future predictions based on current or prior network measurements, may make control decisions based on the effects of prior control commands, etc.
For purposes of anomaly detection in a network, a learning machine may construct a model of normal network behavior, to detect data points that deviate from this model. For example, a given model (e.g., a supervised, un-supervised, or semi-supervised model) may be used to generate and report anomaly scores to another device. Example machine learning techniques that may be used to construct and analyze such a model may include, but are not limited to, nearest neighbor (NN) techniques (e.g., k-NN models, replicator NN models, etc.), statistical techniques (e.g., Bayesian networks, etc.), clustering techniques (e.g., k-means, etc.), neural networks (e.g., reservoir networks, artificial neural networks, etc.), support vector machines (SVMs), or the like.
One class of machine learning techniques that is of particular use in the context of anomaly detection is clustering. Generally speaking, clustering is a family of techniques that seek to group data according to some typically predefined notion of similarity. For instance, clustering is a very popular technique used in recommender systems for grouping objects that are similar in terms of people's taste (e.g., because you watched X, you may be interested in Y, etc.). Typical clustering algorithms are k-means, density based spatial clustering of applications with noise (DBSCAN) and mean-shift, where a distance to a cluster is computed with the hope of reflecting a degree of anomaly (e.g., using a Euclidian distance and a cluster based local outlier factor that takes into account the cluster density).
Replicator techniques may also be used for purposes of anomaly detection. Such techniques generally attempt to replicate an input in an unsupervised manner by projecting the data into a smaller space (e.g., compressing the space, thus performing some dimensionality reduction) and then reconstructing the original input, with the objective of keeping the “normal” pattern in the low dimensional space. Example techniques that fall into this category include principal component analysis (PCA) (e.g., for linear models), multi-layer perceptron (MLP) ANNs (e.g., for non-linear models), and replicating reservoir networks (e.g., for non-linear models, typically for time series).
According to various embodiments, the anomaly detection infrastructure may also use graph-based models for purposes of anomaly detection. Generally speaking, a graph-based model attempts to represent the relationships between different entities as a graph of nodes interconnected by edges. For example, ego-centric graphs have been used to represent the relationship between a particular social networking profile and the other profiles connected to it (e.g., the connected “friends” of a user, etc.). The patterns of these connections can then be analyzed for purposes of anomaly detection. For example, in the social networking context, it may be considered anomalous for the connections of a particular profile not to share connections, as well. In other words, a person's social connections are typically also interconnected. If no such interconnections exist, this may be deemed anomalous.
As noted above, network anomaly detection systems typically treat all endpoints in a network as equivalent in terms of their importance of being monitored. However, it is often the case that each anomaly can have quite different consequences, depending on the location and the connectivity of the affected endpoint in the network. For instance, compromised door locks in critical lab facilities represents a much more serious security concern than compromised door locks in conference rooms. The same is true for devices connected close to aggregation switches when compared to devices connected to more remote access switches: the first ones have more visibility on North-South traffic of the network, while the later are only exposed to East-West traffic. In addition, since each endpoint is treated equally, alerts raised by lower priority endpoints may overshadow those from critical endpoints.
The techniques herein allow for selectively deploying anomaly detection functions into a network, based on various criteria, such as the criticality of the endpoints. In some aspects, the techniques herein may also take explicit input from a user, to design a deployment strategy that tunes the anomaly detection models to the different criteria. Such criteria may take the form of user-specified parameters and/or automatically determined based on the characteristics of the network itself. This allows for the deployment of anomaly detection infrastructure that favors monitoring sensitive/critical portions of the network while taking a more conservative approach in less sensitive/critical portions of the network.
Illustratively, the techniques described herein may be performed by hardware, software, and/or firmware, such as in accordance with model deployment process 248, which may include computer executable instructions executed by the processor 220 (or independent processor of interfaces 210) to perform functions relating to the techniques described herein.
Specifically, according to various embodiments, a device determines a criticality of each of a plurality of endpoints in a network, based on network telemetry data regarding the network. The device translates a plurality of anomaly detection models available for deployment to the network and their metadata into a set of adjustable resources. The device generates an anomaly detection deployment strategy for the network by selecting a set of one or more of the plurality of anomaly detection models for deployment to one or more execution points in the network, based on the criticality of each of the plurality of endpoints and on the set of adjustable resources. The device causes the set to be deployed to the one or more execution points in the network, in accordance with the anomaly detection deployment strategy.
Operationally,
As shown, model deployment process 248 may include any or all of the following components: an endpoint criticality detector 302, an anomaly detection system analyzer 304, an anomaly detection deployment configurator 306, and/or an anomaly detection deployment overseer 308. As would be appreciated, the functionalities of these components may be combined or omitted, as desired. In addition, these components may be implemented on a singular device or in a distributed manner, in which case the combination of executing devices can be viewed as their own singular device for purposes of executing model deployment process 248.
The first component is the endpoint criticality detector 302, which is responsible for determining how critical each endpoint is for the network functionality based on how severe the consequences of anomaly of this endpoint would be.
To perform these tasks, endpoint criticality detector 302 may interact with a network controller and its components (such as Cisco DNA Center or other network controller), to acquire network telemetry data 312 like the endpoints in the network and their connectivity, the access privileges assigned to each endpoint etc. The criticality of each endpoint can then be inferred either fully automatically based on the telemetry data 312 (for example a server of a given type can be identified based on its traffic mix) or in a semi-supervised way where the user can input additional data.
For example, in one embodiment, the user could assist the procedure by providing information about the most/least critical endpoints or a set of conditions that should be met for endpoints in each importance level. In another embodiment, this process of assigning criticality could be a recommendation based on configurations and behavior obtained via crowdsourcing. In an embodiment, explicit user-interface based interaction may be facilitated for notification of automatically learnt criticality levels, or for explicit input gathering.
In various embodiments, anomaly detection system analyzer 304 may take as input the anomaly detection models and their metadata 314 and translate them into a set of adjustable resources. For example, the plurality of anomaly detection models may include a combination of Deep Neural Networks (DNNs) and logistic regression (LR) models for anomaly detection. Generally, DNNs require more space for storage and deployment while anomaly detection models that rely on logistic regression ones less resource-demanding. Thus, in some embodiments, anomaly detection system analyzer 304 may identify the memory and/or other resources needed for model storage, deployment, and/or execution as an adjustable resource. On the other hand, DNNs are typically more accurate with complex data than LR-based anomaly detectors, the model sensitivity could be another resource that anomaly detection system analyzer 304 identifies.
In various embodiments, anomaly detection deployment configurator 306 may take as input the criticality scores from endpoint criticality detector 302 and the adjustable resources identified by anomaly detection system analyzer 304, to design a deployment strategy for the anomaly detection system that maximizes the protection of the network, while minimizing the required resources. Following the previous example where there is a set of models taken as input by anomaly detection system analyzer 304 with different sensitivities, the optimal deployment strategy could mean assigning the less accurate LR models in the less critical endpoints and the more sophisticated DNNs in the most critical endpoints. In this way, even slight behavioral anomalies in the critical endpoints will raise alerts, while similar variations in the less critical areas of the network will not be prioritized unless they become very prominent. As a result, the anomaly detection infrastructure will offer visibility over the behavioral anomalies in the network with attention being focused on what matters the most.
In one embodiment, an administrator or other user could also specify a priori policies or user polices 316 that they want to impose on the anomaly system deployment. For instance, one such policy may specify that endpoints that are at the highest level of criticality should always get the most accurate models or have an exceptionally minimal risk of anomalies going undetected.
The output of anomaly detection deployment configurator 306 is the optimal anomaly detection deployment strategy, potentially also with statistics about the expected behavior of the system. Such statistics could be, for instance, the expected alerts per endpoint or per endpoint criticality level, the risk of anomalies going unnoticed per endpoint, or other such information that could be provided for display to a user.
In various embodiments, anomaly detection deployment overseer 308 is responsible for implementing the deployment strategy developed by anomaly detection deployment configurator 306 in the network. Anomaly detection deployment overseer 308 may also monitor the performance of the anomaly detection infrastructure, after deployment, as well. In some embodiments, anomaly detection deployment overseer 308 may further be an interactive component of model deployment process 248, allowing users to provide user feedback 310 via a user interface regarding the deployment and, if desired, make changes to it.
Each time a user requests a change, anomaly detection deployment overseer 308 may trigger anomaly detection deployment configurator 306 to provide a new proposal deployment strategy, as well as potentially any new corresponding statistics for that strategy. When the user approves the proposed plan, anomaly detection deployment overseer 308 may then deploy the anomaly detection model(s) 318 selected by anomaly detection deployment configurator 306 and according to its strategy (e.g., to the execution nodes in the network indicated by the strategy).
In turn, anomaly detection deployment overseer 308 may monitor the status of the system over time, as well. The administrator or other user can then leverage a user interface to interact with anomaly detection deployment overseer 308, to review the status of any endpoint/model of the network at any given time and get analytics regarding its behavior. Such analytics could, for instance, be the number of alerts per time windows, the type of alerts/threats per endpoint, etc. At any point, the user may also request additional changes in the deployment, an action that will trigger anomaly detection deployment configurator 306 to provide a new deployment strategy for implementation by anomaly detection deployment overseer 308. In this way, the human user is always in the loop, ensuring that the deployment can always adjust to the needs of the network operator.
Optionally, the user could also configure model deployment process 248 to automatically redeploy models based on different triggers. For instance, the user may configure anomaly detection deployment configurator 306 to automatically develop a new strategy that uses a less sensitive anomaly detection model, if the number of alerts raised by the current model at a given execution node in the network exceeds a certain threshold.
At step 415, as described in greater detail above, the device may a plurality of anomaly detection models available for deployment to the network and their metadata into a set of adjustable resources. In an embodiment, the anomaly detection models may comprise different types of modes, each having its own associated resource consumptions.
At step 420 the device may generate an anomaly detection deployment strategy for the network by selecting a set of one or more of the plurality of anomaly detection models for deployment to one or more execution points in the network, based on the criticality of each of the plurality of endpoints and on the set of adjustable resources, as described in greater detail above. In one embodiment, the device may generate the anomaly detection deployment strategy in accordance with a predefined policy that favors deploying an anomaly detection model with higher accuracy to an execution point in the network through which traffic that is associated with an endpoint with higher criticality is conveyed.
At step 425, the device may cause the set to be deployed to the one or more execution points in the network, in accordance with the anomaly detection deployment strategy, in accordance with the anomaly detection deployment strategy. For instance, the device itself may directly deploy the model(s) in the set to the network or instruct another device to do so. In another embodiment, the anomaly detection deployment strategy may be provided by the device to a user interface for review, prior to causing the set to be deployed to the one or more execution points in the network. In a further embodiment, the device may also provide to a user interface data regarding a particular one of the plurality of endpoints that was generated by a particular one of the anomaly detection models deployed to the network to monitor traffic associated with that endpoint. In another embodiment, the anomaly detection deployment strategy may further be adjusted based on the feedback from a user interface.
Procedure 400 then ends at step 430.
It should be noted that while certain steps within procedures 400 may be optional as described above, the steps shown in
While there have been shown and described illustrative embodiments that provide for deploying network anomaly detection systems based on endpoint criticality, it is to be understood that various other adaptations and modifications may be made within the spirit and scope of the embodiments herein. For example, while certain embodiments are described herein with respect to using certain models for purposes of anomaly detection, the models are not limited as such and may be used for other functions, in other embodiments. In addition, while certain protocols are shown, such as BGP, other suitable protocols may be used, accordingly.
The foregoing description has been directed to specific embodiments. It will be apparent, however, that other variations and modifications may be made to the described embodiments, with the attainment of some or all of their advantages. For instance, it is expressly contemplated that the components and/or elements described herein can be implemented as software being stored on a tangible (non-transitory) computer-readable medium (e.g., disks/CDs/RAM/EEPROM/etc.) having program instructions executing on a computer, hardware, firmware, or a combination thereof. Accordingly this description is to be taken only by way of example and not to otherwise limit the scope of the embodiments herein. Therefore, it is the object of the appended claims to cover all such variations and modifications as come within the true spirit and scope of the embodiments herein.
Number | Name | Date | Kind |
---|---|---|---|
10148686 | Hassanzadeh et al. | Dec 2018 | B2 |
10659324 | Pang et al. | May 2020 | B2 |
10965556 | Savalle et al. | Mar 2021 | B2 |
11121947 | Narayan et al. | Sep 2021 | B2 |
11223639 | Mandrychenko | Jan 2022 | B2 |
11258673 | Vasseur et al. | Feb 2022 | B2 |
11451456 | Tedaldi et al. | Sep 2022 | B2 |
11451565 | Zhou | Sep 2022 | B2 |
11755955 | Lange | Sep 2023 | B2 |
20180219897 | Muddu | Aug 2018 | A1 |
20200145440 | Mohan | May 2020 | A1 |
20210329029 | Vasseur et al. | Oct 2021 | A1 |
20220014533 | Almaz et al. | Jan 2022 | A1 |
20220172342 | Zepeda Salvatierra | Jun 2022 | A1 |
20230027149 | Kuan | Jan 2023 | A1 |
20230164156 | Grossman | May 2023 | A1 |
20230297057 | Lavrentyev | Sep 2023 | A1 |