{"id":"d3feb4ee-ff1d-4d3d-bd10-5b28a238cc72","title":"File and Directory Discovery - Linux","description":"Detects usage of system utilities such as \"find\", \"tree\", \"findmnt\", etc, to discover files, directories and network shares.\n","author":"Daniil Yugoslavskiy, oscd.community, CheraghiMilad","status":"test","level":"informational","date":"2020-10-19","modified":"2024-12-01","tags":["attack.discovery","attack.t1083"],"technique_ids":["T1083"],"logsource":{"category":"process_creation","product":"linux"},"falsepositives":["Legitimate activities"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1083/T1083.md"],"source_path":"rules/linux/process_creation/proc_creation_lnx_file_and_directory_discovery.yml","source_sha256":"1cdabc93d6008c54258cd5fb82180dbb37503b56865ead1a53e7c44910a9e110","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/linux/process_creation/proc_creation_lnx_file_and_directory_discovery.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: File and Directory Discovery - Linux\nid: d3feb4ee-ff1d-4d3d-bd10-5b28a238cc72\nstatus: test\ndescription: |\n    Detects usage of system utilities such as \"find\", \"tree\", \"findmnt\", etc, to discover files, directories and network shares.\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1083/T1083.md\nauthor: Daniil Yugoslavskiy, oscd.community, CheraghiMilad\ndate: 2020-10-19\nmodified: 2024-12-01\ntags:\n    - attack.discovery\n    - attack.t1083\nlogsource:\n    category: process_creation\n    product: linux\ndetection:\n    selection_file_with_asterisk:\n        Image|endswith: '/file'\n        CommandLine|re: '(.){200,}' # execution of the 'file */* *>> /tmp/output.txt' will produce huge commandline\n    selection_recursive_ls:\n        Image|endswith: '/ls'\n        CommandLine|contains: '-R'\n    selection_find_execution:\n        Image|endswith: '/find'\n    selection_tree_execution:\n        Image|endswith: '/tree'\n    selection_findmnt_execution:\n        Image|endswith: '/findmnt'\n    selection_locate_execution:\n        Image|endswith: '/mlocate'\n    condition: 1 of selection_*\nfalsepositives:\n    - Legitimate activities\nlevel: informational\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1083","id":"T1083","name":"File and Directory Discovery","page":"techniques/enterprise/T1083/"}],"data_path":"data/detection-rules/d3feb4ee-ff1d-4d3d-bd10-5b28a238cc72.json","kind":"sigma"}
