attempts_to_stop_windows_defender_and_windows_updates


Description

This rule detects attempts to stop the windows defender and windows update components License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.

Query · yara_l

events:
((re.regex($selection.target.process.command_line, `.* stop wuauserv`) or re.regex($selection.target.process.command_line, `.* stop WinDefend`) or re.regex($selection.target.process.command_line, `.* stop wscsvc`) or re.regex($selection.target.process.command_line, `.* stop mpssvc`) or re.regex($selection.target.process.command_line, `.* delete WinDefend`) or re.regex($selection.target.process.command_line, `.*SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Real-Time Protection\\Disable.*`)) and ($selection.metadata.product_event_type = "4688" or $selection.metadata.product_event_type = "1"))

  condition:
    $selection
Raw source attempts_to_stop_windows_defender_and_windows_updates · YARA-L
Esc
Published by chronicle/detection-rules ↗, licensed under Apache 2.0 ↗. Reproduced here unmodified.
rule attempts_to_stop_windows_defender_and_windows_updates {
 meta:
    author = "Joseph Kamau"
    description = "This rule detects attempts to stop the windows defender and windows update components  License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md."
    reference = "https://tdm.socprime.com/tdm/info/UMRS8yOinXhm"
    version = "0.01"
    created = "2021-03-09"
    product = "Windows"
    category = "process_creation"
    mitre = "defense_evasion, t1089"

  events:
((re.regex($selection.target.process.command_line, `.* stop wuauserv`) or re.regex($selection.target.process.command_line, `.* stop WinDefend`) or re.regex($selection.target.process.command_line, `.* stop wscsvc`) or re.regex($selection.target.process.command_line, `.* stop mpssvc`) or re.regex($selection.target.process.command_line, `.* delete WinDefend`) or re.regex($selection.target.process.command_line, `.*SOFTWARE\\Policies\\Microsoft\\Windows Defender\\Real-Time Protection\\Disable.*`)) and ($selection.metadata.product_event_type = "4688" or $selection.metadata.product_event_type = "1"))

  condition:
    $selection
}

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.