Sigma rule: Hidden User Creation

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-ab0432936573, updated 2021-11-27T00:00:00.000Z.

Rule

Title
Hidden User Creation
Status
test
Level
medium
Author
Daniil Yugoslavskiy, oscd.community
Date
2020-10-10
Modified
2021-11-27
File
rules/macos/process_creation/proc_creation_macos_create_hidden_account.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects creation of a hidden user account on macOS (UserID < 500) or with IsHidden option

Log source

product
macos
category
process_creation

Detection

dscl_create:
    Image|endswith: '/dscl'
    CommandLine|contains: 'create'
id_below_500:
    CommandLine|contains: UniqueID
    CommandLine|re: '([0-9]|[1-9][0-9]|[1-4][0-9]{2})'
ishidden_option_declaration:
    CommandLine|contains: 'IsHidden'
ishidden_option_confirmation:
    CommandLine|contains:
        - 'true'
        - 'yes'
        - '1'
condition: dscl_create and id_below_500 or dscl_create and (ishidden_option_declaration and ishidden_option_confirmation)

False positives (as the rule lists them)

  • Legitimate administration activities

Tags

  • attack.stealth
  • attack.t1564.002

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_create_hidden_account.yml

Sources and licences

  • SigmaHQ

    "Hidden User Creation" by Daniil Yugoslavskiy, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/macos/process_creation/proc_creation_macos_create_hidden_account.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Hidden User Creation",
entity page, dataset version ref-ab0432936573, updated 2021-11-27T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/b22a5b36-2431-493a-8be1-0bae56c28ef3 (accessed 2026-11-03).
Underlying source: SigmaHQ rule b22a5b36-2431-493a-8be1-0bae56c28ef3, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.