Detection rules › Sigma

Suspicious SYSTEM User Process Creation

Status
test
Severity
high
Log source
product windows, category process_creation
Author
Florian Roth (Nextron Systems), David ANDRE (additional keywords)
Source
github.com/SigmaHQ/sigma

Detects a suspicious process creation as SYSTEM user (suspicious program or command line parameter)

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: Suspicious SYSTEM User Process Creation
id: 2617e7ed-adb7-40ba-b0f3-8f9945fe6c09
status: test
description: Detects a suspicious process creation as SYSTEM user (suspicious program or command line parameter)
references:
    - Internal Research
    - https://tools.thehacker.recipes/mimikatz/modules
author: Florian Roth (Nextron Systems), David ANDRE (additional keywords)
date: 2021-12-20
modified: 2025-10-19
tags:
    - attack.credential-access
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1134
    - attack.t1003
    - attack.t1027
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        IntegrityLevel:
            - 'System'
            - 'S-1-16-16384'
        User|contains: # covers many language settings
            - 'AUTHORI'
            - 'AUTORI'
    selection_special:
        - Image|endswith:
              - '\calc.exe'
              - '\cscript.exe'
              - '\forfiles.exe'
              - '\hh.exe'
              - '\mshta.exe'
              - '\ping.exe'
              - '\wscript.exe'
        - CommandLine|re: 'net\s+user\s+'
        - CommandLine|contains:
              # - 'sc stop ' # stops a system service # causes FPs
              - ' -NoP '  # Often used in malicious PowerShell commands
              - ' -W Hidden '  # Often used in malicious PowerShell commands
              - ' -decode '  # Used with certutil
              - ' /decode '  # Used with certutil
              - ' /urlcache '  # Used with certutil
              - ' -urlcache '  # Used with certutil
              - ' -e* JAB'  # PowerShell encoded commands
              - ' -e* SUVYI'  # PowerShell encoded commands
              - ' -e* SQBFAFgA'  # PowerShell encoded commands
              - ' -e* aWV4I'  # PowerShell encoded commands
              - ' -e* IAB'  # PowerShell encoded commands
              - ' -e* PAA'  # PowerShell encoded commands
              - ' -e* aQBlAHgA'  # PowerShell encoded commands
              - 'vssadmin delete shadows'  # Ransomware
              - 'reg SAVE HKLM'  # save registry SAM - syskey extraction
              - ' -ma '  # ProcDump
              - 'Microsoft\Windows\CurrentVersion\Run'  # Run key in command line - often in combination with REG ADD
              - '.downloadstring('  # PowerShell download command
              - '.downloadfile('  # PowerShell download command
              - ' /ticket:'  # Rubeus
              - 'dpapi::'     # Mimikatz
              - 'event::clear'        # Mimikatz
              - 'event::drop'     # Mimikatz
              - 'id::modify'      # Mimikatz
              - 'kerberos::'       # Mimikatz
              - 'lsadump::'      # Mimikatz
              - 'misc::'     # Mimikatz
              - 'privilege::'       # Mimikatz
              - 'rpc::'      # Mimikatz
              - 'sekurlsa::'       # Mimikatz
              - 'sid::'        # Mimikatz
              - 'token::'      # Mimikatz
              - 'vault::cred'     # Mimikatz
              - 'vault::list'     # Mimikatz
              - ' p::d '  # Mimikatz
              - ';iex('  # PowerShell IEX
              - 'MiniDump'  # Process dumping method apart from procdump
    filter_main_ping:
        CommandLine|contains|all:
            - 'ping'
            - '127.0.0.1'
            - ' -n '
    filter_vs:
        Image|endswith: '\PING.EXE'
        ParentCommandLine|contains: '\DismFoDInstall.cmd'
    filter_config_mgr:
        ParentImage|contains: ':\Packages\Plugins\Microsoft.GuestConfiguration.ConfigurationforWindows\'
    filter_java:
        ParentImage|contains:
            - ':\Program Files (x86)\Java\'
            - ':\Program Files\Java\'
        ParentImage|endswith: '\bin\javaws.exe'
        Image|contains:
            - ':\Program Files (x86)\Java\'
            - ':\Program Files\Java\'
        Image|endswith: '\bin\jp2launcher.exe'
        CommandLine|contains: ' -ma '
    condition: all of selection* and not 1 of filter_*
falsepositives:
    - Administrative activity
    - Scripts and administrative tools used in the monitored environment
    - Monitoring activity
level: high

Stages and Predicates

Stage 0: condition

all of selection* and not 1 of filter_*

Stage 1: selection

selection:
    IntegrityLevel:
        - 'System'
        - 'S-1-16-16384'
    User|contains:
        - 'AUTHORI'
        - 'AUTORI'

Stage 2: selection_special

selection_special:
    - Image|endswith:
          - '\calc.exe'
          - '\cscript.exe'
          - '\forfiles.exe'
          - '\hh.exe'
          - '\mshta.exe'
          - '\ping.exe'
          - '\wscript.exe'
    - CommandLine|re: 'net\s+user\s+'
    - CommandLine|contains:
          - ' -NoP '
          - ' -W Hidden '
          - ' -decode '
          - ' /decode '
          - ' /urlcache '
          - ' -urlcache '
          - ' -e* JAB'
          - ' -e* SUVYI'
          - ' -e* SQBFAFgA'
          - ' -e* aWV4I'
          - ' -e* IAB'
          - ' -e* PAA'
          - ' -e* aQBlAHgA'
          - 'vssadmin delete shadows'
          - 'reg SAVE HKLM'
          - ' -ma '
          - 'Microsoft\Windows\CurrentVersion\Run'
          - '.downloadstring('
          - '.downloadfile('
          - ' /ticket:'
          - 'dpapi::'
          - 'event::clear'
          - 'event::drop'
          - 'id::modify'
          - 'kerberos::'
          - 'lsadump::'
          - 'misc::'
          - 'privilege::'
          - 'rpc::'
          - 'sekurlsa::'
          - 'sid::'
          - 'token::'
          - 'vault::cred'
          - 'vault::list'
          - ' p::d '
          - ';iex('
          - 'MiniDump'

Stage 3: not filter_*

filter_main_ping:
    CommandLine|contains|all:
        - 'ping'
        - '127.0.0.1'
        - ' -n '
filter_vs:
    Image|endswith: '\PING.EXE'
    ParentCommandLine|contains: '\DismFoDInstall.cmd'
filter_config_mgr:
    ParentImage|contains: ':\Packages\Plugins\Microsoft.GuestConfiguration.ConfigurationforWindows\'
filter_java:
    ParentImage|contains:
        - ':\Program Files (x86)\Java\'
        - ':\Program Files\Java\'
    ParentImage|endswith: '\bin\javaws.exe'
    Image|contains:
        - ':\Program Files (x86)\Java\'
        - ':\Program Files\Java\'
    Image|endswith: '\bin\jp2launcher.exe'
    CommandLine|contains: ' -ma '

Exclusions

Top-level NOT(...) conjuncts: predicates this rule actively suppresses.

FieldKindExcluded values
Imagematch:\Program Files (x86)\Java\
Imagematch:\Program Files\Java\
ParentImagematch:\Program Files (x86)\Java\
ParentImagematch:\Program Files\Java\
CommandLinematch -ma
Imageends_with\bin\jp2launcher.exe
ParentImageends_with\bin\javaws.exe
CommandLinematch -n
CommandLinematch127.0.0.1
CommandLinematchping
Imageends_with\PING.EXE
ParentCommandLinematch\DismFoDInstall.cmd
ParentImagematch:\Packages\Plugins\Microsoft.GuestConfiguration.ConfigurationforWindows\

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • -NoP corpus 3 (sigma 3)
  • -W Hidden corpus 5 (sigma 5)
  • -decode corpus 4 (sigma 4)
  • -e* IAB
  • -e* JAB
  • -e* PAA corpus 2 (sigma 2)
  • -e* SQBFAFgA
  • -e* SUVYI
  • -e* aQBlAHgA
  • -e* aWV4I
  • -ma corpus 5 (sigma 4, chronicle 1)
  • -urlcache
  • /decode corpus 2 (sigma 2)
  • /ticket: corpus 2 (sigma 2)
  • /urlcache
  • p::d
  • .downloadfile( corpus 8 (sigma 7, chronicle 1)
  • .downloadstring( corpus 8 (sigma 7, chronicle 1)
  • ;iex(
  • Microsoft\Windows\CurrentVersion\Run corpus 2 (sigma 2)
  • MiniDump corpus 5 (sigma 4, chronicle 1)
  • dpapi:: corpus 3 (sigma 2, chronicle 1)
  • event::clear
  • event::drop
  • id::modify
  • kerberos:: corpus 3 (sigma 2, chronicle 1)
  • lsadump:: corpus 3 (sigma 2, chronicle 1)
  • misc::
  • privilege:: corpus 3 (sigma 2, chronicle 1)
  • reg SAVE HKLM
  • rpc:: corpus 3 (sigma 2, chronicle 1)
  • sekurlsa:: corpus 3 (sigma 2, chronicle 1)
  • sid::
  • token:: corpus 3 (sigma 2, chronicle 1)
  • vault::cred
  • vault::list
  • vssadmin delete shadows
CommandLineregex_match
  • net\s+user\s+
Imageends_with
  • \calc.exe corpus 13 (sigma 13)
  • \cscript.exe corpus 73 (sigma 73)
  • \forfiles.exe corpus 12 (sigma 12)
  • \hh.exe corpus 16 (sigma 16)
  • \mshta.exe corpus 67 (sigma 67)
  • \ping.exe corpus 7 (sigma 7)
  • \wscript.exe corpus 75 (sigma 75)
IntegrityLeveleq
  • S-1-16-16384 corpus 29 (sigma 22, splunk 4, elastic 3)
  • System corpus 29 (sigma 22, splunk 4, elastic 3)
Usermatch
  • AUTHORI corpus 14 (sigma 14)
  • AUTORI corpus 14 (sigma 14)