<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Matt B. on Medium]]></title>
        <description><![CDATA[Stories by Matt B. on Medium]]></description>
        <link>https://medium.com/@matthewbarr?source=rss-45c8d7b8b0b1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*n2ArwvtThL9hA1rH</url>
            <title>Stories by Matt B. on Medium</title>
            <link>https://medium.com/@matthewbarr?source=rss-45c8d7b8b0b1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 01:24:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@matthewbarr/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[TryHackMe: Wreath Part 1 (Enumeration)]]></title>
            <link>https://medium.com/@matthewbarr/tryhackme-wreath-part-1-enumeration-fad7771acab7?source=rss-45c8d7b8b0b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/fad7771acab7</guid>
            <category><![CDATA[enumeration]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[tryhackme]]></category>
            <dc:creator><![CDATA[Matt B.]]></dc:creator>
            <pubDate>Mon, 09 Oct 2023 14:18:25 GMT</pubDate>
            <atom:updated>2023-10-09T14:18:25.031Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9vouFhzJxxb9jwZx" /><figcaption>Photo by <a href="https://unsplash.com/@marvelous?utm_source=medium&amp;utm_medium=referral">Marvin Meyer</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Welcome to Wreath. I will be breaking this up into a multi-part mini-series. For the first four tasks, please read and understand the rules and guidelines for this room. You can complete the tasks after reading through each one. Additionally, the author gives instructions on connecting and what to expect as you meet this room.</p><p>Have a good working copy of Kali or your favorite OS updated and ready. You can connect through OpenVPN on your virtual machine, which is faster. As well as being able to keep notes, files, etc., locally; if you’re using the THM Attack box, your information will be lost when the box powers down.</p><p>Let’s get down to business with Task 5.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qzUiqGuWC2tPa_PGmb-XGA.png" /><figcaption>Initial NMAP Scan</figcaption></figure><p>First, we are told we will need to do an NMAP scan! We want to see the available services as with all great reconnaissance efforts. The author hints to keep our scan in the first 15000 ports. Once we complete our scan, plug in the open number of ports for question one.</p><p>Question two wants us to identify the OS running, and depending on the syntax used, you may have already found this information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*-nYw_9XR0qR-3qEtACQMTA.png" /><figcaption>nmap -sV -p 22,80,443,10000 -vv &lt;ip address&gt;</figcaption></figure><p>Now that we know we are running a web service, let’s see if we can view what is being hosted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P93FujjJojMqYeFChFraRQ.png" /><figcaption>No DNS configuration. We will update our /etc/hosts file.</figcaption></figure><p>We will have to update our hosts file, but we have found the answer to question three. You can do this from the command line; ensure you are root when you do this. I recommend using nano /etc/hosts to add your configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rxT8a7ooII27vKKPWQNaBA.png" /><figcaption>We have updated the host file.</figcaption></figure><p>Once you have done this, restart your browser. I kept receiving the page could not be found error. Now, as we look around, there is little helpful information, but we find Thomas’ mobile phone number. Plug this in for the answer to question five.</p><p>Question six will require us to go back and look at our Nmap results. We can see that we have Miniserv running on port 10000. Ensure you put in the full results of Nmap, including what is inside the parenthesis.</p><p>The next question asks to look up the Miniserv and its version number in Google. We can assume a vulnerability, which will be our entry point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7xL3fQCS1ZAhlJmD7izXBA.png" /><figcaption>Our service is vulnerable to RCE.</figcaption></figure><p>Now that we know our service is vulnerable to remote code execution, we get the answer to our last question about the CVE. We have now completed the enumeration portion of Wreath. See you in Part 2.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fad7771acab7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Attacking Kerberos Walkthrough]]></title>
            <link>https://medium.com/@matthewbarr/tryhackme-attacking-kerberos-walkthrough-b60c1fb0356b?source=rss-45c8d7b8b0b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/b60c1fb0356b</guid>
            <category><![CDATA[kerberos]]></category>
            <category><![CDATA[walkthrough]]></category>
            <category><![CDATA[rubeus]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[mimikatz]]></category>
            <dc:creator><![CDATA[Matt B.]]></dc:creator>
            <pubDate>Sun, 03 Apr 2022 22:42:24 GMT</pubDate>
            <atom:updated>2022-04-03T22:42:24.164Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*FIwuyieVFiHcfWwOGw9XXw.jpeg" /><figcaption>Kerberos</figcaption></figure><p>Welcome to my walkthrough of Attacking Kerberos on TryHackMe; I completed this room to help prep for my CRTP exam with Pentester Academy. This room will be covering Windows Active Directory and Kerberos. Why Kerberos? Well, Kerberos has been the default authentication service for Microsoft Domain services.</p><p>This room covers how to use tools Rubeus, Kerbrute, Impacket, Hashcat, and Mimikatz to perform attacks like Kerberoasting, AS-REP Roasting, Golden/Silver Ticket Attacks, Pass the ticket, and Skeleton key attacks. The author of this room, Cryillic, does a great job introducing Kerberos and walking you through each task.</p><p>For the first task, please read and take plenty of notes to ensure you understand the terminology, overview concepts with Kerberos, and what privileges are needed to perform specific attacks. The first three questions can be found under the terminology section, and question four is in the Kerberos Authentication Overview. Lastly, question five asks that we go ahead and deploy our machine.</p><p>The second task will require us to enumerate users using Kerbrute. If you need help installing and getting Kerbrute up and running, please see my article from the Attacktive Directory Room. <a href="https://medium.com/@matthewbarr/tryhackme-attacktive-directory-walkthrough-8ea3c727137b">https://medium.com/@matthewbarr/tryhackme-attacktive-directory-walkthrough-8ea3c727137b</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s55G2pyqabPcZosgjbiptg.png" /><figcaption>Download the User’s Wordlist</figcaption></figure><p>Once you have Kerbrute up and running, download the provided user list. Also, configure your <strong>/etc/host</strong> file if you use Linux with the provided IP address and the domain controller’s name. Next, execute the following command:</p><p><strong><em>kerbrute userenum -dc CONTROLLER.local -d CONTROLLER.local &lt;path to the user file you downloaded&gt;</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rjgAZH5YHv61sBQqSR9OOQ.png" /><figcaption>Enumerate Users with Kerbrute</figcaption></figure><p>After Kerbrute has completed the enumeration, you can count the results to find the first answer. You will be able to see the enumerated users for the remaining three questions.</p><p>After Kerbrute has completed the enumeration, you can count the results to find the first answer. You will be able to see the enumerated users for the remaining three questions.</p><p>We will be using Rubeus to harvest user credentials for our third task. If you are unfamiliar with Rubeus, I encourage you to read it. This tool is versatile and can offer several different attack types and uses during an engagement. You will need to SSH or RDP into the device with the given credentials on your machine. Once you have remoted into the machine, navigate to the Downloads directory where Rubeus is located.</p><p><strong><em>cd Downloads</em></strong></p><p>Next, we will execute the following command: <strong><em>rubeus.exe harvest /interval:30</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ITIZnyb9gfvaITLrm3-NEA.png" /><figcaption>Credential Harvesting using Rubeus</figcaption></figure><p>We ask Rubeus to harvest the Ticket Granting Tickets (TGTs) every 30 seconds. This will capture tickets transferred to the KDC and could be used for attacks such as pass-the-ticket. After executing the command, you will be provided with the TGTs and be able to answer the two questions regarding the domain admin and the domain controller. The author also covers Brute-Forcing / Password-Spraying with Rubeus. I highly recommend you take the time to practice this attack.</p><p>Task four introduces a relatively popular attack vector of kerberoasting. An attacker would need to enumerate the Service Principal Name (SPN) of the service accounts through LDAP queries; one popular method would be using GetUserSPNs.ps1. Afterward, we need to request Ticket-Granting Service for the enumerated service accounts to obtain the credential hashes.</p><p>As a result, the AD domain controller will respond with the ticket for the ordered service attack. We can then use Hashcat or John to crack the hashes. Keep in mind that if we were on an engagement, this would generate a lot of traffic that threat hunters or blue team members might flag.</p><p>Within this task, we will be using Rubeus. This is the tool I will most likely be using during my CRTP exam; however, the author does provide a method using Impacket. I would recommend trying both. Once again, we will enter the following command <strong><em>cd Downloads</em></strong> into the directory where Rubeus is already provided. Next, enter <strong><em>rubeus.exe kerberoast</em></strong>, and you will be supplied with Kerberos hashes of any available users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T9NmvmsnMCd8LgwQ0DYePA.png" /></figure><p>The author has supplied us with a modified password list to crack the hashes. You can download it here <a href="https://github.com/Cryilllic/Active-Directory-Wordlists/blob/master/Pass.txt">Active-Directory-Wordlists/Pass.txt at master · Cryilllic/Active-Directory-Wordlists · GitHub</a>. Next, we will want to enter the following command to spin up Hashcat: <strong><em>hashcat -m 13100 -a 0 &lt;location of the hash file&gt; &lt;location of the password file we downloaded&gt;</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fSf9YIvDyPjmy9IHW1N-iw.png" /><figcaption>Cracked Kerberos TGT</figcaption></figure><p>Task five focuses on AS-REP roasting attacks; these attacks target user accounts that do not require authentication. The author outlines the attack very well, but you can read more about it here:</p><p><a href="https://ired.team/offensive-security-experiments/active-directory-kerberos-abuse/as-rep-roasting-using-rubeus-and-hashcat">https://ired.team/offensive-security-experiments/active-directory-kerberos-abuse/as-rep-roasting-using-rubeus-and-hashcat</a></p><p>The author provides a few different methods that will work. I will be using Rubeus for my upcoming exam, so that is how we will proceed. Again, navigate the victim box to the downloads folder with Rubeus and execute the following command Rubeus.exe asreproasting. Once Rubeus has finished running, grab those hashes and throw them in a text file. Make sure you add the 23$ after $krb5asrep$ as I got ahead of myself and wondered why hashcat was not working correctly. Now that we created our hash file go ahead and fire up Hashcat once again and use the following command: <strong><em>hashcat -m 18200 &lt;path to hash file&gt; &lt;path to the password file we downloaded in task 4&gt;</em></strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ajJApfclm-MHtHOLtggW_w.png" /><figcaption>Cracking AS-REP Hashes with Hashcat</figcaption></figure><p>Answering the first question you can find in the picture provided by the author showing themselves using hashcat, or you can check this website:</p><p><a href="https://hashcat.net/wiki/doku.php?id=example_hashes">https://hashcat.net/wiki/doku.php?id=example_hashes</a></p><p>There will be a user and admin account to add the correct names for two questions. Lastly, provide the passwords associated with these accounts that you just cracked with Hashcat.</p><p>Task six does not require an answer; however, this is an excellent time to introduce Mimikatz and the Pass-the-Ticket attack. Mimikatz is commonly used to dump credentials but can also be used for other various attacks. You can read more about Mimikatz here: <a href="https://github.com/gentilkiwi/mimikatz">https://github.com/gentilkiwi/mimikatz</a></p><p>The pass-the-Ticket attack allows you to escalate to the domain admin “while reusing an existing ticket,” so to speak. The author does go over the ticket pretty well, but you can read more about it here: <a href="https://www.hackingarticles.in/lateral-movement-pass-the-ticket-attack/">https://www.hackingarticles.in/lateral-movement-pass-the-ticket-attack/</a></p><p>For this task, ensure you run the command prompt as Administrator with the same credentials you used earlier. I would also recommend using rdesktop or RDP for the next few tasks. Next, <strong><em>cd Downloads</em></strong> and run <strong><em>mimikatz.exe</em></strong>; we need to run <strong><em>privilege::debug</em></strong> and ensure you receive the <strong>output ‘20’ OK</strong> response to ensure that we have administrator privileges. Lastly, we will need to export all of the .kirbi tickets into our current directory, <strong><em>sekurlsa::tickets /export</em></strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GOnrZzriMQDwdf3cI8j_Lg.png" /><figcaption><strong>sekurlsa::tickets /export</strong></figcaption></figure><p>Now that we have our ticket execute <strong><em>kerberos::ptt &lt;our ticket we grabbed&gt;</em></strong>; this will impersonate the given ticket. After running these commands, go ahead and exit out of Mimikatz and run the klist command. We will be able to see the forged ticket in our cached tickets. We can then see that the ticket has given us rights as we can verify the admin shares.</p><p>Task seven covers the Golden/Silver Ticket attacks using Mimikatz. A golden ticket will give you full access to the domain. In contrast, a silver ticket is a little more discreet and can give you specific access to a service. Recommend using RDP again for this task. We will revisit using Mimikatz after navigating to the Downloads folder in the first step. Run <strong><em>mimikatz.exe</em></strong> and then execute <strong><em>privilege::debug</em></strong> to prep Mimikatz. Next, we will run <strong><em>lsadump::lsa /inject /name:krbtgt</em></strong> to grab the hash and the security identifier that we will use to craft our Golden Ticket.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*2QTp8SmGG21WPW-3BopYLg.png" /><figcaption><strong><em>lsadump::lsa /inject /name:krbtgt</em></strong></figcaption></figure><p>We can use this command to create our golden ticket: <strong><em>kerberos::golden /user:Administrator /domain:controller.local /sid: /krbtgt: /id:</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/1*BULw9Bvp_1Omj75fWv6F7A.png" /><figcaption>Golden Ticket Creating</figcaption></figure><p>To answer the final questions run the following commands <strong><em>lsadump::lsa /inject /name:SQLService</em></strong> and <strong><em>lsadump::lsa /inject /name:Administrator.</em></strong></p><p>The final task reviews the use of the skeleton key and its applications. Overall, I believe this room was a great review of Kerberos attacks. Shout to the room’s author, Cryllic, for putting this together.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b60c1fb0356b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Attacktive Directory Walkthrough]]></title>
            <link>https://medium.com/@matthewbarr/tryhackme-attacktive-directory-walkthrough-8ea3c727137b?source=rss-45c8d7b8b0b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ea3c727137b</guid>
            <category><![CDATA[active-directory]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <category><![CDATA[kerberoasting]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[kerberos]]></category>
            <dc:creator><![CDATA[Matt B.]]></dc:creator>
            <pubDate>Tue, 15 Mar 2022 00:12:48 GMT</pubDate>
            <atom:updated>2022-03-15T00:12:48.876Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Hlw2hAV1IwOqAtuR" /><figcaption>Photo by <a href="https://unsplash.com/@ryansnaadt?utm_source=medium&amp;utm_medium=referral">Ryan Snaadt</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>So, I am finally free after a long hiatus of not doing any CTFs, no Hack The Box, or any TryHackMe for quite some time. Working full-time, parenting, and going to school pretty much left me exhausted, so I had to put some items off. However, I got to attend Pentester Academy’s CRTP Bootcamp earlier this year (I still have not taken the exam, I will update when I do) and have found a new interest in exploiting and attacking Active Directory.</p><p>I found Attacktive Directory with a quick search and decided to dive right in. I find the provided attack box convenient but a little slow at times, so I fired up a Kali 2021.2 machine I had in Virtual Box. Since I had not used the device in a few months, I updated it.</p><p><em>sudo apt-get update &amp;&amp; apt-get upgrade -y</em></p><p>The first task will ask you to start the machine; at this point, if you are using your virtual machine go ahead and download your VPN file (it will be under your profile under the access tab) and start your connection.</p><p><em>sudo openvpn yourname.ovpn</em></p><p>For the second task, we will have to install Impacket, Bloodhound, and Neo4j. Although the room got an update last year, I did not use Bloodhound. The job gives you step-by-step instructions on doing this; if you have difficulty installing, an alternative script is available. If all else fails, turn to the TryHackMe discord for help.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Tc5H3kQur3Lggg8tmBDfWg.png" /><figcaption>Impacket Install</figcaption></figure><p><em>git clone </em><a href="https://github.com/SecureAuthCorp/impacket.git"><em>https://github.com/SecureAuthCorp/impacket.git</em></a><em> /opt/impacket</em></p><p><em>sudo apt install python3-pip</em></p><p><em>pip3 install -r /opt/impacket/requirements.txt</em></p><p><em>cd /opt/impacket/ &amp;&amp; python3 ./setup.py install</em></p><p><em>apt install bloodhound neo4j</em></p><p>In the third task, the owner introduces himself, gives us a little insight into the room, and lets us know we need to enumerate the machine. As with all great enumeration, we must conduct an NMAP scan (since I was doing this over a couple of days, my IP address changes throughout).</p><p><em>nmap -v -A -T4 -oN attacktivedirectory &lt;IP Address&gt;</em></p><p>For the first question in this task, you can use several different tools, but a google search will generate the correct answer. Next, we will use enum4linux for the second question, or you can see answer two in your NMAP printout. The third question may require some searching, but you may find the answer if you think about the Domain given to us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4pCHtlnbjLdhc-6LlSUKCg.png" /><figcaption>NMAP Printout</figcaption></figure><p>Our fourth task requires us to exploit Kerberos using a tool called <a href="https://github.com/ropnop/kerbrute/releases">kerbrute</a>. I had no experience with this tool, and not going to lie; it took me a while to get this working. I am comfortable using Linux, but this thing kicked my butt. So after some quick research, I was finally able to get it working.</p><p><em>sudo go install github.com/ropnop/kerbrute@latest<br>cd go/pkg/mod/github.com/ropnop/kerbrute@v1.0.3<br>sudo make all<br>ls -la<br>cd dist<br>sudo mv ./kerbrute_linux_amd64 /usr/bin/kerbrute<br>cd ~ &amp;&amp; which kerbrute</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3JTZMGIX8jjjpizN-33b1g.png" /><figcaption>Compiling Kerbrute</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k6AnXpvBDF4zVF49e9Y6LQ.png" /><figcaption>Ensure you select the correct executable for your system.</figcaption></figure><p>The author, Spooky, also gives us a <a href="https://raw.githubusercontent.com/Sq00ky/attacktive-directory-tools/master/userlist.txt">username</a> and <a href="https://raw.githubusercontent.com/Sq00ky/attacktive-directory-tools/master/passwordlist.txt">password</a> list for us to work with to save time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oy2soRLjmGaiMoTRK0Jrig.png" /><figcaption>Downloading User and Password lists</figcaption></figure><p>The kerbrute help page will provide you with the first answer for task four. Questions two and three will require you to enumerate the users found using kerbrute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ktlgXjT2p0NgIzL-hVFJiQ.png" /><figcaption>Question two and three should stand out to you.</figcaption></figure><p>Task five introduces a concept known as <a href="https://www.hackingarticles.in/as-rep-roasting/">ASREPRoasting</a>. We are trying to find a user that “Does not require Pre-Authentication”. For solving this, we will use GetNPUsers.py and Hashcat (I ended up using John the Ripper because I kept receiving run time errors).</p><p><em>GetNPUsers.py spookysec.local/svc-admin -request -outputfile tgthashes -format hashcat -no-pass -dc-ip &lt;IP Address&gt;</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nSESFP5BQ8n6B7QqnMLiiQ.png" /><figcaption>GetNPUsers.py</figcaption></figure><p>I am familiar with the Impacket distro but using GetNPUsers was my first time. This held me up for a little bit. Question one takes some trial and error. For questions two and three, we can visit the <a href="https://hashcat.net/wiki/doku.php?id=example_hashes">Hashcat Wiki</a>; keep in mind that you may have to play around with the name format for question two. Once we have our ticket-granting ticket hash, we can throw it into Hashcat or John the Ripper with our password list we downloaded earlier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9CI8mfyQytgWwcY-ORhdnw.png" /><figcaption>John The Ripper</figcaption></figure><p>Task six requires us to “get back to the basics”. Question one if you search smb in the command line and press tab, it provides us several options for smb. We are looking for smbclient, and if we search the manual, we can find the answer to question two. Questions three can be answered by running our smbclient with the svc-admin user and newly found password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/567/1*NutfjJCXvp6Vm4PNTMKmrw.png" /><figcaption>smbclient</figcaption></figure><p>Question four will require a little enumeration. Once we have access to the share navigate through the directory that contains the text file, we can use the ‘more’ command with the file name to download it locally. After opening the file, we are left with an obfuscated text string, and if you’re familiar with CTFs, you can probably tell it’s a base64 encoding. Using <em>base64 -d &lt;file name&gt;</em> will give you the final answer.</p><p>Task seven will require us to use another tool from impacket, secretsdump.py; we will be attempting to capture the password hashes synced with this domain controller.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*SK2aHMnpRMPyCr0dARNhWQ.png" /></figure><p>Questions one and two can be found in the output after running secretsdump.py. Question three if you are unfamiliar, utilize google to research the <a href="https://www.techtarget.com/searchsecurity/definition/pass-the-hash-attack">attack method</a>. Lastly, the question will require you to access Evil-WinRM; we will also use this and the ntlm hash we found to find the answers for task eight.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xPcpRmX_ZAywZVenW0P-KQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/1*J3FKGbxWkJBmszNfeUzfbw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*puA66DhOzypLtwZgzVseAw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*4q8OcYmZtkq4QFdiHcoEsA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/1*qofhkceailzBR-f-_dF87w.png" /></figure><p>Attacktive Directory was a great way to continue learning exploiting weaknesses in Active Directory and Kerberos. I learned a lot from working with kerbrute and impacket. Shout out to spooky for making this room. I hope you enjoyed the writeup.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ea3c727137b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>