{"id":"0f79c4d2-4e1f-4683-9c36-b5469a665e06","title":"Access of Sudoers File Content","description":"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.","author":"Florian Roth (Nextron Systems)","status":"test","level":"medium","date":"2022-06-20","modified":"2025-06-04","tags":["attack.reconnaissance","attack.t1592.004"],"technique_ids":["T1592.004"],"logsource":{"category":"process_creation","product":"linux"},"falsepositives":["Legitimate administration activities"],"references":["https://github.com/sleventyeleven/linuxprivchecker/"],"source_path":"rules/linux/process_creation/proc_creation_lnx_susp_process_reading_sudoers.yml","source_sha256":"2e9a5c54d49a0c7c42e50fe207b1cdfeaf6cca053212768c8cc145232f730e1f","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/linux/process_creation/proc_creation_lnx_susp_process_reading_sudoers.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Access of Sudoers File Content\nid: 0f79c4d2-4e1f-4683-9c36-b5469a665e06\nstatus: test\ndescription: 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.\nreferences:\n    - https://github.com/sleventyeleven/linuxprivchecker/\nauthor: Florian Roth (Nextron Systems)\ndate: 2022-06-20\nmodified: 2025-06-04\ntags:\n    - attack.reconnaissance\n    - attack.t1592.004\nlogsource:\n    category: process_creation\n    product: linux\ndetection:\n    selection:\n        Image|endswith:\n            - '/cat'\n            - '/ed'\n            - '/egrep'\n            - '/emacs'\n            - '/fgrep'\n            - '/grep'\n            - '/head'\n            - '/less'\n            - '/more'\n            - '/nano'\n            - '/tail'\n        CommandLine|contains: ' /etc/sudoers'\n    condition: selection\nfalsepositives:\n    - Legitimate administration activities\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1592.004","id":"T1592.004","name":"Client Configurations","page":"techniques/enterprise/T1592.004/"}],"data_path":"data/detection-rules/0f79c4d2-4e1f-4683-9c36-b5469a665e06.json","kind":"sigma"}
