Monitoring User Activities

With the maturity of cloud, usages of the Cloud Computing is rocketing as they are offering enrich services at affordable price. It's normal that an organization having multiple subscriptions and multiple users' managing it. Azure logs every user's activities that are performed against its resources including the action performed by pre-defined code using Runbook. What so ever the error collection domain the Microsoft gives, I prefer to group this into two. Logs auto-generated by System/Application or User Activates Log, which will trigger the previous logs.

In this blog, I will discuss how user activities can be traced down to the various events so that anomalies (defined by the organizational norms) can be detected.

User Login

User's identity could be cloud only, federated or hybrid. Depending on their identity model, Azure Active directory will handle the authentication or will forward to the identity handler. For example, if ADFS is in place, then it will redirect the request to the federated server. Once the user proves themselves who they are based on their claim, user's will get access to their system. As the session is established, RBAC will determine their ability to perform an action against resources. All these activities can be monitored. Navigate to the Azure AD blade from the portal, and then Sign In. You can customize the data you want to retrieve back based on the retention period you define. Based on its machine learning algorithm, Auditing these activities will give us more insight of user login activities and trace down anomalies. This equally applies to Office365 as well as Azure as it usages single source of authentication. You could find the user's who have not logged in for several months or needs removal so that you may free some license and save cost.

Risky Sign-Ins

Azure AD detects and logs the Risky Sign-Ins event which can be viewed/downloaded from Portal. All typical locations of Azure AD (Free and Basic, Premium 1, Premium 2) supports this features however for more detail report we must acquire the premium license. Its always good to have this enabled for all users or at least for all privileged user account. This process can be automated by applying policies on how to handle such event. It usages it's adaptive machine learning algorithm to detect such event based on the past user's sign-ins records. These events could be Users with leaked credentials, Sign-Ins from anonymous IP Addresses, Impossible travel to atypical locations, Sign-Ins from infected devices, Sing-Ins from IP Address with suspicious activity, Sign-Ins from unfamiliar locations.

Actions Performed Against Resources

Privilege user can create, modify and delete resources. We can audit those activities using the Azure Monitor service. Log analytics, Activities Log, Network Watcher is useful when analyzing that information and apply alert to similar activities if performed again. Information such as who initiated an event, which IP was used can be traced down. OMS organized and visualize such events including system health of devices being monitored. Lots of quantitate analysis can be performed on the data collected by log analytics. Such data can be transferred to third-party visualization tools. Security Poster Assessment has to be performed regularly based on the data collected.

Comments

Popular posts from this blog

Deploy Palo Alto in Azure

Demystifying System and User Define Routes of Azure

Azure Private DNS Zone - App Service Environment V2 Step by step - Part 2