EXPLORE
← Back to Explore
sigmainformationalHunting

Local Groups Discovery - MacOs

Detects enumeration of local system groups

MITRE ATT&CK

discovery

Detection Query

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*

Author

Ömer Günal, Alejandro Ortuno, oscd.community

Created

2020-10-11

Data Sources

macosProcess Creation Events

Platforms

macos

Tags

attack.discoveryattack.t1069.001
Raw Content
title: Local Groups Discovery - MacOs
id: 89bb1f97-c7b9-40e8-b52b-7d6afbd67276
status: test
description: Detects enumeration of local system groups
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1069.001/T1069.001.md
author: Ömer Günal, Alejandro Ortuno, oscd.community
date: 2020-10-11
modified: 2022-11-27
tags:
    - attack.discovery
    - attack.t1069.001
logsource:
    category: process_creation
    product: macos
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*
falsepositives:
    - Legitimate administration activities
level: informational