Skip to content

Commit

Permalink
Some Images and one technique Added
Browse files Browse the repository at this point in the history
  • Loading branch information
CheraghiMilad committed Dec 10, 2024
1 parent 374f003 commit 743e4c4
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions rules/linux/process_creation/proc_creation_lnx_cat_sudoers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,31 @@ status: test
description: Detects the execution of a cat /etc/sudoers to list all users that have sudo rights
references:
- https://github.com/sleventyeleven/linuxprivchecker/
author: Florian Roth (Nextron Systems)
author: Florian Roth (Nextron Systems), CheraghiMilad
date: 2022-06-20
modified: 2022-09-15
modified: 2024-12-10
tags:
- attack.reconnaissance
- attack.t1592.004
logsource:
category: process_creation
product: linux
detection:
selection:
selection_1:
Image|endswith: '/visudo'
selection_2:
Image|endswith:
- '/grep'
- '/cat'
- 'grep'
- '/ed'
- '/head'
- '/tail'
- '/more'
- '/nano'
- '/tail'
- '/less'
- '/vi'
- '/vim'
- '/emacs'
CommandLine|contains: ' /etc/sudoers'
condition: selection
falsepositives:
Expand Down

0 comments on commit 743e4c4

Please sign in to comment.