Sigma rule: Password Set to Never Expire via WMI
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-990df48e444b, updated 2025-07-30T00:00:00.000Z.
Rule
- Title
- Password Set to Never Expire via WMI
- Status
- experimental
- Level
- medium
- Author
- Daniel Koifman (KoifSec)
- Date
- 2025-07-30
- File
- rules/windows/process_creation/proc_creation_win_wmi_password_never_expire.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the use of wmic.exe to modify user account settings and explicitly disable password expiration.
Log source
- product
- windows
- category
- process_creation
Detection
selection_img: # Example command simulated: wmic useraccount where name='guest' set passwordexpires=false
- Image|endswith: '\wmic.exe'
- OriginalFileName: 'wmic.exe'
selection_cli:
CommandLine|contains|all:
- 'useraccount'
- ' set '
- 'passwordexpires'
- 'false'
condition: all of selection_*False positives (as the rule lists them)
- Legitimate administrative activity
Tags
- attack.privilege-escalation
- attack.execution
- attack.persistence
- attack.t1047
- attack.t1098
MITRE ATT&CK ids this rule names
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_wmi_password_never_expire.yml
Sources and licences
SigmaHQ
"Password Set to Never Expire via WMI" by Daniel Koifman (KoifSec) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_wmi_password_never_expire.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Password Set to Never Expire via WMI",
entity page, dataset version ref-990df48e444b, updated 2025-07-30T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/7864a175-3654-4824-9f0d-f0da18ab27c0 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 7864a175-3654-4824-9f0d-f0da18ab27c0, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.