WinRM / PSRemoting
Windows Remote Management / PowerShell Remoting
Enable WinRM
Using PowerShell (takes ~1m to be applied):
Remotely with CME:
From Windows
From Linux
Evil-WinRM
Basic syntax:
Always use full username when authenticating as a domain user, because if there're 2 users sharing the same name (a local user and a domain user), say WORKGROUP\Administrator
and MEGACORP\Administrator
, and you're trying to authenticate as a domain admin without providing the domain prefix, authentication will fail.
Execute a .NET binary:
Spawn interactive bind shell with powercat.ps1 and Invoke-PSInject.ps1:
pwsh
Last updated