M4: Incident Management

This module guides you through the SOC Analyst experience using Microsoft Sentinel's incident management capabilities.

Prerequisites

This module assumes that you have completed Module 1, as the data and the artifacts that we will be using in this module need to be deployed on your Microsoft Sentinel instance.

Exercise 1: Review Microsoft Sentinel incident tools and capabilities

As a SOC analyst, the entry point to consume Security incidents (tickets) in Sentinel is the Incident page.

  1. In the left navigation menu click on Incidents to open the incidents page. This page will show by default all the open incidents in the last 24hr.

  2. When we want to change the time window, present only incident from specific severity or to see also closed incident, we can use the filters bar:

  1. On the incident page select the Sign-ins from IPs that attempt sign-ins to disabled accounts incident. In the right pane you can see the incident preview with the high level information about the incident.

  2. As you are the SME SOC analyst that deal and investigate tickets, you need to take ownership on this incident. On the right pane, change the unassigned to Assign to me and also change the status from New to Active.

  1. Another way to consume incidents and also get high level view on the general SOC health is through the Security efficiency workbook.

We have 2 options to open the workbook:

  • Through the top navigation, this will open the workbook general view, where we see overall statistics on the incidents.

  • Through the incident itself, that will open the same workbook on a different tab, and present the information and lifecycle for the given incident.

  1. Review the dashboard.

Exercise 2: Handling Incident "Sign-ins from IPs that attempt sign-ins to disabled accounts"

  1. Open Azure Sentinel incident page.

  2. Locate the incident "Sign-ins from IPs that attempt sign-ins to disabled accounts"

  3. Press on the incident and look on the right pane for the incident preview, please notice that in this pane we are surfacing the incident entities that belong to this incident.

  4. Take ownership on the incident and change its status to Active

  5. Navigate to incident full details by pressing View full details and execute playbook to bring Geo IP data (user will notice tags being added).

  6. Navigate to the Alerts tab and press the number of Events. This action will redirect you to Raw logs that will present the alert evidence to support the investigation

  1. In raw log search, expend the received event and review the column and data we received, this properties will help us to decide if this incident is correlated to other events.

  1. To get more context for this IP, we want to add GEO IP enrichment. In a real life SOC this operation will run automatically, but for this lab we want you to run it manually.

  • Navigate back to the incident full page to the alert tab and scroll to the right

  • To view the relevant automation that will assist us with the enrichment operation, Press view playbook

  1. Locate the playbook Get-GeoFromIpAndTagIncident and press Run. If the playbook is configured correctly, it should finish in a couple of seconds.

  2. Navigate back to the main incident page and notice to new tags that added to the incident.

** Bonus : Open the resource group for Sentinel deployment, locate the playbook and look on the last playbook run to review the execution steps.

  1. As this enrichment information increases your concern, you want to check other traces of this IP in your network. For this investigation you want to use the investigation workbook.

  2. In the left navigation press Workbooks and select My Workbooks

  1. To open the Investigation Insights - sentinel-training-ws saved Workbook, in the right page press View saved workbook

  2. Validate that in the properties selector, your workspace is set on sentinel-training-ws and the subscription is the subscription that hosts your Microsoft Sentinel Lab.

  1. As the subject of the investigation is the suspicious IP from North Korea. we want to see all the activity done by this IP so in the properties selector, switch on the investigate by to Entity.

  2. in the Investigate IP Address Tab, add the suspicious IP.

  1. Under the activity Detail we see many successful logins from this IP with the user Adele, and also some failed logins to disabled account from last day/hours

  2. We copy the User adelev@m365x816222.onmicrosoft.com and validate it in our internal HR system, from the information we collected its seems that Adele is part of the security Red team, and this suspicious is part of the exercise.

  3. As the red team exercise discovered by us, the SOC manager ask us to add this IP to the whitelisting IP's, that we will not trigger incident on it any more.

  4. On the main incident page, select the relevant incident and press Actions - > Create automation Rule

  1. In the new screen, we will see all the incident identifiers ( the IP, and the specific Analytics rule), as the Red Team exercise will finish in 48 hr., adapt the rule expiration till the end of the drill, and press Apply.

  1. As this incident consider as benign, we go back to the main incident page, and close the incident with the right classification.

Exercise 3: Handling "Solorigate Network Beacon" incident

  1. If not already there, navigate to Incidents view in Microsoft Sentinel

  2. From the list of active incidents, select "Solorigate Network Beacon" incident. If you can't find it, use the search bar or adjust the time filter at the top. Don't worry if you see more than one.

  1. Assign the incident to yourself and click Apply.

  1. Read the description of the incident. As you can see, one of the domain IOCs related to Solorigate attack has been found. In this case, domain avsvmcloud.com is involved.

  2. Optionally, you can click on View full details to drill down to inspect the raw events that triggered this alert. For that, click on Link to LA as shown in the screenshot:

  1. As you can see, the events were originated in Cisco Umbrella DNS, and the analytic rule uses Microsoft Sentinel Information Model (ASIM) to normalize these events from any DNS source. Read more about ASIM and the DNS schema.

Exercise 4: Hunting for more evidence ( Optional - Not for all )

  1. As a next step, you would like to identify the hosts that might have been compromised. As part of your research, you find the following guidance from Microsoft. In this article, you can find a query that will do a SolarWinds inventory check query. We will use this query to find any other affected hosts.

  2. Switch to Hunting in the Microsoft Sentinel menu.

  1. In the search box, type "solorigate". Select Solorigate Inventory check query and click on Run Query.

  1. You should see a total of three results. Click on View Results

  1. As you can see, besides ClienPC, there's two additional computers where the malicious DLL and named pipe has been found. Bookmark all three records, selecting them and then click on Add bookmark.

  1. In the window that appears click on Create to create the bookmarks. As you can see entity mapping to already done for you.

  1. Wait until the operation finishes and close the log search using the ✖ at the top right corner. This will land you in the Bookmarks tab inside Hunting menu, where you should see your two new bookmarks created. Select both of them and click on Incident actions at the top and then Add to existing incident.

  1. From the list, pick the Solorigate incident that is assigned to you, and click Add.

  1. At this point you can ask the Operations team to isolate the hosts affected by this incident.

Exercise 5: Add IOC to Threat Intelligence ( Optional - Not for all )

Now, we will add the IP address related to the incident to our list of IOCs, so we can capture any new occurrences of this IOC in our logs.

  1. Go back to Incidents view.

  2. Select the Solorigate incident and copy the IP address entity involved. Notice that you have now more computer entities available (the ones coming from the bookmarks).

  1. Go to the Threat Intelligence menu in Microsoft Sentinel and click Add new at the top.

  1. Enter the following details in the New indicator dialog, with Valid from being today's date and Valid until being two months after. Then click Apply.

Exercise 6: Handover incident ( Optional - Not for all )

We will now prepare the incident for handover to forensics team.

  1. Go to Incidents and select the Solorigate incident assigned to you. Click on View full details.

  2. Move to the Comments tab.

  1. Enter information about all the steps performed. As an example:

  1. At this point you would hand over the incident to forensics team.

You can now continue to Module 5 - Hunting

Last updated