{"id":"734f8d9b-42b8-41b2-bcf5-abaf49d5a3c8","title":"Remote PowerShell Session Host Process (WinRM)","description":"Detects remote PowerShell sections by monitoring for wsmprovhost (WinRM host process) as a parent or child process (sign of an active PowerShell remote session).","author":"Roberto Rodriguez @Cyb3rWard0g","status":"test","level":"medium","date":"2019-09-12","modified":"2022-10-09","tags":["attack.execution","attack.lateral-movement","attack.t1059.001","attack.t1021.006"],"technique_ids":["T1021.006","T1059.001"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate usage of remote Powershell, e.g. for monitoring purposes."],"references":["https://threathunterplaybook.com/hunts/windows/190511-RemotePwshExecution/notebook.html"],"source_path":"rules/windows/process_creation/proc_creation_win_winrm_remote_powershell_session_process.yml","source_sha256":"49a0c70167c392946442d085c6fa4fe90aec4ae8592dfc56453dcfc33b8c065e","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_winrm_remote_powershell_session_process.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Remote PowerShell Session Host Process (WinRM)\nid: 734f8d9b-42b8-41b2-bcf5-abaf49d5a3c8\nstatus: test\ndescription: Detects remote PowerShell sections by monitoring for wsmprovhost (WinRM host process) as a parent or child process (sign of an active PowerShell remote session).\nreferences:\n    - https://threathunterplaybook.com/hunts/windows/190511-RemotePwshExecution/notebook.html\nauthor: Roberto Rodriguez @Cyb3rWard0g\ndate: 2019-09-12\nmodified: 2022-10-09\ntags:\n    - attack.execution\n    - attack.lateral-movement\n    - attack.t1059.001\n    - attack.t1021.006\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection:\n        - Image|endswith: '\\wsmprovhost.exe'\n        - ParentImage|endswith: '\\wsmprovhost.exe'\n    condition: selection\nfalsepositives:\n    - Legitimate usage of remote Powershell, e.g. for monitoring purposes.\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1021.006","id":"T1021.006","name":"Windows Remote Management","page":"techniques/enterprise/T1021.006/"},{"key":"enterprise/T1059.001","id":"T1059.001","name":"PowerShell","page":"techniques/enterprise/T1059.001/"}],"data_path":"data/detection-rules/734f8d9b-42b8-41b2-bcf5-abaf49d5a3c8.json","kind":"sigma"}
