LoFP LoFP / legitimate user creation.

Sample rules

New User Created Via Net.EXE

Description

Identifies the creation of local users via the net.exe command.

Detection logic

condition: all of selection_*
selection_cli:
  CommandLine|contains|all:
  - user
  - add
selection_img:
- Image|endswith:
  - \net.exe
  - \net1.exe
- OriginalFileName:
  - net.exe
  - net1.exe

PowerShell Create Local User

Description

Detects creation of a local user via PowerShell

Detection logic

condition: selection
selection:
  ScriptBlockText|contains: New-LocalUser