
HackTheBox - DarkCorp
Source: YouTube · IppSec · published Oct 18, 2025 · 2:36:38
The video demonstrates a complex penetration test of the "Dark Corp" Hack the Box machine, focusing on leveraging Cross-Site Scripting (XSS) and credential relaying to achieve domain administration. 0:00
Key Takeaways:
• The initial entry point involves a cross-site scripting vulnerability in the RoundCube webmail client, allowing the attacker to read a user's entire inbox. 0:26
• Information gathered from the inbox leads to a SQL injection vulnerability in another service, which requires specific evasion techniques to exploit successfully. 0:34
• Exploiting the SQL injection results in remote code execution and obtaining an initial shell on the target machine. 0:36
• The post-exploitation phase heavily features advanced Active Directory attacks, including NTLM relaying and Kerberos relay, to escalate privileges and gain domain admin access. 0:09
Mastering these advanced relaying techniques is crucial for pentesters, as they provide powerful methods for privilege escalation when traditional paths are blocked.
Sources:
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.
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.
Transcript Preview
First 800 characters of the transcript
What's going on, YouTube? This is Ipsac and we'll be doing Dark Corp from Hack the Box, which is a very lengthy machine that has a lot of advanced concepts that I really enjoy, especially when it gets to about middle of the box where there's a lot of NLM and Caribbe relaying going on as these are extremely powerful techniques that a lot of pentesters never bother learning because honestly, there's often easier ways to get domain admin than relaying credentials. However, mastering this technique is not a bad thing as it's got me out of a lot of jams in the past. Anyways, it starts off with a cross-sight scripting vulnerability in RoundCube where we can send a malicious email to enable the ability to read a user's entire inbox, which leads us to another service that is SQL injectable with so…