Detection rules › Sigma

Local Groups Discovery - Linux

Status
test
Severity
low
Log source
product linux, category process_creation
Author
Ömer Günal, Alejandro Ortuno, oscd.community
Source
github.com/SigmaHQ/sigma

Detects enumeration of local system groups. Adversaries may attempt to find local system groups and permission settings

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Local Groups Discovery - Linux
id: 676381a6-15ca-4d73-a9c8-6a22e970b90d
status: test
description: Detects enumeration of local system groups. Adversaries may attempt to find local system groups and permission settings
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: 2025-06-04
tags:
    - attack.discovery
    - attack.t1069.001
logsource:
    category: process_creation
    product: linux
detection:
    selection_1:
        Image|endswith: '/groups'
    selection_2:
        Image|endswith:
            - '/cat'
            - '/ed'
            - '/head'
            - '/less'
            - '/more'
            - '/nano'
            - '/tail'
            - '/vi'
            - '/vim'
        CommandLine|contains: '/etc/group'
    condition: 1 of selection_*
falsepositives:
    - Legitimate administration activities
level: low

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_1

selection_1:
    Image|endswith: '/groups'

Stage 2: selection_2

selection_2:
    Image|endswith:
        - '/cat'
        - '/ed'
        - '/head'
        - '/less'
        - '/more'
        - '/nano'
        - '/tail'
        - '/vi'
        - '/vim'
    CommandLine|contains: '/etc/group'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • /etc/group
Imageends_with
  • /cat
  • /ed
  • /groups
  • /head
  • /less
  • /more
  • /nano
  • /tail
  • /vi
  • /vim