{"id":"b45e3d6f-42c6-47d8-a478-df6bd6cf534c","title":"Local System Accounts Discovery - Linux","description":"Detects enumeration of local system accounts. This information can help adversaries determine which local accounts exist on a system to aid in follow-on behavior.","author":"Alejandro Ortuno, oscd.community, CheraghiMilad","status":"test","level":"low","date":"2020-10-08","modified":"2024-12-10","tags":["attack.discovery","attack.t1087.001"],"technique_ids":["T1087.001"],"logsource":{"category":"process_creation","product":"linux"},"falsepositives":["Legitimate administration activities"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1087.001/T1087.001.md","https://my.f5.com/manage/s/article/K589","https://man.freebsd.org/cgi/man.cgi?pwd_mkdb"],"source_path":"rules/linux/process_creation/proc_creation_lnx_local_account.yml","source_sha256":"2288be23b4893e92496d29b07610a99b4cd186ef87849186ed30a9b17b3422d5","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/linux/process_creation/proc_creation_lnx_local_account.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Local System Accounts Discovery - Linux\nid: b45e3d6f-42c6-47d8-a478-df6bd6cf534c\nstatus: test\ndescription: Detects enumeration of local system accounts. This information can help adversaries determine which local accounts exist on a system to aid in follow-on behavior.\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1087.001/T1087.001.md\n    - https://my.f5.com/manage/s/article/K589\n    - https://man.freebsd.org/cgi/man.cgi?pwd_mkdb\nauthor: Alejandro Ortuno, oscd.community, CheraghiMilad\ndate: 2020-10-08\nmodified: 2024-12-10\ntags:\n    - attack.discovery\n    - attack.t1087.001\nlogsource:\n    category: process_creation\n    product: linux\ndetection:\n    selection_1:\n        Image|endswith: '/lastlog'\n    selection_2:\n        CommandLine|contains: '''x:0:'''\n    selection_3:\n        Image|endswith:\n            - '/cat'\n            - '/ed'\n            - '/head'\n            - '/more'\n            - '/nano'\n            - '/tail'\n            - '/vi'\n            - '/vim'\n            - '/less'\n            - '/emacs'\n            - '/sqlite3'\n            - '/makemap'\n        CommandLine|contains:\n            - '/etc/passwd'\n            - '/etc/shadow'\n            - '/etc/sudoers'\n            - '/etc/spwd.db'\n            - '/etc/pwd.db'\n            - '/etc/master.passwd'\n    selection_4:\n        Image|endswith: '/id'\n    selection_5:\n        Image|endswith: '/lsof'\n        CommandLine|contains: '-u'\n    condition: 1 of selection*\nfalsepositives:\n    - Legitimate administration activities\nlevel: low\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1087.001","id":"T1087.001","name":"Local Account","page":"techniques/enterprise/T1087.001/"}],"data_path":"data/detection-rules/b45e3d6f-42c6-47d8-a478-df6bd6cf534c.json","kind":"sigma"}
