Study guide
Technical reference and lesson notes
Purpose of This Lesson
Microsoft Defender XDR incidents consolidate related alerts, devices, users, URLs, files, and investigation activity into a single investigation experience. This lesson focuses on using the incident view and attack story to reconstruct what happened on a potentially compromised device, assess the evidence, and understand what Defender automatically prevented or remediated.
The key SOC skill is not simply opening an alert. It is determining the sequence of events, identifying affected assets, validating the verdict, and deciding whether additional investigation or escalation is required.
Key Concepts
Incidents, alerts, and investigations
In Microsoft Defender, an incident groups related security alerts and evidence into an investigation case. An incident may involve one device or multiple assets, such as:
- Devices
- Users
- Mailboxes
- Applications
- URLs
- Files
- Cloud resources
An alert is an individual detection generated by a security control. The incident provides broader context by correlating one or more alerts and associated evidence.
An investigation contains the analytical and response activity associated with the incident. In the example from this lesson, automated investigation and remediation identified and prevented a potentially unwanted or malicious file from executing.
Attack story
The attack story presents a visual, chronological representation of the activity associated with an incident. It helps an analyst understand relationships such as:
- A user accessed a website through a browser.
- A file was downloaded or introduced to the device.
- The file attempted to execute.
- Defender detected and prevented the activity.
- Evidence and response actions were recorded.
The attack story is useful for quickly reconstructing an event without immediately starting with raw telemetry. Selecting individual objects in the story provides additional details about the device, URL, file, or other entity.
Evidence and response
The evidence and response view shows the entities involved and the actions taken by Defender. In the example, the URL was prevented from downloading a file, and the potentially unwanted software was prevented from running.
This distinction matters during triage: an incident can represent a blocked attempt rather than a confirmed successful compromise. The analyst should verify the response status and look for related activity before declaring the device clean.
File and hash investigation
A file’s hash is a mathematical identifier for its exact contents. Hash-based investigation can help determine whether the same file has been observed or detected elsewhere.
The file details view may include:
- The file hash
- Detection results from integrated threat intelligence sources
- Historical observations, such as when the file was first seen
- Related incidents and alerts
A multi-engine detection ratio, such as a VirusTotal result, is useful context but is not by itself a definitive verdict. Detection engines can disagree, and the analyst should correlate the result with Defender telemetry, execution behavior, source URL, prevalence, and business context.
Device context
Selecting a device in the attack story can expose its threat level, related incidents and alerts, and other device-specific information. Device context helps answer questions such as:
- Is this activity isolated to one endpoint?
- Has the device generated other alerts?
- Does the device have a higher threat level based on related activity?
- Are there device policies or controls relevant to the investigation?
A medium device threat level should be treated as an investigation signal, not as proof that the device is compromised.
Microsoft Security Operations Context
A practical Defender XDR investigation generally follows this sequence:
- Open the incident from the Incidents queue.
- Review the incident summary to understand the detection, severity, status, and affected assets.
- Play or inspect the attack story to reconstruct the event sequence.
- Select each entity—for example, the device, URL, and file—to gather detailed evidence.
- Review alerts and related incidents for additional activity involving the same entities.
- Inspect evidence and response to determine whether Defender blocked, quarantined, remediated, or otherwise contained the activity.
- Validate scope and impact across devices, users, applications, mailboxes, and cloud resources.
- Document or escalate based on the evidence and organizational procedures.
The summary provides a consolidated view, while the attack story and entity details provide the investigative depth. A good analyst uses both rather than relying only on the incident title or severity.
Automated investigation and remediation
Defender may automatically investigate and remediate detected threats. This can reduce response time, but automation does not eliminate the analyst’s responsibility to validate the incident.
The analyst should confirm:
- What was detected
- Whether execution occurred
- What action Defender took
- Whether the action succeeded
- Whether related activity exists elsewhere
- Whether the entity was incorrectly classified
Exam-Relevant Takeaways
- Use the incident view to investigate correlated alerts and affected entities.
- Use the attack story to understand the chronological chain of activity.
- Select objects in the attack story to inspect detailed context for devices, URLs, and files.
- The evidence and response section explains what Defender detected and what action it took.
- File hashes identify exact file content and can be compared with threat intelligence and related detections.
- A threat-intelligence detection ratio is supporting evidence, not a complete incident verdict.
- An incident affecting one device should still be checked for related users, devices, URLs, files, and other assets.
- A prevented download or blocked execution is different from a successful compromise, but it still warrants validation and scope checking.
- The incident summary is a consolidated view; it does not replace detailed evidence review.
Tool / Feature Decision Guide
| Investigation need | Defender capability or view | Why use it |
|---|---|---|
| Determine which assets are involved | Incident summary and affected assets | Establish initial scope across devices, users, mailboxes, applications, URLs, and cloud resources |
| Reconstruct the order of events | Attack story | Visualize the relationship and sequence of activities |
| Investigate a specific endpoint | Device entity details | Review device threat context and related alerts or incidents |
| Investigate a suspicious web destination | URL details | Review the URL’s available verdict and related activity |
| Investigate a downloaded or executed file | File details and hash information | Identify the exact file and compare detection or historical intelligence |
| Determine whether Defender stopped the activity | Evidence and response | Review prevention, blocking, or remediation actions |
| Get a rapid overall view | Incident summary | Consolidate the main alert, assets, investigation, and response information |
Common Exam Traps
- Confusing an alert with an incident: An alert is an individual detection; an incident provides the broader correlated investigation context.
- Assuming a medium device threat level proves compromise: Severity and threat level guide prioritization but must be supported by evidence.
- Treating a third-party detection ratio as a final verdict: Use it as one input alongside Defender evidence and observed behavior.
- Assuming prevention means no investigation is needed: Confirm what was prevented, whether execution occurred, and whether similar activity exists elsewhere.
- Reviewing only the incident summary: The attack story, entity details, and evidence-and-response information may contain the decisive facts.
- Assuming one displayed device is the full scope: Check the incident’s assets and related incidents or alerts for additional affected entities.
Real-World SOC Analyst Notes
- Preserve the incident timeline and relevant evidence before making changes that could remove forensic context.
- Record the URL, file hash, device name, user context, detection time, and Defender response in the case notes.
- If the file was blocked, verify whether it was merely downloaded, opened, or executed before prevention occurred.
- Search for related activity involving the same hash or URL when the incident appears suspicious or targeted.
- Coordinate with endpoint, identity, and application owners if the incident affects a shared workstation, privileged user, or business-critical system.
- Treat automated remediation as a control, not as a substitute for scoping. A blocked artifact may be one part of a larger attack chain.
- Be careful when taking additional response actions such as isolation or remediation. Confirm the affected device and follow change-control and escalation procedures.
- If threat-intelligence sources disagree, document the uncertainty and use behavior, prevalence, provenance, and local telemetry to support the final disposition.
Quick Reference Summary
- Open Microsoft Defender > Incidents to begin investigation.
- Start with the incident summary, then inspect the attack story.
- Follow the chain from source URL or application to file, device, execution, and response.
- Select each entity for more detailed context.
- Review file hash and threat-intelligence information without treating it as conclusive by itself.
- Check evidence and response to determine whether Defender prevented or remediated the activity.
- Validate scope across all related assets before closing or escalating the incident.
Flashcards
Q: Which Defender view should you use to reconstruct the sequence of activity in an incident?
A: Use the attack story. It presents the relationship and chronology of the detected activities and lets you inspect individual entities.
Q: What is the difference between an alert and an incident in Defender XDR?
A: An alert is an individual detection, while an incident groups related alerts and evidence into a broader investigation.
Q: A file download was prevented. What should the analyst verify before closing the incident?
A: Verify whether the file executed, whether prevention or remediation succeeded, and whether related activity exists on the device or elsewhere in the environment.
Q: Which view explains what Defender did in response to the detected activity?
A: The evidence and response view shows the relevant entities and actions such as prevention or remediation.
Q: When would you select the device entity in the attack story?
A: Select it when you need endpoint-specific context, such as the device threat level and related incidents or alerts.
Q: What does a file hash identify during an investigation?
A: It identifies the exact contents of a file mathematically, allowing the analyst to compare that file with threat-intelligence and historical observations.
Q: Why should a VirusTotal or similar detection ratio not be treated as the final malware verdict?
A: Detection engines may disagree, so the ratio must be correlated with Defender telemetry, behavior, source, prevalence, and other evidence.
Q: What is the best starting point when an incident may involve multiple asset types?
A: Review the incident summary and affected-assets information first, then inspect the attack story and individual entities to determine scope.
Q: What is the exam-relevant purpose of the attack story?
A: It helps the analyst understand how entities such as a URL, file, and device are connected and in what order the activity occurred.
Q: Does a medium device threat level prove that the endpoint is compromised?
A: No. It is a prioritization signal that requires confirmation through alerts, timeline evidence, response status, and related activity.
Q: When should an analyst review related incidents and alerts for a URL or file?
A: Review them when assessing whether the activity is isolated or part of a broader campaign affecting other users or devices.
Q: What is the purpose of the incident summary?
A: It provides a consolidated view of the incident, including its main alert, assets, investigation information, and response context.
Q: Why should analysts inspect individual objects instead of relying only on the attack-story animation?
A: Entity details provide the supporting facts needed to validate the event, such as device context, URL information, file hash, and related detections.
Practice Questions
Question 1
A Defender incident shows that a browser accessed a website and a potentially unwanted file was blocked. Which action best helps the analyst understand the order of events?
- A. Open the device’s DLP policies only
- B. Play and inspect the attack story
- C. Review the file’s hash without opening the incident
- D. Close the incident because the file was blocked
Correct answer: B
The attack story is designed to show the sequence and relationships among the browser, URL, file, device, and response actions. The other steps may provide supporting information but do not reconstruct the event chain.
Question 2
An analyst sees that a file has a 7-of-62 detection ratio in an external threat-intelligence view. What is the most appropriate conclusion?
- A. The file is definitively malicious
- B. The file is definitively benign
- C. The result is supporting evidence that must be correlated with Defender telemetry and behavior
- D. The endpoint must immediately be deleted from Defender
Correct answer: C
A multi-engine detection ratio can help with triage, but it is not conclusive. The analyst should consider execution behavior, provenance, local detections, related incidents, and Defender’s response.
Question 3
An incident initially appears to involve one workstation. Which investigation step best tests whether the scope is larger?
- A. Check only the incident title
- B. Review affected assets and related incidents or alerts for the entities involved
- C. Rely only on the workstation’s threat level
- D. Ignore the URL because the file was prevented
Correct answer: B
The incident and entity views can reveal other devices, users, URLs, files, or related detections. Scope must be validated rather than inferred from the first device displayed.
Question 4
Which Defender investigation area is most directly used to determine whether the file was prevented from running or the URL was prevented from downloading it?
- A. Evidence and response
- B. Device threat-level label only
- C. Incident title
- D. Historical first-seen date only
Correct answer: A
Evidence and response records the detected entities and the actions Defender took, making it the appropriate place to validate prevention or remediation.
Question 5
An analyst wants to determine whether the exact file in an incident has been observed by other investigators or scanning services. Which artifact is most useful?
- A. The device display name alone
- B. The incident severity alone
- C. The file hash and associated threat-intelligence results
- D. The browser name alone
Correct answer: C
The hash identifies the exact file contents and can be used with available intelligence and related detections to add context to the investigation. It should still be interpreted alongside local Defender evidence.