{"id":"ad1f4bb9-8dfb-4765-adb6-2a7cfb6c0f94","title":"Suspicious WSMAN Provider Image Loads","description":"Detects signs of potential use of the WSMAN provider from uncommon processes locally and remote execution.","author":"Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)","status":"test","level":"medium","date":"2020-06-24","modified":"2025-10-17","tags":["attack.execution","attack.t1059.001","attack.lateral-movement","attack.t1021.003"],"technique_ids":["T1021.003","T1059.001"],"logsource":{"category":"image_load","product":"windows"},"falsepositives":["Unknown"],"references":["https://twitter.com/chadtilbury/status/1275851297770610688","https://bohops.com/2020/05/12/ws-management-com-another-approach-for-winrm-lateral-movement/","https://learn.microsoft.com/en-us/windows/win32/winrm/windows-remote-management-architecture","https://github.com/bohops/WSMan-WinRM"],"source_path":"rules/windows/image_load/image_load_wsman_provider_image_load.yml","source_sha256":"9015c1d09bf742e62f3de6019e6de3fd27c51e8f9b19367cdfefc6c5bd5157b7","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/image_load/image_load_wsman_provider_image_load.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 WSMAN Provider Image Loads\nid: ad1f4bb9-8dfb-4765-adb6-2a7cfb6c0f94\nstatus: test\ndescription: Detects signs of potential use of the WSMAN provider from uncommon processes locally and remote execution.\nreferences:\n    - https://twitter.com/chadtilbury/status/1275851297770610688\n    - https://bohops.com/2020/05/12/ws-management-com-another-approach-for-winrm-lateral-movement/\n    - https://learn.microsoft.com/en-us/windows/win32/winrm/windows-remote-management-architecture\n    - https://github.com/bohops/WSMan-WinRM\nauthor: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)\ndate: 2020-06-24\nmodified: 2025-10-17\ntags:\n    - attack.execution\n    - attack.t1059.001\n    - attack.lateral-movement\n    - attack.t1021.003\nlogsource:\n    category: image_load\n    product: windows\ndetection:\n    request_client:\n        - ImageLoaded|endswith:\n              - '\\WsmSvc.dll'\n              - '\\WsmAuto.dll'\n              - '\\Microsoft.WSMan.Management.ni.dll'\n        - OriginalFileName:\n              - 'WsmSvc.dll'\n              - 'WSMANAUTOMATION.DLL'\n              - 'Microsoft.WSMan.Management.dll'\n    respond_server:\n        Image|endswith: '\\svchost.exe'\n        OriginalFileName: 'WsmWmiPl.dll'\n    filter_general:\n        Image:\n            - 'C:\\Program Files (x86)\\PowerShell\\6\\pwsh.exe'\n            - 'C:\\Program Files (x86)\\PowerShell\\7\\pwsh.exe'\n            - 'C:\\Program Files\\PowerShell\\6\\pwsh.exe'\n            - 'C:\\Program Files\\PowerShell\\7\\pwsh.exe'\n            - 'C:\\Windows\\System32\\sdiagnhost.exe'\n            - 'C:\\Windows\\System32\\services.exe'\n            - 'C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell_ise.exe'\n            - 'C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe'\n    filter_svchost: # not available in Sysmon data, but Aurora logs\n        CommandLine|contains:\n            - 'svchost.exe -k netsvcs -p -s BITS'\n            - 'svchost.exe -k GraphicsPerfSvcGroup -s GraphicsPerfSvc'\n            - 'svchost.exe -k NetworkService -p -s Wecsvc'\n            - 'svchost.exe -k netsvcs'\n    filter_mscorsvw: # Image: C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscorsvw.exe\n        Image|startswith:\n            - 'C:\\Windows\\Microsoft.NET\\Framework64\\v'\n            - 'C:\\Windows\\Microsoft.NET\\Framework\\v'\n            - 'C:\\Windows\\Microsoft.NET\\FrameworkArm\\v'\n            - 'C:\\Windows\\Microsoft.NET\\FrameworkArm64\\v'\n        Image|endswith: '\\mscorsvw.exe'\n    filter_svr_2019:\n        Image:\n            - 'C:\\Windows\\System32\\Configure-SMRemoting.exe'\n            - 'C:\\Windows\\System32\\ServerManager.exe'\n    filter_nextron:\n        Image|startswith: 'C:\\Windows\\Temp\\asgard2-agent\\'\n    filter_citrix:\n        Image|startswith: 'C:\\Program Files\\Citrix\\'\n    filter_upgrade:\n        Image|startswith: 'C:\\$WINDOWS.~BT\\Sources\\'\n    filter_mmc:\n        Image|endswith: '\\mmc.exe'\n    svchost:\n        Image|endswith: '\\svchost.exe'\n    commandline_null:\n        CommandLine: null\n    condition: ( request_client or respond_server ) and not 1 of filter* and not ( svchost and commandline_null )\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1021.003","id":"T1021.003","name":"Distributed Component Object Model","page":"techniques/enterprise/T1021.003/"},{"key":"enterprise/T1059.001","id":"T1059.001","name":"PowerShell","page":"techniques/enterprise/T1059.001/"}],"data_path":"data/detection-rules/ad1f4bb9-8dfb-4765-adb6-2a7cfb6c0f94.json","kind":"sigma"}
