Detecting Cloud User Behavior Anomalies

The method uses cosine similarity and peer group analysis to detect anomalous user behavior in cloud environments, addressing the challenge of identifying unauthorized actions and privilege escalation across multiple cloud platforms, enhancing cloud security by providing real-time monitoring and alerting.

JP7576561B2Active Publication Date: 2024-10-31ORACLE INT CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021561816
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-01-23
Filing Date
2020-04-14
Publication Date
2024-10-31
Estimated Expiration
2040-04-14

AI Technical Summary

Technical Problem

Cloud security systems face challenges in detecting behavioral anomalies and privilege escalation of users without labeled datasets, requiring unsupervised machine learning methods to identify unauthorized actions across multiple cloud environments.

Method used

A method using cosine similarity scores and peer group analysis to detect anomalous user behavior by calculating action vectors and comparing them to baseline thresholds, without requiring prior knowledge of normal or abnormal actions, implemented through a Cloud Access Security Broker (CASB) that monitors and analyzes user actions across various cloud platforms.

Benefits of technology

Effectively identifies and flags anomalous actions and privilege escalation across different cloud applications, providing real-time monitoring and alerting capabilities to prevent security threats, without the need for labeled datasets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007576561000008
    Figure 0007576561000008
  • Figure 0007576561000009
    Figure 0007576561000009
  • Figure 0007576561000010
    Figure 0007576561000010
Patent Text Reader

Abstract

A method for detecting anomalous user behavior in a cloud environment includes calculating a first vector representing actions taken during a number of previous time intervals, calculating a similarity between the first vector and a second vector including a count of actions taken by the user during a current time interval, comparing the similarity to a baseline threshold to determine whether one or more anomalous actions have occurred, and generating an alert based at least in part on a determination that one or more anomalous actions have occurred in the cloud environment.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the benefit of the following U.S. provisional applications, each of which is incorporated herein by reference:

[0002] U.S. Provisional Application No. 62 / 835,980, filed on April 18, 2019, entitled “DETECTING BEHAVIOR ANOMALIES OF CLOUD USERS”; No. 62 / 835,993, filed on April 18, 2019, entitled “ENTROPY-BASED CLASSIFICATION OF HUMAN AND DIGITAL ENTITIES”; U.S. Provisional Application No. 62 / 835,983, filed on April 18, 2019 and entitled “DETECTING BEHAVIOR ANOMALIES OF CLOUD USERS FOR OUTLIER ACTIONS.”

[0003] This application also claims priority to the following commonly-assigned U.S. non-provisional applications, which are incorporated herein by reference:

[0004] No. 16 / 750,852, filed on January 23, 2020 and entitled “DETECTING BEHAVIOR ANOMALIES OF CLOUD USERS.”

[0005] This application is also related to the following commonly-assigned U.S. non-provisional applications, each of which is incorporated herein by reference:

[0006] No. 16 / 750,863, filed on January 23, 2020, and entitled “ENTROPY-BASED CLASSIFICATION OF HUMAN AND DIGITAL ENTITIES”; U.S. Non-provisional Application No. 16 / 750,874, filed on January 23, 2020, and entitled “DETECTING BEHAVIOR ANOMALIES OF CLOUD USERS FOR OUTLIER ACTIONS.” [Background technology]

[0007] background Cloud security requires the protection of customer data, applications, and infrastructure associated with cloud computing. Many aspects of security for cloud environments are similar to those for on-premise hardware and software. This is true for public, private, and / or hybrid clouds. Security issues of particular concern in cloud environments include unauthorized data exposure and leakage, weak access control, vulnerability to attacks, availability disruptions, denial of service attacks, etc. However, instead of managing physical servers and storage devices, cloud security systems often rely on software-based security tools to monitor and protect the flow of information to and from cloud resources. Thus, cloud computing security IP may include a comprehensive set of policies, technologies, applications, services, data, and other associated cloud computing infrastructure.

[0008] Security issues for cloud computing can be loosely separated into two broad categories: (1) security issues faced by customers who host applications and store data on the cloud, and (2) security issues faced by the cloud providers themselves. Cloud customer security issues can be aimed at preventing user privilege escalation, which describes a situation where a cloud user is assigned a limited set of permissions, but escalates their activities beyond the scope of the permissions for malicious purposes, such as using unsecured APIs, exploiting system and / or application vulnerabilities, utilizing poorly guarded personal information, or penetrating credential access controls. Summary of the Invention [Means for solving the problem]

[0009] overview In some embodiments, a method for detecting behavioral anomalies in a cloud environment may include calculating a first vector representing actions taken during a number of previous time intervals in the cloud environment, calculating a similarity between the first vector and a second vector including a count of actions taken during a current time interval, comparing the similarity to a baseline threshold to determine whether one or more anomalous actions have occurred, and generating an alert based at least in part on a determination that the one or more anomalous actions have occurred in the cloud environment.

[0010] In some embodiments, a non-transitory computer-readable medium may include instructions that, when executed by one or more processors, cause the one or more processors to perform operations including: calculating a first vector representing actions taken during a number of previous time intervals in a cloud environment, calculating a similarity between the first vector and a second vector that includes a count of actions taken during a current time interval, comparing the similarity to a baseline threshold to determine whether one or more anomalous actions have occurred, and generating an alert based at least in part on a determination that the one or more anomalous actions have occurred in the cloud environment.

[0011] In some embodiments, a system includes one or more processors and one or more memory devices including instructions that, when executed by the one or more processors, cause the one or more processors to perform operations including: calculating a first vector representing actions taken during a number of previous time intervals in a cloud environment; calculating a similarity between the first vector and a second vector including a count of actions taken during a current time interval; comparing the similarity to a baseline threshold to determine whether one or more anomalous actions have occurred; and generating an alert based at least in part on a determination that the one or more anomalous actions have occurred in the cloud environment.

[0012] In any embodiment, any of the following features may be included in any combination without limitation, none of the following features may be included in any combination without limitation, or all of the following features may be included in any combination without limitation. The similarity may be calculated using cosine similarity. Each entry in the first vector may include an average event score during a number of previous time intervals. Each of the number of previous time intervals may be one day. The number of previous time intervals may include a window of at least 60 days. The number of previous time intervals may include a sliding window of a number of days. The sliding window of a number of days may add a current time interval to the sliding window of a number of days after each time interval and remove an oldest time interval from the sliding window of a number of days. The first vector may represent actions taken during a number of previous time intervals by storing a histogram of event counts for each of the number of previous time intervals. The method / operation may also include a step / operation of comparing the similarity to an upper threshold to further determine whether one or more anomalous actions have occurred. The baseline threshold may characterize the similarity as suspicious and the upper threshold may characterize the similarity as indicative of a threat. The upper threshold may be determined based on a predetermined number of standard deviations about the mean calculated in the first vector. The upper threshold may be represented by a neural network that receives the similarity as an input. The baseline threshold may be represented by a neural network that receives the similarity as an input. The baseline threshold may be determined using a peer group analysis of users similar to the current user. The method / operation may also include a step / operation of comparing one or more values ​​in the second vector to one or more action scores associated with the one or more values. Each of the one or more action scores may represent a likelihood that the action is a malicious action indicative of a threat. The second vector may include a count of actions taken with respect to a particular resource. The values ​​in the first vector may be weighted according to the day of the week on which the action occurred. The second vector may include a count of actions taken against a particular user.

[0013] BRIEF DESCRIPTION OF THE DRAWINGS The nature and advantages of various embodiments may be further understood by reference to remaining portions of the specification and the accompanying drawings, in which like reference numerals are used to refer to like components throughout the several views. In some cases, a sub-label is associated with a reference numeral to indicate one of multiple similar components. When referring to a reference numeral without specifying an existing sub-label, it is intended to refer to all of such multiple similar components. [Brief description of the drawings]

[0014] [Figure 1A] FIG. 1 illustrates a Cloud Access Security Broker (CASB) that may be used to identify user behavior anomalies for several different cloud customers, according to some embodiments. [Figure 1B] FIG. 1 illustrates an alternative architecture for implementing a CASB in an Infrastructure as a Service (IaaS) system, according to some embodiments. [Figure 1C] FIG. 2 illustrates some of the various configuration controls that may be monitored by a CASB, according to some embodiments. [Diagram 2] FIG. 1 illustrates how data is passed from a particular cloud environment to a CASB, according to some embodiments. [Figure 3A] FIG. 2 illustrates how actions taken by a particular user are stored by a CASB and analyzed over time. [Figure 3B] FIG. 2 illustrates an example of a histogram memory that may be incremented by an event, according to some embodiments. [Figure 4] FIG. 13 illustrates an average activity window compared to the current day, according to some embodiments. [Figure 5A] 1 is a flow chart of a method for detecting anomalous user behavior in a cloud environment, according to some embodiments. [Figure 5B] 1 is a flow chart for generating a suspicious event score according to some embodiments. [Figure 6] FIG. 1 is a simplified block diagram illustrating a distributed system for implementing some of the embodiments. [Figure 7] FIG. 1 is a simplified block diagram illustrating components of a system environment in which services provided by components of the system of one embodiment may be offered as cloud services. [Figure 8] FIG. 1 illustrates an example computer system upon which various embodiments may be implemented. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Detailed Description Described herein are embodiments for detecting cloud user behavioral anomalies by combining cosine similarity scores with cybersecurity domain expertise. The technique can detect cloud user behavioral anomalies without a labeled dataset, as tested in a production cloud environment. This unsupervised machine learning approach does not require prior knowledge of normal and / or anomalous behaviors or actions. The approach also does not require user information such as privilege levels, job functions, or action permissions. The approach is designed to successfully detect (1) anomalous actions of cloud users, including user privilege escalation behaviors, and (2) excessive privilege actions across all cloud tenants in various cloud applications or services. As described in more detail below, behavioral anomalies can be identified using peer group analysis.

[0016] FIG. 1A illustrates a Cloud Access Security Broker (CASB) 100 that may be used to identify user behavior anomalies across several different cloud customers, according to some embodiments. CASB 100 is a cloud service that may provide visibility across the cloud stack and act as a security automation tool. CASB 100 may enable continuous monitoring of activity simultaneously in real time across multiple different cloud environments. This may include monitoring configurations and transactions to identify behavior anomalies and patterns of behavior for fraud or violations across cloud applications. A set of security policies may be used to discover and prevent unwanted actions on sensitive content in the cloud environment. These security policies allow administrators to configure CASB 100 to perform real-time content auditing, alerting, encryption, and / or quarantine in response to detected security threats. In addition to detecting threats, CASB 100 may also be configured to predict and visualize security threats before they occur by providing a dashboard showing current activity along with trends in predicted activity. When an anomaly is detected by CASB 100, the system can take measures and perform forensics to isolate, analyze, and contain known security threats.

[0017] CASB 100 may monitor multiple different cloud environments. For example, CASB 100 may interface with Oracle Cloud Infrastructure (OCI) 102, which can provide compute instances, networking, data storage, databases, cloud interconnect, edge services, load balancing, governance policies, data streaming, resource management, and other cloud-based services. In addition, CASB 100 may also interact with other cloud environments, such as Oracle's Human Capital Management (HCI) 104 suite, Amazon Web Services (AWS) 108, Microsoft Office 365 (MSO365) 106, and the like.

[0018] To monitor these various cloud environments, CASB 100 may be configured to receive real-time data monitoring streams for thousands of individual users. Assuming there are Q various cloud environments being monitored by CASB 100, and each of the Q environments contains N tenants, this may allow Q×N tenants to be monitored simultaneously. Furthermore, if each tenant contains at least M users, CASB 100 may monitor at least Q×N×M users simultaneously.

[0019] 1B illustrates an alternative architecture for implementing CASB 100 in an Infrastructure as a Service (IaaS) system, according to some embodiments. In contrast to FIG. 1A, this architecture places CASB 100 within the infrastructure of a particular cloud service. Having CASB 100 as part of the infrastructure gives CASB 100 more access to certain types of actions that occur within the infrastructure.

[0020] For example, in the multi-cloud environment of FIG. 1A, the CASB 100 monitored events that occurred at the application level in each of the various cloud environments. In the infrastructure-based architecture of FIG. 1B, the CASB 100 may instead receive events that occur at the resource level. For example, the CASB 100 may receive events that occur in association with a particular computational object 130 in the infrastructure. The CASB 100 may also receive events that occur in association with a particular network object 132 in the infrastructure. In addition, the CASB 100 may receive events that occur in association with a particular storage object 134 in the architecture. This architecture allows the CASB 100 to monitor events that occur when a resource is provisioned, initialized, used, or interacted with by a particular user. The architecture also allows the CASB 100 to monitor events based on users, resources, applications, objects, and / or any other entity in the infrastructure. Thus, events monitored per user are used in this disclosure merely as an example. Any of the techniques described below for monitoring events per user may also be monitored per resource. For example, events may be monitored for a particular computing object. If the computing object generates an event score indicative of a malicious anomaly, the computing resource may be shut down or other remedial action may be taken to minimize the perceived threat to the resource. Table 1, shown below, lists some of the cloud infrastructure controls that may be monitored by CASB 100.

[0021] [Table 1-1]

[0022] [Table 1-2]

[0023] [Table 1-3]

[0024] [Table 1-4]

[0025] [Table 1-5]

[0026] In some embodiments, the architecture in FIG. 1B may also cover the resource-configuration level of events. For example, a bucket instance may be created in which some object or resource may be stored in the architecture. When an action (e.g., initialize, use, delete, etc.) is taken on that object or resource in the bucket, an event may be generated that can be compared to a known baseline (e.g., industry baseline, per-user baseline, per-tenant baseline, etc.) for that event, as described in more detail below. This also allows the CASB 100 to monitor the state of individual resources. For example, if a bucket object is created and remains in a particular state for a predefined time window (e.g., 90 days), the state itself may be monitored and compared to a predefined baseline. Additionally, state changes may be monitored and compared to baselines and thresholds, as described below.

[0027] FIG. 1C illustrates some of the various configuration controls 160 that may be monitored by the CASB 100, according to some embodiments. The configuration controls 160 monitor configurations and states or specific resources that may generate events when the control conditions illustrated in FIG. 1C are met. For example, an alert may be generated if a load balancer SSL certificate expires within the next 45 days. In another example, an alert may be generated if a KMS key has not been rotated within a predefined expiration interval. In another example, an alert may be generated if an administrator's group contains more members than a predefined threshold. Each of these configurations illustrated in FIG. 1C may be monitored and used to generate alerts as illustrated.

[0028] FIG. 2 is a diagram illustrating how data is passed from a particular cloud environment to a CASB, according to some embodiments. In this example, a particular environment, such as an OCI environment 102, may periodically pass an active table 202 to the CASB 100 for analysis. The OCI environment 102 may be one of many cloud environments simultaneously monitored by the CASB 100 as shown in FIG. 1A. Alternatively or additionally, the OCI environment 102 may be part of the same IaaS architecture as the CASB 100, as shown in FIG. 1B. The activity table 202 may include multiple activity vectors or rows of data that describe actions taken by a particular user. Each row or vector may include a tenant ID, a user ID, a time, and / or the action taken, along with other data related to the particular action. For example, the activity table 202 includes a first row 204 for a “send email” action. The action took place at 12:34:56 PM and was performed by user #12442 in the cloud environment of tenant #10002. Because each row in activity table 202 may represent a single action, activity table 202 may contain thousands of entries over a time window to describe all of the actions for each user.

[0029] The data table 202 may be periodically transmitted from the environment to the CASB 100 at various intervals. For example, some embodiments may store a list of actions in the environment 102 during a predetermined time interval, such as one hour. Upon expiration of the predetermined time interval, the list of actions may be transmitted together as an activity table 202 to the CASB 100, such that the CASB 100 receives a new batch of actions to analyze every hour. Some embodiments may stream rows in the activity table 202 continuously over time. In these embodiments, the CASB 100 may continuously receive rows in the activity table 202 in real time as these rows are generated in the environment 102. Software applications such as Cassandra® or Kafka® may be used to stream these data to the CASB 100. Some embodiments may periodically transmit batches of rows to the CASB 100 during normal operating conditions, and dynamically adjust the frequency at which transmission occurs based on the results of analysis of the data at the CASB 100. For example, the activity table 202 may be transmitted once per hour until a serious behavioral anomaly is detected for one of the users. After the anomaly is detected, the time interval for transmitting the activity table 202 may be shortened by, for example, 50%, to transmit every 30 minutes. In another example, the default time interval of one hour may be increased after a predetermined time interval during which no anomalies are detected. Some embodiments may transmit rows in the activity table 202 when a predetermined number of rows are accumulated in the environment 102. For example, data rows may be stored in the environment 102 until 100 such rows are accumulated. At that time, these 100 rows in the activity table 202 may be transmitted to the CASB 100.

[0030] Note that the data in the activity table 202 does not need to be labeled. In other words, no row needs to be labeled as "normal" or "abnormal." Instead, the CASB 100 simply receives an indication that an action was taken, without any characterization of whether the action should be allowed or not. Furthermore, the CASB 100 does not need to receive information from any of the cloud environments in the form of criteria or guidance regarding what action types should be allowed, what privilege levels are valid in their environments, or how anomalies should be detected. The cloud environments simply send a list of actions to the CASB 100, and then rely on the CASB 100 to identify anomalies without adding any information. This process is complicated by the large number of tenants and users that may be monitored around the world.

[0031] The embodiments described herein overcome these challenges by developing user peer groups to detect behavioral anomalies of all cloud users and classify behavior as anomalous. In this new method, cosine similarity scores of cloud users' behaviors may be combined with an internally generated scoring system for some activities. These methods may be described as unsupervised machine learning methods since they do not require any labeled inputs or training datasets. This may be described as a machine learning algorithm that uses the cosine similarity scores as inputs to a model representing various baselines and thresholds to generate "anomalous" and / or "normal" outputs for each user, event, vector of events, etc.

[0032] Peer group analysis involves the process of categorizing users by their personal and / or digital characteristics. In this cloud security environment, this includes active directory attributes (i.e., title, job function, business unit, manager, etc.), the type of permissions assigned to the user in a given cloud application / service, his / her geographic location, his / her relationship to the company (contractor, employee, etc.), human-to-bot relationship, etc. A typical relationship between a user and a peer group is 1:N (i.e., one person can be associated with an indefinite amount of peer groups). As described below, various peer groups can be assigned to generate thresholds and baselines. Any and all of these peer groups described above can be used to calculate such baselines and thresholds.

[0033] The process of privilege escalation can be defined as a user who is legitimately assigned a limited set of permissions, and in some way, exploits privilege escalation for malicious purposes. Internal and external malicious actors may exploit privilege escalation to achieve some pre-planned objective through unsecured APIs, system / application vulnerabilities, weak identity, credential access control, and / or malicious insiders. Internal malicious actors exploit privilege escalation with normal credentials, but may perform actions beyond the permissions allowed by those credentials.

[0034] Peer group analysis is a process performed by some embodiments that uses historical data sets to make intelligent assumptions about a particular user. For example, the system may determine a particular user's prior actions as a means to categorize the user as an administrative or non-administrative user. A score table may be created after each resource-action pair is ranked by relative privilege and stored as a labeled dataset for machine learning and data science models related to privilege escalation as described below. Actions may be effectively ranked by using cloud application and / or service default IAM standards / policies as a means to categorize the privilege level required to complete a particular cloud event. For example, in OCI, criteria exist that create and / or edit policies may require administrative permissions since they dynamically assign administrative permissions to both individuals and / or groups. In another example, out-of-the-box permissions may provide some actions exclusively to the native tenant root administrator in AWS.

[0035] The CASB 100 may receive a list of actions performed by a particular user, as described above. The CASB 100 may then store and analyze each of these actions for each user. FIG. 3A shows actions taken by a particular user stored and analyzed by the CASB 100 over time. For example, the actions shown in FIG. 3 may be associated with user #12442 of FIG. 2. A first time interval may be used to generate a set of histograms 300 of actions taken during the first time interval. For example, the first time interval may be a day, such that all instances of each action are tabulated together for each day. The bins in the histograms 300 may represent separate activities. Thus, as a new activity record is received, the memory bin for that activity may be incremented. As a new day begins, a new array of memory locations for the histogram for the new day may be allocated or reset, with each memory location representing a bin for a particular user action. As actions are received during the new day, the new memory location may be incremented, while the previous memory location may remain unchanged as a historical record of the previous day's actions.

[0036] In FIG. 3A, each vertical column represents a histogram of user actions taken on a particular day. Each horizontal row represents a bin in the histogram 300 for each day. For example, on day 1, user #12442 might have sent 22 emails, and on day 2, user #12442 might have sent 25 emails. Note that since these values ​​are stored in the bins of the histogram 300, the specific times that these emails were sent do not need to be stored. Instead, only the action bin for that day needs to be incremented to indicate that an action occurred. In other embodiments, different time intervals may be used, such as hourly, 2 hourly, 6 hourly, 12 hourly, etc. Additionally, some embodiments may use different histograms for daytime hours versus overnight hours, or even weekdays versus weekends, etc.

[0037] The histogram 300 may include histograms for several different time intervals. For example, some histograms 300 may include histograms for 90 days, 120 days, 30 days, 45 days, etc. Some embodiments may use an analysis window 306 to select histograms for several previous days to compare with the histogram for the current day 308. Some embodiments may not need to store histograms for every time interval within the analysis window 306. Instead, these embodiments may combine the histograms for the time intervals within the analysis window 306 into a single histogram that represents all of the time intervals. For example, some embodiments may average the values ​​of each bin of the histograms for the time intervals within the analysis window 306 to compare with the current day 308.

[0038] For example, the analysis window 306 may include a 90-day sliding window that is used for comparison to the current day 308. Actions taken over the 90 days in the analysis window 306 may be averaged together to generate a single average histogram representing the previous 90 days. For the next day, the average value may be recalculated by subtracting the action count of the oldest day in the analysis window 306 and adding the actions of the current day 308. The length of the analysis window 306 may include any number of days, such as 14 days, 21 days, 30 days, 45 days, 60 days, 75 days, 90 days, 120 days, 6 months, 1 year, etc. Longer analysis windows may also include ranges of days, such as at least 14 days, at least 30 days, at least 45 days, at least 60 days, at least 75 days, at least 90 days, between 14 and 30 days, between 30 and 45 days, between 45 and 60 days, between 6 months and 1 year, at least 1 year, between 1 year and 2 years, etc.

[0039] 3B shows an example of a histogram memory that may be incremented by events, according to some embodiments. In this example, a 90-day analysis window is used as an example only. The 90-day window 354 may include a memory location for each event in each time interval within the 90-day window 354. For example, each day may include a memory location corresponding to each event.

[0040] To record new events for the current day, upcoming events may be received and processed using a number of different methods. In some embodiments, the system may periodically receive a log 360 that contains a list of events triggered by various users, resources, applications, etc. The log 360 may be parsed to identify the particular user / resource associated with each event. A histogram memory for the associated user / resource may then be identified and for each event recorded in the log 360, an event counter stored in a memory location for that event for that day may be incremented. A simple increment function 364 may be used to increment the value in the memory location with each event processed.

[0041] In some embodiments, the system may receive a real-time event stream 362 that is received as events are generated by the system. This may be used in particular in the IaaS architecture of FIG. 1B described above. A memory location may subscribe to a particular event stream for a resource, user, and / or event type. As new events are received, they may be directed to a particular memory location to increment an existing value. The value that is incremented may be a set of registers that represent the current date 358.

[0042] The 90-day window 354 may be processed at the end of each interval (e.g., at the end of each day) to calculate an average for the current 90-day window 354. An averaging function 366 may aggregate the event totals for each day in the histogram memory for each event type. The averaging function 366 may then divide this aggregate by the length of the 90-day window 354 to generate an average value 356 for each event type. The average value 356 may then be compared to the event count for the current day 358 to generate real-time alerts as events are processed. As mentioned above, some embodiments may subtract the last day 352 that falls outside the window (e.g., the 91st day) and add the most recent day to the current average value 356. This may minimize the mathematical operations performed by the system when aggregating multiple days in the 90-day window 354.

[0043] When moving to a subsequent time interval, such as the next calendar day, the system may shift the value from the current date 358 to the 90 day window 354 and may reset the value for the current date 358. The system may also update the average value 356 for the previous 90 day window by subtracting the 91st day 352 and adding the current date 358 divided by the length of the 90 day window 354.

[0044] FIG. 4 illustrates an average of an activity window 408 compared to a current day 308, according to some embodiments. As described above, the average of the activity window 408 may be calculated by aggregating the values ​​in each of the time bins for each of the daily histograms for each action type. This value may then be divided by the length of the analysis window 306 to generate the average values ​​shown in FIG. 4. Anomalies may then be partially detected by comparing the average of the activity window 408 to the action counts for the current day 308. As used herein, the terms "action" and "event" may be used interchangeably. An action may refer to a particular action taken by a user or against a particular resource, and an event may represent an indication generated for those actions. However, this disclosure and claims may use these two terms interchangeably.

[0045] Various statistical methods can be implemented to compare the activity window 408 average to the current day 308 actions. Some embodiments may calculate the Euclidean distance between each entry. Other embodiments may calculate the Hamming distance. The embodiment of FIG. 4 treats the histograms for the activity window 408 and the current day 308 average as data vectors. This example calculates a multidimensional cosine value between the two vectors 402 and 404 as an estimate of their similarity. This calculation may include calculating the dot product of the two vectors and dividing the result by the product of the magnitudes of the two vectors. The first vector may represent actions taken during multiple previous time intervals, such as the average of the analysis window described above. The second vector may include a count of actions taken during a current time interval, such as during the current day, by a particular user, on a particular resource, with a particular application, etc. A sample formula 406 is shown in FIG. 4. Pseudocode for calculating the similarity of two vectors is provided below.

[0046]

number

[0047] Calculating a measure of similarity between the two vectors 402 and 404 can be used to characterize anomalies in a user's behavior from day to day. In other words, if the activity taken by the user on the current day is significantly different from the average activity taken on the previous day, this may represent anomalous behavior. This characterization may be done without knowing whether individual actions are executable by the user. Users are typically given a set of permissions or privileges, referred to herein as "privilege levels." A user's privilege level allows them to take certain actions regardless of the consequences. However, "privilege escalation" occurs when a user takes an action that exceeds the actions permitted by their privilege level. However, CASB 100 is not aware of each user's privilege level and is not aware of which actions are associated with each privilege level. Thus, CASB 100 uses a comparison of current and previous user actions to identify actions that may indicate that the user is doing something outside of their permission level. This works on the premise that users will not act excessively beyond the scope of their privilege levels over time without being trapped in the customer's particular cloud environment. The CASB 100 can identify and flag such behavior before it becomes a pattern or excessive enough to trigger most internal customer cloud controls. The results can be characterized as the degree of similarity between the first vector and the second vector.

[0048] FIG. 5A illustrates a flowchart 500 for a method of detecting anomalous user behavior in a cloud environment, according to some embodiments. In step 502, an average action histogram may be calculated for the activity window, such as an average event score for each type of action occurring in the previous analysis window. This may be calculated by receiving and processing events specific to users, resources, applications, and / or other objects / entities in one or more cloud environments. The system may monitor many cloud environments simultaneously, as described above in FIG. 1A, or may be part of an IaaS cloud infrastructure, as described above in FIG. 1B. The average event score may be calculated by aggregating the event scores from individual time intervals within the analysis window and dividing this by the length of the window. In other embodiments, various statistical methods may be used to generate the event score in addition to the average score. For example, some embodiments may use a median or mode value. Some embodiments may remove various outliers that exceed an average threshold when calculating the event score. In some embodiments, the event scores for some days in the analysis window may be weighted more heavily than the event scores for other days (e.g., events that occur on weekends may be more suspicious than events that occur on work days). In some embodiments, this event score for the analysis window may be generated at the end of each interval within the analysis window (e.g., at the end of each day) so that events can be continuously compared to them as they occur on the next day. The analysis window may be a sliding window, as shown in Figure 3B above, where values ​​in the histogram fall off the trailing end of the window as new values ​​are added to the opposite end of the window.

[0049] In step 504, a similarity between the average event score for the activity window and the event score for the current day may be calculated. This similarity may include the cosine similarity function described above. However, cosine similarity is used only as an example and is not intended to be limiting. Other embodiments may use other similarity measures or functions to calculate the similarity between the average event score and the current event score. Some embodiments may use Euclidean distance or Manhattan distance. Some embodiments may use Minkowski distance. Some embodiments may use Jaccard similarity. In summary, any similarity measure may be used in comparing these two values.

[0050] In step 506, the similarity score may be compared to a baseline threshold to classify the user behavior as anomalous. The baseline threshold may represent a minimum threshold for evaluating the event score for the current day. For example, exceeding the baseline threshold may represent a first indication that an anomaly has occurred for this type of event for this user / resource / application, etc. This baseline threshold may be calculated using several different methods. In some embodiments, the baseline threshold may be calculated as a predetermined statistical difference from the event score for the activity window. For example, the baseline threshold may be a number of statistical deviations away from the average value of the activity window based on averaging. In some embodiments, the baseline threshold may be calculated using average values ​​that are aggregated for users, for a particular tenant, for users in an industry, for users monitored by the system in multiple cloud environments, and / or for any other peer groups mentioned above for peer group analysis.

[0051] In some embodiments, the baseline threshold may be dynamically calculated and adjusted using a machine learning algorithm. For example, the machine learning algorithm may include a neural network that receives an event score for the current day and an event score for the activity window. The neural network may also receive a similarity score calculated between these two event scores. The neural network may then output an indication of "normal" or "abnormal." The baseline threshold represented by the neural network may be adjusted over time as data is continuously provided to the network and used to train the network. For example, when an alert is generated, responses to the alert may be used as training inputs to determine whether the corresponding output of the neural network was correct (e.g., whether the alert generated a response action or whether it was suppressed).

[0052] Some embodiments may stop the analysis here and simply report the behavioral anomaly to the customer cloud environment. However, some embodiments may perform further analysis steps to better classify the anomalous behavior as acceptable or unacceptable anomalous behavior. In particular, some anomalous behaviors may not be a concern to consider, but rather may simply be behaviors that are not frequently performed by most users. For example, a first privilege level, such as a user privilege level, may allow a user to set acceptable domains. This action may be allowed at the user privilege level, but may be performed infrequently, such as once a month. Thus, any execution of this action may appear to be anomalous, although it is completely acceptable to the customer cloud environment.

[0053] The method may also include determining (510) whether the anomaly exceeds an upper threshold. The upper threshold may be calculated in a manner similar to how the baseline threshold was calculated, as described above. The upper threshold may characterize the event score as definitely not authenticated. These two thresholds together allow for a robust characterization of the event score. When the event score exceeds the baseline threshold, the event moves from being characterized as benign to being characterized as at least suspicious. As the event score continues to rise toward the upper threshold, suspicion regarding the event score may increase. When the event score eventually exceeds the upper threshold, an alert may be generated (512) to indicate that the event score represents a known anomaly associated with the user, resource, application, and / or other object.

[0054] For event scores that fall between the baseline threshold above the upper threshold, additional processing may be performed to determine if the suspicious event score should generate an alert. FIG. 5B illustrates a flowchart 550 for generating a suspicious event score, according to some embodiments. The flowchart 550 may be a continuation of the flowchart 500 described above. To further refine the process, some embodiments may generate and / or access an internal score table that provides a numerical score for each action in the action histogram. For example, the score may range from 1 to 100. The higher the score, the higher the assumed privilege level may need to be for the action to be allowed. For example, sending an email may have a score of 2, whereas instantiating a new business entity may have a score of 95. In general, the scores for the anomalous actions may be used to classify the anomalous actions as normal or anomalous.

[0055] Continuing with the flowchart 500, at step 520, a score database may be accessed. The score database may include a list of activity scores indicating the perceived severity of an action relative to other actions. With the similarity measure described above, the frequency of occurrence of an event is only compared to a baseline frequency based on historical use to train the model. However, this score may be more subjective and specifically related to the type of event rather than the frequency of occurrence of the event. Events that require a higher level of authorization or that entail more serious consequences for misuse may generally have a higher score. These events are less likely to be performed by a normal user.

[0056] The activity score database may be based at least in part on administrator inputs that characterize certain events. For example, an event related to the initiation of a new virtual cloud network (VCN) may have a higher score based on the administrator's knowledge that such events should be used infrequently and only performed by authorized users. In some embodiments, the activity score database may also be automatically generated and refined using machine learning algorithms. Based on feedback received after generating an alert, the activity score database may be adjusted to be more likely to accurately characterize the event score. For example, if a false alert is generated based on the event score, the corresponding activity score in the activity score database may be higher, whereas if the anomaly remains undetected, a smaller event score may result. A neural network may be used to represent the value of the activity score, where the output of the neural network is refined over time to dynamically adjust to the current characterization of the activity.

[0057] The score database may be stored as a score table. Scores may be generated internally by a machine learning algorithm that scores activities based on their relative frequency across multiple users. Some embodiments may also receive scores assigned by an administrator. In some embodiments, scores may range from a value of 0, representing a baseline score for the baseline threshold mentioned above, and a value of 100, representing the upper threshold mentioned above. Thus, the activity scores in the activity score database further characterize the event scores as possible anomalies between these two thresholds. An example score database or score table is shown below in Table 1. Note that this is a small subset of possible actions that may be present in the score table. In practice, the score table may include many more actions with associated scores.

[0058] [Table 2]

[0059] If the score of a particular anomalous action exceeds a predefined threshold in step 510 as determined by the activity score database, an alert may be generated in step 512. The predefined threshold may be generated in a number of different ways. In some embodiments, the threshold may be set statically. For example, any anomalous action with a score above 75 may be flagged to generate an alert. In some embodiments, the score of the action may be compared to the scores of other actions performed in the past. For example, if an anomalous action had a score of 90, but the user regularly performed actions in the past with similar high scores, the user may be assumed to have a higher privilege level that allows the execution of those high scoring actions. Thus, these high scoring actions, even if rarely performed, do not need to generate an alert because they were previously performed regularly, even if infrequently, for that user.

[0060] In step 512, an alert may be generated that describes the action taken as an anomaly and may provide additional information to the customer cloud environment. For example, the method may be executed using Python and various code libraries running on a Linux node using Ubuntu 16 or higher in the cloud. These code files may be triggered by a shell script to read a dictionary file of user actions and daily input files received from the various customer cloud environments. These daily input sets may be analyzed as described above to generate anomaly alert and explanation files, for example in CSV format. In addition, the user interface may display the alert and / or explanation for the cloud environment administrator. If no alert is generated, in step 514, the analysis may continue for the next time interval.

[0061] It should be appreciated that the specific steps illustrated in Figures 5A and 5B provide a particular method of detecting anomalous user behavior in a cloud environment according to various embodiments of the present invention. Other sequences of steps may be performed according to alternative embodiments. For example, alternative embodiments of the present invention may perform the steps outlined above in a different order. Additionally, the individual steps illustrated in Figures 5A and 5B may include multiple sub-steps that may be performed in various orders as appropriate for the individual steps. Additionally, additional steps may be added or removed depending on the particular application. Those skilled in the art will recognize many variations, modifications, and alternatives.

[0062] Each of the methods described herein may be implemented by a computer system. Each of the steps of these methods may be performed automatically by the computer system and / or may be provided with input / output involving a user. For example, a user may provide inputs for each step of the method, and each of these inputs may respond with a particular output that requests such input. In this case, the output is generated by the computer system. Each input may be received in response to a corresponding requested output. Furthermore, the inputs may be received from a user, received as a data stream from another computer system, retrieved from a memory location, retrieved over a network, requested from a web service, etc. Similarly, the outputs may be provided to a user, provided as a data stream to another computer system, stored in a memory location, transmitted over a network, provided to a web service, etc. In summary, each of the steps of the methods described herein may be performed by a computer system and may include any number of inputs / outputs to and / or requests on the computer system that may or may not involve a user. These steps that do not involve a user are said to be performed automatically by the computer system without human intervention. Thus, in light of this disclosure, it will be understood that the steps of each method described herein may be modified to include inputs to and outputs from a user, or may be performed automatically by a computer system without human intervention, where any decisions are made by a processor. Additionally, some embodiments of each method described herein may be implemented as a set of instructions stored on a tangible, non-transitory storage medium to form a tangible software product.

[0063] 6 shows a simplified diagram of a distributed system 600 for implementing one of the embodiments. In the illustrated embodiment, the distributed system 600 includes one or more client computing devices 602, 604, 606, and 608 configured to execute and operate client applications, such as web browsers, proprietary clients (e.g., Oracle Forms), etc., over one or more networks 610. A server 612 may be communicatively coupled to the remote client computing devices 602, 604, 606, and 608 over the network 610.

[0064] In various embodiments, server 612 may be adapted to execute one or more services or software applications provided by one or more of the system's components. In some embodiments, these services may be provided to users of client computing devices 602, 604, 606, and / or 608 as web-based or cloud services, or under a Software as a Service (SaaS) model. Users operating client computing devices 602, 604, 606, and / or 608 may then utilize one or more client applications to interact with server 612 to utilize the services provided by these components.

[0065] In the illustrated configuration, the software components 618, 620, and 622 of the system 600 are shown as being implemented on the server 612. In other embodiments, one or more of the components of the system 600 and / or the services provided by these components may be implemented by one or more of the client computing devices 602, 604, 606, and / or 608. A user operating a client computing device may then utilize one or more client applications to use the services provided by these components. These components may be implemented in hardware, firmware, software, or a combination thereof. It should be understood that a variety of different system configurations are possible that may differ from the distributed system 600. Thus, the illustrated embodiment is an example of a distributed system for implementing the embodiment system and is not intended to be limiting.

[0066] The client computing devices 602, 604, 606, and / or 608 may be portable handheld devices (e.g., iPhone®, mobile phone, iPad®, computing tablet, personal digital assistant (PDA)), or wearable devices (e.g., Google® Glass® head mounted display) and may run software such as Microsoft Windows Mobile® and / or various mobile operating systems such as iOS, Windows Phone, Android®, BlackBerry® 10, Palm OS, and may be capable of Internet, email, short message service (SMS), BlackBerry®, or other communications protocols. The client computing devices may be general purpose personal computers, including by way of example personal computers and / or laptop computers running various versions of Microsoft Windows®, Apple Macintosh®, and / or Linux® operating systems. The client computing device may be a workstation computer running any of the various commercially available UNIX or UNIX-like operating systems, including, but not limited to, various GNU / Linux operating systems such as Google Chrome OS.Alternatively or additionally, client computing devices 602, 604, 606 and 608 may be any other electronic device, such as a thin-client computer, an Internet-enabled gaming system (e.g., a Microsoft Xbox gaming console with or without a Kinect® gesture input device), and / or a personal messaging device, capable of communicating over network 610.

[0067] Although an exemplary distributed system 600 is shown with four client computing devices, any number of client computing devices may be supported. Other devices, such as devices with sensors, may interact with the server 612.

[0068] Network 610 in distributed system 600 may be any type of network familiar to those skilled in the art capable of supporting data communications using any of a variety of commercially available protocols, including, but not limited to, transmission control protocol / Internet protocol (TCP / IP), systems network architecture (SNA), Internet packet exchange (IPX), Apple Talk, etc. By way of example only, network 610 may be a local area network (LAN), such as one based on Ethernet, Token-Ring, etc. Network 610 may be a wide area network and the Internet. This may include virtual networks, including without limitation a virtual private network (VPN), an intranet, an extranet, a public switched telephone network (PSTN), an infrared network, a wireless network (e.g., a network operating under any of the Institute of Electrical and Electronics (IEEE) 802.11 protocol suite, Bluetooth, and / or any other wireless protocol), and / or any combination of these and / or other networks.

[0069] Servers 612 may be comprised of one or more general purpose computers, dedicated server computers (including, by way of example, PC (personal computer) servers, UNIX servers, mid-range servers, mainframe computers, rack-mounted servers, etc.), server farms, server clusters, or any other suitable configuration and / or combination. In various embodiments, servers 612 may be adapted to execute one or more services or software applications described in the foregoing disclosure. For example, servers 612 may correspond to servers for performing the above-described processes according to one embodiment of the present disclosure.

[0070] Server 612 may run an operating system, including any of those mentioned above, as well as any commercially available server operating system. Server 612 may also run any of a variety of additional server applications and / or mid-tier applications, including a hypertext transport protocol (HTTP) server, a file transfer protocol (FTP) server, a common gateway interface (CGI) server, a JAVA server, a database server, etc. Exemplary database servers include, without limitation, those commercially available from Oracle, Microsoft, Sybase, IBM (International Business Machines), etc.

[0071] In some implementations, the server 612 may include one or more applications for analyzing and consolidating data feeds and / or event updates received from users of the client computing devices 602, 604, 606, and 608. By way of example, the data feeds and / or event updates may include, but are not limited to, Twitter feeds, Facebook updates, or real-time updates received from one or more third party information sources and continuous data streams that may include real-time events related to sensor data applications, financial tickers, network performance measurement tools (e.g., network monitoring and traffic management applications), clickstream analysis tools, automobile traffic monitoring, etc. The server 612 may also include one or more applications for displaying the data feeds and / or real-time events via one or more display devices of the client computing devices 602, 604, 606, and 608.

[0072] Distributed system 600 may also include one or more databases 614 and 616. Databases 614 and 616 may reside in various locations. By way of example, one or more of databases 614 and 616 may reside on a non-transitory storage medium local to (and / or within) server 612. Alternatively, databases 614 and 616 may be remote from server 612 and communicate with server 612 via a network-based or dedicated connection. In one set of embodiments, databases 614 and 616 may reside on a storage-area network (SAN). Similarly, any necessary files to perform the functions ascribed to server 612 may be stored locally on server 612 and / or remotely, as appropriate. In one set of embodiments, databases 614 and 616 may include relational databases, such as those provided by Oracle, adapted to store, update, and retrieve data in response to SQL-formatted commands.

[0073] 7 is a simplified block diagram of one or more components of a system environment 700 that may provide services provided by one or more components of an embodiment system as cloud services, according to one embodiment of the disclosure. In the illustrated embodiment, the system environment 700 includes one or more client computing devices 704, 706, and 708 that may be used by a user to interact with a cloud infrastructure system 702 that provides cloud services. These client computing devices may be configured to run a client application, such as a web browser, a dedicated client application (e.g., Oracle Forms), or some other application, that may be used by a user of the client computing device to interact with the cloud infrastructure system 702 to use the services provided by the cloud infrastructure system 702.

[0074] It should be understood that the illustrated cloud infrastructure system 702 may have other components than those shown. Additionally, the illustrated embodiment is only one example of a cloud infrastructure system that may incorporate an embodiment of the present invention. In some other embodiments, cloud infrastructure system 702 may have more or fewer components than those shown, may combine two or more components, or may have components in a different configuration or arrangement.

[0075] The client computing devices 704 , 706 , and 708 may be devices similar to those described above for 602 , 604 , 606 , and 608 .

[0076] Although an exemplary system environment 700 is shown with three client computing devices, any number of client computing devices may be supported. Other devices, such as devices with sensors, may interact with the cloud infrastructure system 702.

[0077] Network 710 may facilitate communication and exchange of data between clients 704, 706, and 708 and cloud infrastructure system 702. Each network may be any type of network familiar to those skilled in the art capable of supporting data communications using any of a variety of commercially available protocols, including those described above for network 610.

[0078] Cloud infrastructure system 702 may include one or more computers and / or servers, which may include those described above for server 612.

[0079] In certain embodiments, the services provided by the cloud infrastructure system may include a number of services made available on demand to users of the cloud infrastructure system, such as online data storage and backup solutions, web-based email services, hosted office suites and document collaboration services, database processing, managed technical support services, and the like. The services provided by the cloud infrastructure system are dynamically scalable to meet the needs of its users. A particular instantiation of a service provided by the cloud infrastructure system is referred to herein as a "service instance." In general, any service made available to users from a cloud service provider's system over a communications network such as the Internet is referred to as a "cloud service." Typically, in a public cloud environment, the servers and systems that make up the cloud service provider's system are distinct from the customer's own on-premise servers and systems. For example, the cloud service provider's system may host applications, and users may order and use the applications on demand over a communications network such as the Internet.

[0080] In some examples, services in a computer network cloud infrastructure may include protected computer network access to storage, hosted databases, hosted web servers, software applications, or other services as provided to users by a cloud vendor or otherwise known in the art. For example, a service may include password-protected access to remote storage on the cloud over the Internet. As another example, a service may include a web-services-based hosted relational database and scripting language middleware engine for private use by a networked developer. As another example, a service may include access to an email software application hosted on a cloud vendor's website.

[0081] In one embodiment, cloud infrastructure system 702 may include a suite of application, middleware, and database service offerings that are delivered to customers in a self-service, subscription-based, elastically scalable, reliable, highly available, and secure manner. One example of such a cloud infrastructure system is the Oracle Public Cloud offered by the present assignee.

[0082] In various embodiments, cloud infrastructure system 702 may be adapted to automatically provision, manage, and track customer subscriptions to services provided by cloud infrastructure system 702. Cloud infrastructure system 702 may provide cloud services through various deployment models. For example, the services may be provided under a public cloud model, where cloud infrastructure system 702 is owned by an organization that sells cloud services (e.g., owned by Oracle) and the services are made available to the general public or various industry enterprises. As another example, the services may be provided under a private cloud model, where cloud infrastructure system 702 is run solely for a single organization and may provide services for one or more entities within that organization. Cloud services may also be provided under a community cloud model, where cloud infrastructure system 702 and the services provided by cloud infrastructure system 702 are shared by several organizations in a related community. Cloud services may also be provided under a hybrid cloud model, which is a combination of two or more different models.

[0083] In some embodiments, the services offered by cloud infrastructure system 702 may include one or more services offered under a Software as a Service (SaaS) category, a Platform as a Service (PaaS) category, an Infrastructure as a Service (IaaS) category, or other category of services including hybrid services. A customer may order one or more services offered by cloud infrastructure system 702 via a subscription order. Cloud infrastructure system 702 then processes to provide the services in the customer's subscription order.

[0084] In some embodiments, the services provided by the cloud infrastructure system 702 may include, without limitation, application services, platform services, and infrastructure services. In some examples, application services may be provided by the cloud infrastructure system via a SaaS platform. The SaaS platform may be configured to provide cloud services that fall under the SaaS category. For example, the SaaS platform may provide the ability to build and deliver a suite of on-demand applications on an integrated development and deployment platform. The SaaS platform may manage and control the underlying software and infrastructure for providing the SaaS services. By utilizing the services provided by the SaaS platform, customers can utilize applications that run on the cloud infrastructure system. Customers can obtain application services without the need for the customers to purchase separate licenses and support. A variety of different SaaS services may be provided. Examples include, without limitation, services that provide solutions for sales performance management, enterprise integration, and business flexibility for large organizations.

[0085] In some embodiments, platform services may be provided by the cloud infrastructure system via a PaaS platform. The PaaS platform may be configured to provide cloud services that fall under the PaaS category. Examples of platform services may include, without limitation, services that enable organizations (such as Oracle) to consolidate existing applications on a shared common architecture, and the ability to build new applications that leverage shared services provided by the platform. The PaaS platform may manage and control the underlying software and infrastructure for providing the PaaS services. Customers can obtain the PaaS services provided by the cloud infrastructure system without the customer having to purchase separate licenses and support. Examples of platform services include, without limitation, Oracle Java Cloud Service (JCS), Oracle Database Cloud Service (DBCS), and the like.

[0086] By utilizing the services provided by the PaaS platform, customers can adopt programming languages ​​and tools supported by the cloud infrastructure system as well as control the deployed services. In some embodiments, the platform services provided by the cloud infrastructure system may include database cloud services, middleware cloud services (e.g., Oracle Fusion Middleware services), and Java cloud services. In one embodiment, the database cloud services may support a shared service deployment model that allows organizations to pool database resources and provide database as a service to customers in the form of a database cloud. The middleware cloud services may provide a platform for customers to develop and deploy various business applications, and the Java cloud services may provide a platform for customers to deploy Java applications in the cloud infrastructure system.

[0087] In a cloud infrastructure system, a variety of different infrastructure services may be provided by the IaaS platform that facilitate management and control of basic computing resources, such as storage, network, and other underlying computing resources, for customers who use the services provided by the SaaS and PaaS platforms.

[0088] In particular embodiments, cloud infrastructure system 702 may also include infrastructure resources 730 for providing resources used to provide various services to customers of the cloud infrastructure system. In one embodiment, infrastructure resources 730 may include a pre-integrated and optimized combination of hardware, such as servers, storage, and networking resources for running the services offered by the PaaS and SaaS platforms.

[0089] In some embodiments, resources in cloud infrastructure system 702 may be shared by multiple users and dynamically reallocated per demand. In addition, resources may be allocated to users in various time periods. For example, cloud infrastructure system 730 may allow a first set of users in a first time period to utilize resources of the cloud infrastructure system for a certain number of hours and then reallocate the same resources to another set of users located in a different time period, thereby maximizing resource utilization.

[0090] In particular embodiments, a number of internal shared services 732 may be provided that are shared by various components or modules of cloud infrastructure system 702 as well as by services provided by cloud infrastructure system 702. These internal shared services may include, without limitation, security and identity services, integration services, enterprise repository services, enterprise manager services, virus scanning and whitelist services, high availability, backup and recovery services, services to enable cloud support, email services, notification services, file transfer services, and the like.

[0091] In particular embodiments, cloud infrastructure system 702 may provide comprehensive management of cloud services (e.g., SaaS, PaaS, and IaaS services) in the cloud infrastructure system. In one embodiment, cloud management functionality may include capabilities for provisioning, managing, and tracking customer subscriptions received by cloud infrastructure system 702 or the like.

[0092] In one embodiment, as shown, the cloud management functionality may be provided by one or more modules, such as an order management module 720, an order orchestration module 722, an order provisioning module 724, an order management and monitoring module 726, and an identity management module 728. These modules may include or be provided using one or more computers and / or servers, which may be general purpose computers, dedicated server computers, server farms, server clusters, or any other suitable configuration and / or combination.

[0093] In an example operation 734, a customer using a client device, such as client device 704, 706, or 708, may interact with cloud infrastructure system 702 by requesting one or more services offered by cloud infrastructure system 702 and placing a subscription order for one or more services offered by cloud infrastructure system 702. In particular embodiments, the customer may access a cloud user interface (UI), cloud UI 712, cloud UI 714, and / or cloud UI 716, and place the subscription order via these UIs. Order information received by cloud infrastructure system 702 in response to the customer placing the order may include information identifying the customer and the one or more services offered by cloud infrastructure system 702 for which the customer intends to subscribe.

[0094] After a customer places an order, order information is received via the cloud UI 712, 714, and / or 716.

[0095] In operation 736, the order is stored in order database 718. Order database 718 may be one of several databases operated by cloud infrastructure system 718 and in conjunction with other system elements.

[0096] At operation 738, the order information may be forwarded to the order management module 720. In some cases, the order management module 720 may be configured to perform billing and accounting functions related to the order, such as validating the order and booking the order after validation.

[0097] At operation 740, information regarding the order is communicated to the order orchestration module 722. The order orchestration module 722 may utilize the order information to orchestrate the provisioning of services and resources for the order placed by the customer. In some cases, the order orchestration module 722 may orchestrate the provisioning of resources to support the subscribed service using the services of the order provisioning module 724.

[0098] In certain embodiments, the order orchestration module 722 enables management of business processes associated with each order and applies business logic to determine whether the order should proceed to provisioning. In operation 1142, upon receiving an order for a new subscription, the order orchestration module 722 sends a request to the order provisioning module 724 to allocate resources and configure those resources required to fulfill the subscription order. The order provisioning module 724 enables the allocation of resources for services ordered by a customer. The order provisioning module 724 provides a level of abstraction between the cloud services provided by the cloud infrastructure system 700 and the physical implementation layer used to provision resources to provide the requested services. The order orchestration module 722 may thus be decoupled from implementation details such as whether services and resources are actually provisioned on the fly or whether they are pre-provisioned and allocated / allocated only upon request.

[0099] In operation 744 , once the services and resources have been provisioned, a notification of the rendered services may be sent by the order provisioning module 724 of the cloud infrastructure system 702 to the customer on the client device 704 , 706 , and / or 708 .

[0100] At operation 746, the customer's subscription order may be managed and tracked by the order management and monitoring module 726. In some cases, the order management and monitoring module 726 may be configured to collect usage statistics for the services in the subscription order, such as the amount of storage used, the amount of data transferred, the number of users, the amount of system uptime and system downtime, etc.

[0101] In particular embodiments, cloud infrastructure system 700 may include an identity management module 728. Identity management module 728 may be configured to provide identity services, such as access management and authentication services, in cloud infrastructure system 700. In some embodiments, identity management module 728 may control information about customers who wish to utilize services provided by cloud infrastructure system 702. Such information may include information authenticating the identity of such customers and information describing what actions those customers are authorized to perform on various system resources (e.g., files, directories, applications, communication ports, memory segments, etc.). Identity management module 728 may also include management of descriptive information about each customer and how that descriptive information may be accessed and modified and by whom.

[0102] 8 illustrates an exemplary computer system 800 upon which various embodiments of the present invention may be implemented. System 800 may be used to implement any of the computer systems described above. As shown, computer system 800 includes a processing unit 804 that communicates with several peripheral subsystems via a bus subsystem 802. These peripheral subsystems may include a processing accelerator 806, an I / O subsystem 808, a storage subsystem 818, and a communication subsystem 824. The storage subsystem 818 includes a tangible computer readable storage medium 822 and a system memory 810.

[0103] Bus subsystem 802 provides a mechanism for allowing the various components and subsystems of computer system 800 to communicate with each other as intended. Although bus subsystem 802 is shown diagrammatically as a single bus, alternative embodiments of the bus subsystem may utilize multiple buses. Bus subsystem 802 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. For example, such architectures may include an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus, which may be implemented as a mezzanine bus manufactured to the IEEE P1386.1 standard.

[0104] The processing unit 804, which may be implemented as one or more integrated circuits (e.g., conventional microprocessors or microcontrollers), controls the operation of the computer system 800. The processing unit 804 may include one or more processors. These processors may include single-core or multi-core processors. In particular embodiments, the processing unit 804 may be implemented as one or more independent processing units 832 and / or 834, each of which may include a single processor or a multi-core processor. In other embodiments, the processing unit 804 may also be implemented as a quad-core processing unit formed by integrating two dual-core processors into a single chip.

[0105] In various embodiments, the processor 804 can execute various programs in response to program code and can maintain multiple programs or processes running simultaneously. At any given time, some or all of the program code to be executed may reside in the processor 804 and / or the storage subsystem 818. Through suitable programming, the processor 804 can provide the various functions discussed above. The computer system 800 may additionally include a processing accelerator 806, which may include a digital signal processor (DSP), a special purpose processor, or the like.

[0106] The I / O subsystem 808 may include user interface input devices and user interface output devices. User interface input devices may include a keyboard, a pointing device such as a mouse or trackball, a touchpad or touch screen integrated into a display, a scroll wheel, a click wheel, a dial, a button, a switch, a keypad, a voice input device with a voice command recognition system, a microphone, and other types of input devices. User interface input devices may include motion sensing and / or gesture recognition devices, such as a Microsoft Kinect® motion sensor, that allows a user to control and interact with an input device, such as a Microsoft Xbox® 360 game controller, via a natural user interface using gestures and verbal commands. User interface input devices may also include eye gesture recognition devices, such as a Google Glass® blink detector, that detects eye activity from a user (e.g., "blinking" during picture taking and / or menu selection) and translates the eye gesture as input to an input device (e.g., Google Glass®). Additionally, the user interface input devices may include a voice recognition sensing device that allows a user to interact with a voice recognition system (eg, the Siri® navigator) through voice commands.

[0107] User interface input devices may also include, without limitation, three-dimensional (3D) mice, joysticks or pointing sticks, game pads and graphic tablets, as well as audio / visual devices such as speakers, digital cameras, digital video cameras, portable media players, webcams, image scanners, fingerprint scanners, barcode readers 3D scanners, 3D printers, laser range finders, and eye-tracking devices. In addition, user interface input devices may include medical imaging input devices such as, for example, computed tomography, magnetic resonance imaging, positron emission tomography, medical ultrasound, and the like. User interface input devices may also include audio input devices such as, for example, MIDI keyboards, digital musical instruments, and the like.

[0108] User interface output devices may include non-visual displays such as a display subsystem, indicator lights, or audio output devices. The display subsystem may be a flat panel device such as a display using a cathode ray tube (CRT), liquid crystal display (LCD) or plasma display, a projection device, a touch screen, etc. In general, use of the term "output device" is intended to include all possible types of devices and mechanisms for outputting information from computer system 800 to a user or to another computer. For example, user interface output devices may include, without limitation, a variety of display devices that visually convey text, graphics, and audio / visual information, such as monitors, printers, speakers, headphones, automobile navigation systems, plotters, audio output devices, and modems.

[0109] Computer system 800 may also include a storage subsystem 818 that includes software elements currently shown to be located in system memory 810. System memory 810 may store program instructions loadable and executable on processing unit 804, as well as data generated during the execution of these programs.

[0110] Depending on the configuration and type of computer system 800, the system memory 810 may be volatile (such as random access memory (RAM)) and / or non-volatile (such as read-only memory (ROM), flash memory, etc.). RAM typically contains data and / or program modules that are immediately accessible to and / or presently being operated on and executed by the processing unit 804. In some implementations, the system memory 810 may include a number of different types of memory, such as static random access memory (SRAM) or dynamic random access memory (DRAM). In some implementations, a basic input / output system (BIOS), containing the basic routines that help to transfer information between elements within the computer system 800, such as during start-up, may typically be stored in ROM. By way of example and not limitation, system memory 810 also illustrates application programs 812, which may include client applications, web browsers, mid-tier applications, relational database management systems (RDBMS), and the like, program data 814, and operating system 816.By way of example, operating system 816 may include various versions of the Microsoft Windows, Apple Macintosh, and / or Linux operating systems, various commercially available UNIX or UNIX-like operating systems (including, without limitation, various GNU / Linux operating systems, Google Chrome OS, etc.), and / or mobile operating systems such as iOS, Windows Phone, Android OS, BlackBerry 10 OS, Palm OS operating systems, etc.

[0111] The storage subsystem 818 may also provide a tangible computer-readable storage medium for storing data structures and basic programming that provide the functionality of some embodiments. Software (programs, code modules, instructions) that, when executed by a processor, provide the functionality described above may be stored in the storage subsystem 818. These software modules or instructions may be executed by the processing unit 804. The storage subsystem 818 may also comprise a repository for storing data used in accordance with the present invention.

[0112] Storage subsystem 800 may also include a computer readable storage medium reader 820 that may be further connected to a computer readable storage medium 822. Computer readable storage medium 822, along with and optionally in combination with system memory 810, may collectively represent storage media for containing, storing, transmitting and retrieving computer readable information on a temporary and / or more permanent basis, in addition to remote, local, fixed and / or removable storage devices.

[0113] The computer readable storage medium 822 containing the code or portions of code may also include any suitable medium known or used in the art, including storage and communication media, including but not limited to volatile and non-volatile, removable and non-removable media, implemented in any method or technology for storing and / or transmitting information. This may include tangible computer readable storage media, such as RAM, ROM, electronically erasable programmable ROM (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disk (DVD), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage, or other magnetic storage, or other tangible computer readable media. This may also include non-tangible computer readable media, such as data signals, data transmissions, or any other medium that may be used to transmit the desired information and that is accessible by computing system 800.

[0114] By way of example, the computer readable storage medium 822 may include a hard disk drive that reads from and writes to non-removable, non-volatile magnetic media, a magnetic disk drive that reads from and writes to removable, non-volatile magnetic media, and an optical disk drive that reads from and writes to removable, non-volatile optical disks such as CD ROMs, DVDs, Blu-Ray® disks, or other optical media. The computer readable storage medium 822 may include, but is not limited to, Zip® drives, flash memory cards, universal serial bus (USB) flash drives, secure digital (SD) cards, DVD disks, digital video tapes, and the like. The computer-readable storage media 822 may also include flash memory-based solid-state drives (SSDs), enterprise flash drives, SSDs based on non-volatile memory such as solid-state ROM, SSDs based on volatile memory such as solid-state RAM, dynamic RAM, static RAM, DRAM-based SSDs, magnetoresistive RAM (MRAM) SSDs, and hybrid SSDs using a combination of DRAM-based SSDs and flash memory-based SSDs. The disk drives and their associated computer-readable media may provide non-volatile storage of computer-readable instructions, data structures, program modules, and other data for the computer system 800.

[0115] The communications subsystem 824 provides an interface to other computer systems and networks. The communications subsystem 824 serves as an interface for receiving data from and transmitting data to other systems other than the computer system 800. For example, the communications subsystem 824 may enable the computer system 800 to connect to one or more devices via the Internet. In some embodiments, the communications subsystem 824 may include a radio frequency (RF) transceiver component for accessing wireless voice and / or data networks (e.g., using cellular technology, advanced data network technology such as 3G, 4G, or EDGE (enhanced data rates for global evolution), WiFi (IEEE 802.11 family of standards), or other mobile communications technologies, or any combination thereof), a global positioning system (GPS) receiver component, and / or other components. In some embodiments, the communications subsystem 824 may provide a wired network connection (e.g., Ethernet) in addition to or instead of a wireless interface.

[0116] In some embodiments, the communications subsystem 824 may also receive incoming communications in the form of structured and / or unstructured data feeds 826, event streams 828, event updates 830, etc., for one or more users who may be using the computer system 800.

[0117] As an example, the communications subsystem 824 may be configured to receive data feeds 826 in real time from users of social networks and / or other communications services, such as web feeds, such as Twitter feeds, Facebook updates, Rich Site Summary (RSS) feeds, and / or real-time updates from one or more third party sources.

[0118] In addition, the communications subsystem 824 may also be configured to receive data in the form of a continuous data stream, which may be continuous or infinite in nature with no apparent end, which may include an event stream 828 of real-time events and / or event updates 830. Examples of applications that generate continuous data may include, for example, sensor data applications, financial tickers, network performance measurement tools (e.g., network monitoring and traffic management applications), clickstream analysis tools, automobile traffic monitoring, and the like.

[0119] The communications subsystem 824 may also be configured to output structured and / or unstructured data feeds 826, event streams 828, event updates 830, etc. to one or more databases that may be in communication with one or more streaming data source computers coupled to the computer system 800.

[0120] The computer system 800 may be one of a variety of types, including a handheld mobile device (e.g., an iPhone® mobile phone, an iPad® computing tablet, a PDA), a wearable device (e.g., a Google Glass® head mounted display), a PC, a workstation, a mainframe, a kiosk, a server rack, or any other data processing system.

[0121] Due to the ever-changing nature of computers and networks, the description of computer system 800 shown in the figure is intended as only a specific example. Many other configurations having more or fewer components than the system shown in the figure are possible. For example, customized hardware may be used and / or particular elements may be implemented in hardware, firmware, software (including applets) or a combination. Additionally, connections to other computing devices, such as network input / output devices, may be employed. Based on the disclosure and teachings provided herein, one of ordinary skill in the art will recognize other ways and / or methods for implementing the various embodiments.

[0122] In the preceding description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of various embodiments of the present invention. However, it will be apparent to one skilled in the art that embodiments of the present invention may be practiced without some of these specific details. In other instances, well-known structures and devices are shown in block diagram form.

[0123] The foregoing description provides only exemplary embodiments and is not intended to limit the scope, applicability, or configuration of the present disclosure. Rather, the foregoing description of exemplary embodiments will provide those skilled in the art with an enabling description for implementing the exemplary embodiments. It should be understood that various changes can be made in the function and arrangement of elements without departing from the spirit and scope of the invention as set forth in the appended claims.

[0124] In the foregoing description, specific details are given to provide a thorough understanding of the embodiments. However, it will be understood by those skilled in the art that the embodiments may be practiced without these specific details. For example, circuits, systems, networks, processes, and other components may be shown as components in block diagram form so as not to obscure the embodiments in undue detail. In other instances, well-known circuits, processes, algorithms, structures, and techniques may be shown without unnecessary detail so as not to obscure the embodiments.

[0125] It should also be noted that the particular embodiments may be described as a process that is depicted as a flowchart, a flow diagram, a data flow diagram, a structure diagram, or a block diagram. Although a flowchart may describe operations as a sequential process, many of the operations may occur in parallel or simultaneously. Additionally, the order of operations may be rearranged. A process terminates when its operations are completed, but may have additional steps not included in the diagram. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, its termination may correspond to a return of the function to the calling function or to the main function.

[0126] The term "computer-readable medium" includes, but is not limited to, portable or fixed storage devices, optical storage devices, wireless channels, and various other media capable of storing, containing, or carrying instructions and / or data. A code segment or machine-executable instruction may represent a procedure, a function, a subprogram, a program, a routine, a subroutine, a module, a software package, a class, or any combination of instructions, data structures, or program statements. A code segment may be coupled to another code segment or a hardware circuit by passing and / or receiving information, data, arguments, parameters, or memory contents. Information, arguments, parameters, data, etc. may be passed, forwarded, or transmitted via any suitable means including memory sharing, message passing, token passing, network transmission, etc.

[0127] Furthermore, the embodiments may be implemented in hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware, or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine-readable medium. A processor may perform the necessary tasks.

[0128] In the foregoing specification, aspects of the invention have been described in relation to specific embodiments thereof, but those skilled in the art will recognize that the invention is not limited thereto. Various features and aspects of the invention described above may be used individually or together. Moreover, the embodiments may be utilized in any number of environments and applications beyond those described herein without departing from the broader spirit and scope of the specification. Accordingly, the specification and accompanying drawings should be regarded as illustrative rather than restrictive.

[0129] In addition, for purposes of illustration, the methods have been described in a particular order. It should be appreciated that in alternative embodiments, the methods may be performed in an order different from that described. It should also be appreciated that the methods described above may be performed by hardware components or embodied in a sequence of machine-executable instructions that may be used to cause a machine, such as a general-purpose or special-purpose processor, or a logic circuit programmed with instructions, to perform the method. These machine-executable instructions may be stored on one or more machine-readable media, such as a CD-ROM or other type of optical disk, a floppy diskette, a ROM, a RAM, an EPROM, an EEPROM, a magnetic or optical card, a flash memory, or other type of machine-readable medium suitable for storing electronic instructions. Alternatively, the method may be performed by a combination of hardware and software.

Claims

1. A method for detecting anomalous behavior by a user in a cloud environment, comprising: calculating a first vector representing an average count of actions taken by the user during a sliding window of a number of previous time intervals in the cloud environment; calculating a second vector by aggregating counts of actions taken by the user during a current time interval; calculating a similarity between the first vector and the second vector; comparing the similarity to a baseline threshold to determine if the second vector deviates from the first vector by more than the baseline threshold amount; accessing an activity score for generating an alert for an action on the second vector based at least in part on determining that the second vector deviates from the first vector by more than the baseline threshold amount; comparing the activity score to a threshold to determine whether one or more anomalous actions have occurred; generating an alert based at least in part on a determination that the one or more anomalous actions have occurred in the cloud environment.

2. The method of claim 1 , wherein the similarity is calculated using cosine similarity.

3. The method of claim 1 or 2, wherein each of the plurality of previous time intervals comprises one day.

4. The method of any one of claims 1 to 3, wherein said plurality of previous time intervals comprises a window of at least 60 days.

5. 5. The method of claim 1, wherein the sliding window of the previous time intervals comprises a sliding window of multiple days, and after each time interval, the sliding window of multiple days adds the current time interval to the sliding window of multiple days and removes the oldest time interval from the sliding window of multiple days.

6. 6. The method of claim 1, wherein the first vector represents actions taken during the multiple previous time intervals by storing a histogram of event counts for each of the multiple previous time intervals.

7. 1. A computer program comprising instructions that, when executed by one or more processors, cause the one or more processors to perform operations, the operations comprising: calculating a first vector representing an average count of actions taken by a user during a sliding window of a number of previous time intervals in the cloud environment; calculating a second vector by aggregating a count of actions taken by the user during a current time interval; An operation of calculating a similarity between the first vector and the second vector; comparing the similarity to a baseline threshold to determine whether the second vector deviates from the first vector by more than the baseline threshold amount; accessing an activity score for generating an alert for an action on the second vector based at least in part on determining that the second vector deviates from the first vector by more than the baseline threshold amount; comparing the activity score to a threshold to determine whether one or more anomalous actions have occurred; and generating an alert based at least in part on a determination that the one or more anomalous actions have occurred in the cloud environment.

8. The operation further comprises: The computer program product of claim 7 , further comprising comparing the similarity to an upper threshold to determine whether one or more anomalous actions have occurred.

9. The computer program product of claim 8 , wherein the baseline threshold characterizes the similarity as suspicious and the upper threshold characterizes the similarity as representing a threat.

10. The computer program product of claim 8 or 9, wherein the upper threshold is determined based on a predetermined number of standard deviations about the mean calculated in the first vector.

11. 10. A computer program product as claimed in claim 8 or 9, wherein the upper threshold is represented by a neural network that receives the similarity measure as input.

12. A computer program product according to any one of claims 7 to 11, wherein the baseline threshold is represented by a neural network that receives the similarity measure as input.

13. The computer program product of any one of claims 7 to 11, wherein the baseline threshold is determined using a peer group analysis of users similar to the current user.

14. 1. A system comprising: one or more processors; and one or more memory devices comprising instructions that, when executed by the one or more processors, cause the one or more processors to perform operations, the operations including: calculating a first vector representing an average count of actions taken by a user during a sliding window of a number of previous time intervals in the cloud environment; calculating a second vector by aggregating a count of actions taken by the user during a current time interval; An operation of calculating a similarity between the first vector and the second vector; comparing the similarity to a baseline threshold to determine whether the second vector deviates from the first vector by more than the baseline threshold amount; accessing an activity score for generating an alert for an action on the second vector based at least in part on determining that the second vector deviates from the first vector by more than the baseline threshold amount; comparing the activity score to a threshold to determine whether one or more anomalous actions have occurred; and generating an alert based at least in part on a determination that the one or more anomalous actions have occurred in the cloud environment.

15. The operation further comprises: The system of claim 14 , further comprising an operation of comparing one or more values ​​in the second vector to one or more action scores associated with the one or more values.

16. The system of claim 15 , wherein each of the one or more action scores represents a likelihood that the action is a malicious action representing a threat.

17. The system of any one of claims 14 to 16, wherein the second vector includes a count of actions taken on a particular resource.

18. The system of any one of claims 14 to 17, wherein the values ​​in the first vector are weighted depending on the day of the week on which an action occurs.

19. The system of any one of claims 14 to 18, wherein the second vector comprises a count of actions taken for a particular user.

Citation Information

Patent Citations

  • Operation monitoring system and operation monitoring program

    JP2010211257A

  • White list generating apparatus

    JP2018106634A

  • Internal malware data item clustering and analysis

    US20160006749A1

  • Method for predicting and characterizing cyber attacks

    US20180004948A1

  • Method and system for detecting abusive behavior in hosted services

    US9942255B1