HackTheBox - PingPong

HackTheBox - PingPong

Source: YouTube · IppSec · published Nov 21, 2026 · 1:23:48

Cybersecurity
No ratings yet Log in to rate
Transcript Available
Description

[BLUF] This video demonstrates the exploitation of the "Ping Pong" Hack The Box machine, utilizing a cross-domain trust to pivot from the ping.htb domain to pong.htb, escalate privileges via Group Managed Service Accounts (GMSA) and Just Enough Administration (JEA), and finally take over the Certificate Authority to impersonate the Domain Administrator 1:00.

Key Takeaways:
• Initial access is gained by enrolling in a "Temporary WinRM" certificate template, which provides WinRM access to the primary domain controller 7:11.
• The attacker leverages a cross-domain trust to reach the pong.htb domain and exploits their ownership of the "GMSA Managers" group to read the password of the pong_gmsa account 29:00.
• Authentication to the second domain requires configuring the Kerberos client to resolve the correct IP for DC2, as DNS round-robin can cause connectivity issues 10:00.
• The pong_gmsa account is configured with JEA and Constrained Language Mode; escaping this restriction allows the attacker to read sensitive files like ConsoleHost_history to find credentials for user C.Carlson 41:30.
• Using C.Carlson's permissions, the attacker performs Role-Based Constrained Delegation (RBCD) on the GMSA account to impersonate the SQL DBA and execute commands via xp_cmdshell 54:30.
• Final privilege escalation involves dumping secrets from pong.htb to find R.Martinelli, who is a CA Manager; this allows modification of the Smart Card Authentication template to issue a certificate for the Domain Administrator 1:08:00.

Closing statement:
The attack chain highlights the critical importance of securing cross-domain trusts, GMSA permissions, and AD CS templates in complex Active Directory environments.

Sources:

  • 1:00 Overview of the machine's difficulty and the final objective to take over the administrator.
  • 7:11 Enrolling in the Temporary WinRM template to gain initial access.
  • 10:00 Troubleshooting DNS resolution for the second domain controller DC2.
  • 29:00 Exploiting GMSA Managers group membership to read service account passwords.
  • 41:30 Escaping JEA/Constrained Language Mode to find user credentials.
  • 54:30 Using RBCD to impersonate a user and gain SQL Server access.
  • 1:08:00 Modifying the Smart Card Authentication template to impersonate the Domain Admin.

Generate CPE Credits

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

Estimated credit: 1.5 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: Cybersecurity. Commonly maps to: Security and Risk Management, 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 Ipsac and today we'll be doing Ping Pong from Hack the Box, which is an insane active director machine that has NLM disabled and utilizes a cross domain trust. It is a very tough box and believe it or not, it was even tougher upon release due to many of the tools not supporting this configuration. For example, both Certify and Evil Winterm Pi did not work in the setup when this box was released. They've been improved since then and OXDF actually chatted with the author of Evil Wintermp PI and got a patch put in the day before I recorded this video enabling it to be used to escape out of constrained language mode on PowerShell. Anyways, this box starts off as an assumed breach and off the bat we can enroll a certificate in order to get WinRM access and also…