[REQ-PAW-057] Disable Real-Time Monitoring and Behavior Monitoring Override for PAWs

Target Scope

  • Applicable Systems: Privileged Access Workstations (PAWs) used for Tier 0 directory administration.
  • Operating Systems: Windows 10 Enterprise (1607+) and Windows 11 Enterprise.

Implementation Details

  • Priority: High
  • GPO Path / Registry Location:
    • GPO Path: Computer Configuration\Administrative Templates\Windows Components\Windows Defender Antivirus\Real-time Protection
    • Registry Location:
      • HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection
        • DisableRealtimeMonitoring = 0 (REG_DWORD)
      • HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection
        • DisableBehaviorMonitoring = 0 (REG_DWORD)
      • HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection
        • DisableIOAVProtection = 0 (REG_DWORD)
      • HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection
        • DisableScriptScanning = 0 (REG_DWORD)

Rationale

Real-time scanning, behavior monitoring, and script checking are the core dynamic defense mechanisms of Windows Defender. Disabling or bypassing these controls allows malicious scripts, file-based attacks, and unauthorized in-memory activities to execute undetected.


Legacy Impact & Compatibility

Negligible operational impact. Real-time scanning introduces standard CPU overhead during file read/write operations.


Implementation Steps

Option A: Group Policy Object (GPO) Configuration (Preferred)

  1. Navigate to: Computer Configuration\Administrative Templates\Windows Components\Windows Defender Antivirus\Real-time Protection
  2. Set 'Turn off real-time protection' to 'Disabled'
  3. Set 'Turn on behavior monitoring' to 'Enabled'
  4. Set 'Scan all downloaded files and attachments' to 'Enabled'
  5. Set 'Turn on script scanning' to 'Enabled'

Option B: PowerShell & Registry Configuration (Remediation / Non-GPO)

Download Script: Configure-PawDefenderRtp.ps1

# Configure-PawDefenderRtp.ps1
Set-MpPreference -DisableRealtimeMonitoring $false
Set-MpPreference -DisableBehaviorMonitoring $false
Set-MpPreference -DisableIOAVProtection $false
Set-MpPreference -DisableScriptScanning $false

To audit the hardening status: Download Script: Get-PawDefenderRtpStatus.ps1

# Get-PawDefenderRtpStatus.ps1
$Pref = Get-MpPreference
if ($Pref.DisableRealtimeMonitoring -eq $false -and $Pref.DisableBehaviorMonitoring -eq $false -and $Pref.DisableIOAVProtection -eq $false -and $Pref.DisableScriptScanning -eq $false) {
    Write-Output "Compliant"
    exit 0
} else {
    Write-Output "Non-Compliant"
    exit 1
}

Sources & Compliance References

  • CIS Microsoft Windows 10 Benchmark: Section 18.9 (Windows Defender Antivirus configuration parameters)
  • ANSSI Active Directory Hardening Guide: Protective controls baselines on Privileged Access Workstations

results matching ""

    No results matching ""