Windows Security Audit: Registry Handle Write Access Requested for Defender Exclusions

Alerts on registry access requests with write/append permissions to Windows Defender exclusions key paths.

FreeReviewedSigma · Medium · v2
Product
windows
Service
security
Author
@BarryShooshooga, Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2019-10-26
Updated
2026-07-31
title: "Windows Security Audit: Registry Handle Write Access Requested for Defender Exclusions"
id: 5b3c7933-64ee-4923-93ee-d3cbfd9e243c
related:
  - id: 46a68649-f218-4f86-aea1-16a759d81820
    type: derived
  - id: a33f8808-2812-4373-ae95-8cfb82134978
    type: derived
  - id: e9c8808f-4cfb-4ba9-97d4-e5f3beaa244d
    type: derived
status: test
description: This rule identifies Windows Security audit events where a process requests a handle and attempts access to the Windows Defender exclusions registry path. It matches handle request and access attempt events combined with registry object names under \Microsoft\Windows Defender\Exclusions\ and write-related access masks (WriteData and AppendData). Such activity can be used to modify Defender exclusion settings, weakening endpoint security. The detection relies on Security event telemetry for 4656 and 4663, including the requested access masks and the registry object name.
references:
  - https://www.bleepingcomputer.com/news/security/gootkit-malware-bypasses-windows-defender-by-setting-path-exclusions/
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/builtin/security/win_security_windows_defender_exclusions_write_access.yml
author: "@BarryShooshooga, Nasreddine Bencherchali (Nextron Systems), Huntrule Team"
date: 2019-10-26
modified: 2023-11-11
tags:
  - attack.defense-impairment
  - attack.t1685
logsource:
  product: windows
  service: security
  definition: "Requirements: Audit Policy : Security Settings/Local Policies/Audit Policy, Registry System Access Control (SACL): Auditing/User"
detection:
  selection:
    AccessList|contains:
      - "%%4417"
      - "%%4418"
    EventID:
      - 4656
      - 4663
    ObjectName|contains: \Microsoft\Windows Defender\Exclusions\
  condition: selection
falsepositives:
  - Unknown
level: medium
license: DRL-1.1