Incident Response

8 mins

Threat Detection & Response: How to Spot Cyber Threats Before They Cause Damage

Last Updated
September 24, 2026

Key takeaways

  • Threat detection and response means finding attacks early and acting on them before they cause damage.
  • You spot threats early by combining four methods: indicator matching, behavioural detection, anomaly detection and threat hunting.
  • The earliest signs often appear in identity and email (unusual sign-ins, new inbox rules, unexpected app consents), not only on devices.
  • After detection comes contain, remove, recover and verify, and a written agreement decides who is allowed to act.
  • Microsoft Defender XDR documents 13 automatic response actions, some still in preview, and they only run with qualifying licences and the right settings.
  • Measure threat detection and response by speed, accuracy and coverage.

Threat detection and response (TDR) is the continuous practice of finding malicious activity across endpoints, identities, email and cloud, then containing, removing and recovering from it before an attacker reaches their goal. This guide covers the warning signs to watch, the response steps that follow, and what Microsoft Defender can stop automatically. Automation can contain an attack, but people still have to investigate, remediate and restore.

‍

What Is Threat Detection and Response (TDR)?

Threat detection and response (TDR) is the continuous practice of finding malicious activity across endpoints, identities, email and cloud, then containing, removing and recovering from it before an attacker reaches their goal.

Detection and response only work as a pair. Detection without response produces alerts nobody acts on, and response without detection only catches what users report. Both halves need round-the-clock coverage, so it helps to know what continuous 24/7 threat monitoring includes.

Threat Detection vs Threat Response: What's the Difference?

Threat detection finds and confirms malicious activity. Threat response stops it and restores normal operations.

Threat detection Threat response
Goal Find malicious activity early, with few false alarms Stop the damage and restore normal operations
Inputs Endpoint, identity, email, cloud and network telemetry, plus threat intelligence Confirmed incidents, investigation findings and the response agreement
Outputs A prioritized, investigated incident A contained threat, restored systems and a closure report
Typical tools Security information and event management (SIEM) in Microsoft Sentinel; extended detection and response (XDR) in Microsoft Defender XDR Automatic attack disruption and automated investigation and response (AIR) in Defender XDR; Microsoft Sentinel playbooks
Who owns it Security operations center (SOC) analysts and detection engineers Incident responders, with IT handling patching and rebuilds
Key metric Mean time to detect (MTTD) Mean time to respond (MTTR)

‍

How Does Threat Detection and Response Work?

Threat detection and response runs as a continuous loop: collect telemetry, detect, investigate, contain, then remediate and feed what you learn back into detection.

  1. Collect telemetry. Sign-in, email, endpoint, cloud and network logs flow into one place, such as Microsoft Sentinel and Microsoft Defender XDR. Output: a searchable record of what happened, where and when.
  2. Detect. Analytics rules, behavioral models and threat intelligence flag activity that matches an attack pattern or breaks from normal. Output: alerts, grouped into a single incident when they share an attacker.
  3. Investigate. An analyst confirms the incident is real, works out what the attacker touched and sets its priority. Output: a confirmed, scoped incident, or a closed false positive.
  4. Contain. Responders or automated actions isolate devices, disable accounts and revoke sessions. Output: an attacker who can no longer move or act.
  5. Remediate and improve. The team removes persistence, resets credentials, restores systems, then tunes detections to catch what was missed. Output: a clean environment and sharper detection next time.

How TDR Fits NIST's Current Incident Response Guidance

The National Institute of Standards and Technology (NIST) published SP 800-61 Rev. 3 in April 2025, superseding Rev. 2 from 2012. It replaces Rev. 2's four-phase incident response lifecycle with a model built on the six NIST Cybersecurity Framework (CSF) 2.0 functions. Govern, Identify and Protect prepare for incidents, while Detect, Respond and Recover handle them. Lessons feed back through the Improvement category of Identify. NIST also says organizations should use whichever lifecycle model suits them best.

‍

How to Spot Cyber Threats Before They Cause Damage

You spot cyber threats early by watching identity, email, endpoint, cloud and network activity for known-bad indicators and abnormal behavior, then investigating anything that matches a real attack pattern.

The 4 Cyber Threat Detection Methods

No single detection method catches everything, so security teams layer four of them.

  1. Indicator matching: Checks activity against indicators of compromise (IOCs), such as known-bad IP addresses, domains and file hashes. Catches: repeat attacks. Misses: new or rotated attacker infrastructure.
  2. Behavioral detection: Flags indicators of attack (IOAs), meaning attacker techniques mapped to MITRE ATT&CK. Catches: new tools using known techniques. Misses: techniques no one has written a detection for.
  3. Anomaly detection: User and entity behavior analytics (UEBA) flags departures from normal activity. Catches: misuse of valid accounts. Misses: attackers who blend in, and it raises more false alarms.
  4. Threat hunting: Analysts test hypotheses to find attackers that automated detection missed. Catches: stealthy, hands-on intrusions. Misses: anything outside the hunts that analyst time allows.

For how the first two differ in practice, see the difference between IOCs and IOAs.

Early Warning Signs of an Active Attack

Early warning signs often appear in identity and email activity, not only on devices.

Surface Warning sign Why it matters
Identity Sign-ins from unusual locations, multifactor authentication (MFA) prompts the user didn't trigger, new admin role assignments Stolen credentials need no malware, and admin roles let attackers weaken defenses
Email New inbox rules that move, forward or delete mail Rules can hide client replies from the mailbox owner, as in a CyberQuell business email compromise (BEC) investigation
Software as a service (SaaS) Unexpected OAuth app consent grants App permissions can survive a password reset
Endpoint Security tools disabled, mass file renaming Common signs that ransomware is starting
Network Repeated connections to rare domains Can mean malware is contacting attacker infrastructure
Finance Payment-detail change requests from a lookalike domain or a genuine internal address A compromised mailbox passes email authentication checks

Not every warning sign is an attack. In a CyberQuell investigation of suspicious Microsoft 365 sign-ins, the unusual-location alerts traced back to network routing, and no account was compromised.

Where Threats Show Up: Detection Coverage by Attack Surface

Each attack surface needs its own detection source, and in a Microsoft environment most of them map to a Defender product.

Surface Tool category Microsoft product
Endpoint Endpoint detection and response (EDR) Microsoft Defender for Endpoint
Identity Identity threat detection Microsoft Defender for Identity (on-premises Active Directory) and Microsoft Entra ID Protection (cloud sign-ins)
Email Email security Microsoft Defender for Office 365
SaaS and OAuth apps Cloud app security Microsoft Defender for Cloud Apps
Cloud and third-party logs SIEM Microsoft Sentinel
Network Network detection and response (NDR) A third-party NDR tool, with firewall and DNS logs sent to Microsoft Sentinel

‍

What Happens After a Threat Is Detected?

Once a threat is confirmed, responders contain it, remove what the attacker left behind, recover affected systems and check the attacker is gone. Your contract decides who does each step.

Containment, Removal and Recovery Actions

Each stage has different actions, a different chance of undoing them, and a different owner.

Stage Typical actions Reversible? Usually done by
Contain Isolate devices, disable accounts, revoke sessions, block IP addresses Yes, for isolation and blocks Provider or automation, within pre-granted authority
Remove Delete inbox rules, app consents and scheduled tasks; reset credentials No, so record everything first Provider for agreed actions, you for credential resets
Recover Restore from clean backups, rebuild, patch, re-enable accounts Not applicable You
Verify Hunt for signs of the attacker returning Not applicable Provider

Who Is Allowed to Act? Three Response-Authority Models

NIST SP 800-61 Rev. 3 says your provider contract should define the provider's authority to act on your behalf, and what it may not decide alone.

  • Pre-authorized. The provider contains threats immediately, within agreed limits. This is the fastest model.
  • Approval-required. The provider recommends an action, then waits for a named person to approve it. This is slower out of hours.
  • Notify-only. The provider alerts you, and your team contains the threat.

Whichever model you choose, the agreement should define:

  • actions taken automatically
  • actions that need approval, and who approves out of hours
  • how quickly you are notified
  • systems that may be isolated, and those that may not
  • who patches, rebuilds and resets credentials
  • who preserves evidence, and for how long
  • what counts as closed

For contract wording, see which response decisions stay with you when you outsource.

How to Confirm Remediation Worked

Remediation has worked only when every access path is closed and the attacker doesn't return. A password reset alone doesn't prove that.

  • No indicators of compromise remain on affected systems or other likely targets.
  • No persistence remains: inbox rules, OAuth app consents, scheduled tasks or unknown accounts.
  • Credentials are reset and active sessions are revoked.
  • The root cause is fixed.
  • No attacker activity returns during an agreed watch period.

Then declare the incident closed and report it to leadership, following how to report a live incident to executives.

‍

What Can Microsoft Defender Stop Automatically, and What Still Needs a Human?

With qualifying licenses and settings, automatic attack disruption in Microsoft Defender XDR can contain devices, users and IP addresses, revoke sessions and act on compromised OAuth apps during an attack. Microsoft leaves investigating, remediating and bringing assets back online to your security team.

The 13 Automatic Response Actions in Microsoft Defender

Microsoft documents 13 automatic response actions across Defender, Microsoft Entra ID and Microsoft Sentinel.

Action Capability Product Status
Contain device Attack disruption Defender for Endpoint Available
Contain IP Attack disruption Defender for Endpoint Available
Isolate device Attack disruption Defender for Endpoint Preview
Disable user Attack disruption Defender for Identity Available
Contain user Attack disruption and predictive shielding Defender for Endpoint Available (preview in predictive shielding)
Revoke user session Attack disruption Microsoft Entra ID Available
Suspend user in Entra Attack disruption Microsoft Entra ID Available
OAuth app compromise Attack disruption Defender for Cloud Apps Available
Safeboot hardening Predictive shielding Defender for Endpoint Preview
Group Policy Object (GPO) hardening Predictive shielding Defender for Endpoint Preview
Proactive user containment Predictive shielding Defender for Endpoint Preview
Attach deny policy to AWS user Attack disruption Microsoft Sentinel (AWS connector) Preview
Suspend user in Okta Attack disruption Microsoft Sentinel (Okta connector) Preview

By product: Defender for Endpoint 7, Entra ID 2, Sentinel connectors 2, Defender for Identity 1, Defender for Cloud Apps 1.
By capability: 9 attack disruption only, 3 predictive shielding only, 1 both.

For containment actions, Defender requires detector confidence of 99% or higher. Your team can undo every automatic action, and you can exclude critical users, devices and IP addresses.

Licenses and Settings Required for Automatic Attack Disruption

Attack disruption runs only when you hold a qualifying subscription and each product's prerequisites are in place.

Qualifying subscriptions include:

  • Microsoft 365 Business Premium, through its included Defender for Business, which contains compromised devices and their user accounts
  • Microsoft 365 E5 or A5
  • Microsoft 365 E3 with the Microsoft Defender Suite or Enterprise Mobility + Security (EMS) E5 add-on, or A3 with the A5 Security add-on
  • Office 365 E5 or A5, Windows 10/11 Enterprise E5 or A5, or EMS E5 or A5
  • Standalone Defender for Endpoint Plan 2, Defender for Identity, Defender for Cloud Apps or Defender for Office 365 Plan 2

Settings to check:

  • Defender for Endpoint: device discovery set to Standard (needed for Contain device), device group remediation level set to Full or Semi, Sense agent v10.8470 or later (needed for Contain user)
  • Defender for Identity: sensor and auditing on domain controllers, action accounts validated
  • Defender for Cloud Apps: Microsoft 365 connector with every checkbox selected, including Microsoft Entra ID apps
  • Defender for Office 365: mailboxes in Exchange Online, auditing MailItemsAccessed, UpdateInboxRules, MoveToDeletedItems, SoftDelete and HardDelete
  • AWS and Okta actions: Microsoft Sentinel workspace connected to the unified security operations portal

What Automation Does vs What Your SOC Still Owns

Defender contains the attack; your SOC or managed detection and response (MDR) provider still finishes it.

Defender does automatically Your SOC or MDR provider still does
Contains devices, users and IP addresses Scopes the incident
Disables or suspends accounts and revokes sessions Removes persistence
Acts on compromised OAuth apps Resets credentials and restores access
Hardens devices through predictive shielding (preview) Patches, then closes the incident

For the wider limits of automation, see what SOC automation still can't handle.

Actions, statuses and prerequisites verified against Microsoft Learn's automatic attack disruption, predictive shielding and configuration pages on 17 September, 2026. Preview features change.

If you're not sure your licenses and settings let attack disruption run, talk to CyberQuell's managed XDR team in a free 15-minute consultation.

‍

Real Example: A BEC Attack That Survived a Password Reset

In a CyberQuell investigation, an attacker kept access to a Microsoft 365 mailbox at a professional services firm of about 50 employees for four months, even after a password reset and session revocation. The reset missed the persistence: likely a malicious OAuth app with delegated mailbox permissions, which password changes don't revoke.

Date What happened
October 2025 First fraudulent Automated Clearing House (ACH) payment request sent from the bookkeeper's real mailbox; a separate typosquatted-domain attack blocked; password reset and sessions revoked
January 2026 Second fraudulent ACH request; inbox rules found hiding client replies
February 2026 Phishing sent from a fraudulent cloud account; CyberQuell engaged
Outcome $150,000+ attempted, 1 mailbox, 2 typosquatted domains, 1 threat actor, no money lost
What the attacker used What detects or closes it
Session token theft that bypassed app-based MFA Phishing-resistant FIDO2 MFA and Conditional Access
Legacy email protocols that skip MFA Legacy authentication disabled
Inbox rules hiding client replies UpdateInboxRules mailbox audit event
Likely OAuth app with delegated mailbox permissions OAuth permissions revoked; Defender for Cloud Apps "OAuth app compromise" action
Two typosquatted domains Domains blocked; out-of-band checks on payment changes

The investigation steps and full remediation list are in the full BEC case study.

‍

How Do You Measure Threat Detection and Response?

Measure threat detection and response on three things: speed (how fast you detect, acknowledge and contain), accuracy (how many alerts are real) and coverage (how much of the estate is monitored).

Metric What it measures How to calculate
Mean time to detect (MTTD) How long an attacker operates unnoticed Average time from first malicious activity to detection
Mean time to acknowledge (MTTA) How fast someone picks up an alert Average time from alert to analyst assignment
Mean time to respond (MTTR) How fast the attack is stopped Average time from detection to containment
Mean time to remediate How fast the attacker is fully removed Average time from containment to verified closure
Dwell time Total attacker time in your environment First malicious activity to containment (state the definition you use)
False-positive rate How much alert effort is wasted False-positive alerts ÷ total alerts
Coverage How much of the estate is watched Monitored assets ÷ total assets
Automatic containment share How much containment happens without waiting for a person Incidents contained automatically ÷ confirmed incidents

Speed and automation both show up in breach costs. IBM's Cost of a Data Breach Report 2026 puts the global average breach at $4.99 million, up 12% and a record high. Organizations using security AI and automation extensively saved $1.93 million compared with organizations using none.

‍

Final Thoughts

Threat detection and response only protects a business when three things work together. You need visibility into identity and email as well as devices. Containment has to start without waiting for someone to wake up. And it must be clear who finishes the job once the attacker is contained. The last two are the ones that fail quietly, because nothing raises an alert when attack disruption is misconfigured or when a response agreement was never written down.

Book a call with CyberQuell to find out whether attack disruption is actually running in your Microsoft environment and who is authorized to act on an alert at 3 a.m. We'll also look at where 24/7 SOC monitoring and response, backed by a 15-minute response SLA, would close the gaps that call uncovers.

Last Updated:
September 24, 2026

FAQs

Find answers to commonly asked questions about our cybersecurity solutions and services.

Is threat detection and response the same as incident response?

No. Threat detection and response is the ongoing capability to find and act on threats. Incident response is the process for handling a specific incident once it is confirmed.

‍

What's the difference between threat detection and response and EDR?

Endpoint detection and response (EDR) monitors devices only. Threat detection and response also covers identity, email, cloud and network activity, with EDR as one of its data sources. See how EDR, XDR and NDR fit together.

‍

Can threat detection and response be fully automated?

No. Microsoft Defender can contain an attack automatically, using detectors held to 99% or higher confidence. Microsoft leaves investigating, remediating and restoring assets to your security team.

‍

Which Microsoft 365 license includes automatic attack disruption?

Qualifying licenses include Microsoft 365 Business Premium (through its included Microsoft Defender for Business), Microsoft 365 E5 or A5, and Office 365 E5. Microsoft 365 E3 also qualifies with the Microsoft Defender Suite or Enterprise Mobility + Security (EMS) E5 add-on. Standalone Defender products qualify too.

‍

How fast should a provider respond to a critical alert?

There is no universal standard, so get the response service-level agreement (SLA) in writing, including when the clock starts and stops. For example, Sophos MDR Plus commits to responding within 60 minutes for 90% of priority investigations, and in its definition, starting outreach to the customer counts as responding.

‍

Protect Your Business from Cyber Threats

Get in touch with our cybersecurity experts to discuss your security needs and solutions.