Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
product: windows
service: security
detection:
samrpipe:
EventID: 5145
RelativeTargetName: samr
passwordchanged:
EventID: 4738
passwordchanged_filter:
PasswordLastSet:
timeframe: 15s
condition: ( passwordchanged and not passwordchanged_filter ) | near samrpipe