Skip to content

Commit 73444ca

Browse files
Koifmanphantinuss
andauthored
Merge PR SigmaHQ#5568 from @Koifman - Password Never Expires Set via WMI
new: Password Never Expires Set via WMI --------- Co-authored-by: phantinuss <79651203+phantinuss@users.noreply.github.com>
1 parent 4965c25 commit 73444ca

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
title: Password Set to Never Expire via WMI
2+
id: 7864a175-3654-4824-9f0d-f0da18ab27c0
3+
status: experimental
4+
description: |
5+
Detects the use of wmic.exe to modify user account settings and explicitly disable password expiration.
6+
references:
7+
- https://www.huntress.com/blog/the-unwanted-guest
8+
author: "Daniel Koifman (KoifSec)"
9+
date: 2025-07-30
10+
tags:
11+
- attack.execution
12+
- attack.persistence
13+
- attack.t1047
14+
- attack.t1098
15+
logsource:
16+
category: process_creation
17+
product: windows
18+
detection:
19+
selection_img: # Example command simulated: wmic useraccount where name='guest' set passwordexpires=false
20+
- Image|endswith: '\wmic.exe'
21+
- OriginalFileName: 'wmic.exe'
22+
selection_cli:
23+
CommandLine|contains|all:
24+
- 'useraccount'
25+
- ' set '
26+
- 'passwordexpires'
27+
- 'false'
28+
condition: all of selection_*
29+
falsepositives:
30+
- Legitimate administrative activity
31+
level: medium

0 commit comments

Comments
 (0)