Winrs Local Command Execution
Description
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.
Query · sigma
selection_img: - Image|endswith: \winrs.exe - OriginalFileName: winrs.exe selection_local_ip: CommandLine|contains|windash: - /r:localhost - /r:127.0.0.1 - /r:[::1] - /remote:localhost - /remote:127.0.0.1 - /remote:[::1] filter_main_remote: CommandLine|contains|windash: - '/r:' - '/remote:' condition: all of selection_* or (selection_img and not 1 of filter_main_*)
Known false positives
- Unlikely