Local Groups Discovery Attempt - Linux
Description
Detects attempts to enumerate local groups and group membership via common Linux utilities and sensitive file access. Adversaries may read files such as /etc/group and /etc/gshadow, or use tools like getent and groups to identify group memberships and privilege assignments on a compromised system.
Query · sigma
selection_groups: Image|endswith: /groups selection_read_utilities: Image|endswith: - /cat - /ed - /emacs - /head - /less - /makemap - /more - /nano - /sqlite3 - /tail - /vi - /vim CommandLine|contains: - group - gshadow selection_getent: Image|endswith: /getent CommandLine|contains: - ' group' - ' gshadow' selection_ypcat: Image|endswith: /ypcat CommandLine|contains: group condition: 1 of selection_*
Known false positives
- Legitimate administration activities