{"id":"13acf386-b8c6-4fe0-9a6e-c4756b974698","title":"Remote PowerShell Sessions Network Connections (WinRM)","description":"Detects basic PowerShell Remoting (WinRM) by monitoring for network inbound connections to ports 5985 OR 5986","author":"Roberto Rodriguez @Cyb3rWard0g","status":"test","level":"high","date":"2019-09-12","modified":"2022-10-09","tags":["attack.execution","attack.t1059.001"],"technique_ids":["T1059.001"],"logsource":{"product":"windows","service":"security"},"falsepositives":["Legitimate use of remote PowerShell execution"],"references":["https://threathunterplaybook.com/hunts/windows/190511-RemotePwshExecution/notebook.html"],"source_path":"rules/windows/builtin/security/win_security_remote_powershell_session.yml","source_sha256":"1e07361d6690bba2ec165781fc8218329e834dfc5738467c18a5ce9c5dc8a59c","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/builtin/security/win_security_remote_powershell_session.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 Sessions Network Connections (WinRM)\nid: 13acf386-b8c6-4fe0-9a6e-c4756b974698\nstatus: test\ndescription: Detects basic PowerShell Remoting (WinRM) by monitoring for network inbound connections to ports 5985 OR 5986\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.t1059.001\nlogsource:\n    product: windows\n    service: security\ndetection:\n    selection:\n        EventID: 5156\n        DestPort:\n            - 5985\n            - 5986\n        LayerRTID: 44\n    condition: selection\nfalsepositives:\n    - Legitimate use of remote PowerShell execution\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/13acf386-b8c6-4fe0-9a6e-c4756b974698.json","kind":"sigma"}
