Windows Defender SubmitSamplesConsent Disabled (Real-Time Protection)
Flags Windows Defender configuration changes disabling automatic sample submission (SubmitSamplesConsent=0x0).
- Product
- windows
- Service
- windefend
- Author
- Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
- Published
- 2022-12-06
- Updated
- 2026-07-31
ATT&CK techniques
Recon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule detects changes to the Windows Defender antimalware platform configuration where SubmitSamplesConsent is set to 0x0. Disabling Automatic Sample Submission can reduce the availability of telemetry for malware analysis and hinder defensive feedback loops. The detection relies on windefend events indicating an antimalware configuration change and the specific updated setting value.
Reporting behind it
- learn.microsoft.comhttps://learn.microsoft.com/en-us/defender-endpoint/troubleshoot-microsoft-defender-antivirus?view=o365-worldwide
- bidouillesecurity.comhttps://bidouillesecurity.com/disable-windows-defender-in-powershell/#DisableAntiSpyware
- github.comhttps://github.com/SigmaHQ/sigma/blob/master/rules/windows/builtin/windefend/win_defender_config_change_sample_submission_consent.yml
Changelog
v2- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: Windows Defender SubmitSamplesConsent Disabled (Real-Time Protection)
id: 8081c5e5-4691-4565-9648-be586e3d213b
related:
- id: 1321dc4e-a1fe-481d-a016-52c45f0c8b4f
type: similar
- id: a3ab73f1-bd46-4319-8f06-4b20d0617886
type: similar
- id: 801bd44f-ceed-4eb6-887c-11544633c0aa
type: similar
- id: 91903aba-1088-42ee-b680-d6d94fe002b0
type: derived
status: stable
description: This rule detects changes to the Windows Defender antimalware platform configuration where SubmitSamplesConsent is set to 0x0. Disabling Automatic Sample Submission can reduce the availability of telemetry for malware analysis and hinder defensive feedback loops. The detection relies on windefend events indicating an antimalware configuration change and the specific updated setting value.
references:
- https://learn.microsoft.com/en-us/defender-endpoint/troubleshoot-microsoft-defender-antivirus?view=o365-worldwide
- https://bidouillesecurity.com/disable-windows-defender-in-powershell/#DisableAntiSpyware
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/builtin/windefend/win_defender_config_change_sample_submission_consent.yml
author: Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2022-12-06
tags:
- attack.defense-impairment
- attack.t1685
logsource:
product: windows
service: windefend
detection:
selection:
EventID: 5007
NewValue|contains: \Real-Time Protection\SubmitSamplesConsent = 0x0
condition: selection
falsepositives:
- Administrator activity (must be investigated)
level: low
license: DRL-1.1