{"id":"de41232e-12e8-49fa-86bc-c05c7e722df9","title":"Suspicious PowerShell Download - PoshModule","description":"Detects suspicious PowerShell download command","author":"Florian Roth (Nextron Systems)","status":"test","level":"medium","date":"2017-03-05","modified":"2023-01-20","tags":["attack.execution","attack.t1059.001"],"technique_ids":["T1059.001"],"logsource":{"product":"windows","category":"ps_module","definition":"0ad03ef1-f21b-4a79-8ce8-e6900c54b65b"},"falsepositives":["PowerShell scripts that download content from the Internet"],"references":["https://learn.microsoft.com/en-us/dotnet/api/system.net.webclient.downloadfile?view=net-8.0","https://learn.microsoft.com/en-us/dotnet/api/system.net.webclient.downloadstring?view=net-8.0"],"source_path":"rules/windows/powershell/powershell_module/posh_pm_susp_download.yml","source_sha256":"5da5813a240e8ab0b80b0c69988f0de1642aa2459b2ba5dd7ae2be5a0b4bdb60","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_module/posh_pm_susp_download.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 Download - PoshModule\nid: de41232e-12e8-49fa-86bc-c05c7e722df9\nrelated:\n    - id: 65531a81-a694-4e31-ae04-f8ba5bc33759\n      type: derived\nstatus: test\ndescription: Detects suspicious PowerShell download command\nreferences:\n    - https://learn.microsoft.com/en-us/dotnet/api/system.net.webclient.downloadfile?view=net-8.0\n    - https://learn.microsoft.com/en-us/dotnet/api/system.net.webclient.downloadstring?view=net-8.0\nauthor: Florian Roth (Nextron Systems)\ndate: 2017-03-05\nmodified: 2023-01-20\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_webclient_:\n        ContextInfo|contains: 'System.Net.WebClient'\n    selection_function:\n        ContextInfo|contains:\n            - '.DownloadFile('\n            - '.DownloadString('\n    condition: all of selection_*\nfalsepositives:\n    - PowerShell scripts that download content from the Internet\nlevel: medium\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/de41232e-12e8-49fa-86bc-c05c7e722df9.json","kind":"sigma"}
