Skip to main content

wmi

The wmi command provides Windows Management Instrumentation (WMI) operations for remote system querying and command execution via DCOM/RPC.

Usage


Overview

WMI enables operators to interact with remote Windows hosts using the WMI protocol over DCOM (port 135 + dynamic RPC ports). It provides capabilities for remote process execution, system enumeration, and arbitrary WQL queries — all without requiring SMB file transfers or WinRM to be enabled. WMI is a powerful lateral movement and execution vector because it is natively available on all Windows systems and often permitted through firewalls in enterprise environments.

Planned Capabilities


Authentication

WMI uses the same global authentication flags as all other R4t commands. The following authentication methods are supported:

Connection Details


Payload Execution via WMI

WMI process creation (Win32_Process.Create) is a common execution primitive for lateral movement. The payload factory can generate artifacts suited for WMI-based delivery:

Payload Factory Integration

When the payload factory is operational, WMI execution modules will request artifacts by capability rather than filename:

Spray Integration

WMI-based credential validation is not currently available as a standalone spray protocol but can be tested through the standard WMI authentication flow.
  • winrm — WinRM remote command execution (alternative to WMI)
  • smb — SMB operations (file transfer for payload staging)
  • spray — Multi-protocol credential spraying
  • rpc — DCE/RPC operations