Pcornel
Security · Windows Security

Attack Surface Reduction

Cheat sheet · https://pcornel.dk/topic.php?topic=4556

Back to the Topic

Answer

Microsoft Defender Attack Surface Reduction rules constrain high-risk behaviors such as credential theft, script abuse, Office child processes and ransomware-like activity through per-rule modes, exclusions and dependencies.

Remember

  • ASR enabled ≠ every rule configured in block mode.
  • ASR block ≠ malicious intent or endpoint clean.
  • Configured or assigned policy ≠ resultant policy and effective runtime state.
  • Feature healthy ≠ protected workload or absence of compromise.

First checks

  • Get-MpPreference | fl AttackSurfaceReductionRules_Ids,AttackSurfaceReductionRules_Actions — ASR rules
  • Get-WinEvent -LogName 'Microsoft-Windows-Windows Defender/Operational' | ? Id -in 1121,1122 — ASR block/audit
  • ASR rule reference — GUIDs

Verify in this order

behaviour → ASR rule → block/audit

Where it usually breaks

First mismatch in platform/workload identity → desired configuration → management/control plane → runtime enforcement → telemetry → workload/resource outcome; preserve identity/policy/pre-state before mutation.

Windows Security → Attack Surface Reduction proof map

BoundaryEstablishDoes not establish
ScopeExact host, role, build/kernel, identity, workload and expected controlDoes not prove policy receipt or effective runtime state
Effective stateResultant/loaded policy, precedence, mode, labels/rules/keys and active services/kernel controlsConfiguration presence does not prove enforcement
Runtime evidenceCorrelated events/audit, process/token/credential, packet/syscall and workload resultOne event, clean status or allow/deny does not prove complete security
ClosureOriginal allowed/denied workload works, unsafe state is removed and recovery/regression passCommit, restart, block or compliance result alone is not closure

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4556

Confirmation

Confirm action

Continue?