Detectionmediumtest

Access of Sudoers File Content

Detects the execution of a text-based file access or inspection utilities to read the content of /etc/sudoers in order to potentially list all users that have sudo rights.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Florian Roth (Nextron Systems)Created Mon Jun 20Updated Wed Jun 040f79c4d2-4e1f-4683-9c36-b5469a665e06linux
Log Source
LinuxProcess Creation
ProductLinux← raw: linux
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic1 selector
detection:
    selection:
        Image|endswith:
            - '/cat'
            - '/ed'
            - '/egrep'
            - '/emacs'
            - '/fgrep'
            - '/grep'
            - '/head'
            - '/less'
            - '/more'
            - '/nano'
            - '/tail'
        CommandLine|contains: ' /etc/sudoers'
    condition: selection
False Positives

Legitimate administration activities

Rule Metadata
Rule ID
0f79c4d2-4e1f-4683-9c36-b5469a665e06
Status
test
Level
medium
Type
Detection
Created
Mon Jun 20
Modified
Wed Jun 04
Path
rules/linux/process_creation/proc_creation_lnx_susp_process_reading_sudoers.yml
Raw Tags
attack.reconnaissanceattack.t1592.004
View on GitHub