Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
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.