Microsoft LAPS provides automated local administrator account management for every computer in Active Directory. The client-side piece of LAPS on the computer generates a random secure password and stores it in the AD attribute for the computer password. This is considered secure and mitigates an attacker passing the local administrator hash throughout the domain.
Enumerating LAPS
# Using the cmdlet Get-ADObjectGet-ADObject'CN=mc-mcs-admpwd,CN=Schema,CN=Configuration,DC=dc,DC=parzival,DC=com'# Check if the DLL is installed locallyGet-ChildItem'c:\program files\LAPS\CSE\Admpwd.dll'dir "C:\Program Files\LAPS\CSE"# Checking registryreg query "HKLM\Software\Policies\Microsoft Services\AdmPwd"/v AdmPwdEnabled