Detectionmediumtest

New User Created Via Net.EXE

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

Open in Detection LabConvert ruleBuild Package
Endgame, JHasenbusch (adapted to Sigma for oscd.community)Created 2018-10-30Updated 2023-02-21cd219ff3-fa99-45d4-8380-a7d15116c6dcwindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
detection:
    selection_img:
        - Image|endswith:
              - '\net.exe'
              - '\net1.exe'
        - OriginalFileName:
              - 'net.exe'
              - 'net1.exe'
    selection_cli:
        CommandLine|contains|all:
            - 'user'
            - 'add'
    condition: all of selection_*
False Positives

Legitimate user creation.

Better use event IDs for user creation rather than command line rules.

MITRE ATT&CK
Rule Metadata
Rule ID
cd219ff3-fa99-45d4-8380-a7d15116c6dc
Status
test
Level
medium
Type
Detection
Created
2018-10-30
Modified
2023-02-21
Path
rules/windows/process_creation/proc_creation_win_net_user_add.yml
Raw Tags
attack.persistenceattack.t1136.001
View on GitHub