Network Services

WinRM (Windows Remote Manager)

  • Protocol: TCP 5985 (HTTP) and 5986 (HTTPS).
  • Main tool: CrackMapExec, Evil-WinRM.
terminal
$ crackmapexec winrm <IP> -u <user-list> -p <password-list>$ evil-winrm -i <IP> -u <usuario> -p <contraseña>

SSH

  • Protocol: TCP 22. Tools: Hydra, SSH client.
terminal
$ hydra -L user.list -P password.list ssh://<IP>$ ssh <usuario>@<IP>

RDP

  • Protocol: TCP 3389. Tools: Hydra, xfreerdp.
terminal
$ hydra -L user.list -P password.list rdp://<IP>$ xfreerdp /v:<IP> /u:<usuario> /p:<contraseña>

SMB

  • Protocol: TCP 445. In order of preference: Hydra, msfconsole (smb_login), crackmapexec.
terminal
$ hydra -L user.list -P password.list smb://<IP>$ crackmapexec smb <IP> -u <user-list> -p <password-list>$ crackmapexec smb <IP> -u <usuario> -p <contraseña> --shares$ smbclient -U <usuario> //<IP>/<share>