Skip to content
Access control Write-up Advanced

P.O.O — Part 5: p00ned

The author, having obtained local Administrator on a domain-joined host, used cached credential dumping and Kerberoasting to recover a domain user's password. That user was a member of a help desk group with GenericAll over the Domain Admins group, allowing the attacker to add themselves to Domain Admins and read the final flag from the domain controller.

Proclus Follow

Published on medium.com

One of the first things I do after getting Administrator is disable Windows Defender Real-Time Monitoring (in lab environments).

XOR-Hacks, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker with local Administrator could escalate to Domain Admin and read the final flag from the domain controller.

What the attacker needed

Local Administrator on a domain-joined host; ability to run xp_cmdshell via MSSQL; crackable service account password

How it was found

  1. Disable Windows Defender real-time monitoring as local Administrator.
  2. Dump cached credentials with Mimikatz.
  3. Run Invoke-Kerberoast via xp_cmdshell to extract TGS hashes.
  4. Crack the p00_adm TGS hash with hashcat.
  5. Use BloodHound to find that POO HELP DESK has GenericAll over Administrators.
  6. Use PowerView to add p00_adm to Domain Admins, then access the DC C$ share and read the flag.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is a walkthrough of a lab machine where the attacker already had full control of one computer. They used tools to find stored passwords and crack a service account's password, then abused a permission setting that let a help desk group add anyone to the most powerful group in the network. That let them read a secret file on the main server.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.