MacOS Account Created
The following analytic detects the creation of a new local user account on a MacOS system. It leverages osquery logs to identify this activity. Monitoring the creation of local accounts is crucial for a SOC as it can…
Description
The following analytic detects the creation of a new local user account on a MacOS system. It leverages osquery logs to identify this activity. Monitoring the creation of local accounts is crucial for a SOC as it can indicate unauthorized access or lateral movement within the network. If confirmed malicious, this activity could allow an attacker to establish persistence, escalate privileges, or gain unauthorized access to sensitive systems and data.
Detection logic
Detection requirements
- Platform
- ContainersESXiIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- osquery_results
Known benign triggers
- Creating new accounts after initial endpoint management should be rare in most environments. Investigate and tune as needed.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| osquery.readthedocs.io/en/stable/deployment/process-auditing/ | 12 |
| ss64.com/mac/dscl.html | Only this detection cites it |
| ss64.com/mac/dseditgroup.html | Only this detection cites it |
| ss64.com/mac/sysadminctl.html | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- 491004ae-694f-453e-b1e0-fc1e65daeea1
- Tagged by the source as
- MacOS Persistence TechniquesEndpointendpointSplunk CloudSplunk EnterpriseSplunk Enterprise Securityendpoint
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Written by
- Published
- Sep 5, 2026
- Version
- 2