{"id":"7d416556-6502-45b2-9bad-9d2f05f38997","title":"Powershell Sensitive File Discovery","description":"Detect adversaries enumerate sensitive files","author":"frack113","status":"test","level":"medium","date":"2022-09-16","modified":"","tags":["attack.discovery","attack.t1083"],"technique_ids":["T1083"],"logsource":{"product":"windows","category":"ps_script","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Unknown"],"references":["https://twitter.com/malmoeb/status/1570814999370801158"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_sensitive_file_discovery.yml","source_sha256":"beabde6d1ec0e475d561f058e41f1ca20a6d888beb45fe4b9d195f6e0317f613","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_sensitive_file_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: Powershell Sensitive File Discovery\nid: 7d416556-6502-45b2-9bad-9d2f05f38997\nrelated:\n    - id: d23f2ba5-9da0-4463-8908-8ee47f614bb9\n      type: derived\nstatus: test\ndescription: Detect adversaries enumerate sensitive files\nreferences:\n    - https://twitter.com/malmoeb/status/1570814999370801158\nauthor: frack113\ndate: 2022-09-16\ntags:\n    - attack.discovery\n    - attack.t1083\nlogsource:\n    product: windows\n    category: ps_script\n    definition: 'Requirements: Script Block Logging must be enabled'\ndetection:\n    selection_action:\n        ScriptBlockText|contains:\n            - ls\n            - get-childitem\n            - gci\n    selection_recurse:\n        ScriptBlockText|contains: '-recurse'\n    selection_file:\n        ScriptBlockText|contains:\n            - '.pass'\n            - '.kdbx'\n            - '.kdb'\n    condition: all of selection_*\nfalsepositives:\n    - Unknown\nlevel: medium\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/7d416556-6502-45b2-9bad-9d2f05f38997.json","kind":"sigma"}
