Detection of micro-service security attacks based on index sensitive dependencies

By applying the observation engine of mathematical chaos theory in the microservice architecture and using the principle of self-similarity to detect security attacks on microservices, it solves the problem of difficulty in detecting security threats to microservices in real time with existing technology and realizes efficient security attacks on microservices. Detect and respond.

CN118862055APending Publication Date: 2024-10-29HEWLETT PACKARD ENTERPRISE DEV LP
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410098590.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-04-26
Filing Date
2024-01-24
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Due to the limited changes in the code execution path of the microservice architecture, existing security threat detection software faces challenges in detecting security attacks, and it is difficult to detect and mitigate potential security threats in real time.

Method used

An observation engine based on mathematical chaos theory is used to detect whether microservices are subject to security attacks by monitoring resource utilization indicators of microservices and applying the self-similarity principle. The observation engine performs time sampling and statistical analysis on utilization indicators, calculates sensitive dependencies, determines whether entropy events exist, and initiates verification actions to confirm security attacks.

Benefits of technology

It realizes real-time or near-real-time security attack detection on microservices, improves agile response capabilities to potential threats, and enhances the protection of business integrity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118862055A_ABST
    Figure CN118862055A_ABST
Patent Text Reader

Abstract

The invention relates to a method for detecting a micro-service security attack based on an index sensitive dependency relationship. The process includes aggregating the time series of samples. Each sample has a plurality of dimensions, the plurality of dimensions corresponding to respective metrics associated with the micro-service. Each sample includes, for each dimension, a measurement of an indicator corresponding to the dimension. The process includes identifying a given sample in the time series of samples based on a measurement of a first sample in the time series of samples, and determining a sensitive dependency of the indicator based on a measurement of the given sample. The process includes determining whether the microservice has been subjected to a security attack based on the sensitive dependencies.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Computer systems may be subject to security attacks in which an attacker attempts to access information stored on the computer system or to damage components of the computer system. Computer systems may have various mechanisms to detect and prevent security attacks (e.g., access controls, malware detection software, firewalls, integrity measurements, and other measures). BRIEF DESCRIPTION OF THE DRAWINGS

[0002] Figure 1 is a block diagram of a cloud computer system having an intelligent input / output (I / O) peripheral-based observation engine that detects security attacks on microservices based on metric-sensitive dependencies, according to an example implementation.

[0003] Figure 2 According to an example implementation Figure 1 Block diagram of the observation engine.

[0004] Figure 3 is a flow diagram depicting a process for evaluating whether a binary image associated with a microservice should pass validation according to an example implementation.

[0005] Figure 4 is an illustration of machine-readable instructions according to an example implementation that, when executed by a machine, causes the machine to determine whether a microservice has been subject to a security attack based on a metric-sensitive dependency.

[0006] Figure 5 is a flow diagram depicting a process for determining whether to initiate an action to verify the integrity of a microservice based on a metric-sensitive dependency, according to an example implementation.

[0007] Figure 6 is a schematic diagram of a computer platform including an observation engine for determining whether to initiate an action to verify the integrity of a microservice based on sensitive dependencies between indicators according to an example implementation. DETAILED DESCRIPTION

[0008] The following detailed description refers to the accompanying drawings. Whenever possible, the same reference numerals are used in the drawings and the following description to refer to the same or similar parts. However, it should be clearly understood that these drawings are for illustration and description purposes only. Although several examples are described in this document, modifications, adaptations and other implementations are possible. Therefore, the following detailed description does not limit the disclosed examples. On the contrary, the proper scope of the disclosed examples may be defined by the appended claims.

[0009] The terms used herein are only used for the purpose of describing specific examples, and are not intended to be restrictive. As used herein, the singular forms "one", "a kind of" and "said" are intended to also include plural forms, unless the context clearly indicates otherwise. As used herein, the term "multiple" is defined as two or more than two. As used herein, the term "another" is defined as at least the second or more. As used herein, the term "connection" is defined as directly connected without any intermediate element, or indirectly connected with at least one intermediate element, unless otherwise specified. Two elements can be mechanically coupled, electrically coupled, or linked by communication channels, paths, networks or system communications. As used herein, the term "and / or" refers to and encompasses any and all possible combinations of associated enumeration items. It will also be understood that although the terms first, second, third, etc. can be used to describe various elements in this article, these elements should not be limited to these terms, because these terms are only used to distinguish one element from another element, unless otherwise specified or the context indicates otherwise. As used herein, the term "includes" refers to including but not limited to, and the term "including" refers to including but not limited to. The term "based on" means based at least in part on.

[0010] In one type of application architecture, the application can be monolithic and correspond to a single unit. In another type of application architecture, the application can be composed of multiple autonomous parts called "microservices". Compared with the monolithic architecture, the microservices architecture provides greater agility, resilience, and better control for software quality assurance. The microservices of cloud-native applications can be highly distributed and subject to potential attacks launched by services that are part of the application value chain. Compared with traditional monolithic applications that bundle functions and corresponding code together, microservices significantly reduce the changes in code execution paths, and many microservices can be simplified to corresponding single functions.

[0011] Bad actors have a culture of continuous innovation, so real-time detection and mitigation of security attacks can be critical to protecting the integrity of a business that relies on microservices. However, security threat detection software can face challenges in detecting security attacks on microservices due to the limited changes in the code execution paths of microservices.

[0012] According to the example implementation described herein, security attacks on microservices are detected by monitoring the behavior of microservices and applying the principles of mathematical chaos theory. More specifically, during deployment and runtime, the consumption of resources by microservices exhibits a behavior that is called "self-similarity" in chaos theory. In this context, "self-similarity" refers to the behavior between a set of specific variables, so that a change in one variable triggers a change in all variables that is proportional to the original change, while retaining all statistical properties, regardless of the proportion. Depending on the sensitive dependencies of the variables, the variables can exhibit strict self-similarity (strictly proportional changes) or a lower degree of self-similarity. Sensitive dependencies are a measure of the correlation of variable changes.

[0013] According to an example embodiment, the observation engine samples the measured values ​​of the utilization indicators associated with the microservices in time. The utilization indicators describe the use of resources by the microservices. As an example, the indicators may include one or more of the following: CPU utilization, temporary storage utilization, network utilization, memory utilization, or utilization of other resources. According to an example embodiment, the observation engine aggregates or aggregates the sampled measured values ​​into a sample time series or a sample time series. Each sample is multidimensional, wherein each dimension of the sample corresponds to a specific utilization indicator. In the example, a specific dimension may correspond to a CPU utilization indicator, another dimension may correspond to a temporary storage utilization indicator, another dimension may correspond to a network utilization indicator, and another dimension may correspond to a memory utilization indicator. Therefore, each sample can be regarded as a corresponding vector of utilization indicator measurements, wherein each element of the vector corresponds to a specific dimension and is a measurement value of the utilization indicator corresponding to the dimension.

[0014] According to example embodiments, the observation engine performs continuous statistical analysis on the samples. For example, according to some embodiments, the observation engine applies a sliding or moving time window to the sample time series, and the observation engine calculates statistics for the utilization metric for each dimension based on the measured values ​​of the utilization metric within the sliding window. As a more specific example, according to some embodiments, the observation engine may apply a sliding window of N samples to the N most recent or most recent samples. As an example, the statistics for each metric may include the following: a mean or average; a standard deviation; and a coefficient of variation.

[0015] The observation engine uses the statistics to predict the measurement value of the next sample (including the prediction range of the measurement value). In this context, the "next sample" refers to the sample that continues along the sliding window in time. In an example, the next sample can be a future sample to be sampled at the next sampling time (at the time of statistics calculation). In an example, the next sample can be the "current sample", which is the sample obtained at the most recent sampling time.

[0016] According to some embodiments, the observation engine can calculate the statistics of the next sample in the future based on the N most recent samples, and then sample the next sample, which becomes the current sample. The observation engine can then use the statistics and the measurement value (also referred to as the "actual measurement value") of the current sample to determine whether the measurement value of the current sample indicates a security attack on the microservice, as further described herein.

[0017] In an example, the observation engine may use statistical data to determine a predicted range or expected range of measurements for the next sample. In an example, the observation engine determines the mean, standard deviation, and coefficient of variation of the CPU utilization measurements of the sample within the sliding window, and based on these statistical data, the observation engine determines the expected range of the CPU utilization measurements for the next sample. In an example, the observation engine determines the mean, standard deviation, and coefficient of variation of the temporary storage utilization measurements of the sample within the sliding window, and based on these statistical data, the observation engine determines the expected range of the temporary utilization measurements for the next sample. In an example, the observation engine determines the mean, standard deviation, and coefficient of variation of the memory utilization measurements of the sample within the sliding window, and based on these statistical data, the observation engine determines the expected range of the memory utilization measurements for the next sample. In an example, the observation engine determines the mean, standard deviation, and coefficient of variation of the network utilization measurements of the sample within the sliding window, and based on these statistical data, the observation engine determines the expected range of the network utilization measurements for the next sample.

[0018] By comparing the actual measurement value of the next sample with the corresponding expected measurement value range, the observation engine can determine whether the actual measurement value is consistent with the expected range. In this context, the actual measurement value is "consistent" with the expected range refers to the comparison of the actual measurement value meeting the predefined criteria. In an example, the predefined criteria can be that all actual measurement values ​​must be within the corresponding expected range of consistency, and the observation engine can determine, for example, that the actual measurement value is inconsistent with the expected range if at least one of the actual measurement values ​​is outside the corresponding expected range. In another example, the predefined criteria can be that a specific number (e.g., two) of actual measurement values ​​must be within the corresponding expected range of consistency.

[0019] According to an example embodiment, the observation engine considers samples whose actual measurement values ​​are inconsistent with the corresponding expected range as corresponding to a "microburst". Such samples are referred to as "microburst-related samples" in this article. In the context used in this article, "microburst" refers to a specific sample that is a statistical anomaly considering the statistical data of previous samples. According to an example embodiment, the observation engine further analyzes the microburst-related samples to determine whether the sample corresponds to an entropy event. In the context used in this article, "entropy event" refers to observed microservice behavior associated with a security attack on a microservice.

[0020] According to an example embodiment, the observation engine determines whether a microburst-related sample corresponds to an entropy event by calculating a measure of the self-similarity or sensitive dependency (or "indicator sensitive dependency") of the sample and comparing the calculated sensitive dependency with a threshold. The sensitive dependency is a measure of the correlation of the measurement value changes associated with the microburst-related sample. In this context, a "change" (or "measurement value change") is the difference between the actual measurement value and the predicted measurement value. The change in a particular measurement value can be represented by a parameter referred to herein as the actual coefficient of variation. The sensitive dependency is a measure of the correlation of the actual coefficient of variation. In the example, a sensitive dependency of one hundred percent means that the changes are completely proportional to each other. A sensitive dependency of less than one hundred percent means that the changes are not completely proportional, and a sensitive dependency of zero means that the changes are completely independent of each other.

[0021] In response to detecting an entropy event, the observation engine can initiate one or more response actions to further verify whether a security attack has occurred and / or perform remedial actions to mitigate and / or prevent damage. In an example of a response action, the observation engine can initiate verification of a binary image associated with a microservice. Verification can include scanning the binary image, such as, for example, calculating a signature (e.g., a hash value) of the binary image and comparing the signature to a trusted reference hash. As further described herein, according to example embodiments, the results of the verification can be used as feedback to adjust the security attack detection of the observation engine.

[0022] The sensitive dependency can be quantified by a parameter, which is referred to herein as a "sensitivity coefficient". According to an example embodiment, the observation engine calculates the sensitivity coefficient of the microburst-related sample, and based on the sensitivity coefficient, the observation engine determines whether the microburst-related sample corresponds to an entropy event. Depending on the specific implementation, the sensitivity coefficient can be determined in a variety of different ways. In an example, the observation engine can calculate the actual coefficient of variation of each dimension of the microburst-related sample, and the observation engine can set the sensitivity coefficient to be equal to the range of the actual coefficient of variation (e.g., the maximum value minus the minimum value). According to an example embodiment, the observation engine compares the sensitivity coefficient with a predefined threshold, which defines the minimum degree of sensitive dependency for which the microburst-related sample is considered not to be associated with the entropy event. In response to the comparison indicating that the microburst-related sample does not exhibit a minimum degree of sensitive dependency, the observation engine can then assume that a security attack has been detected and initiate one or more response actions.

[0023] According to some embodiments, the observation engine can detect security attacks on microservices in real time or near real time. In this way, the observation engine can calculate the statistics of the indicator based on a sliding window of N samples, using the measured value of the current sample and the measured value of the N-1 samples immediately before the current sample for each current sample. The observation engine can then calculate the expected measurement value range of the next sample in the future. In response to aggregating the measured values ​​at the next sampling time to form the next sample, the observation can then determine whether the sample corresponds to a microburst event, and if so, determine whether the sample corresponds to an entropy event based on the sensitivity coefficient. According to an example embodiment, depending on the sampling time of the observation engine, the time range for the observation engine to detect security attacks can range from a relatively short detection time (e.g., microseconds to milliseconds) to a relatively long detection time (e.g., one second or more seconds). According to an example embodiment, the sampling time can be user-configurable, and according to some embodiments, the observation engine can adaptively adjust the sampling time to adjust the performance of the observation engine, as further described herein.

[0024] Figure 1 An example computer system 100 is depicted that includes one or more metric-sensitive dependency-based observation engines 160 (hereinafter referred to as "observation engines 160") according to an example implementation. Figure 1In the specific implementation depicted and described herein, computer system 100 is a cloud computer system. However, according to further example implementations, the computer system may not be attached to the cloud. In an example, the non-cloud computer system may have a server with a traditional architecture (also referred to as an "industry standard architecture" or "standard architecture") and adapted to contain a corresponding observation engine 160. In an example, the non-cloud computer system may be a private enterprise system in which the server contains a corresponding observation engine 160 and communicates through a wide area network (WAN) network infrastructure, but according to further implementations, the non-cloud computer system may have other architectures.

[0025] for Figure 1 In the specific example implementation depicted in , the cloud computer system 100 is affiliated with a particular cloud operator and provides multi-tenant cloud services to multiple clients or tenants. The cloud service can be any of a number of different cloud services, such as software as a service (SaaS), infrastructure as a service (IaaS), platform as a service (PaaS), etc. In addition, depending on the specific implementation, the cloud service can be affiliated with one of several different cloud infrastructures, such as a public cloud that is generally available to all potential users through a public network; a limited access private cloud provided through a private network (e.g., a cloud service provided by an on-site data center); or a hybrid cloud that combines public and private clouds.

[0026] Tenants can access domain nodes 110 (e.g., computing nodes) of cloud computer system 100 via cloud clients (e.g., laptop computers, desktop computers, smart phones, tablet computers, wearable computers, etc.) that are not hosted on the cloud. Figure 1 As described in Figure 1 As depicted in , domain nodes 110 may be interconnected via a physical network fabric 184. In general, physical network fabric 184 may be associated with one or more types of communication networks such as, for example, a Fibre Channel network, a Gen-Z fabric, a Compute Express Link (CXL) fabric, a dedicated management network, a local area network (LAN), a WAN, a global network (e.g., the Internet), a wireless network, or any combination thereof. Figure 1 As depicted in , domain nodes 110 may be interconnected via logical connections 180 such as software defined network (SDN) connections, software defined computing (SDC) connections, and software defined storage (SDS) connections. Figure 1As further depicted in , cloud computer system 100 may include domain node manager 190, which is part of the control plane of the cloud computing system and may be coupled to physical network structure 184 and logical connections 180. In general, node manager 190 includes physical hardware resources and logical software resources for managing domain nodes 110.

[0027] According to an example implementation, domain node 110-1 may correspond to computer platform 114. In this context, a "computer platform" refers to a unit that includes a chassis and hardware mounted to the chassis, wherein the hardware is capable of executing machine-executable instructions (or "software"). As an example, computer platform 114 may be a blade server, a rack-mounted server, a client, a desktop computer, a smart phone, a storage array, a laptop computer, a tablet computer, or any other processor-based device.

[0028] According to an example embodiment, the computer platform 114 includes one or more multi-core central processing unit (CPU) semiconductor packages (or "sockets" or "chips"). According to an example embodiment, the computer platform 114 may have a form factor, mechanical latches, and corresponding electrical connectors to allow the computer platform 114 to be installed in or removed from a rack. According to further embodiments, the computer platform 114 may not be rack-mountable.

[0029] According to an example embodiment, the computer platform 114 may have a cloud native architecture including a host 120 and one or more intelligent I / O peripherals 150. Figure 1 As depicted in , the computer platform 114 can provide one or more application operating environments 140 within the cloud tenant domain. One or more microservices 144 can execute in the application operating environment 140.

[0030] In general, the application operating environment 140 can be a virtualized environment or a non-virtualized environment. In an example, the virtualized application operating environment 140 can be the environment when the microservice 144 executes inside a container instance. As another example, the virtualized application operating environment 140 can be the environment when the microservice 144 executes inside a virtual machine instance. As another example of a virtualized application operating environment 140, the microservice 144 can execute outside the virtual machine instance but inside the container instance. In the example of a non-virtualized application operating environment 140, the microservice 144 can access non-abstract physical resources of the computer platform 114.

[0031] In the context used herein, a "microservice" refers to an instance of a sub-part of an application that includes multiple sub-parts. A microservice 144 can be associated with one or more functions of an application. In an example, the microservices 144 of a given application can be distributed across multiple domain nodes 110. In another example, the microservices 144 of a given application can be located on the same domain node 110.

[0032] According to an example implementation, host 120 may include one or more physical processors 124. In general, processor 124 refers to a collection of one or more processing cores (e.g., CPU cores and / or GPU cores) that execute machine-readable instructions that may be stored in memory 128 of computer platform 114, for example.

[0033] According to example embodiments, memory 128 may be implemented using a collection of physical memory devices. In general, the memory devices forming memory 128, as well as other memories and storage media described herein, are examples of non-transitory machine-readable storage media. According to example embodiments, machine-readable storage media may be used for various storage-related and computing-related functions of computer platform 114. As an example, memory devices may include semiconductor memory devices, flash memory devices, memristors, phase change memory devices, magnetic storage devices, combinations of one or more of the aforementioned storage technologies, and memory devices based on other technologies. In addition, unless otherwise specified herein, memory devices may be volatile memory devices (e.g., dynamic random access memory (DRAM) devices, static random access (SRAM) devices, etc.) or non-volatile memory devices (e.g., flash memory devices, read-only memory (ROM) devices, etc.).

[0034] According to example embodiments, one or more processors 124 may execute machine-readable instructions stored in memory 128 to form various software components of host 120, such as application operating environment 140, hypervisor 132, operating system 136, one or more microservices 144, one or more microservices 144, and other software components. According to some embodiments, a given microservice 144 may have an associated binary image 125. Binary image 125 contains program code and associated data for microservice 144. Binary image 125 has a corresponding signature, such as a signature corresponding to a hash value generated by applying a particular hash function to binary image 125.

[0035] According to some embodiments, the binary image 125 may have an associated trusted reference signature that corresponds to the binary image 125 in its verified state (e.g., the initial state of the binary image 125 when it is first installed) and has not been changed or modified. Therefore, by checking the signature of a particular binary image 125 against its reference signature (in a process known as verification of the binary image), it can be determined whether the binary image 125 is valid. According to some embodiments, verification of the binary image 125 may be performed by a verifier entity, which may or may not be a component of the domain node 110 on which the corresponding microservice 144 executes. According to some embodiments, the verifier entity may be located within the control plane of the cloud computer system 100. More specifically, according to some embodiments, the verifier may be a node manager 190.

[0036] The intelligent I / O peripheral 150 can take one of many different physical forms. In an example, the intelligent I / O peripheral 150 is a peripheral component interconnect (PCIe) card. In another example, the intelligent I / O peripheral 150 is a CXL card. In general, the intelligent I / O peripheral 150 provides processing power, memory and acceleration for the host 120, and its purpose is to support the delivery of various advanced services to the workload executed by the host 120. The back-end I / O service can be a non-transparent service or a transparent service. An example of a non-transparent host service is a hypervisor virtual switch unloading service without host control using PCIe direct I / O (e.g., CPU input-output memory management unit (IOMMU) mapping of PCIe device physical functions and / or virtual functions). The host transparent back-end I / O service does not involve modifying the host software. As an example, the transparent host service may include network-related back-end I / O services for the host 120, such as overlay network services, virtual switching services, virtual routing services, network function virtualization services, encryption services, and firewall-based network protection services. As an example, transparent host services may include storage-related back-end I / O services for host 120, such as storage acceleration services (e.g., services based on Non-Volatile Memory Express (NVMe)), direct-attached storage services, or Serial Attached SCSI (SAS) storage services.

[0037] According to an example embodiment, the smart I / O peripheral 150 includes a forwarding / policy execution subsystem 152 that supports service-to-service communication between services and microservices 144. According to an example embodiment, the forwarding / policy execution subsystem 152 can be based on a service mesh, such as Istio. The forwarding / policy execution subsystem 152 collects or aggregates measurements of various utilization metrics associated with the microservices 144. According to an example embodiment, the forwarding / policy execution subsystem 152 transmits these measurements to a metric-sensitive dependency-based observation engine 160 (referred to herein as "observation engine 160") of the smart I / O peripheral 150. According to an example embodiment, the measurements can correspond to the measured utilization metrics of a particular microservice 144.

[0038] As an example, utilization metrics may include metrics such as CPU utilization, memory utilization, temporary storage utilization, and network utilization from sources such as the host 120 (e.g., the OS 136, the hypervisor 132, and other components such as containers and / or virtual machine management components). "CPU utilization" refers to the ratio of the CPU time used by the microservice 144 to the total CPU time allocated to the microservice 144. "Memory utilization" refers to the ratio of the amount of memory used by the microservice 144 to the total memory allocated to the microservice 144. "Temporary storage utilization" refers to the ratio of the amount of temporary storage used by the microservice 144 to the total temporary storage allocated to the microservice 144. "Temporary storage" refers to volatile temporary storage attached to the microservice 144, which exists during the life cycle of the microservice 144 and does not exist otherwise. "Network utilization" refers to the ratio of the amount of network bandwidth used by the microservice 144 to the total network bandwidth allocated to the microservice 144.

[0039] According to further embodiments, the utilization metric may include one or more metrics that measure utilization of resources other than CPU, temporary storage, memory, or network by the microservice 144. Additionally, according to further embodiments, the sample may include measurements of metrics that represent aspects of the behavior of the microservice 144 other than utilization of a particular resource by the microservice.

[0040] According to an example embodiment, observation engine 160 is a software-based sensor. Observation engine 160 samples the measurements received from forwarding / policy execution subsystem 152 in time (at corresponding sampling times) and aggregates the measurements into corresponding multi-dimensional samples. According to an example embodiment, each dimension of the sample corresponds to a different utilization indicator.

[0041] According to an example embodiment, the observation engine 160 continuously determines and updates the statistics of the indicator as the measured values ​​are temporally sampled and aggregated into a time series. Based on the statistics, the observation engine 160 can then determine whether the most recent sample or the current sample is related to a microburst event (and is therefore considered a "microburst-related sample"). The observation engine 160 processes the microburst-related sample to determine whether the sample corresponds to an entropy event.

[0042] According to an example implementation, identifying an entropy event prompts observation engine 160 to initiate one or more response actions. In an example, in response to determining that a particular sample corresponds to an entropy event, observation engine 160 may initiate an action to verify binary image 125 associated with microservice 144. In another example, in response to determining that a particular sample corresponds to an entropy event, observation engine 160 may generate an alert to notify components of cloud computer system 100 and / or notify a human user (e.g., a system administrator).

[0043] As used herein, an "engine" such as observation engine 160 may refer to one or more circuits. For example, a circuit may be a hardware processing circuit that may include any one or some combination of a microprocessor, a core of a multi-core microprocessor, a microcontroller, a programmable integrated circuit (e.g., a programmable logic device (PLD) such as a complex PLD (CPLD)), a programmable gate array (e.g., a field programmable gate array (FPGA)), an application specific integrated circuit (ASIC), or other hardware processing circuits. Figure 1 , the intelligent I / O peripheral 150 includes one or more processors 164 (e.g., one or more processing cores) and a memory 166 storing machine-readable instructions 168 that, when executed by the processor 164, cause the processor 164 to perform one or more functions of the observation engine 160, as described herein. Alternatively, according to further embodiments, an "engine," such as the observation engine 160, may be one or more hardware processing circuits that do not execute machine-readable instructions, or a combination of one or more hardware processing circuits and circuits that execute machine-readable instructions.

[0044] According to an example embodiment, the observation engine 160 can receive its configuration details from the controller 158 of the intelligent I / O peripheral device 150 that provides control services. These control services can include setting initial tuning parameters of the observation engine 160, such as measurement sampling rate and other tuning parameters, as further described herein. The initial tuning parameters can be based on user input and configuration files of the microservices 144. According to an example embodiment, the observation engine 160 uses the control services to report the discovery entropy events to a centralized service plane (e.g., a service plane including a node manager 190) that provides service management governance for the cloud computer system 100.

[0045] Among its other features, intelligent I / O peripheral 150 may include an overlay network subsystem 154 and a network interface 156 that connects intelligent I / O peripheral 150 to logical connections 180 and a physical network fabric 184 .

[0046] Figure 2 1 depicts a block diagram of an observation engine 160 according to an example implementation. The observation engine 160 includes a sampler 204 that receives measurements 208 of various utilization metrics (e.g., the observation engine 160 receives measurements 208 of various utilization metrics from the Figure 1 The forwarding / policy execution subsystem 152 receives the measurement value). In the example, the measurement value 208 is consumption-based and normalized to a time scale. The sampler 204 can be configured with a sampling rate 212. According to an example embodiment, the sampling rate 212 can be a configurable parameter that acts as an adjustment parameter for adjusting the microburst detection and / or entropy event detection of the observation engine 160. In the example, according to some embodiments, the sampler 204 can be configured with a default sampling rate 212, such as, for example, one sample per second. In general, increasing the sampling rate 212 improves the accuracy of the observation engine 160 in detecting entropy events, but increases the processing load of the observation engine 160. Conversely, reducing the sampling rate 212 can reduce the processing load but also reduce the entropy event detection accuracy.

[0047] like Figure 2 As depicted in , according to an example embodiment, the sampling of sampler 204 produces a time series (or "time series") of samples 216. According to an example embodiment, each sample 216 is a multi-dimensional sample, wherein each dimension of the sample corresponds to a specific utilization indicator. Figure 2 As shown, sample 216 can be viewed as a vector, where the components of the vector correspond to a particular sampling time T (e.g., Figure 2 The sampling time T1 to T N ) and contains a component representing the sampled measurement value. For each example sample 216, Figure 2Depicted are example vectors representing sampled measurements M1, M2, M3, and M4 (which correspond to the respective dimensions of sample 216).<M1,M2,M3,M4> .

[0048] According to an example embodiment, a statistical data analyzer 220 of the observation engine 160 receives the time series of samples 216 and performs statistical analysis on the time series. According to an example embodiment, the statistical data analyzer 220 uses a moving window or sliding window of samples 216 to calculate a sliding window average or mean 224 and a sliding window standard deviation 228 for each utilization metric. According to an example embodiment, the statistical data analyzer 220 is configured to apply the statistical analysis to the last N samples 216 of the time series, e.g., from time T1 to T N Example sample 216, such as Figure 2 In this manner, to calculate a particular set of sliding window averages 224 and sliding window standard deviations 228, the statistical data analyzer 220 calculates, for each utilization metric, a sliding window average 224 based on the measured values ​​of the metric in the current (or most recent) sample 216 and the N-1 samples 216 immediately preceding the current sample 216.

[0049] The calculation of the sliding window average 224 of each indicator can be described by Equation 1 (Equation 1) as follows:

[0050]

[0051] Where “μ” represents the sliding window average 224, “N” represents the number of samples in the sliding window, and “x i ” represents the measured value of the indicator indexed into a particular sample 216 within the sliding window. The statistical data analyzer calculates the sliding window standard deviation 228 (denoted by “σ”) which can be described by Equation 2 as follows:

[0052]

[0053] The sliding window mean 224 and the sliding window standard deviation 228 are received and used by the indicator measurement value predictor 232 of the observation engine 160 to predict the measurement value of the next future sample 216. More specifically, according to an example embodiment, the indicator measurement value predictor 232 determines a predicted range or expected range 240 of the measurement value of the next sample 216. For the expected range 240, the indicator measurement value predictor 232 can be configured with a behavior change tolerance adjustment parameter (referred to herein as a “BV t Parameters 236”). According to an example embodiment, the indicator measurement value predictor 232 calculates the predicted coefficient of variation (referred to herein as “CV p ”). Prediction coefficient of variation CV pThe predicted variation of the corresponding indicator measurement value relative to the moving standard deviation of the corresponding N samples 216 of the sliding window. The indicator measurement value predictor predicts the coefficient of variation CV p The calculation of can be described by equation 3 as follows:

[0054]

[0055] Use the predicted coefficient of variation (CV) p The indicator measurement value predictor 232 can then calculate a prediction lower bound (hereinafter referred to as “LB p ”) and the predicted upper bound (referred to as “UB p According to an example embodiment, the indicator measurement value predictor 232 reduces the moving average (mean value) by the predicted coefficient of variation CV p half of the value and reduce the result to the behavior variation tolerance BV t To calculate the predicted lower boundary LB p , as described by equation 4:

[0056]

[0057] According to an example embodiment, the indicator measurement value predictor 232 predicts the coefficient of variation CV by adding the moving average p half of the value and increase the behavior variation tolerance BV as a result t To calculate the prediction upper boundary UB p , as described by Equation 5:

[0058]

[0059] The microburst detector 250 of the observation engine 160 compares the actual measurement value of the current sample 216 with the expected range 240 of the sample 216. The comparison may involve the microburst detector 250 determining whether the actual measurement value is consistent with the expected range 240, as described herein. Based on the comparison, the microburst detector 250 may then determine whether the current sample corresponds to a microburst event. According to some embodiments, the microburst detector 250 compares each measurement value of the current sample 216 with its corresponding expected range 240 to determine whether the measurement value is outside the predicted range 240. In other words, for each measurement value, the microburst detector 250 determines whether the measurement value is greater than the predicted measurement value lower boundary UB p Or less than the lower boundary LB of the predicted measurement value p .

[0060] Based on the comparison of the measurement values ​​of the current sample 216, the microburst detector 250 can then determine whether the measurement value of the current sample is consistent with the expected range 240, and if not, the microburst detector 250 identifies the current sample 216 as being associated with a microburst event. In an example, according to some embodiments, the microburst detector 250 can determine that the current sample 216 is associated with a microburst event in response to a single measurement value of the current sample 216 being outside the corresponding expected range 240. In another example, the microburst detector 250 can consider a particular current sample to be associated with a microburst event in response to a predetermined number (e.g., two or more) of the actual measurement values ​​being outside their corresponding expected ranges 240. According to further embodiments, the microburst detector 250 can apply criteria in order to determine whether the actual measurement value is consistent with the expected range 240. Regardless of the method used, in response to detecting a microburst event, the microburst detector 250 can then identify the current sample 216 as being associated with a microburst event according to an example embodiment, as depicted at 254.

[0061] According to an example embodiment, the sensitive dependency correlator 260 of the observation engine 160 can further analyze the samples 216 that have been identified as being associated with a microburst event to further determine whether the samples 216 correspond to an entropy event (i.e., to a detected security attack on the microservice). For this analysis, according to an example embodiment, the sensitive dependency correlator 260 calculates the actual coefficient of variation (referred to herein as “CV a ”). Actual coefficient of variation CV a represents the variation of the actual measured value relative to the corresponding predicted measured value. More specifically, according to some embodiments, the sensitive dependency correlator 260 can calculate the actual coefficient of variation CV of a given measured value: a , as described by Equation 6:

[0062]

[0063] Among them, "x a ” represents the actual measured value, and “x p " represents a predicted measurement value. As an example, the predicted measurement value may be a corresponding average value determined according to the sliding window. In the absence of an entropy event, the actual coefficient of variation CV of the sample 216 a The values ​​of should be similar or close. In other words, in the absence of an entropy event, the measured values ​​of sample 216 change approximately in the same proportion.

[0064] According to an example embodiment, the sensitive dependency correlator 260 uses a sensitive coefficient (referred to herein as “CS”) to quantify the coefficient of variation CV aWhen is considered close enough or far enough to be considered associated with an entropy event. More specifically, according to some embodiments, the sensitive dependency correlator 260 can calculate a sensitivity coefficient CS, as described by equation 7 as follows:

[0065] CS=MAX(CV a )-MIN(CV a ), Equation 7 Among them, "MAX(CV a )” indicates the actual coefficient of variation CV a The maximum value of "MIN(CV a )” indicates the actual coefficient of variation CV a In other words, according to the example embodiment, the sensitivity coefficient CS represents the actual coefficient of variation CV a range.

[0066] According to an example embodiment, the sensitive dependency correlator 260 may compare the sensitivity coefficient CS with a threshold value (referred to herein as “SV t ”) to determine whether the sample 216 corresponds to an entropy event. More specifically, according to some embodiments, the sensitive dependency correlator 260 may, for example, respond to the sensitive coefficient CS being greater than the threshold SV t It is determined that sample 216 corresponds to an entropy event.

[0067] According to an example embodiment, the sensitive dependency correlator 260 provides an entropy event indicator 264 indicating whether an entropy event has been detected. In response to the entropy event indicator 264 indicating that an entropy event has been detected, the sensitive dependency correlator 260 can then initiate one or more response actions. As an example, the response action can include initiating an alert to system personnel (e.g., a system administrator) or one or more components of the cloud computer system. As another example, the response action can include initiating a scan of a binary image associated with the microservice in order to verify the binary image.

[0068] According to some embodiments, the observation engine 160 includes a parameter adjuster 270. According to an example embodiment, the parameter adjuster 270 can adaptively adjust one or more adjustment parameters 278 used by the observation engine 160 to achieve purposes such as reducing false alarm rates and reducing false alarm rates. According to some embodiments, the parameter adjuster 280 can, for example, receive data representing the results of the binary image verification, as depicted at 274. For example, in response to determining that the binary image passes the verification of the scan of the binary image (i.e., thereby indicating a false alarm), the parameter adjuster 270 can modify the one or more adjustment parameters 278 so as to reduce the false alarm rate associated with the observation engine 160.

[0069] According to some embodiments, the parameter adjuster 270 may not modify any of the adjustment parameters 278 in response to a single isolated false positive, but rather the parameter adjuster 270 decides whether to modify the adjustment parameters 278 based on the false positive rate. Likewise, according to example embodiments, the parameter adjuster 270 may receive data representing false negatives, where the observation engine 160 did not detect a situation that turned out to be an entropy event (i.e., a security attack), and the parameter adjuster 270 may then modify one or more of the adjustment parameters 278 to increase the sensitivity of the observation engine 160. The adjustment parameters may decide whether to increase the sensitivity based on the false negative rate.

[0070] As an example, parameter adjuster 270 may increase the sensitivity and accuracy of observation engine 160 by increasing sampling rate 212, and parameter adjuster 270 may decrease the sensitivity and reduce the load of observation engine 160 by decreasing sampling rate 212. As another example, parameter adjuster 270 may decrease the behavior variation tolerance BV by decreasing the behavior variation tolerance BV. t To improve the sensitivity of the observation engine 160, the parameter adjuster 270 can increase the behavior change tolerance BV t As another example, the parameter adjuster 270 can reduce the sensitivity and false alarm rate by reducing the sensitivity coefficient threshold SV t To improve the sensitivity of the observation engine 160, the parameter adjuster 270 can increase the sensitivity coefficient threshold SV t to reduce sensitivity and reduce false positive rates.

[0071] Figure 3 Depicted is a process 300 according to an example implementation that may be performed (e.g., by Figure 1 and Figure 2 Observation engine 160 executes) to detect security attacks on microservices and respond to security attack detection. Figure 3 According to an example implementation, process 300 includes, for each dimension, calculating a moving average, a standard deviation, and a coefficient of variation using a moving window of previous samples, according to block 304. In addition, according to an example implementation, process 300 includes calculating a sensitivity coefficient for a next sample, according to block 304. According to block 308, process 300 includes determining a prediction range for a next sample.

[0072] As depicted at 312, process 300 includes obtaining the next sample and then comparing the actual measured value of the sample with the predicted range (box 316). Based on this determination, process 300 includes determining (decision box 320) whether a microburst event has been detected. If not, the process returns to box 304 to update the moving average, standard deviation, and coefficient of variation.

[0073] Otherwise, if a microburst event is detected (decision box 320), process 300 includes determining whether the sensitivity coefficient is within an expected range according to decision box 328. According to some embodiments, the determination includes comparing the sensitivity coefficient to a threshold value, and based on the comparison (e.g., the sensitivity coefficient is greater than the threshold value), continuing to determine (decision box 332) that the sample corresponds to an entropy event.

[0074] In an example, according to decision box 332, an entropy event is detected based on processing of the latest sample, so that if the sample is determined to be associated with a microburst event (decision box 320) and the relevant sensitive dependency is determined to be outside the expected range (decision box 328), then an entropy event is considered to have been detected. In another example, according to decision box 332, an entropy event is detected (decision box 320) based on the latest sample being associated with a microburst event, determining that the relevant sensitive dependency is outside the expected range (decision box 328) and one or more other criteria are met (e.g., a certain number of samples in the last P samples have been determined to be associated with a microburst event and have relevant sensitive dependencies outside the expected range). If the sample does not correspond to an entropy event, then according to decision box 332, control returns to box 304.

[0075] If an entropy event has been detected (decision block 332), then validation of the binary image associated with the microservice may be initiated, per block 336. If validation of the binary image passes validation, then per block 344, one or more tuning parameters (depending on the particular policy) may be recalibrated to reduce the false positive rate, and control returns to block 304. If the binary image does not pass validation (decision block 340), then per block 348, one or more remedial actions may be initiated.

[0076] refer to Figure 4 According to an example embodiment, a non-transitory machine-readable storage medium 400 stores machine-readable instructions 404. The instructions 404, when executed by a machine, cause the machine to aggregate a sample time series. Each sample has multiple dimensions, and the multiple dimensions correspond to corresponding indicators associated with a microservice. Each sample includes: for each dimension, a measurement value of an indicator corresponding to the dimension. In an example, the indicator may correspond to a resource utilization of a microservice. In an example, the indicator may be a CPU utilization of a microservice. In another example, the indicator may be a temporary storage utilization of a microservice. In another example, the indicator may be a memory utilization of a microservice. In another example, the indicator may be a network utilization of a microservice.

[0077] In an example, the aggregation of the sample time series can be performed by the smart I / O peripheral device. In an example, an observation engine of the smart I / O peripheral device can receive measurements corresponding to the indicator from the forwarding and policy execution subsystem of the smart I / O peripheral device, and the observation can sample the received measurements according to a configurable time sampling rate. In an example, the smart I / O peripheral device can include a processor that executes instructions 404, and the storage medium 400 can be a memory of the smart I / O peripheral device.

[0078] Instructions 404, when executed by the machine, further cause the machine to determine statistics of the measured values ​​of the first sample in the sample time series. In an example, for each dimension, the statistics may include a mean and a standard deviation. In an example, for each dimension, the statistics may include a predicted coefficient of variation for the next sample in the sample time series. In an example, for each dimension, the predicted coefficient of variation may be based on a mean and a standard deviation determined from the observed samples.

[0079] Instructions 404, when executed by a machine, cause the machine to determine that a given sample in a sample time series corresponds to a microburst event based on statistical data. In an example, the given sample may be the latest sample or the current sample in the sample time series. In an example, the microburst event corresponds to a statistical anomaly of the statistical data based on the measurement value of the first sample. In an example, the given sample may be the latest sample or the current sample, and the machine may determine that the current sample corresponds to a microburst before the time sampling of the next sample.

[0080] Instructions 404, when executed by a machine, cause the machine to determine a sensitive dependency of an indicator based on the measured values ​​of a given sample. In an example, the sensitive dependency is a measure of self-similarity of the measured values ​​according to mathematical chaos theory. In an example, determining the sensitive dependency may include determining an actual coefficient of variation of the measured values ​​of the given sample, and setting the sensitive dependency coefficient equal to a span between a maximum value and a minimum value of the actual coefficient of variation.

[0081] Instruction 404, when executed by a machine, causes the machine to determine whether a microservice has been subjected to a security attack based on a sensitive dependency. In an example, it may be determined in real time whether a microservice has been subjected to a security attack in response to the latest sampling of a utilization indicator of a microservice. In an example, it may be determined whether a microservice has been subjected to a security attack based on a comparison of a sensitive dependency coefficient with a sensitive dependency threshold. In an example, a sensitive dependency threshold may be an adjustment parameter that may be changed to control the performance (e.g., false alarm rate or false negative rate) of security attack detection. In an example, a binary image of a microservice may be verified based on a sensitive dependency indicating a security attack, the binary image may be determined to be valid, the false alarm rate may be updated, and the sensitive dependency threshold may be adjusted based on the false alarm rate. In another example, one or more other adjustment parameters (e.g., a behavior tolerance parameter for setting an expected range or sampling rate for a given sample) may be adjusted based on the false alarm rate.

[0082] Reference Figure 5 According to an example embodiment, process 500 includes aggregating (block 504) observed samples in a sample time series by an observation engine. Each sample has a plurality of dimensions corresponding to respective metrics of a microservice. Each sample includes: for each of the plurality of dimensions, a measurement of a metric corresponding to the dimension. In an example, the metric may correspond to resource utilization of the microservice. In an example, the metric may be CPU utilization of the microservice. In another example, the metric may be temporary storage utilization of the microservice. In another example, the metric may be memory utilization of the microservice. In another example, the metric may be network utilization of the microservice.

[0083] In an example, the observation engine may be a component of a smart I / O peripheral device of a domain node of a cloud computing system. In an example, the observation engine may receive measurements corresponding to indicators from a forwarding and policy execution subsystem of the smart I / O peripheral device, and the observation may sample the received measurements according to a configurable time sampling rate. In an example, the smart I / O peripheral device may include a processor that executes instructions 404 to form the observation engine.

[0084] Process 500 includes predicting (block 508) by the observation engine an expected range of corresponding measurements of a second sample based on the observed sample. In an example, the expected range can be based on statistics (e.g., mean, standard deviation, and coefficient of variation) calculated based on a sliding window of observed measurements for each metric (e.g., measurements corresponding to the last N samples). In an example, the expected range for a particular dimension can be calculated based on the mean and coefficient of variation. In an example, the upper and lower boundaries of the expected range can be adjusted by a behavior change tolerance. In an example, the behavior change tolerance can act as an adjustment lever to adjust the performance (e.g., false alarm rate) of detecting entropy events.

[0085] Process 500 includes, in response to determining that the measured values ​​of the second sample are inconsistent with the expected range, determining (block 512) by the observation engine whether the second sample corresponds to an entropy event based on the correlation of the changes associated with the measured values ​​of the second sample. In an example, an entropy event is an occurrence corresponding to one or more measured values ​​of a sample having statistics that are inconsistent with those observed from other samples. In an example, an entropy event can be an occurrence corresponding to one or more measured values ​​of a sample being outside of an expected range of the measured values.

[0086] In an example, the change can be represented by a corresponding actual coefficient of variation. In an example, correlating the change includes determining a sensitive dependency between the indicators. In an example, determining the sensitive dependency includes evaluating a range of the actual coefficient of variation. In an example, evaluating the range of the actual coefficient of variation includes determining a minimum value of the actual coefficient of variation, determining a minimum value of the coefficient of variation, and determining a difference between a maximum value and a minimum value. In an example, the difference between the maximum value and the minimum value represents a sensitivity coefficient. In an example, determining whether the second sample corresponds to an entropy event includes comparing the sensitivity coefficient to a threshold value.

[0087] Process 500 includes, in response to determining that the second sample corresponds to an entropy event, initiating (block 516) verification of a binary image associated with the microservice by the observation engine. In an example, verifying the binary image includes calculating a signature (e.g., a hash value) of the binary image and comparing the signature to a reference signature of the binary image. In an example, the verification of the binary image can be performed by a control plane of a cloud computer system. In an example, a sensitive dependency threshold can be adjusted based on a false alarm rate. In another example, one or more other adjustment parameters (e.g., a behavioral tolerance parameter for setting an expected range or sampling rate for a given sample) can be adjusted based on the false alarm rate.

[0088] Reference Figure 6According to an example embodiment, the computer platform 600 includes a host processor 604 and an intelligent I / O peripheral device 608. In an example, the host processor 604 may include one or more CPU processing cores or one or more GPU processing cores. In an example, the intelligent I / O peripheral device 608 may be a PCIe card. In an example, the computer platform 600 may be a blade server. In another example, the computer platform 600 may be a rack server. The host processor 604 executes instructions associated with an application operating environment. In an example, the application operating environment may be a virtualized environment when the physical resources of the computer platform 600 are abstracted. In an example, the application operating environment may be a non-virtualized environment that allows direct access to the physical resources of the computer platform 600. In an example, the computer platform 600 may correspond to a domain node of a cloud computer system. In another example, the computer platform 600 may be a part of the system other than the cloud computer system.

[0089] The host processor 604 executes instructions for providing microservices associated with the application operating environment. As an example, a microservice may be one of a collection of microservices collectively associated with an application. The intelligent I / O peripheral device 608 provides I / O services associated with a cloud operator domain. In an example, the I / O service may be a transparent service. In an example, the transparent service may be a network-related service. In an example, the network-related service may be an encryption service, an overlay network access service, a firewall-based network protection service, a virtual switching service, a virtual routing service, or a network function virtualization service. In an example, the transparent service may be a storage I / O service. As an example, the storage I / O service may be a storage acceleration service, a direct attached storage service, or a serial attached SCSI (SAS) service. In an example, the I / O service may be a non-transparent service. In an example, the non-transparent service may be a hypervisor virtual switch offload service.

[0090] The intelligent I / O peripheral 608 includes an observation engine 612. In an example, the observation engine 612 may include one or more circuits. In an example, the circuit may be a hardware processing circuit that may include any one or some combination of a microprocessor, a core of a multi-core microprocessor, a microcontroller, a programmable integrated circuit, a programmable gate array, an ASIC, or other hardware processing circuits. In an example, the observation engine 612 may include one or more processors that execute machine-readable instructions to perform one or more functions of the observation engine. In an example, the observation engine may include one or more hardware processing circuits that do not execute machine-readable instructions, or a combination of one or more such hardware processing circuits and circuits that execute machine-readable instructions.

[0091] The observation engine 612 aggregates a vector of measurement values ​​over time series. Each measurement value vector has a plurality of dimensions corresponding to corresponding indicators of the microservice. Each measurement value vector includes: for each dimension, a measurement value of a related indicator corresponding to the dimension. In an example, the indicator may correspond to resource utilization of the microservice. In an example, the indicator may be CPU utilization of the microservice. In another example, the indicator may be temporary storage utilization of the microservice. In another example, the indicator may be memory utilization of the microservice. In another example, the indicator may be network utilization of the microservice. In an example, the intelligent I / O peripheral may include a forwarding and policy execution subsystem, and the observation engine may receive measurements corresponding to the indicators from the forwarding and policy execution subsystem, and sample the received measurements according to a configurable time sampling rate to aggregate the vector measurement value over time series.

[0092] The observation engine 612 identifies a given measurement value vector based on statistics obtained from other measurement value vectors. In an example, for each dimension, the statistics may include a mean, a standard deviation, and a coefficient of variation, and the observation engine 612 may calculate the statistics based on a sliding window corresponding to the last N measurement value vectors. In an example, the observation engine 612 may identify a given measurement value vector by determining that one or more of the given measurement values ​​is unexpected based on the statistics. In an example, a measurement value is unexpected corresponding to the measurement value being outside an expected range obtained from the mean, standard deviation, and coefficient of variation calculated based on other measurement values ​​of the same dimension.

[0093] The observation engine 612 determines the coefficient of variation of the measurements of a given measurement vector. In an example, the coefficient of variation may be an actual coefficient of variation. The observation engine 612 determines a sensitive dependency between indicators based on the coefficient of variation. In an example, the sensitive dependency may be represented by a sensitive coefficient. In an example, the observation engine 612 may determine the sensitive coefficient by determining a minimum value of the actual coefficient of variation, determining a maximum value of the actual coefficient of variation, and determining a difference between the maximum value and the minimum value. In an example, the sensitive dependency may represent a measure of the self-similarity of the indicator.

[0094] The observation engine 612 determines whether to initiate an action to verify the integrity of the microservice based on the sensitive dependency. In an example, the observation engine 612 can compare the sensitivity coefficient representing the sensitive dependency with a threshold, and determine whether to initiate the action based on the result of the comparison. In an example, the action to verify the integrity can be integrity verification of a binary image associated with the microservice.

[0095] According to an example embodiment, the statistical data includes a mean and a standard deviation of the first sample. An expected range of corresponding measurement values ​​for a given sample is determined, and in response to determining that at least one of the corresponding measurement values ​​is outside the corresponding range, the given sample is identified as corresponding to a microburst event. Among potential advantages, security attacks on microservices can be detected through widely observable changes in the behavior of the microservices.

[0096] According to an example implementation, the coefficient of variation of corresponding measurements of a given sample is determined, and sensitive dependencies are determined based on a range of the coefficient of variation. Among potential advantages, security attacks on microservices can be detected through widely observable changes in the behavior of the microservices.

[0097] According to an example implementation, for each of the multiple dimensions, statistical data, including a mean and a standard deviation, are determined. An expected range of measurements for each dimension can be determined based on the mean and the standard deviation. The measurements of a given sample can be compared to the corresponding expected range of measurements, and it can be determined based on the results of the comparison whether the given sample corresponds to a microburst. Among the potential advantages, security attacks on microservices can be detected through widely observable changes in the behavior of the microservices.

[0098] According to an example implementation, for a given expected measurement value range in the expected measurement value range, a predicted coefficient of variation of the measurement values ​​corresponding to the given expected measurement value range may be determined based on a first mean value in the mean values ​​and a first standard deviation in the standard deviations, and the given expected measurement value range may be determined based on the first mean value and the predicted coefficient of variation. Among potential advantages, security attacks on microservices may be detected through widely observable changes in the behavior of the microservices.

[0099] According to example implementations, the boundaries defining the expected range of measured values ​​may be adjusted based on the adjustment parameters.Among potential advantages, security attacks on microservices may be detected through widely observable changes in the behavior of the microservices.

[0100] According to example implementations, whether to initiate an inspection of a binary image associated with a microservice may be determined based on sensitive dependencies. Among potential advantages, security attacks on microservices may be detected through widely observable changes in the behavior of the microservices.

[0101] According to example implementations, the boundaries defining the expected range of measurement values ​​may be adjusted based on the adjustment parameters. An inspection of the binary image may be initiated, and in response to the inspection determining that the binary image is valid, the adjustment parameters may be adjusted. Among potential advantages, security attacks on a microservice may be detected through widely observable changes in the behavior of the microservice.

[0102] According to an example implementation, the metric includes at least one of a CPU utilization of the microservice, a temporary storage utilization of the microservice, a memory utilization of the microservice, or a network utilization of the microservice. Among potential advantages, security attacks on microservices can be detected through widely observable changes in the behavior of the microservices.

[0103] While the present disclosure has been described with respect to a limited number of embodiments, numerous modifications and variations of the present disclosure will become apparent to those skilled in the art having the benefit of this disclosure. The appended claims are intended to cover all such modifications and variations.

Claims

1. A non-transitory machine-readable storage medium storing machine-readable instructions, wherein the instructions, when executed by a machine, cause the machine to perform the following operations: Aggregate sample time series, where Each sample in the sample time series has a plurality of dimensions corresponding to respective indicators associated with the microservice, and each sample in the sample time series includes: for each dimension in the plurality of dimensions, a measurement value of the indicator corresponding to the dimension; determining statistics of the measurements of a first sample in the sample time series; Based on the statistical data, determining that a given sample in the sample time series corresponds to a microburst event; Determining a sensitive dependency of the indicator based on the measurement value of the given sample; and Determine whether the microservice has been subjected to a security attack based on the sensitive dependency.

2. The non-transitory machine-readable storage medium of claim 1, wherein: The statistical data includes a mean value and a standard deviation of the first sample; When executed by the machine, the instructions further cause the machine to perform the following operations: determining an expected range of corresponding measured values ​​for the given sample; as well as In response to determining that at least one of the corresponding measurements is outside of a corresponding range, the given sample is identified as corresponding to the microburst event.

3. The non-transitory machine-readable storage medium of claim 1, wherein: When executed by the machine, the instructions further cause the machine to perform the following operations: determining the coefficient of variation of the corresponding measurements of the given sample; and The sensitive dependency is determined based on the range of the coefficient of variation.

4. The non-transitory machine-readable storage medium of claim 1, wherein: When executed by the machine, the instructions further cause the machine to perform the following operations: For each dimension of the plurality of dimensions, determining a mean value and a standard deviation of the measurement values ​​of the first sample corresponding to the dimension; determining an expected range of measurement values ​​corresponding to each of the plurality of dimensions based on the mean and the standard deviation; For each dimension of the plurality of dimensions, comparing the measurement value of the given sample with a corresponding measurement value range; as well as Based on a result of the comparison, it is determined that the given sample corresponds to the microburst event.

5. The non-transitory machine-readable storage medium of claim 4, wherein: The instructions, when executed by the machine, further cause the machine to perform the following operations for a given expected measurement value range in the expected measurement value ranges: determining a predicted coefficient of variation of the measured values ​​corresponding to the given expected range of measured values ​​based on a first one of the means and a first one of the standard deviations; and The expected range of measured values ​​is determined based on the first mean and the predicted coefficient of variation.

6. The non-transitory machine-readable storage medium of claim 4, wherein: The instructions, when executed by the machine, further cause the machine to adjust boundaries defining the expected range of measured values ​​based on an adjustment parameter.

7. The non-transitory machine-readable storage medium of claim 1, wherein: The instructions, when executed by the machine, further cause the machine to determine whether to initiate an inspection of a binary image associated with the microservice based on the sensitive dependency.

8. The non-transitory machine-readable storage medium of claim 7, wherein: When executed by the machine, the instructions further cause the machine to perform the following operations: adjusting boundaries defining the expected range of measured values ​​based on an adjustment parameter; initiating an inspection of the binary image; and In response to the checking determining that the binary image is valid, the adjustment parameter is adjusted.

9. The non-transitory machine-readable storage medium of claim 1, wherein: The indicator includes at least one of a CPU utilization of the microservice, a temporary storage utilization of the microservice, a memory utilization of the microservice, or a network utilization of the microservice.

10. A method comprising: Aggregating observed samples in a sample time series by an observation engine, wherein each sample in the sample time series has a plurality of dimensions corresponding to corresponding indicators of a microservice, and each sample in the sample time series includes: for each dimension in the plurality of dimensions, a measurement value of the indicator corresponding to the dimension; Predicting, by the observation engine based on the observed sample, an expected range of corresponding measurement values ​​of a second sample in the sample time series; In response to determining, by the observation engine, that the measured value of the second sample is inconsistent with the expected range, determining, by the observation engine, whether the second sample corresponds to an entropy event based on a correlation of a change associated with the measured value of the second sample; and In response to determining that the second sample corresponds to an entropy event, initiating, by the observation engine, verification of a binary image associated with the microservice.

11. The method of claim 10, wherein: Determining that the measurement values ​​of the second sample are inconsistent with the expected range includes determining that a given measurement value among the measurement values ​​of the second sample is not within a corresponding expected range of the given measurement values.

12. The method of claim 10, wherein: Determining whether the second sample corresponds to an entropy event includes: determining a coefficient of variation of the measurements of the second sample; Determining the sensitive dependency of the indicator based on the coefficient of variation; and The sensitive dependency is compared to a threshold.

13. The method of claim 10, wherein: Determining a given expected range in the expected range includes: determining a predicted mean of the corresponding measured values ​​based on the observed samples; determining a predicted standard deviation of the corresponding measurement value based on the observed sample; and The given expected range is determined based on the predicted mean and the predicted standard deviation.

14. The method of claim 13, wherein: Determining the given expected range also includes: determining a predicted coefficient of variation based on the predicted mean and the predicted standard deviation; determining a lower boundary of the given expected range based on the predicted coefficient of variation; and An upper boundary of the given expected range is determined based on the predicted coefficient of variation.

15. The method of claim 14, wherein: Determining the lower boundary includes adjusting the lower boundary based on a boundary variation tolerance; and Determining the upper boundary includes adjusting the upper boundary based on the boundary variation tolerance.

16. The method of claim 10, wherein: The indicator includes at least one of a CPU utilization of the microservice, a memory utilization of the microservice, a temporary storage utilization of the microservice, or a network utilization of the microservice.

17. A computer platform comprising: a host processor for executing instructions associated with an application operating environment and for executing instructions for providing microservices associated with the application operating environment; as well as An intelligent input / output (I / O) peripheral device for providing I / O services, wherein the intelligent I / O peripheral device includes an observation engine, wherein the observation engine is used to: Aggregating a measurement value vector time series, wherein each measurement value vector in the measurement value vector time series has a plurality of dimensions corresponding to respective metrics of the microservice, and each measurement value vector in the vector time series includes: for each dimension of the plurality of dimensions, a measurement value of an associated metric corresponding to the dimension; identifying a given measurement value vector in the time series of measurement value vectors based on statistical data derived from other measurement value vectors in the time series of measurement value vectors; determining a coefficient of variation of the measurements of the given measurement vector; Determining the sensitive dependency relationship between the indicators based on the coefficient of variation; and Determine whether to initiate an action to verify the integrity of the microservice based on the sensitive dependency.

18. The computer platform of claim 17, wherein: The observation engine is used to determine the maximum value of the coefficient of variation, determine the minimum value of the coefficient of variation, and determine the sensitive dependency based on the maximum value and the minimum value.

19. The computer platform of claim 17, wherein: The observation engine is also used to: determining an expected range of measurement values ​​for the given measurement value vector based on statistics determined for other measurement value vectors in the measurement value vector time series; Comparing whether the measurement value of the given measurement value vector meets the expected range; as well as The given measurement vector is identified based on the comparison.

20. The computer platform of claim 19, wherein: The measurement value vector time series has an associated time sampling rate; The observation engine adjusts the expected range based on a behavior change tolerance; The observation engine determines whether to initiate an action to verify the integrity of the microservice based on a comparison between the sensitive dependency and a sensitive dependency threshold; The observation engine initiates an action to verify the integrity of the microservice; as well as In response to the action confirming the integrity of the microservice, the observation engine modifies at least one of the time sampling rate, the behavior change tolerance, or the sensitive dependency threshold.

Citation Information

Cited By

  • Physical environment lightweight data acquisition method

    CN119984410A

  • A lightweight data collection method for physical environment

    CN119984410B