BloodHoundAD / BloodHound

Six Degrees of Domain Admin
GNU General Public License v3.0
9.57k stars 1.7k forks source link

Is it possible to set the password of a machine account without causing the trust relationship with the domain to break? #690

Open jsdhasfedssad opened 11 months ago

jsdhasfedssad commented 11 months ago

When you control an object that have for example the edges GenericAll or ForceChangePassword on a computer object it is possible to set the password of that computer object (machine account) to a known value without knowing the current password using for example BloodyAD or rpcclient. However, doing so will cause the trust relationship between the computer and the domain to break.

Is it possible to set the password of a machine account to a known value remotely without knowing the current password/NT hash of the target machine account and without breaking the trust relationship? After all, by default, all domain-joined computers change their passwords every 30 days automatically.