Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://0xdf.gitlab.io/2026/02/24/htb-bruno.html Content Categories: Based on the analysis, this content was categorized under "Pentesting Web / File Inclusion-Path Traversal -> Archive Extraction Path Traversal (ZipSlip), and/or Windows Local Privilege Escalation -> Dll Hijacking (arbitrary file write to DLL search order hijack); cross-link to Active Directory Methodology -> ASREPRoast and LDAP signing/relay -> RBCD". 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
Title / target
HackTheBox “Bruno” is a Windows Server 2022 Active Directory Domain Controller (DC) for domain
bruno.vl, hostBRUNODC(brunodc.bruno.vl, alsobruno.vl). The compromise path is: recon → discover a .NET “SampleScanner” service via anonymous FTP → reverse engineer and identify insecure ZIP extraction (ZipSlip) → use the resulting arbitrary file write to drop files into the scanner’sappdirectory → identify a...🔧 Technical Details
AS-REP roasting (Kerberos pre-auth disabled) to recover a password offline: If a domain user does not require Kerberos pre-auth, request an AS-REP for that username without a password and capture the
$krb5asrep$23$...blob (etype 23). Crack it offline with Hashcat (often autodetected as mode18200). Example:netexec ldap <dc> -u svc_scan -p '' --asreproast out→hashcat out rockyou.txtto recover the plaintext password.ZipSlip in .NET ZIP extraction → arbitrary file write: When code extracts ZIP entries by computing
destination = Path.Combine(baseDir, entry.FullName)and callingExtractToFile(destination)without validating thatdestinationremains insidebaseDir, an attacker can setentry.FullNameto..\..\-style traversal paths or an absolute path to write outside the intended extraction directory. Craft an archive where a fil...🤖 Agent Actions
Summary:
ZipArchiveZipSlip pattern with Path.Combine/FullName misuse, PoC archive creation, and added references to the Bruno case and defensive .NET guidance.Files Modified:
Tests: Not run (documentation changes only).
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.