Detecting Cloud User Behavior Anomalies Regarding Outlier Actions
Patent Information
- Application Number
- JP2021561804
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-01-23
- Filing Date
- 2020-04-14
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-04-14
Smart Images

Figure 0007539408000020 
Figure 0007539408000024 
Figure 0007539408000017
Abstract
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] U.S. Non-provisional Application No. 16 / 750,852, filed on January 23, 2020, and entitled “DETECTING BEHAVIOR ANOMALIES OF CLOUD USERS FOR OUTLIER ACTIONS.”
[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,852, filed on January 23, 2020 and entitled “DETECTING BEHAVIOR ANOMALIES OF CLOUD USER”; U.S. Non-provisional Application No. 16 / 750,863, filed on January 23, 2020, and entitled “ENTROPY-BASED CLASSIFICATION OF HUMAN AND DIGITAL ENTITIES.” [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 anomalous user behavior in a cloud environment includes receiving a count of actions taken in a current time interval in a cloud environment, determining whether the count of actions when taken across a peer group is greater than a statistical characterization of a previous time by more than a threshold amount, determining whether the action represents an outlier, and generating an alert based on a determination of whether the action represents an outlier.
[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 receiving a count of actions taken in a current time interval in a cloud environment, determining whether the count of actions, if taken across a peer group, is greater than a statistical characterization of a prior time by more than a threshold amount, determining whether the action represents an outlier, and generating an alert based on a determination of whether the action represents an outlier.
[0011] In some embodiments, a system may include 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 receiving a count of actions taken in a current time interval in a cloud environment, determining whether the count of actions, when taken across a peer group, is greater than a statistical characterization of a prior time by more than a threshold amount, determining whether the action represents an outlier, and generating an alert based on a determination of whether the action represents an outlier.
[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 count of actions taken during the current time interval may include a count of a single action type performed by a single user. The count of actions taken during the current time interval may include a count of a single action type performed on a single resource. The method / operations may also include generating the count of actions taken during the current time interval by aggregating multiple actions by a single user or on a single resource from an action log recorded during the current time interval. A threshold amount may include a predetermined number of standard deviations above the statistical characterization of the previous time when the action was performed across the peer group. The step / action of determining whether the count of the actions is greater than a threshold amount may include providing the count of the actions and the type of the actions to a neural network and receiving an output from the neural network indicating whether the action represents an outlier. The neural network may be trained with the count of the actions, the type of the actions, and a response to the alert. The method / action may also include calculating a first vector representing actions taken during a number of previous time intervals in the cloud environment and calculating a similarity between the first vector and a second vector including a count of actions taken during a current time interval. The second vector may also include the count of the actions. The method / action may further include 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.The similarity may be calculated using cosine similarity. Each entry in the first vector may include an average event score during the multiple previous time intervals. Each of the multiple previous time intervals may include one day. The multiple previous time intervals may include a sliding window of multiple days. The sliding window of multiple days may add the current time interval to the sliding window of multiple days after each time interval and remove the oldest time interval from the sliding window of multiple days. The first vector may represent actions taken during the multiple previous time intervals by storing a histogram of event counts for each of the multiple previous time intervals. The step / act of determining whether the action represents an outlier may include a step / act of performing a second determination as to whether the count of the action is greater than a global average of action counts multiplied by a scale factor for the action. The step / operation of determining whether the action represents an outlier may include calculating the scale factor as a ratio of a local average of action counts to the global average of action counts. The step / operation of determining whether the action represents an outlier may include replacing an existing scale factor if the scale factor is greater than the existing scale factor for the action. The actions may include several emails sent by a particular user. The actions may include several folders created by 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 6A] FIG. 2 illustrates two data vectors describing a user action, according to some embodiments. [Figure 6B] FIG. 1 illustrates a method for detecting individual outliers in comparison to a sliding activity window for a single object, according to some embodiments. [Figure 7A] FIG. 13 illustrates a formula that may be used to adjust thresholds based on larger peer groups, according to some embodiments. [Figure 7B] 1 is a flowchart of a method for detecting outliers, according to some embodiments. [Figure 8] FIG. 1 is a simplified block diagram illustrating a distributed system for implementing some of the embodiments. [Figure 9] 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 10] 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 so 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 this 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." Rather, the CASB 100 simply receives an indication that an action has been 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 some statistical deviation 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 a user, 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 group as described above for peer group analysis. However, in these embodiments, a "peer group" may include actions from the same user or actions on the same resource performed in a previous time interval. Thus, a "peer group" may include actions taken by the same user in the sliding activity window described above.
[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] Outliers at low score levels In some embodiments, the method may combine the knowledge-based filter with a calculated score of the mean and standard deviation of all corresponding action counts among all cloud users across the entire cloud tenant. The method further includes the unsupervised learning technique described above to distinguish itself from existing clustering methods (K-means, nearest neighbor, etc.). The technique is configured to identify outliers that would not be considered anomalous when using the algorithm described above. For example, actions taken by a user that are well within the expected range of the user's privilege level will not be identified as anomalous. However, actions taken within the range of the users' privilege level may still be of concern to the client. If a user takes a certain type of action much more than usual, this may be a cause for concern. For example, a user sending thousands of emails more than usual may indicate corporate espionage or a denial of service attack.
[0063] 6A illustrates two data vectors describing user actions, according to some embodiments. The first vector 402 represents the average actions taken over the previous 90-day window 408. The second vector 604 represents the actions taken during the current day 602. Note that the action counts from the current day 602 are all within an acceptable range of the average action counts from the 90-day window 408, except for the email action 604. In the current day 602, there has been a more than ten-fold increase in the number of emails sent. The algorithm described above is unlikely to identify these email actions 604 as outliers because they are typically approved for this user's privilege level, but the total number as outliers may be of concern.
[0064] Recall that in the process described above in connection with the flowcharts of Figures 5A and 5B, the method compared a vector of actions from a current time interval to a vector of actions averaged over a sliding activity window. The similarity scores described above can detect global patterns of suspicious behavior from a single user or for a single resource / application. The process treated each action count in the vector as a coordinate in an N-degree space and then used a similarity criterion (e.g., a cosine similarity criterion) to determine the similarity of the two vectors. This vector similarity served as a proxy for considering the actions collectively in their entirety. Thus, the process can detect deviations in the global pattern of actions that may be missed by comparing individual actions to an average or threshold.
[0065] However, the process described above in connection with the flowcharts of Figures 5A and 5B may miss individual outliers that signal suspicious behavior in a single action category. Because the similarity criterion globally compares the similarity of two vectors, individual coordinates in the vector representing individual actions in a collection of actions may be missed. For example, a single outlier action, such as email action 604 in Figure 6, may be "smoothed" when blended with the remaining similarities of the actions in the action vector. Thus, some embodiments may detect individual outlier actions in addition to detecting overall similarities in the action vector. Individual outliers may be detected by comparing to a sliding activity window, by comparing to an average action count across a single tenant, by comparing to an average action count across multiple tenants, by comparing to an average action count across multiple cloud environments, and / or by comparing to any other peer group.
[0066] 6B illustrates a method for detecting individual outliers in comparison to a sliding activity window for a single object, according to some embodiments. As discussed above, the single object in this method may represent a user, a resource, an application, and / or any other object to which actions may be attributed in a cloud environment. The method of flowchart 600 illustrates how actions in a current time interval may be compared to an average action from a sliding activity window for that object.
[0067] The method may include a step (620) beginning at any time in the flowcharts of Figures 5A and 5B. For example, the method in flowchart 600 may be performed before the similarity is calculated (504), before or after the comparison to the baseline threshold (506), before or after the comparison to the upper threshold (510), before or after the alert is generated (512), before or after the activity score database is accessed (520) and / or the activity score is compared to a score from the database (522), and / or at any other time in these flowcharts. Flowchart 600 may also be performed before or after the flowcharts of Figures 5A and 5B.
[0068] The method may also include comparing (622) the actions from the current time interval to corresponding actions from the sliding activity window. In some embodiments, the actions from the sliding activity window may represent the mean, mode, median, and / or any other statistical characterization of the action counts in the sliding activity window. For brevity, this disclosure may refer to this characterization as the "average." However, wherever in this disclosure "average" is used as an example, other embodiments may substitute the average in place of any other statistical measure or characterization of the action counts in the sliding activity window. This comparison may be made in real time as actions are added to the action counts of the current time interval. Additionally, this comparison may be made at the end of the current time interval (e.g., end of day) or when receiving a batch of actions in the action log.
[0069] The method may additionally include determining (624) whether the action count in the current time interval exceeds a statistical characterization of the action count from the sliding activity window by more than a threshold amount. For example, a small deviation from the average action count may be within the normal activity range. If a user sends an average of 25 emails per day during the sliding activity window, sending 45 emails during the current day may not need to escalate to the level of an actionable alert item. However, if the user sends 245 emails during the current day, this may exceed the average action count of the sliding activity window enough to trigger an alert.
[0070] The threshold at which the action count for the current day may exceed the average action count from the sliding activity window may be set individually for each action type and may be dynamically updated at run time. For example, some embodiments may assign different thresholds to different action types. Different thresholds may be determined based on the severity of the consequences of action misuse. For example, the system may use scores from the activity score database (520) of FIG. 5B to inversely scale the threshold used for each activity based on the scores from this score database. Higher scores representing higher consequence actions may lower the threshold so that even smaller deviations from the average action count may trigger an alert.
[0071] In some embodiments, the thresholds may be represented by individual neural networks for each action type. The neural networks may receive as input the action type and the action counts for the current time interval. The output of the neural networks may include at least two outputs indicating whether the action counts from the current day should trigger an alert. In addition, the neural networks may be trained using these action counts as training data sets. These data sets may be later labeled based on the response to the generated alert. For example, if an alert is generated and suppressed by an administrator, this data set may be automatically labeled as a "no alert" data set to train the neural network. In addition, if an alert is generated when not detected by the neural network, this data set may be labeled as an "alert" data set to train the neural network. Correctly determined alerts may also be used to train the neural network.
[0072] The method may further include determining whether additional actions remain in the action vector (626). If additional actions remain, the system may move on to the next action and may iterate through each of the actions until the action counts for each action type in the action vector have been analyzed for outliers. For example, individual action counts from the current time interval may be compared to the action counts in the activity window (622).
[0073] In some embodiments, if a single action count from the current time interval exceeds its corresponding threshold, the system may generate an alert (628). After an alert is generated, the system may then determine if additional actions remain in the action vector (626) and may proceed to further process each action individually. In other embodiments, processing may terminate after an alert is generated. For example, if a user / resource / application is identified as a security threat, actions associated with that user / resource / application may be stopped, thereby eliminating the need to continue analyzing the action vector for outlier anomalies. In other embodiments, an alert may be generated for each action count for an object that exceeds its corresponding threshold. Each action may be associated with a particular type of alert or different scales of alerts, so that some alerts may be generated with minimal consequences, while others may shut down the system or implement other drastic remedial measures. Thus, processing may continue (630) until an alert is generated and a remedial action is taken such that further processing is unnecessary.
[0074] It should be appreciated that the particular steps illustrated in FIG. 6B provide a particular method for detecting outlier behavior in a cloud environment according to various embodiments. 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, individual steps illustrated in FIG. 6B may include multiple sub-steps that may be performed in various orders as appropriate for the individual step. 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.
[0075] The method described above in flowchart 600 identifies outliers by comparing actions from an object (e.g., user, resource, application) with previous actions from that same object. However, some embodiments may also combine knowledge-based filters with scores calculated from the mean and standard deviation of the corresponding action count values among various peer groups. As described above, these peer groups may be across a user type, across a single tenant, across a cloud environment, across multiple cloud environments, and / or may use other industry standards as a comparison baseline. As with the previous methods discussed in this disclosure, this method may be characterized as an unsupervised learning method and may also be distinguished from existing clustering methods. As described above, thresholds may be determined individually for each action and / or each user / resource / application. These embodiments also base these thresholds on statistical characterization of these various peer groups.
[0076] FIG. 7A illustrates formulas that may be used to adjust thresholds based on larger peer groups, according to some embodiments. These formulas may use vectors of action counts for a particular action across peer groups. Each of the thresholds T may be dynamically calculated using formula 702. For example, action(i) may represent a vector of action counts for a single action type, where each entry in the vector represents an action count from a particular user in the peer group. The average for an action may be calculated using an average function that uses standard mathematical operations to calculate an average from a vector of multiple values. This function may calculate a global average for the same action across all users i=1, 2, ..., M in the peer group.
[0077] In addition to calculating the average, the standard deviation may also be calculated across the peer group for a particular action. Equation 704 shows how to calculate the standard deviation, where N represents the number of users in the peer group and z may represent the average of all action counts for action (i). This may be calculated for the action counts of all users who performed the same action over the previous D days (D=60-120, with 90 as the default).
[0078] The formula 702 for calculating the threshold value includes an adjustable value N that can be dynamically adjusted based on data distribution characteristics, data bias, and covariance. For some vitamins, the value for this adjustable factor N can vary between 3 and 6.
[0079] The knowledge-based filter value may then be quantified by an action scale value defined as follows:
[0080] S(i,action(i)) = globalmean(action(i))·scalevalue(action(i)) where i=1,2,...,M. The scale values may be based on the following table: These conditions may then detect action outliers.
[0081] IF Count(action(i)) > Threshold(i, action(i)) AND Count(action(i)) > S(i, action(i)) THEN action(i) can be labeled as an outlier.
[0082] where T(i,action(i)) and S(i,action(i)) may be dynamically calculated based on raw data inputs from various peer groups, cloud applications, resources, etc.
[0083] The knowledge-based filter may measure the risk level of all known actions using a scale or numerical weighting. These numerical weightings can be automatically modified by cloud real-time data and / or administrator expertise. Examples of scores and weightings are shown in Table 2 below.
[0084] [Table 3]
[0085] The weights can be used to detect outliers if they meet two conditions: (1) the detected value is greater than the numeric value (representing the action risk level) multiplied by the global average value of the same action across all cloud tenants and users, and (2) it meets the outlier filter values in Table 2. This method can detect user action outliers in a given period and on any one day.
[0086] 7B shows a flowchart 700 of a method for detecting outliers according to some embodiments. The method may include receiving 710 actions from across the cloud environment and / or across other environments monitored by the system. As discussed above, various peer groups may be selected such that these actions are received with respect to users within a single tenant, users within a single cloud environment, users with a single application, actions performed on specific resources, actions performed on specific resources across cloud environments, and / or any other industry standards or groups that may be available.
[0087] The method may further include determining whether a first tier filter is satisfied (712). For example, the first tier filter may be implemented by determining whether the action count is at least X standard deviations above the global average for that action count. The value for X may be set to any value in various embodiments. This may act as a first level coarse filter for detecting outlier actions. If this filter is not met (e.g., if the action count is at least X standard deviations below the global average), it may be initially determined that the action count does not represent an outlier requiring an alert (722).
[0088] However, if the threshold is exceeded and the action count exceeds the global average by a specified amount, further processing may be performed. In this case, the method may further include calculating (714) a new scale table using a ratio of the action local average to the global average. The scale value may be recalculated by using local averages from the local peer group. The local average may also be calculated using the local average of the actions for this particular user / resource. The global average may be across a larger peer group, for example across tenants, across applications, across cloud environments, across industries, etc.
[0089] The method may also include constructing (716) a new scale table by combining new action scales if the recalculated scales exceed a threshold, thereby increasing the scale levels of various actions if the recalculation increases the scales, but the original action scales may be used if they are below the threshold.
[0090] After recalculating and constructing the new scale table, the method may include determining whether a second tier filter is satisfied (718). The second tier filter may compare the action count for the user / resource to a global average multiplied by the new action scale. If the action count exceeds this threshold, the method may output (720) a list of outlier users and / or actions, and appropriate alerts may be generated as necessary.
[0091] It should be appreciated that the particular steps illustrated in FIG. 7B provide a particular method of detecting outlier behavior in a cloud environment according to various embodiments. Other orders 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, individual steps illustrated in FIG. 7B may include multiple sub-steps that may be performed in various orders appropriate to the individual step. 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.
[0092] In addition to the flowchart 700 shown in Figure 7, the following pseudocode provides an example of how this algorithm may be implemented. The pseudocode is written in the Python programming language and shows one example of how to implement this multi-layer filter approach to identify outlier actions.
[0093] Pseudocode Example
[0094]
number
[0095] The following two examples show true outputs from real data from a Microsoft® O365 cloud application using the pseudocode listed above. In these examples, the user data is labeled "evntactor". The outputs listed below provide individual outputs for each outlier action (e.g., emails sent, folders created, etc.), with each outlier showing its historical behavior for a selected peer group. Finally, the outputs for both filter levels (e.g., method [1] and method [2]) are given. Note that in the second example, the action is very likely brought about by a bot, since it is unlikely that a person created 2,968 folders in a day.
[0096] Example output 1: …evntaction, resource, count, count_per_day, level, class, day Outliers: (Email) Sending, Exchange~MailFlow, 5724.0, 5724.0, 5.0, All_user, 1.0…(Today) Historical behavior: 447818.0, 4975.8, 5.0, All_user, 90.0…(previous 90 days) reason: Method [1] 5724 actions > Global action_mean + 3*action_std = 13.868 + 3*204.887 Method [2] 5724 actions > Global action_mean * Scale = 13.868*239.326 Example output 2: …evntaction,resource,count,count_per_day,level,class,day Outliers: FolderCreated, SharePoint / OneDrive~Folder, 2968.0, 2968.0, 7.0, All_user, 1.0...(Today) Historical behavior:SharePoint / OneDrive~Folder, 2918.0, 32.4, 7.0, All_user, 90.0,…(previous 90 days) reason: Method [1] 2968 actions > Global action_mean + 3*action_std = 1.924 + 3*22.366 Method [2] 2968 actions > Global action_mean * Scale = 1.924 * 885.518 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.
[0097] 8 shows a simplified diagram of a distributed system 800 for implementing one of the embodiments. In the illustrated embodiment, the distributed system 800 includes one or more client computing devices 802, 804, 806, and 808 configured to execute and operate client applications, such as web browsers, proprietary clients (e.g., Oracle Forms), etc., via one or more networks 810. A server 812 may be communicatively coupled to the remote client computing devices 802, 804, 806, and 808 via the network 810.
[0098] In various embodiments, server 812 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 802, 804, 806, and / or 808 as web-based or cloud services, or under a Software as a Service (SaaS) model. Users operating client computing devices 802, 804, 806, and / or 808 may then utilize one or more client applications to interact with server 812 to utilize the services provided by these components.
[0099] In the illustrated configuration, the software components 818, 820, and 822 of the system 800 are shown as being implemented on the server 812. In other embodiments, one or more of the components of the system 800 and / or the services provided by these components may be implemented by one or more of the client computing devices 802, 804, 806, and / or 808. 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 800. Thus, the illustrated embodiment is an example of a distributed system for implementing the embodiment system and is not intended to be limiting.
[0100] The client computing devices 802, 804, 806, and / or 808 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 the 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 802, 804, 806 and 808 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 810.
[0101] Although an exemplary distributed system 800 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 812.
[0102] Network 810 in distributed system 800 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 810 may be a local area network (LAN), such as one based on Ethernet, Token-Ring, etc. Network 810 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.
[0103] Servers 812 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 812 may be adapted to execute one or more services or software applications described in the foregoing disclosure. For example, servers 812 may correspond to servers for performing the above-described processes according to one embodiment of the present disclosure.
[0104] Server 812 may run an operating system, including any of those mentioned above, as well as any commercially available server operating system. Server 812 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.
[0105] In some implementations, server 812 may include one or more applications for analyzing and consolidating data feeds and / or event updates received from users of client computing devices 802, 804, 806, and 808. 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. Server 812 may also include one or more applications for displaying the data feeds and / or real-time events via one or more display devices of client computing devices 802, 804, 806, and 808.
[0106] Distributed system 800 may also include one or more databases 814 and 816. Databases 814 and 816 may reside in various locations. By way of example, one or more of databases 814 and 816 may reside on a non-transitory storage medium local to (and / or within) server 812. Alternatively, databases 814 and 816 may be remote from server 812 and communicate with server 812 via a network-based or dedicated connection. In one set of embodiments, databases 814 and 816 may reside on a storage-area network (SAN). Similarly, any necessary files to perform the functions ascribed to server 812 may be stored locally on server 812 and / or remotely, as appropriate. In one set of embodiments, databases 814 and 816 may include relational databases, such as those provided by Oracle, adapted to store, update, and retrieve data in response to SQL-formatted commands.
[0107] 9 is a simplified block diagram of one or more components of a system environment 900 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 900 includes one or more client computing devices 904, 906, and 908 that may be used by a user to interact with a cloud infrastructure system 902 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 902 to use the services provided by the cloud infrastructure system 902.
[0108] It should be understood that the illustrated cloud infrastructure system 902 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 902 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.
[0109] The client computing devices 904 , 906 , and 908 may be devices similar to those described above for 802 , 804 , 806 , and 808 .
[0110] Although an exemplary system environment 900 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 902.
[0111] Network 910 may facilitate communication and exchange of data between clients 904, 906, and 908 and cloud infrastructure system 902. 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 810.
[0112] Cloud infrastructure system 902 may include one or more computers and / or servers, which may include those described above for server 812.
[0113] 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.
[0114] 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.
[0115] In one embodiment, cloud infrastructure system 902 may include a suite of application, middleware, and database services 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.
[0116] In various embodiments, cloud infrastructure system 902 may be adapted to automatically provision, manage, and track customer subscriptions to services provided by cloud infrastructure system 902. Cloud infrastructure system 902 may provide cloud services through various deployment models. For example, the services may be provided under a public cloud model, where cloud infrastructure system 902 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 902 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 902 and the services provided by cloud infrastructure system 902 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.
[0117] In some embodiments, the services offered by cloud infrastructure system 902 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 902 via a subscription order. Cloud infrastructure system 902 then processes to provide the services in the customer's subscription order.
[0118] In some embodiments, the services provided by the cloud infrastructure system 902 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.
[0119] 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.
[0120] 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.
[0121] 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.
[0122] In particular embodiments, cloud infrastructure system 902 may also include infrastructure resources 930 for providing resources used to provide various services to customers of the cloud infrastructure system. In one embodiment, infrastructure resources 930 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.
[0123] In some embodiments, resources in cloud infrastructure system 902 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 930 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.
[0124] In particular embodiments, a number of internal shared services 932 may be provided that are shared by various components or modules of cloud infrastructure system 902 as well as by services provided by cloud infrastructure system 902. These internal shared services may include, without any 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, etc.
[0125] In particular embodiments, cloud infrastructure system 902 may provide comprehensive management of cloud services (e.g., SaaS, PaaS, and IaaS services) in the cloud infrastructure system. In one embodiment, cloud management functions may include capabilities for provisioning, managing, and tracking customer subscriptions received by cloud infrastructure system 902 or the like.
[0126] In one embodiment, as shown, the cloud management functionality may be provided by one or more modules, such as an order management module 920, an order orchestration module 922, an order provisioning module 924, an order management and monitoring module 926, and an identity management module 928. 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.
[0127] In an example operation 934, a customer using a client device, such as client device 904, 906, or 908, may interact with cloud infrastructure system 902 by requesting one or more services offered by cloud infrastructure system 902 and placing a subscription order for one or more services offered by cloud infrastructure system 902. In particular embodiments, the customer may access a cloud user interface (UI), cloud UI 912, cloud UI 914, and / or cloud UI 916, and place the subscription order via these UIs. Order information received by cloud infrastructure system 902 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 902 for which the customer intends to subscribe.
[0128] After a customer places an order, the order information is received via cloud UI 912, 914, and / or 916.
[0129] In operation 936, the order is stored in order database 918. Order database 918 may be one of several databases operated by cloud infrastructure system 918 and in conjunction with other system elements.
[0130] At operation 938, the order information may be forwarded to the order management module 920. In some cases, the order management module 920 may be configured to perform billing and accounting functions related to the order, such as validating the order and booking the order after validation.
[0131] At operation 940, information regarding the order is communicated to the order orchestration module 922. The order orchestration module 922 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 922 may orchestrate the provisioning of resources to support the subscribed service using the services of the order provisioning module 924.
[0132] In certain embodiments, the order orchestration module 922 enables management of business processes associated with each order and applies business logic to determine whether the order should proceed to provisioning. In operation 942, upon receiving an order for a new subscription, the order orchestration module 922 sends a request to the order provisioning module 924 to allocate resources and configure those resources required to fulfill the subscription order. The order provisioning module 924 enables the allocation of resources for services ordered by a customer. The order provisioning module 924 provides a level of abstraction between the cloud services provided by the cloud infrastructure system 900 and the physical implementation layer used to provision resources to provide the requested services. The order orchestration module 922 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.
[0133] At operation 944 , once the services and resources have been provisioned, a notification of the rendered services may be sent by the order provisioning module 924 of the cloud infrastructure system 902 to the customer on the client device 904 , 906 , and / or 908 .
[0134] At operation 946, the customer's subscription order may be managed and tracked by the order management and monitoring module 926. In some cases, the order management and monitoring module 926 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.
[0135] In particular embodiments, cloud infrastructure system 900 may include an identity management module 928. Identity management module 928 may be configured to provide identity services, such as access management and authentication services, in cloud infrastructure system 900. In some embodiments, identity management module 928 may control information about customers who wish to utilize services provided by cloud infrastructure system 902. 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 928 may also include management of descriptive information about each customer and how that descriptive information may be accessed and modified and by whom.
[0136] 10 illustrates an exemplary computer system 1000 upon which various embodiments of the present invention may be implemented. System 1000 may be used to implement any of the computer systems described above. As shown, computer system 1000 includes a processing unit 1004 that communicates with several peripheral subsystems via a bus subsystem 1002. These peripheral subsystems may include a processing acceleration unit 1006, an I / O subsystem 1008, a storage subsystem 1018, and a communication subsystem 1024. The storage subsystem 1018 includes a tangible computer readable storage medium 1022 and a system memory 1010.
[0137] Bus subsystem 1002 provides a mechanism for allowing the various components and subsystems of computer system 1000 to communicate with each other as intended. Although bus subsystem 1002 is shown diagrammatically as a single bus, alternative embodiments of the bus subsystem may utilize multiple buses. Bus subsystem 1002 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.
[0138] The processing unit 1004, which may be implemented as one or more integrated circuits (e.g., conventional microprocessors or microcontrollers), controls the operation of the computer system 1000. The processing unit 1004 may include one or more processors. These processors may include single-core or multi-core processors. In particular embodiments, the processing unit 1004 may be implemented as one or more independent processing units 1032 and / or 1034, each of which may include a single processor or a multi-core processor. In other embodiments, the processing unit 1004 may also be implemented as a quad-core processing unit formed by integrating two dual-core processors into a single chip.
[0139] In various embodiments, the processing unit 1004 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 on the processor 1004 and / or the storage subsystem 1018. Through suitable programming, the processor 1004 can provide the various functions discussed above. The computer system 1000 may additionally include a processing accelerator 1006, which may include a digital signal processor (DSP), a special purpose processor, or the like.
[0140] The I / O subsystem 1008 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 through 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.
[0141] 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.
[0142] 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 1000 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.
[0143] Computer system 1000 may also include a storage subsystem 1018 that includes software elements currently shown to be located in system memory 1010. System memory 1010 may store program instructions loadable and executable on processing unit 1004, as well as data generated during the execution of these programs.
[0144] Depending on the configuration and type of computer system 1000, the system memory 1010 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 1004. In some implementations, the system memory 1010 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 1000, such as during start-up, may typically be stored in ROM. By way of example and not limitation, system memory 1010 also illustrates application programs 1012, which may include client applications, web browsers, mid-tier applications, relational database management systems (RDBMS), and the like, program data 1014, and an operating system 1016.By way of example, operating system 1016 may include various versions of 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.
[0145] The storage subsystem 1018 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 1018. These software modules or instructions may be executed by the processing unit 1004. The storage subsystem 1018 may also comprise a repository for storing data used in accordance with the present invention.
[0146] Storage subsystem 1000 may also include a computer readable storage medium reader 1020 that may be further connected to a computer readable storage medium 1022. Computer readable storage medium 1022, along with and optionally in combination with system memory 1010, 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.
[0147] The computer readable storage medium 1022 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 cassette, 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 the computing system 1000.
[0148] By way of example, the computer readable storage medium 1022 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 1022 may include, but is not limited to, a Zip® drive, a flash memory card, a universal serial bus (USB) flash drive, a secure digital (SD) card, a DVD disk, a digital video tape, and the like. The computer-readable storage media 1022 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. 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 computer system 1000.
[0149] The communications subsystem 1024 provides an interface to other computer systems and networks. The communications subsystem 1024 serves as an interface for receiving data from and transmitting data to other systems other than the computer system 1000. For example, the communications subsystem 1024 may enable the computer system 1000 to connect to one or more devices via the Internet. In some embodiments, the communications subsystem 1024 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 1024 may provide a wired network connection (e.g., Ethernet) in addition to or instead of a wireless interface.
[0150] In some embodiments, the communications subsystem 1024 may also receive incoming communications in the form of structured and / or unstructured data feeds 1026, event streams 1028, event updates 1030, etc., for one or more users who may be using the computer system 1000.
[0151] As an example, the communications subsystem 1024 may be configured to receive data feeds 1026 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.
[0152] Additionally, the communications subsystem 1024 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 1028 of real-time events and / or event updates 1030. 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.
[0153] The communications subsystem 1024 may also be configured to output structured and / or unstructured data feeds 1026, event streams 1028, event updates 1030, etc. to one or more databases that may be in communication with one or more streaming data source computers coupled to the computer system 1000.
[0154] The computer system 1000 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.
[0155] Due to the ever-changing nature of computers and networks, the description of the computer system 1000 shown in the figures is intended as only a specific example. Many other configurations having more or fewer components than the system shown in the figures 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.
[0156] 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.
[0157] 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.
[0158] 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.
[0159] 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.
[0160] 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.
[0161] 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.
[0162] 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.
[0163] 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. 1. A method for detecting anomalous user behavior in a cloud environment, comprising: receiving a count of actions taken during a current time interval in a cloud environment; accessing a history of prior counts for an action taken across a peer group and generating a statistical characterization of the prior counts of the action based on a sliding window over the history of prior counts of the action across the peer group; performing a first determination as to whether the count of actions taken during the current time interval is greater than the statistical characterization of the previous count of actions taken across the peer group by more than a threshold amount; calculating a scale factor as a ratio of a local average of the action counts to a global average of the action counts; performing a second determination as to whether the count for the action is greater than a global average of the action counts multiplied by the scale factor for the action; determining that the action represents an outlier based on the first determination and the second determination; generating an alert based on a determination that the action represents an outlier.
2. The method of claim 1 , wherein the count of actions taken during the current time interval includes a count of a single action type performed by a single user.
3. The method of claim 1 or 2, wherein the count of actions taken during the current time interval includes a count of a single action type performed on a single resource.
4. 4. The method of claim 1, further comprising generating the count of actions taken during the current time interval by aggregating multiple actions by a single user or on a single resource from an action log recorded during the current time interval.
5. The method of any one of claims 1 to 4, wherein the threshold amount comprises a predetermined number of standard deviations above the statistical characterization of the previous time when the action is taken across the peer group.
6. The step of executing the first determination includes: providing the count of actions and the type of actions to a neural network; and receiving an output from the neural network indicating whether the action represents an outlier.
7. The method of claim 6 , wherein the neural network is trained with the counts of the actions, the types of the actions, and responses to the alerts.
8. 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 including: receiving a count of actions taken during a current time interval in a cloud environment; accessing a history of prior counts for an action taken across a peer group and generating a statistical characterization of the prior counts of the action based on a sliding window over the history of prior counts of the action across the peer group; performing a first determination as to whether the count of actions taken during the current time interval is greater than the statistical characterization of the previous count of actions taken across the peer group by more than a threshold amount; Calculating a scale factor as a ratio of the local average of the action counts to the global average of the action counts; performing a second determination as to whether the count for the action is greater than a global average of the action counts multiplied by the scale factor for the action; determining that the action represents an outlier based on the first determination and the second determination; and generating an alert based on a determination that the action represents an outlier.
9. The operation further comprises: calculating a first vector representing actions taken during a plurality of previous time intervals in the cloud environment; and calculating a similarity between the first vector and a second vector including a count of actions taken during a current time interval, the second vector also including the count of the actions, the operations further comprising: 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 determining that the one or more anomalous actions occurred in the cloud environment.
10. The computer program product according to claim 9 , wherein the similarity is calculated using a cosine similarity.
11. 11. The computer program product of claim 9 or 10, wherein each entry in the first vector comprises an average event score during the multiple previous time intervals.
12. The computer program product of any one of claims 9 to 11, wherein each of the plurality of previous time intervals comprises one day.
13. 13. The computer program product of claim 9, wherein the plurality of previous time intervals comprises a sliding window of a plurality of days, and wherein after each time interval, the sliding window of a plurality of days adds the current time interval to the sliding window of a plurality of days and removes an oldest time interval from the sliding window of a plurality of days.
14. 14. The computer program product of claim 9, wherein the first vector represents actions taken during the plurality of previous time intervals by storing a histogram of event counts for each of the plurality of previous time intervals.
15. 1. A system comprising: one or more processors; and one or more memory devices containing instructions that, when executed by the one or more processors, cause the one or more processors to perform operations, the operations including: receiving a count of actions taken during a current time interval in a cloud environment; accessing a history of prior counts for an action taken across a peer group and generating a statistical characterization of the prior counts of the action based on a sliding window over the history of prior counts of the action across the peer group; performing a first determination as to whether the count of actions taken during the current time interval is greater than the statistical characterization of the previous count of actions taken across the peer group by more than a threshold amount; Calculating a scale factor as a ratio of the local average of the action counts to the global average of the action counts; performing a second determination as to whether the count for the action is greater than a global average of the action counts multiplied by the scale factor for the action; determining that the action represents an outlier based on the first determination and the second determination; and generating an alert based on a determination that the action represents an outlier.
16. Determining whether the action represents an outlier includes: The system of claim 15 , further comprising: if the scale factor is greater than an existing scale factor for the action, replacing the existing scale factor.
17. The system of claim 15 or 16, wherein the actions include a number of emails sent by a particular user.
18. The system according to any one of claims 15 to 17, wherein the actions include a number of folders created by a particular user.
19. The operation further comprises: calculating a first vector representing actions taken during a plurality of previous time intervals in the cloud environment; and calculating a similarity between the first vector and a second vector including a count of actions taken during a current time interval, the second vector also including the count of the actions, the operations further comprising: 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.
20. Executing the first determination includes: providing the count of actions and the type of actions to a neural network; and receiving an output from the neural network indicating whether the action represents an outlier.
Citation Information
Patent Citations
Unauthorized operation monitoring device, unauthorized operation monitoring method, unauthorized operation monitoring program, and unauthorized operation monitoring system
JP2018081655A
Method and apparatus for detecting anomaly based on behavior-analysis
US20180114016A1
Intelligent security management
US20180248895A1
Features generation for use in computer network intrusion detection
US6671811B1
