Incident Investigation and Triage
Earn 25 points (50 with Pro) in two steps
- ① Read through the lesson — each section gets a ✓ as you scroll through it.
- ② When every section has a ✓, tap Complete lesson.
0 of 10 read · keep scrolling
✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro
Lesson: Incident Investigation and Triage in Microsoft Sentinel
Introduction: The Critical Role of Incident Management
In the modern landscape of cybersecurity, the sheer volume of telemetry generated by cloud environments, endpoints, and identity providers is staggering. Security Operations Center (SOC) analysts are often overwhelmed by "alert fatigue," where the noise of false positives drowns out the signal of a genuine attack. This is where Microsoft Sentinel, a cloud-native Security Information and Event Management (SIEM) system, becomes an indispensable tool. Incident investigation and triage represent the core workflow of any SOC; it is the process of filtering through raw data, identifying meaningful threats, and determining the appropriate response before damage occurs.
Why does this matter? Because attackers operate at machine speed. By the time a human analyst manually correlates logs across three different systems, an adversary may have already achieved persistence or exfiltrated sensitive data. Mastering incident management within Sentinel allows you to pivot from reactive firefighting to structured, data-driven investigation. This lesson focuses on the mechanics of triage, the art of investigation, and the technical implementation of these processes within the Sentinel environment. By the end of this lesson, you will understand how to transform raw alerts into actionable intelligence.
Not read yet
Understanding the Sentinel Incident Lifecycle
Before diving into the technical steps, it is essential to understand the lifecycle of an incident in Sentinel. An "incident" in Sentinel is not just a single alert; it is a container that aggregates related alerts, entities, and evidence. This aggregation is powered by Microsoft’s correlation engine, which groups alerts based on time, common entities (like usernames or IP addresses), and threat intelligence.
The lifecycle generally moves through four distinct stages:
- Ingestion & Alert Generation: Data is collected from various sources, and analytic rules identify suspicious patterns.
- Triage: Analysts review the incident to determine if it is a true positive, a benign false positive, or an informational event.
- Investigation: The analyst gathers context, pivots across logs using Kusto Query Language (KQL), and maps findings to the MITRE ATT&CK framework.
- Remediation & Closure: The threat is contained, and the incident is documented and closed.
Callout: Alert vs. Incident It is common for newcomers to confuse alerts and incidents. Think of an alert as a single "smoke detector" going off in a building. An incident is the "fire report" that includes the floor plan, the list of people in the building, and the history of previous alarms in that area. Sentinel automates the creation of the incident by bundling multiple alerts—or even just one highly suspicious alert—into a single workspace where you can manage the investigation.
Not read yet
Phase 1: Effective Triage Strategies
Triage is the process of deciding which incidents require immediate attention and which can be deprioritized. In a mature SOC, you should never treat all incidents as equal. A brute-force attempt on a guest account is fundamentally different from a successful login from a foreign country on a domain administrator account.
Prioritization Metrics
When triaging, look for these three key indicators:
- Severity: Sentinel assigns severity based on the analytic rule configuration (High, Medium, Low, Informational).
- Entity Impact: Does the incident involve a privileged user, a critical server, or a sensitive data store?
- Threat Intelligence Match: Does the IP address or hash associated with the incident appear in known malicious threat intelligence feeds?
The Triage Workflow
- Assign Ownership: Immediately assign the incident to yourself or a team member to prevent duplicate work.
- Set Status: Change the status from "New" to "Active" as soon as you begin work.
- Initial Review: Check the description, the tactics (MITRE ATT&CK), and the entities involved.
- Determine Validity: If the incident is a known false positive, close it with the appropriate classification (Benign/False Positive) and provide a reason.
Tip: Use Automation for Triage You can significantly reduce triage time by implementing "Incident Enrichment" playbooks. For example, when a new incident is created, a Logic App can automatically look up the IP address in VirusTotal or check the user's risk level in Microsoft Entra ID and add that information as a comment directly to the incident. This saves the analyst from having to perform these manual lookups.
Not read yet
Phase 2: Deep-Dive Investigation
Once an incident is triaged as a true positive, the investigation begins. This is where you leverage the full power of Kusto Query Language (KQL) and the Sentinel Investigation Graph.
Using the Investigation Graph
The investigation graph is a visual representation of the incident. It allows you to see how entities (users, hosts, IP addresses) are connected. If you see an alert for a suspicious PowerShell execution, you can click on the host entity to see what other processes ran on that machine around the same time.
Pivoting with KQL
KQL is the language of Sentinel. During an investigation, you will frequently move from the incident dashboard to the "Logs" area to perform deeper analysis.
Example: Investigating a User Account If an incident suggests a user account is compromised, you need to see what that user did before and after the alert.
// Investigate user activity for the last 24 hours
let targetUser = "[email protected]";
SigninLogs
| where UserPrincipalName == targetUser
| where TimeGenerated > ago(24h)
| project TimeGenerated, UserPrincipalName, IPAddress, Location, ResultType, AppDisplayName
| sort by TimeGenerated desc
This query provides a clean list of sign-in attempts. If you notice a successful login from an unusual country immediately followed by a suspicious resource access, you have found your evidence.
Mapping to MITRE ATT&CK
Modern investigations should always be mapped to the MITRE ATT&CK framework. This helps you understand not just what happened, but why it happened. If you see a user running whoami and nltest, you can categorize this as "Discovery." If you see them modifying registry keys, it is "Persistence." Mapping these helps you identify gaps in your detection coverage.
Not read yet
Phase 3: Technical Hands-on - Investigating a Brute Force Attack
Let’s walk through a common real-world scenario: a "Multiple Failed Logins" alert.
Step 1: Analyze the Alerts
Navigate to the Sentinel "Incidents" blade. Select the incident related to multiple failed sign-ins. Open the "Alerts" tab to see which account was targeted and how many attempts were made.
Step 2: Extract Entities
Identify the Account and IPAddress entities. Click on the Account to see if it is a privileged user. If it is a standard user, the priority might be lower than if it were a Global Admin.
Step 3: Run a Pivot Query
Use the following query to check if that IP address has successfully signed into any other account in your environment:
// Check for successful logins from the suspicious IP
let suspiciousIP = "192.168.1.100"; // Replace with the IP from your incident
SigninLogs
| where IPAddress == suspiciousIP
| where ResultType == 0
| project TimeGenerated, UserPrincipalName, IPAddress, AppDisplayName, UserAgent
Warning: False Sense of Security Just because an IP address shows no successful logins does not mean the attacker failed everywhere. They may be using different IP addresses or different methods (like password spraying) that don't trigger the same alert. Always look for related activity from the same ASN (Autonomous System Number) or geographic region.
Step 4: Documenting Findings
Sentinel allows you to add comments to an incident. Use this space to document your thought process. "Checked IP X, no successful logins found. Verified with user Y that they were on vacation. Closing as true positive, but no account compromise detected." This documentation is vital for compliance and future training.
Not read yet
Best Practices for Incident Investigation
1. Maintain Contextual Awareness
Always look at the "Big Picture." An alert on a web server might seem isolated, but if you look at the logs for your firewall and your database, you might find a coordinated attack. Never investigate in a vacuum.
2. Standardization
Create a standard operating procedure (SOP) for your team. Every incident should follow a similar path:
- Acknowledge/Assign.
- Analyze Entities.
- Pivot to raw logs.
- Check threat intelligence.
- Document findings.
- Decide on remediation.
3. Leverage Workbooks
Sentinel Workbooks are interactive reports that can act as "investigation guides." You can build a workbook specifically for "Credential Theft Investigations" that includes pre-built queries. Instead of typing the same KQL over and over, you open the workbook, enter the username, and the dashboard populates with the relevant data.
4. Continuous Feedback Loop
If you find that a specific analytic rule is generating 90% false positives, do not just close the incidents. Take the time to tune the rule. Adjust the threshold, add exclusions for known service accounts, or change the logic to be more specific.
Not read yet
Common Pitfalls and How to Avoid Them
Pitfall 1: "The Rabbit Hole"
Analysts often spend hours investigating a single, low-severity alert that turns out to be a configuration error.
- The Fix: Set a time box. If you cannot find evidence of a real threat within 20-30 minutes for a medium-severity alert, escalate it or move on to higher-priority items.
Pitfall 2: Ignoring "Informational" Alerts
Many teams ignore anything that isn't flagged as "High."
- The Fix: Use "Informational" alerts to build a baseline of normal behavior. A series of informational alerts might reveal a slow-and-low reconnaissance phase of an attack.
Pitfall 3: Poor Documentation
When an incident is closed, the knowledge is lost if it isn't documented.
- The Fix: Use the "Comments" and "Tags" features in Sentinel. Tags like
Ransomware,Phishing, orFalsePositivemake it much easier to search for historical incidents later.
Comparison: Manual vs. Automated Investigation
| Feature | Manual Investigation | Automated (Playbooks/Workbooks) |
|---|---|---|
| Speed | Slow, prone to human error | Fast, consistent execution |
| Context | Requires manual lookup/switching | Automatically pulled into the incident |
| Consistency | Varies by analyst experience | Standardized for every incident |
| Scalability | Limited by team size | Highly scalable |
Callout: The Human Element While automation is powerful, it cannot replace critical thinking. An automation script can tell you that an IP address is "malicious" based on a blacklist, but it cannot tell you if that IP address is being used by an attacker to target your specific business logic. Always use automation to perform the "grunt work" of data collection, so the human analyst can focus on the "why" and "how."
Not read yet
Advanced Investigation Techniques
Using Entity Pages
Sentinel provides dedicated "Entity Pages" for hosts and users. If you have an incident involving a specific user, navigate to their Entity Page. This page aggregates all activity for that user across Microsoft 365, Azure, and on-premises logs. It shows you their recent risky sign-ins, their behavioral anomalies, and any associated alerts. This is a massive time-saver compared to running individual queries.
Timeline Analysis
In the investigation screen, use the "Timeline" view. This allows you to see events in a chronological sequence. If you are investigating a malware infection, you might see the following timeline:
- User receives an email with an attachment.
- User opens the attachment (Office process spawns PowerShell).
- PowerShell reaches out to an external IP.
- The host begins scanning the internal network.
Seeing this sequence visually makes it obvious that this is a compromise, even if the individual alerts were spaced out by several minutes.
Threat Intelligence Integration
Sentinel integrates natively with Microsoft Defender Threat Intelligence (MDTI). When you investigate an IP or a domain, check if it has been tagged by global intelligence. If a domain is tagged as "Command and Control (C2)," you don't need to do much more investigation—you know you are dealing with a significant threat that requires immediate isolation.
Not read yet
Remediation: The Final Step of Investigation
Once you have confirmed an incident, you must act. Remediation in Sentinel can be manual or automated via Logic Apps.
- Isolation: If a host is compromised, use a playbook to isolate the host from the network.
- Account Suspension: If a user account is compromised, use a playbook to disable the account and force a password reset.
- Communication: Use a playbook to automatically email the IT manager or the user's supervisor that an incident has been detected.
Example: Logic App Trigger for Remediation You can create an automation rule in Sentinel that says: "If an incident is tagged with 'Confirmed Breach' AND the severity is 'High', automatically trigger the 'Isolate-Host' playbook." This removes the latency between detection and response.
Key Takeaways
- Incidents are Containers: Remember that an incident is a collection of alerts and entities. Focus your investigation on the relationships between these entities rather than just the individual alerts.
- Triage is Essential: You cannot investigate everything. Use severity, entity criticality, and threat intelligence to prioritize your work.
- KQL is Your Best Friend: Master the basics of KQL (project, filter, summarize, join). It is the primary tool for digging into the "why" behind an alert.
- Document Everything: Use the comments and tags features. Your future self—and your teammates—will thank you when you need to perform a post-mortem analysis.
- Automation is for Efficiency: Use playbooks for repetitive tasks like gathering IP reputation or isolating hosts, but keep the human in the loop for complex decision-making.
- Map to MITRE: Always categorize your findings using the MITRE ATT&CK framework to improve your visibility into the attacker’s lifecycle.
- Refine Your Detections: Use your investigations to improve your security posture. If you find a false positive, update the analytic rule to prevent that noise from returning.
Not read yet
FAQ: Common Questions About Sentinel Investigations
Q: How do I know if an incident is a false positive? A: A false positive is usually an alert triggered by legitimate administrative activity or expected software behavior. If you verify the activity with the user or check the change management logs and find a corresponding request, you can confidently classify it as a false positive.
Q: Should I close incidents that aren't fully resolved? A: No. Keep the incident open until the remediation is complete. If you need to hand off the investigation to another shift, use the "Assignment" feature to pass the context.
Q: What if I don't have enough data to investigate? A: This is a signal that your data ingestion strategy is incomplete. If you are investigating a network alert but have no firewall logs, you need to go back to the "Data Connectors" section of Sentinel and enable the necessary log streams.
Q: How do I measure my investigation success? A: Look at your "Mean Time to Acknowledge" (MTTA) and "Mean Time to Remediate" (MTTR). These metrics will show you how effectively your team is triageing and resolving threats over time.
Final Thoughts
The transition from a raw data stream to a secure environment is not magic; it is a methodical, disciplined process. By following the steps outlined in this lesson—triaging with intent, investigating with data-backed queries, and documenting for the future—you build a resilient security operation. Microsoft Sentinel provides the platform, but your expertise in navigating the data and your commitment to a structured workflow are what truly stop the threats. Continue to practice your KQL skills, explore the different workbooks available in the community, and never stop questioning the data. Security is a journey of continuous improvement, and you are now better equipped to lead that journey.
Not read yet
Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.
- Investigate Security Incidents
- Investigate Security Incidents Quiz5q
- Manage Incidents in Defender Portal
- Manage Incidents in Defender Portal Quiz5q
- Investigate Alerts and Alert Queues
- Investigate Alerts and Alert Queues Quiz5q
- Automated Investigation and Response
- Automated Investigation and Response Quiz5q
Spend your points to unlock exam-style practice questions
Spend points to unlock SC-200 exam-style practice questions.
Practice for SC-200