Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

No computer object acls #57

Open
JoernHe opened this issue Feb 26, 2019 · 5 comments
Open

No computer object acls #57

JoernHe opened this issue Feb 26, 2019 · 5 comments

Comments

@JoernHe
Copy link

JoernHe commented Feb 26, 2019

Hi, first of all thank you for this amazing project.
One point: If a user has e.g. ResetPassword rights on an domain controller object, wouldn't this be a privilege escalation vulnerability because of the dc sync privilege of a domain controller object?
The same with an exchange server object, because this object can manipulate ACEs of the domain root.
At the moment you just care about computer object acls if they have LAPS installed.
Or am i wrong? Thank you!

@rvazarkar
Copy link
Contributor

As far as I'm aware, if you reset the password of a computer account, it becomes de-synced from active directory, and can cause several issues. I'll have to test again, but that's my understanding of the issue

@JoernHe
Copy link
Author

JoernHe commented Feb 27, 2019

You are right. But you can authenticate as a domain controller to another domain controller after the reset and perform a dc sync (and get the history of the DC object password). After that you could reset it to the old password. The same with an exchange computer object.

@JoernHe
Copy link
Author

JoernHe commented Feb 27, 2019

I just saw that issue #230 in bloodhound is almost the same.

@rvazarkar
Copy link
Contributor

rvazarkar commented Feb 27, 2019

Can you design a Proof of Concept of this attack? What risks are involved?

@HarmJ0y
Copy link

HarmJ0y commented Feb 27, 2019

"you could reset it to the old password" - as you only have the hash, does that mean you would need to use the mimikatz lsadump::setntlm or dcshadow approach to plant the previous hash into the AD database? My gut feeling is that this approach would be fairly disruptive to a normal environment with a lot of things that could go wrong operationally.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants