Detects when an attacker or tool disables the Windows Defender service (WinDefend) via the registry
title: Windows Defender Service Disabled - Registry
id: e1aa95de-610a-427d-b9e7-9b46cfafbe6a
status: test
description: Detects when an attacker or tool disables the Windows Defender service (WinDefend) via the registry
references:
- https://thedfirreport.com/2021/10/18/icedid-to-xinglocker-ransomware-in-24-hours/
- https://gist.github.com/anadr/7465a9fde63d41341136949f14c21105
author: Ján Trenčanský, frack113, AlertIQ, Nasreddine Bencherchali
date: 2022-08-01
modified: 2024-03-25
tags:
- attack.defense-impairment
- attack.t1685
logsource:
product: windows
category: registry_set
detection:
selection:
TargetObject|endswith: '\Services\WinDefend\Start'
Details: 'DWORD (0x00000004)'
condition: selection
falsepositives:
- Administrator actions
level: high
imRegistry
| where RegistryKey endswith "\\Services\\WinDefend\\Start" and RegistryValueData =~ "DWORD (0x00000004)"
DeviceRegistryEvents
| where RegistryKey endswith "\\Services\\WinDefend\\Start" and RegistryValueData =~ "DWORD (0x00000004)"
| Sentinel Table | Notes |
|---|---|
imRegistry | Ensure this data connector is enabled |