Detectioninformationaltest
Local Groups Discovery - MacOs
Detects enumeration of local system groups
Ömer Günal, Alejandro Ortuno, oscd.communityCreated 2020-10-11Updated 2022-11-2789bb1f97-c7b9-40e8-b52b-7d6afbd67276macos
Log Source
macOSProcess Creation
ProductmacOS← raw: macos
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 Logic3 selectors
detection:
selection_1:
Image|endswith: '/dscacheutil'
CommandLine|contains|all:
- '-q'
- 'group'
selection_2:
Image|endswith: '/cat'
CommandLine|contains: '/etc/group'
selection_3:
Image|endswith: '/dscl'
CommandLine|contains|all:
- '-list'
- '/groups'
condition: 1 of selection*False Positives
Legitimate administration activities
References
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
89bb1f97-c7b9-40e8-b52b-7d6afbd67276
Status
test
Level
informational
Type
Detection
Created
2020-10-11
Modified
2022-11-27
Author
Path
rules/macos/process_creation/proc_creation_macos_local_groups.yml
Raw Tags
attack.discoveryattack.t1069.001