WinRM
Connect to WinRM with Evil-WinRM and transfer files.
WinRM provides remote command execution over SOAP on 5985/TCP (HTTP) and 5986/TCP (HTTPS). Authentication policy decides which accounts may connect.
Evil-WinRM
evil-winrm -u $USER -p $PASSWORD -i $VICTIMSeveral interesting commands are available with this tool:
- services: Lists the services on the machine.
- upload: Pushes documents from the attacker machine to the victim.
- download: Retrieves documents from the victim to the attacker machine.
The remote token depends on account rights, UAC and endpoint configuration.
Check whoami /all rather than assuming the session is elevated.
Provenance and confidence
- Version
- 2
- Sources reviewed
- 2026-11-23
- Confidence
- medium — Legacy RTFM; v2 editorial review on 2026-11-23 replaces the unsupported privilege-drop claim with token and policy checks. No session test.
Also searched as: winrm, evil-winrm, 5985/tcp, 5986/tcp, remote management