Process
winrs.exe
winrs.exe is the Windows Remote Shell client, which runs commands on a remote machine over WinRM. Administrators use it for remote management from the command line. Attackers use it for lateral movement, running commands on other hosts with stolen credentials.
File identity
Not observed.
Not observed.
Not observed.
Not observed.
Execution context
Not observed.
Not observed.
Not observed.
Not observed.
Not observed.
Not observed.
Ancestry
Not observed.
Not observed.
Not observed.
Not observed.
Behavior
Not observed.
Not observed.
Not observed.
Not observed.
Indicators
Not observed.
Analysis
winrs.exe is the command-line front end to Windows Remote Management. With winrs /r:<host> <command> it executes a command on a remote computer over WinRM, optionally with supplied credentials. The command runs on the target, where it is hosted by wsmprovhost.exe. The genuine binary lives at C:\Windows\System32\winrs.exe.
Legitimately, winrs is used by administrators to run commands across servers without an interactive session. The target host, the command, and the credentials used are what give an instance meaning.
winrs.exe is a lateral-movement tool over WinRM (T1021.006). With stolen credentials, winrs /r:target cmd /c ... runs commands on another machine, where they surface under wsmprovhost.exe on the target rather than as children of winrs on the source. It is the command-line counterpart to PowerShell Remoting and a quiet way to execute across the network.
Because winrs is a legitimate remote-management tool, the destinations, the commands, and the account are what matter. winrs reaching hosts an account has no reason to manage, launching shells remotely, or fanning a command across many machines points to an operator moving laterally rather than routine administration.
- Image path other than
C:\Windows\System32\winrs.exehigh /r:<host>running commands on machines an account does not normally managehigh- Launching shells or LOLBINs on the remote hosthigh
- Parent is an Office application, a script host, or an unfamiliar processhigh
- Used to fan out the same command across many hostsmed
Telemetry
Not observed.
Not observed.