Skip to content

Commit a99b163

Browse files
authored
Merge PR #5166 from @frack113 - Fix Privileged User Has Been Created
fix: Privileged User Has Been Created - Add missing comma to avoid false positives
1 parent 48d5c50 commit a99b163

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

rules/linux/builtin/lnx_privileged_user_creation.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ references:
88
- https://github.com/redcanaryco/atomic-red-team/blob/25acadc0b43a07125a8a5b599b28bbc1a91ffb06/atomics/T1136.001/T1136.001.md#atomic-test-5---create-a-new-user-in-linux-with-root-uid-and-gid
99
author: Pawel Mazur
1010
date: 2022-12-21
11+
modified: 2025-01-21
1112
tags:
1213
- attack.persistence
1314
- attack.t1136.001
@@ -24,10 +25,10 @@ detection:
2425
selection_new_user:
2526
- 'new user'
2627
selection_uids_gids:
27-
- 'GID=0' # root group
28-
- 'UID=0' # root UID
29-
- 'GID=10' # wheel group
30-
- 'GID=27' # sudo group
28+
- 'GID=0,' # root group
29+
- 'UID=0,' # root UID
30+
- 'GID=10,' # wheel group
31+
- 'GID=27,' # sudo group
3132
condition: all of selection_*
3233
falsepositives:
3334
- Administrative activity

0 commit comments

Comments
 (0)