<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Windows on mermehr's blog</title><link>https://mermehr.github.io/tags/windows/</link><description>Recent content in Windows on mermehr's blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 10 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://mermehr.github.io/tags/windows/index.xml" rel="self" type="application/rss+xml"/><item><title>Operation Broken Trust</title><link>https://mermehr.github.io/posts/operation-broken-trust/</link><pubDate>Tue, 10 Nov 2026 00:00:00 +0000</pubDate><guid>https://mermehr.github.io/posts/operation-broken-trust/</guid><description>A sample internal penetration test report documenting Active Directory compromise, Windows and Linux attack chains, verified findings, and remediation priorities.</description></item><item><title>Nara - OffSec PG Walkthrough</title><link>https://mermehr.github.io/posts/pg-nara/</link><pubDate>Tue, 13 Oct 2026 00:00:00 +0000</pubDate><guid>https://mermehr.github.io/posts/pg-nara/</guid><description>&lt;h2 id="machine-summary"&gt;Machine Summary:&lt;/h2&gt;
&lt;p&gt;Nara focuses on exploiting permissive share permissions to trigger NTLM credential theft and escalating privileges via Active Directory Certificate Services (ADCS). We first identify an SMB service with null authentication enabling read and write access to the &lt;code&gt;nara&lt;/code&gt; share. Reviewing &lt;code&gt;Important.txt&lt;/code&gt; indicates active file monitoring by internal users, allowing us to perform an NTLM theft attack using a malicious &lt;code&gt;.lnk&lt;/code&gt; shortcut file to capture and crack the NetNTLMv2 hash for &lt;code&gt;Tracy.White&lt;/code&gt;. Domain enumeration with BloodHound reveals that &lt;code&gt;Tracy.White&lt;/code&gt; possesses &lt;code&gt;GenericAll&lt;/code&gt; rights over the &lt;code&gt;Remote Access&lt;/code&gt; group, allowing us to add our account to the group and establish a WinRM session. Once on the host, we locate an encrypted &lt;code&gt;automation.txt&lt;/code&gt; file and decrypt its DPAPI-protected PowerShell &lt;code&gt;SecureString&lt;/code&gt; to reveal a cleartext password. Password spraying across domain accounts yields a hit for &lt;code&gt;Jodie.Summers&lt;/code&gt;, who belongs to the &lt;code&gt;CA Enrollment&lt;/code&gt; group. Further ADCS enumeration with Certipy reveals an ESC1 vulnerability in the &lt;code&gt;NaraUser&lt;/code&gt; certificate template. By requesting a certificate with an administrative Subject Alternative Name (SAN), we authenticate via PKINIT to retrieve the Domain Administrator&amp;rsquo;s NTLM hash and obtain full compromise.&lt;/p&gt;</description></item><item><title>Vault - OffSec PG Walkthrough</title><link>https://mermehr.github.io/posts/pg-vault/</link><pubDate>Sat, 10 Oct 2026 00:00:00 +0000</pubDate><guid>https://mermehr.github.io/posts/pg-vault/</guid><description>&lt;h2 id="machine-summary"&gt;Machine Summary:&lt;/h2&gt;
&lt;p&gt;Vault Lab demonstrates gaining initial access through NTLMv2 theft using a malicious .lnk attack on a writable SMB share. Due to excessive user permissions, privilege escalation on this machine can be done a number of ways. In this instance we’ll escalate privileges by abusing the &lt;strong&gt;Server Operators&lt;/strong&gt; group.&lt;/p&gt;
&lt;p&gt;![[183ff0e7555d7896ab108e0a0dd04dd0.png]]&lt;/p&gt;
&lt;h2 id="recon"&gt;Recon&lt;/h2&gt;
&lt;h3 id="nmap-scan-results"&gt;Nmap Scan Results&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;PORT STATE SERVICE VERSION
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;53/tcp open domain Simple DNS Plus
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;88/tcp open kerberos-sec Microsoft Windows Kerberos &lt;span style="color:#f92672"&gt;(&lt;/span&gt;server time: 2026-09-30 12:26:11Z&lt;span style="color:#f92672"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;135/tcp open msrpc Microsoft Windows RPC
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;139/tcp open netbios-ssn Microsoft Windows netbios-ssn
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;389/tcp open ldap Microsoft Windows Active Directory LDAP &lt;span style="color:#f92672"&gt;(&lt;/span&gt;Domain: vault.offsec, Site: Default-First-Site-Name&lt;span style="color:#f92672"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;445/tcp open microsoft-ds?
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;464/tcp open kpasswd5?
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;593/tcp open ncacn_http Microsoft Windows RPC over HTTP 1.0
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;636/tcp open tcpwrapped
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;3268/tcp open ldap Microsoft Windows Active Directory LDAP &lt;span style="color:#f92672"&gt;(&lt;/span&gt;Domain: vault.offsec, Site: Default-First-Site-Name&lt;span style="color:#f92672"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;3269/tcp open tcpwrapped
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;3389/tcp open ms-wbt-server Microsoft Terminal Services
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| ssl-cert: Subject: commonName&lt;span style="color:#f92672"&gt;=&lt;/span&gt;DC.vault.offsec
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| Not valid before: 2026-09-29T12:10:22
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;|_Not valid after: 2027-03-31T12:10:22
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| rdp-ntlm-info:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| Target_Name: VAULT
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| NetBIOS_Domain_Name: VAULT
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| NetBIOS_Computer_Name: DC
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| DNS_Domain_Name: vault.offsec
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| DNS_Computer_Name: DC.vault.offsec
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| DNS_Tree_Name: vault.offsec
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| Product_Version: 10.0.17763
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;|_ System_Time: 2026-09-30T12:26:59+00:00
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;|_ssl-date: 2026-09-30T12:27:19+00:00; 0s from scanner time.
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;5985/tcp open http Microsoft HTTPAPI httpd 2.0 &lt;span style="color:#f92672"&gt;(&lt;/span&gt;SSDP/UPnP&lt;span style="color:#f92672"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;|_http-server-header: Microsoft-HTTPAPI/2.0
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;|_http-title: Not Found
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;9389/tcp open mc-nmf .NET Message Framing
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;49666/tcp open msrpc Microsoft Windows RPC
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;49667/tcp open msrpc Microsoft Windows RPC
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;49673/tcp open ncacn_http Microsoft Windows RPC over HTTP 1.0
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;49674/tcp open msrpc Microsoft Windows RPC
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;49679/tcp open msrpc Microsoft Windows RPC
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;49703/tcp open msrpc Microsoft Windows RPC
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;49808/tcp open msrpc Microsoft Windows RPC
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Service Info: Host: DC; OS: Windows; CPE: cpe:/o:microsoft:windows
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Host script results:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| smb2-time:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| date: 2026-09-30T12:27:04
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;|_ start_date: N/A
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| smb2-security-mode:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| 3.1.1:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;|_ Message signing enabled and required
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Initial &lt;strong&gt;Nmap&lt;/strong&gt; scans reveals standard Active Directory services on the target.&lt;/p&gt;</description></item><item><title>Resourced - OffSec PG Walkthrough</title><link>https://mermehr.github.io/posts/pg-resourced/</link><pubDate>Fri, 09 Oct 2026 00:00:00 +0000</pubDate><guid>https://mermehr.github.io/posts/pg-resourced/</guid><description>&lt;h2 id="machine-summary"&gt;Machine Summary:&lt;/h2&gt;
&lt;p&gt;Resourced shows how null session enumeration can reveal cleartext password in a user description, this will grant initial low-privileged domain access. Further share enumeration will uncover an old offline password audit containing registry hives and an &lt;code&gt;ntds.dit&lt;/code&gt; backup, allowing offline credential extraction. Using the extracted hashes to spray the domain yields access to a user account with &lt;code&gt;GenericAll&lt;/code&gt; control over the Domain Controller. Finally, a Resource-Based Constrained Delegation (RBCD) attack is leveraged via Kerberos S4U extensions to impersonate the Domain Admin and fully compromise the target.&lt;/p&gt;</description></item></channel></rss>