Detection rules › Sigma
Windows Defender Disabled Via SystemSettingsAdminFlows.EXE
Detects the usage of SystemSettingsAdminFlows.exe to disable Windows Defender. SystemSettingsAdminFlows.exe is a legitimate Windows component used for administrative configuration tasks. However, attackers may abuse it to disable Windows Defender as part of their attack chain, especially in the context of ransomware or other malware campaigns.
Known false positives
- Legitimate turn off of Windows Defender by the technical users or administrators for troubleshooting or other purposes.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Defense Impairment |
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Sysmon | Event ID 1: Process creation |
Rule body
title: Windows Defender Disabled Via SystemSettingsAdminFlows.EXE
id: da92713f-ca2d-4fab-8320-098013d3f43a
status: experimental
description: |
Detects the usage of SystemSettingsAdminFlows.exe to disable Windows Defender.
SystemSettingsAdminFlows.exe is a legitimate Windows component used for administrative configuration tasks.
However, attackers may abuse it to disable Windows Defender as part of their attack chain, especially in the context of ransomware or other malware campaigns.
references:
- https://thedfirreport.com/2026/02/23/apache-activemq-exploit-leads-to-lockbit-ransomware/
- https://www.huntress.com/blog/lolbin-to-inc-ransomware
tags:
- attack.defense-impairment
- attack.t1685
author: Chirag Damani (KPMG India), Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2026-07-01
logsource:
category: process_creation
product: windows
detection:
selection_ssaf_img:
- Image|endswith: '\SystemSettingsAdminFlows.exe'
- OriginalFileName: 'SystemSettingsAdminFlows.EXE'
selection_ssaf_cli:
CommandLine|contains: 'defender'
selection_cli_enable_opt:
CommandLine|contains:
- 'RTP '
- 'RealTimeProtection '
- 'DisableEnhancedNotifications '
selection_cli_enable_value:
CommandLine|contains: '1'
selection_cli_disable_opt:
CommandLine|contains:
- 'SubmitSamplesConsent '
- 'SpyNetReporting '
- 'DisableCDPUserAuthPolicy '
selection_cli_disable_value:
CommandLine|contains: '0'
# In Enterprise environments, if defender was disabled via GUI, it would be expected to see the following parent-child process relationship:
# Thus, uncomment the below filter to exclude such cases because of high false positives:
# filter_main_gui_options:
# ParentImage|endswith:
# - '\SystemSettings.exe'
# - '\Explorer.exe'
condition: all of selection_ssaf_* and (all of selection_cli_enable_* or all of selection_cli_disable_*)
falsepositives:
- Legitimate turn off of Windows Defender by the technical users or administrators for troubleshooting or other purposes.
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_lolbin_systemsettingsadminflows_defender_disable/info.yml
Stages and Predicates
Stage 0: condition
all of selection_ssaf_* and (all of selection_cli_enable_* or all of selection_cli_disable_*)Stage 1: selection_ssaf_img
selection_ssaf_img:
- Image|endswith: '\SystemSettingsAdminFlows.exe'
- OriginalFileName: 'SystemSettingsAdminFlows.EXE'
Stage 2: selection_ssaf_cli
selection_ssaf_cli:
CommandLine|contains: 'defender'
Stage 3: selection_cli_enable_opt
selection_cli_enable_opt:
CommandLine|contains:
- 'RTP '
- 'RealTimeProtection '
- 'DisableEnhancedNotifications '
Stage 4: selection_cli_enable_value
selection_cli_enable_value:
CommandLine|contains: '1'
Stage 5: selection_cli_disable_opt
selection_cli_disable_opt:
CommandLine|contains:
- 'SubmitSamplesConsent '
- 'SpyNetReporting '
- 'DisableCDPUserAuthPolicy '
Stage 6: selection_cli_disable_value
selection_cli_disable_value:
CommandLine|contains: '0'
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
CommandLine | match |
| field:"CommandLine" kind:match |
Image | ends_with |
| field:"Image" kind:ends_with value:"\SystemSettingsAdminFlows.exe" |
OriginalFileName | eq |
| field:"OriginalFileName" kind:eq value:"SystemSettingsAdminFlows.EXE" |