New User Created Via Net.EXE With Never Expire Option
Detects creation of local users via the net.exe command with the option "never expire"
Sigma rule (View on GitHub)
1title: New User Created Via Net.EXE With Never Expire Option
2id: b9f0e6f5-09b4-4358-bae4-08408705bd5c
3related:
4 - id: cd219ff3-fa99-45d4-8380-a7d15116c6dc
5 type: derived
6status: test
7description: Detects creation of local users via the net.exe command with the option "never expire"
8references:
9 - https://thedfirreport.com/2022/07/11/select-xmrig-from-sqlserver/
10author: Nasreddine Bencherchali (Nextron Systems)
11date: 2022-07-12
12modified: 2023-02-21
13tags:
14 - attack.persistence
15 - attack.t1136.001
16logsource:
17 category: process_creation
18 product: windows
19detection:
20 selection_img:
21 - Image|endswith:
22 - '\net.exe'
23 - '\net1.exe'
24 - OriginalFileName:
25 - 'net.exe'
26 - 'net1.exe'
27 selection_cli:
28 CommandLine|contains|all:
29 - 'user'
30 - 'add'
31 - 'expires:never'
32 condition: all of selection_*
33falsepositives:
34 - Unlikely
35level: high
References
Related rules
- Cisco Local Accounts
- Creation Of A Local User Account
- Creation Of An User Account
- Creation of a Local Hidden User Account by Registry
- Hidden Local User Creation