{"id":"96b9f619-aa91-478f-bacb-c3e50f8df575","title":"Remote PowerShell Session (PS Module)","description":"Detects remote PowerShell sessions","author":"Roberto Rodriguez @Cyb3rWard0g, Tim Shelton","status":"test","level":"high","date":"2019-08-10","modified":"2023-01-20","tags":["attack.execution","attack.t1059.001","attack.lateral-movement","attack.t1021.006"],"technique_ids":["T1021.006","T1059.001"],"logsource":{"product":"windows","category":"ps_module","definition":"0ad03ef1-f21b-4a79-8ce8-e6900c54b65b"},"falsepositives":["Legitimate use remote PowerShell sessions"],"references":["https://threathunterplaybook.com/hunts/windows/190511-RemotePwshExecution/notebook.html"],"source_path":"rules/windows/powershell/powershell_module/posh_pm_remote_powershell_session.yml","source_sha256":"a2956dd671b8814aec4b305972afd389053cbbcc349fd63ed32ea5e12c95e18e","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_module/posh_pm_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 Session (PS Module)\nid: 96b9f619-aa91-478f-bacb-c3e50f8df575\nstatus: test\ndescription: Detects remote PowerShell sessions\nreferences:\n    - https://threathunterplaybook.com/hunts/windows/190511-RemotePwshExecution/notebook.html\nauthor: Roberto Rodriguez @Cyb3rWard0g, Tim Shelton\ndate: 2019-08-10\nmodified: 2023-01-20\ntags:\n    - attack.execution\n    - attack.t1059.001\n    - attack.lateral-movement\n    - attack.t1021.006\nlogsource:\n    product: windows\n    category: ps_module\n    definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b\ndetection:\n    selection:\n        ContextInfo|contains|all:\n            - ' = ServerRemoteHost ' #  HostName: 'ServerRemoteHost'  french : Nom d’hôte =\n            - 'wsmprovhost.exe'      #  HostApplication|contains: 'wsmprovhost.exe' french  Application hôte =\n    filter_pwsh_archive:\n        ContextInfo|contains: '\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\Microsoft.PowerShell.Archive\\Microsoft.PowerShell.Archive.psm1'\n    condition: selection and not 1 of filter_*\nfalsepositives:\n    - Legitimate use remote PowerShell sessions\nlevel: high\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/96b9f619-aa91-478f-bacb-c3e50f8df575.json","kind":"sigma"}
