HackTheBox - Mist

HackTheBox - Mist

Source: YouTube · IppSec · published Oct 26, 2024 · 2:20:48

Penetration Testing
No ratings yet Log in to rate
Transcript Available
Description

BLUF: The video details the exploitation of the "Mist" Hack The Box machine, focusing on an NTLM relay attack to gain initial foothold and subsequent privilege escalation via LDAP injection.

Key Takeaways:
• The attacker used Rubeus for Pass-the-Ticket (PtT) to retrieve the NTLM hash of a social-engineered user, enabling authentication via a SOCKS proxy without knowing the plaintext password 0:16.
• PetitPotam was utilized to coerce the domain controller into authenticating to the attacker's machine, facilitating an NTLM relay to the LDAP service 0:28.
• Because LDAP signing was disabled, the relayed authentication allowed the attacker to bind as the computer account, leading to the acquisition of DCSync credentials 0:35.
• The initial foothold was complicated by restrictions preventing domain users from adding machines or DNS entries, requiring creative workarounds for the relay setup 0:10.

The "Mist" machine serves as a challenging example of how misconfigured LDAP signing can be leveraged for full domain compromise even with restricted user privileges.

Sources:

  • 0:05 Introduction to the Mist machine and its difficulty.
  • 0:16 Using Rubeus for Pass-the-Ticket to get NTLM hash.
  • 0:28 Using PetitPotam for NTLM relay.
  • 0:35 Exploiting disabled LDAP signing for computer account bind.
  • 0:41 Final credential acquisition via DCSync.

Generate CPE Credits

Generate a professional CPE document from this video's transcript.

Estimated credit: 2 CPE hours

Estimate uses the video runtime (1 hour ≈ 1 CPE, rounded to the nearest 0.5, minimum 0.5, maximum 2.0). The final amount can be lower after review, never higher.

Topic: Penetration Testing. Commonly maps to: Security Assessment and Testing, Security Operations. Exact CISSP domains are assigned during generation.

CISSP Domain Mapping
Learning Objectives
Self-Assessment Questions
PDF Export Ready

Free account. One generation at a time, with a daily limit.

CPEBuddy is independent and not affiliated with or endorsed by ISC2, ISACA, or any certification body. Exports are formatted for common CPE submissions; acceptance is at your certification body's discretion.

Watch on YouTube

Transcript Preview

First 800 characters of the transcript

what's going on YouTube this is ipag we're doing mist from hack the box which was an absolute Beast of a machine my favorite part about this box is definitely the ntlm relay which is part of the foothold and it's made more difficult because domain users can't add machines or DNS entries to The Domain so it starts off with us using rubius as pass the ticket to get the ntlm hash of our current user because we gained access through social engineering and didn't know their password and we needed the hash so we could authenticate to The Domain through a socks proxy so with that hash we can use petite pm to make the machine account back to us and if we set up ntlm correctly we can for that authentication over to ldap because ldap signing isn't enabled and that enables us to get a ldap connection…