anonymous_user_changed_machine_password


Description

Detects Anonymous Users Changing Machine Password. This is the behavior of many zerologon POCs. This behavior must be correlated with windows events - 4624/5829 or IDS events, like Zeek. License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.

Query · yara_l

events:
($selection.metadata.product_event_type = "4742" and re.regex($selection.target.user.user_display_name, `.*$`) and (re.regex($selection.principal.user.user_display_name, `.*anonymous.*`) or re.regex($selection.principal.user.userid, `.*S-1-0.*`)))

  condition:
    $selection
Raw source anonymous_user_changed_machine_password · YARA-L
Esc
Published by chronicle/detection-rules ↗, licensed under Apache 2.0 ↗. Reproduced here unmodified.
rule anonymous_user_changed_machine_password {
 meta:
    author = "SOC Prime Team"
    description = "Detects Anonymous Users Changing Machine Password. This is the behavior of many zerologon POCs. This behavior must be correlated with windows events - 4624/5829 or IDS events, like Zeek.  License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md."
    reference = "https://tdm.socprime.com/tdm/info/EPl2OKBmxbJ6"
    version = "0.01"
    created = "2021-03-09"
    product = "windows"
    service = "security"
    mitre = "lateral_movement, t1210"

  events:
($selection.metadata.product_event_type = "4742" and re.regex($selection.target.user.user_display_name, `.*$`) and (re.regex($selection.principal.user.user_display_name, `.*anonymous.*`) or re.regex($selection.principal.user.userid, `.*S-1-0.*`)))

  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.