macOS Hidden User Creation via dscl (Hidden Account or UniqueID<500)

Detects dscl commands on macOS creating hidden users (UniqueID < 500 or IsHidden true).

FreeReviewedSigma · Medium · v2
Product
macos
Category
process_creation
Author
Daniil Yugoslavskiy, oscd.community (SigmaHQ), DRL 1.1
Published
2020-10-10
Updated
2026-07-31

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. C2

  13. Exfiltration

  14. Impact

What it detects

This rule flags macOS user account creation using the dscl utility when the command indicates a hidden account or a system-like UniqueID below 500. Hidden accounts and low UniqueIDs can help attackers reduce visibility and blend into host user management artifacts. The detection relies on process creation telemetry for dscl commands and matches command-line arguments containing create, UniqueID, and IsHidden values.

Related detections7 linkedT1564.002 — drag to rearrange
Suspicious Hidden Account Creation via Winlogon SpecialAccounts UserList Registry
Hiding local user accounts
Malicious Hidden Local Account via Winlogon SpecialAccounts UserList
Suspicious Hidden Local Account via SpecialAccounts UserList Registry Value (via registry_set)
Windows Process Creation: Suspicious secedit.exe Security Policy Export or Configuration
Windows Registry: Hidden User via Winlogon SpecialAccounts Userlist Value 0
Windows Process Creation: reg.exe Adds Winlogon SpecialAccounts Userlist Value 0
macOS Hidden User Creation via dscl (Hidden Account or UniqueID<500)
Pivot detection · T1564.002 · 7 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.