{"id":"bbb80e91-5746-4fbe-8898-122e2cafdbf4","title":"Suspicious PowerShell Invocations - Generic - PowerShell Module","description":"Detects suspicious PowerShell invocation command parameters","author":"Florian Roth (Nextron Systems)","status":"test","level":"high","date":"2017-03-12","modified":"2023-01-03","tags":["attack.execution","attack.t1059.001"],"technique_ids":["T1059.001"],"logsource":{"product":"windows","category":"ps_module","definition":"0ad03ef1-f21b-4a79-8ce8-e6900c54b65b"},"falsepositives":["Very special / sneaky PowerShell scripts"],"references":["Internal Research"],"source_path":"rules/windows/powershell/powershell_module/posh_pm_susp_invocation_generic.yml","source_sha256":"07fa9c041c0e487621931263326a7631c544822bfe572e8a72fa9060853d3506","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_module/posh_pm_susp_invocation_generic.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Suspicious PowerShell Invocations - Generic - PowerShell Module\nid: bbb80e91-5746-4fbe-8898-122e2cafdbf4\nrelated:\n    - id: 3d304fda-78aa-43ed-975c-d740798a49c1\n      type: derived\n    - id: ed965133-513f-41d9-a441-e38076a0798f\n      type: similar\nstatus: test\ndescription: Detects suspicious PowerShell invocation command parameters\nreferences:\n    - Internal Research\nauthor: Florian Roth (Nextron Systems)\ndate: 2017-03-12\nmodified: 2023-01-03\ntags:\n    - attack.execution\n    - attack.t1059.001\nlogsource:\n    product: windows\n    category: ps_module\n    definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b\ndetection:\n    selection_encoded:\n        ContextInfo|contains:\n            - ' -enc '\n            - ' -EncodedCommand '\n            - ' -ec '\n    selection_hidden:\n        ContextInfo|contains:\n            - ' -w hidden '\n            - ' -window hidden '\n            - ' -windowstyle hidden '\n            - ' -w 1 '\n    selection_noninteractive:\n        ContextInfo|contains:\n            - ' -noni '\n            - ' -noninteractive '\n    condition: all of selection*\nfalsepositives:\n    - Very special / sneaky PowerShell scripts\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1059.001","id":"T1059.001","name":"PowerShell","page":"techniques/enterprise/T1059.001/"}],"data_path":"data/detection-rules/bbb80e91-5746-4fbe-8898-122e2cafdbf4.json","kind":"sigma"}
