Winrs Local Command Execution
Detects the execution of Winrs.exe where it is used to execute commands locally. Commands executed this way are launched under Winrshost.exe and can represent proxy execution used for defense evasion or lateral movement.
Detection logic
Detection requirements
- Platform
- LinuxmacOSWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
- Log source product
- windows
- Log source category
- process_creation
Known benign triggers
- Unlikely
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| cardinalops.com/blog/living-off-winrm-abusing-complexity-in-remote-management/ | 2 |
| learn.microsoft.com/en-us/windows-server/administration/windows-commands/winrs | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- bcfece3d-56fe-4545-9931-3b8e92927db1
- Tagged by the source as
- attack.lateral-movementattack.stealth
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1