An analytics rule fired because the endpoint security configuration itself was weakened — Tamper Protection went off, an Attack Surface Reduction rule was flipped from Block to Disabled, cloud-delivered protection stopped reporting to MAPS, or the Microsoft Defender for Endpoint (MDE) sensor was offboarded. Unlike a momentary sc stop WinDefend, these changes leave the machine in a durably degraded protective state — a blind spot the attacker can return to at will. Treat any unticketed Tamper Protection disable, ASR downgrade, or sensor offboarding as a SEV1 precursor: the actor is clearing the runway before the payload.
Key data sources: DeviceRegistryEvents (Defender Features / Policies keys, OnboardingState), DeviceProcessEvents (Set-MpPreference, reg.exe, offboarding scripts), AlertInfo / AlertEvidence (MDE tamper alerts), DeviceEvents (sensor health / setting-change telemetry).
Scope note vs SOP-28: SOP-28 covers the momentary service-stop / VSS-delete / ETW-patch ransomware "lights-out" sequence. This SOP-78 covers the persistent configuration control-plane — the settings and policy state that stay weakened after the process exits. Where the two overlap (e.g. a service stop that accompanies a config wipe), run both in parallel.
☰ Table of Contents
01 — BACKGROUND
TECHNIQUE OVERVIEWImpairing defenses through the configuration and policy layer (T1562.001) is a hands-on-keyboard tell. Rather than kill the AV process — which restarts and re-arms — a capable actor turns off the guard-rails that would otherwise prevent them from turning the AV off. The canonical opening move is disabling Tamper Protection, because Tamper Protection is what blocks local edits to Defender settings. With it off, the actor can freely add exclusions, disable ASR, cut cloud protection, and ultimately offboard the sensor — each change persisting until an admin or policy re-asserts it.
| Field | Value |
|---|---|
| MITRE Technique | T1562.001 — Impair Defenses: Disable or Modify Tools T1562.006 — Impair Defenses: Indicator Blocking T1112 — Modify Registry (Defender Policies / Features keys) |
| Kill-chain Phase | Defense Evasion — persistent posture degradation (pre-payload) |
| Primary Log Source | DeviceRegistryEvents, DeviceProcessEvents, AlertInfo/AlertEvidence (MDE) |
| Secondary Log Sources | DeviceEvents (sensor/setting telemetry), AuditLogs / IntuneAuditLogs (policy change), SecurityEvent 4657 (registry value modified) |
| Common Tooling | powershell.exe (Set-MpPreference / Add-MpPreference), reg.exe, MpCmdRun.exe, WdBoot/offboarding script, GPO / Intune policy edit, Defender Control-style utilities |
| Default Severity | SEV1 precursor — assume an active hands-on intrusion in progress |
| Detection Window | Query last 24 hours; extend to 7 days when hunting slow, low-and-slow posture drift |
Tamper Protection exists precisely to stop this. If it went OFF outside a documented policy change, do not rationalise it as "an admin tuning Defender" — a stolen admin token disabling Tamper Protection is the single most reliable pre-payload signal you will see. Confirm-then-isolate; do not wait.
Five concrete scenarios generate this alert class. The severity is driven by which control was weakened, whether it was policy-backed or a raw local edit, and whether a change ticket exists.
| ID | Attack Path | Severity |
|---|---|---|
| A1 | Stolen-admin token disables Tamper Protection, then adds exclusions / disables real-time protection — classic pre-encryption prep | SEV1 |
| A2 | ASR rules flipped Block→Disabled/Audit so a LOLBin or Office-child-process payload runs unblocked | SEV1 |
| A3 | Cloud-delivered protection / MAPS + automatic sample submission switched off to evade cloud verdicts on a novel dropper | SEV2 |
| A4 | MDE sensor offboarded (OnboardingState→0 / Sense stopped) — telemetry blackout on that host | SEV1 |
| A5 | Sanctioned IT change (Intune/GPO baseline edit, imaging, upgrade) matching an approved ticket & window | FP |
| Signal | Where It Surfaces | Triage Question |
|---|---|---|
| Tamper Protection off | AlertInfo (MDE alert), DeviceRegistryEvents Features\TamperProtection | Policy-backed change or local edit? |
| ASR rule downgraded | DeviceProcessEvents (Set-MpPreference ASR), DeviceRegistryEvents ASR\Rules | Block→Disabled without a baseline change? |
| Cloud/MAPS off | DeviceProcessEvents (MAPSReporting/SubmitSamplesConsent 0) | Coincident with a new-file execution? |
| Sensor offboarded | DeviceRegistryEvents OnboardingState, DeviceEvents sensor health, device stops reporting | Decommission ticket for this exact host? |
Severity indicators — CRITICAL/SEV1: Tamper Protection off, sensor offboarded, or ASR Block→Disabled with no change ticket, especially on a server or privileged workstation, or on multiple hosts at once. HIGH/SEV2: cloud protection/MAPS or sample submission off, single ASR rule to Audit, or PUA/network-protection disabled in isolation. LOW/FP: change verifiably maps to an approved Intune/GPO baseline edit executed by the platform service in the change window.
02 — IDENTIFICATION
5 INDICATORS + TRIAGEFive yes/no questions decide whether this queues or pages the on-call now. Any single YES on Q1–Q3 makes it an immediate-action SEV1.
| # | Question | If YES |
|---|---|---|
| Q1 | Was Tamper Protection turned off, or was the MDE sensor offboarded, with no matching change ticket? | SEV1 → isolate |
| Q2 | Was an ASR rule flipped from Block to Disabled/Audit outside a baseline change? | SEV1 |
| Q3 | Did the change occur on a server, DC, or privileged workstation — or on multiple hosts within minutes? | SEV1 |
| Q4 | Was cloud protection/MAPS or sample submission disabled, coinciding with a new/unsigned file executing? | SEV2 |
| Q5 | Is the initiating account a service/platform identity acting inside an approved change window? | Likely FP |
Pull the change/CAB record BEFORE you query — if you already hold a ticket that names this device, this change, and this time window, the queries below become confirmation, not discovery, and you save 10 minutes.
Tamper Protection is the lock on the Defender settings door. It is normally managed only by Microsoft (MDE cloud) or Intune — a local process turning it off is almost always malicious and is the highest-fidelity signal in this SOP.
- 1First check Incidents & alerts → Alerts and filter for titles containing "Tamper" — MDE raises a built-in alert when a tamper attempt is observed.
- 2Open Advanced hunting and run the
AlertInfo/DeviceRegistryEventsKQL below. Set Time range to Last 24 hours. - 3For any hit, open the Device timeline from the DeviceName link and read the InitiatingProcess chain — was it PowerShell, reg.exe, or an unknown binary?
- 4Confirm the current live state in Assets → Devices → [device] → Overview — check whether Tamper Protection now reads Off.
| Registry Value / Signal | Meaning | Severity |
|---|---|---|
| Features\TamperProtection = 4 / 0 | Tamper Protection disabled (5 = enabled) | CRITICAL |
| AlertInfo Title has "Tamper" | MDE-generated tamper-attempt alert | CRITICAL |
| Features\TPExclusions | Tamper Protection exclusion added — carve-out for attacker path | CRITICAL |
A tamper alert with an unknown or user-writable initiating process (not MsMpEng.exe / MpCmdRun.exe under SYSTEM, not the Intune management extension) is a confirmed local tamper. Isolate the host before you finish reading the timeline.
Once Tamper Protection is down, the fastest way to blind Defender is a burst of Set-MpPreference flags or Policies-key writes — cloud protection off, sample submission off, real-time off, script/PUA scanning off. Each persists in configuration and each is individually queryable.
- 1Run the
DeviceProcessEventsKQL below for PowerShell / MpCmdRun feature-disable command lines. - 2Run the paired
DeviceRegistryEventsquery for thePolicies\Microsoft\Windows Defenderkeys — GUI/registry disablement bypasses PowerShell logging. - 3Note the value data:
MAPSReporting=0,SubmitSamplesConsent=0/2,DisableRealtimeMonitoring=1,DisableScriptScanning=1all indicate a weakened engine. - 4Correlate the timestamp with I1 — an exclusion/feature disable that immediately follows a Tamper Protection off is a single confirmed chain.
| Setting / Command | Meaning | Severity |
|---|---|---|
| -MAPSReporting 0 | Cloud-delivered protection (MAPS) reporting disabled | HIGH |
| -SubmitSamplesConsent 0 / 2 | Automatic sample submission never send — evades cloud verdicts | HIGH |
| -DisableRealtimeMonitoring $true | Real-time protection off | CRITICAL |
| -DisableScriptScanning $true | Script (AMSI) scanning off | HIGH |
| -PUAProtection 0 | Potentially-unwanted-application protection off | MEDIUM |
| Policies\...\Windows Defender\DisableAntiSpyware=1 | Policy-level engine disable via registry | CRITICAL |
Attack Surface Reduction (ASR) rules are what block the exact behaviours attackers need — Office spawning child processes, credential theft from LSASS, executable content from email. Flipping a rule from Block (1) to Disabled (0) or Audit (2) removes the block while looking like routine tuning. This is A2 and it means a specific payload is about to run unopposed.
- 1Run the KQL below for
AttackSurfaceReductionRules_Actionsset to Disabled/Audit via PowerShell, plus the ASR\Rules registry path. - 2Map any rule GUID in the command line back to its rule name (e.g. block Office child-process, block credential stealing from LSASS) to understand what the attacker just un-blocked.
- 3Check whether the change matches the Intune ASR policy baseline in Endpoint security → Attack surface reduction — a divergence from policy indicates local tampering, not a managed rollout.
- 4Immediately hunt the following minutes on the same host for the behaviour the rule would have blocked (Office→cmd/PowerShell, LSASS access).
| Action Value | Meaning | Severity |
|---|---|---|
| Actions = 0 (Disabled) | ASR rule turned off — behaviour no longer blocked or logged | CRITICAL |
| Actions = 2 (Audit) | Downgraded to log-only — attack proceeds, only recorded | HIGH |
| ASR\Rules value deleted | Rule removed entirely from local config | CRITICAL |
Keep the ASR rule-GUID→name lookup table pinned in your runbook. "Rule 3B576869… set to 0" means nothing under pressure; "block executable content from email client set to OFF" tells you the delivery vector in one line.
The most complete blinding is offboarding the sensor entirely: setting OnboardingState=0 under the Advanced Threat Protection policy key and stopping the Sense service. The device stops streaming telemetry to Defender XDR — so the very absence of a device's logs is itself the indicator. Watch also for Windows Security Center provider tampering.
- 1Open Reports → Device health → Sensor health and look for devices flipping to "Inactive" or "Sensor communication error" without a decommission record.
- 2Run the KQL below for
OnboardingStateregistry writes to 0 and forsc stop sense/ service-config changes on the Sense service. - 3Because an offboarded host stops reporting, also run a last-seen query across the fleet — a device that was healthy an hour ago and is now silent, with no shutdown event, is a prime suspect.
- 4Check the Windows Security Center provider keys for registration tampering that would hide the degraded state from the user/Action Center.
| Signal | Meaning | Severity |
|---|---|---|
| Windows Advanced Threat Protection\OnboardingState = 0 | MDE sensor offboarded via policy key | CRITICAL |
| sc stop sense / sc config sense start=disabled | Sense service stopped / set not to start | CRITICAL |
| Device Inactive, no decommission ticket | Telemetry blackout — offboarding or host isolation by attacker | HIGH |
| Security Center\Provider modified | WSC provider registration tampered to mask AV state | HIGH |
An offboarded host is invisible to Advanced Hunting from the moment the Sense service stops. Do not assume "no further telemetry = no further activity." Pivot to Sentinel SecurityEvent / Sysmon / network logs for that host, and physically or remotely re-onboard as part of containment.
Before escalating, pull the artifacts a responder needs and make the call. The pivotal question is always the same: does the initiating identity + a change ticket explain this, or does an unexpected process + a risky prior sign-in indict it?
Extract and record: affected DeviceName(s) and OS role; the exact setting(s) changed and their new value; InitiatingProcessFileName + full command line + parent; the AccountName and its logon type; the timestamp of first change; and any file hashes, scheduled tasks, or exclusions created in the same window. Cross-reference the account against SigninLogs for risky/impossible-travel sign-ins (pivot to SOP-04).
| True Positive Signals | False Positive Signals |
|---|---|
| No change ticket for this device/window | Approved CAB/change ticket names this exact host + change + time |
| Initiator is PowerShell/reg.exe/unknown binary, not the Intune extension or SYSTEM policy service | Initiator is the Intune management extension / GPO client / Configuration Manager under SYSTEM |
| Tamper Protection off, sensor offboarded, or ASR Block→Disabled | Change is a documented Intune/GPO baseline rollout visible fleet-wide |
| Account has a coincident risky/impossible-travel sign-in | Account is the assigned platform/imaging service identity |
| Multiple hosts weakened within minutes; or new/unsigned file executed right after | Isolated single setting on one host during a scheduled maintenance window |
"An admin probably did it" is a hypothesis, not a verdict. Close as FP ONLY when a change record actually names this device, this change, and this window — and the initiating identity matches the platform service. A stolen admin token is the single most common way this alert is wrongly closed.
03 — CONTAINMENT
IMMEDIATE ACTIONDo not re-enable settings and walk away. If the config was tampered by an actor, re-arming it without isolating and hunting simply tells the actor you noticed — they will offboard again or pivot. Contain first, restore second.
- 1If the sensor is still onboarded, initiate a Live Response session and collect running processes + a memory image FIRST — isolation cuts the network but Live Response over the MDE channel still works.
- 2Select Actions (⋮) → Isolate device → Full isolation. If the sensor was already offboarded (I4), isolate at the network/NAC layer or physically pull the host instead.
- 3Contain the initiating account: Entra admin center → Users → [user] → Revoke sessions, then Block sign-in. Revoke BEFORE reset so an issued token cannot be reused.
- 4Run I1–I4 across the subnet / device group to confirm whether the same change hit multiple hosts (automated push = ransomware operator).
If a stolen-admin session drove the change, the account — not just the host — is the incident. Isolating one endpoint while the token roams free lets the attacker weaken the next machine. Contain identity and endpoint together.
- 1Re-enable Tamper Protection tenant-wide/for the device group: Settings → Endpoints → Advanced features → Tamper Protection → On, and enforce via Intune so it cannot be locally overridden.
- 2Restore engine settings via Live Response:
Set-MpPreference -DisableRealtimeMonitoring $false -MAPSReporting Advanced -SubmitSamplesConsent 1and re-enable script/PUA scanning. - 3Re-apply ASR rules to Block from the Intune baseline: Endpoint security → Attack surface reduction → [policy] → assign, and confirm the rules report Block on the host.
- 4Re-onboard the MDE sensor if it was offboarded (deploy the current onboarding package via Intune/GPO), then confirm the device returns to Active in Sensor health.
- 5Block the initiating process hash / path and any created exclusion-path artifacts via Settings → Endpoints → Indicators.
If cloud protection or sample submission was disabled, treat any file that executed during the blind window as unverified — re-scan and re-submit those samples once cloud protection is back on. A dropper that dodged the cloud verdict is still on disk.
04 — ERADICATION
CLEANUP- 1From the I5 change chain, trace the initiating process back to initial access — phishing, exposed RDP, or lateral movement from another host. That entry point, not the config change, is the root cause.
- 2Hunt for persistence created by the same account/process in the same window: scheduled tasks, registry Run keys, services, WMI subscriptions, and any Defender exclusions left behind (cross-reference SOP-26 and SOP-30).
- 3Delete injected AV/Tamper-Protection exclusions and remove any policy-key overrides the attacker wrote under
Policies\Microsoft\Windows Defender. - 4Run a full Defender scan after protection is fully restored:
Start-MpScan -ScanType FullScan, and quarantine anything found in previously-excluded paths. - 5Verify clean state: re-run I1–I4 on the host — expected result is 0 hits and all settings reporting enabled/Block/onboarded.
- 6Close the vector: reset any compromised admin credentials, enforce Tamper Protection + ASR via policy so local override is impossible, and reconstruct the timeline (first config change → what ran in the blind window → containment).
- Tamper Protection is On and policy-enforced; local override blocked
- All ASR rules report Block; cloud protection, MAPS, sample submission and real-time monitoring re-enabled
- MDE sensor re-onboarded and reporting Active in Sensor health
- Attacker-created exclusions, policy overrides and persistence removed
- I1–I4 re-run returns 0 hits; full scan clean
- Root-cause entry point closed and compromised credentials reset
- Timeline reconstructed and documented for the incident record
05 — ESCALATION
ESCALATION PATHS| Tier | Trigger Condition | Who to Notify | Action |
|---|---|---|---|
| L1 → L2 | Cannot confirm TP vs FP within 30 min; privileged account involved; or >1 endpoint affected | L2 SOC Analyst | Hand over I5 chain + IOCs; L2 makes the isolate call |
| L2 → IR | Confirmed Tamper Protection off / sensor offboarded / ASR downgrade with malicious initiator | IR Team + SOC Lead | Open incident, isolate, hunt lateral movement, assume active intrusion |
| IR → CISO | Multiple hosts weakened, a DC/server involved, or a payload executed in the blind window | CISO + Security Manager | War room, treat as pre-ransomware, invoke BCP if VSS/backup at risk |
| External | Confirmed ransomware staging, customer-data-bearing system, or regulated environment | MSSP / DFIR retainer, Legal, Cyber-insurer | Engage forensics; start regulatory clock (e.g. GDPR 72h) if data at risk |
| FP | Change verifiably maps to approved Intune/GPO baseline by platform service | L3 log only | Document justification, tune detection rule |
Bring to every escalation: incident/alert ID; affected device(s) and OS role; the exact setting(s) changed and new values; initiating process + account + logon type; timeline of the config-change chain (I5); containment actions already taken; and current confidence (TP confirmed / suspected / unverified).
Tamper Protection off + sensor offboarded on the same host is a telemetry blackout by an actor who intends to act unseen — page IR and CISO in parallel and assume the payload phase is imminent. Do not wait for a second, "louder" alert; you have already been shown the loudest one.
Stay Threat-Ready
Follow CyberHawk Threat Intel for daily SOC analyst playbooks, detection engineering guides, and threat intelligence.