{"id":"089dbdf6-b960-4bcc-90e3-ffc3480c20f6","title":"File and Directory Discovery - MacOS","description":"Detects usage of system utilities to discover files and directories","author":"Daniil Yugoslavskiy, oscd.community","status":"test","level":"informational","date":"2020-10-19","modified":"2022-11-25","tags":["attack.discovery","attack.t1083"],"technique_ids":["T1083"],"logsource":{"category":"process_creation","product":"macos"},"falsepositives":["Legitimate activities"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1083/T1083.md"],"source_path":"rules/macos/process_creation/proc_creation_macos_file_and_directory_discovery.yml","source_sha256":"3d53ad198421099f3e315ea5974aa7e5b6e32f4fdb3cf17ab9df90d85499694a","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/macos/process_creation/proc_creation_macos_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 - MacOS\nid: 089dbdf6-b960-4bcc-90e3-ffc3480c20f6\nstatus: test\ndescription: Detects usage of system utilities to discover files and directories\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1083/T1083.md\nauthor: Daniil Yugoslavskiy, oscd.community\ndate: 2020-10-19\nmodified: 2022-11-25\ntags:\n    - attack.discovery\n    - attack.t1083\nlogsource:\n    category: process_creation\n    product: macos\ndetection:\n    select_file_with_asterisk:\n        Image: '/usr/bin/file'\n        CommandLine|re: '(.){200,}' # execution of the 'file */* *>> /tmp/output.txt' will produce huge commandline\n    select_recursive_ls:\n        Image: '/bin/ls'\n        CommandLine|contains: '-R'\n    select_find_execution:\n        Image: '/usr/bin/find'\n    select_mdfind_execution:\n        Image: '/usr/bin/mdfind'\n    select_tree_execution|endswith:\n        Image: '/tree'\n    condition: 1 of select*\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/089dbdf6-b960-4bcc-90e3-ffc3480c20f6.json","kind":"sigma"}
