Process

unknown

wsmprovhost.exe

wsmprovhost.exe is the host process for incoming PowerShell Remoting and Windows Remote Management (WinRM) sessions. When someone connects to a machine over PowerShell Remoting, the commands they run execute inside this process. For an analyst, it marks a host as the target of remote execution.

File identity

File details

Not observed.

Signing information

Not observed.

File version0

Not observed.

File size0

Not observed.

Execution context

File paths0

Not observed.

User context0

Not observed.

Integrity level0

Not observed.

Instances0

Not observed.

Session0

Not observed.

Token privileges0

Not observed.

Ancestry

Parents0

Not observed.

Children0

Not observed.

Grandparents0

Not observed.

Grandchildren0

Not observed.

Behavior

Loaded modules0

Not observed.

Named pipes0

Not observed.

Process handles0

Not observed.

Command-line patterns0

Not observed.

Indicators

Hashes

Not observed.

Analysis

About this process

wsmprovhost.exe (WinRM Provider Host) is spawned on a machine to host a remote management session that arrives over WinRM, the transport behind PowerShell Remoting (Enter-PSSession, Invoke-Command). The remote user's commands run as children of, or inside, wsmprovhost.exe on the target. It is started by the WinRM service, runs as the connecting user, and lives at C:\Windows\System32\wsmprovhost.exe.

Legitimately, wsmprovhost appears whenever an administrator manages the machine through PowerShell Remoting, common in server and configuration-management environments. Its presence means a remote session is active, and what runs under it is what gives an instance meaning.

Security notes

wsmprovhost.exe is where remote PowerShell execution lands (T1021.006). An attacker who has credentials and reaches WinRM runs commands on the target through PowerShell Remoting, and those commands execute under wsmprovhost.exe rather than under whatever connected over the network, so the process is a reliable marker of inbound remote execution. The session runs full PowerShell (T1059.001), so encoded commands, download cradles, and spawned LOLBINs under wsmprovhost carry the same weight as they would under powershell.exe.

Because PowerShell Remoting is also a legitimate management method, context decides: wsmprovhost on a machine that is not normally remote-managed, or one whose session spawns shells, reaches the network, or runs obfuscated commands, is what to investigate.

Anomaly signals5
  • Image path other than C:\Windows\System32\wsmprovhost.exehigh
  • wsmprovhost spawning cmd.exe, encoded powershell.exe, or LOLBINshigh
  • Appearing on a workstation that is not normally managed over PowerShell Remotinghigh
  • Download cradles or obfuscated commands run within the sessionhigh
  • Outbound connections from a process launched under itmed

Telemetry

OS prevalence0

Not observed.

Observation timeline

Not observed.

References

Subsearch

Hasbeen seen inof wsmprovhost.exe?