Repository navigation
Download
Pick one of the five assets below - all are functionally identical, and all carry
version 2.15.0. You do not need "Source code (zip)" to run adPEAS.
| Asset | Use case |
|---|---|
adPEAS_obf.ps1 |
smallest, obfuscated for transfer |
adPEAS_ultra.ps1 |
minimal size, no comments |
adPEAS_min.ps1 |
regular use, smaller footprint |
adPEAS.ps1 |
development, debugging, code review |
adPEAS.exe |
a PowerShell prompt with adPEAS loaded, or adPEAS.exe Invoke-adPEAS ...; needs Windows PowerShell 5.1 |
Added
- Who controls the accounts that can take over the domain.
Get-DangerousACLshas a second
section. For every account outside Tier 0 that holds DCSync, GenericAll, WriteDacl, WriteOwner
or ownership of the domain object - in a hybrid domain usually theMSOL_account of Entra ID
Connect - it reads who may take that account over: its owner, and whoever holds full control,
GenericWrite, WriteDacl, WriteOwner, the password reset or a write onmsDS-KeyCredentialLink
orservicePrincipalName, inherited ACEs included. A holder group is examined down to its
members, and for anMSOL_account also the Entra Connect server its description names. On
that server a write onmsDS-AllowedToActOnBehalfOfOtherIdentityordNSHostNamecounts too.
A helpdesk group with the password reset on the OU of theMSOL_account is now a finding
(DOMAIN_TAKEOVER_HOLDER_CONTROL). Account Operators, who control every unprotected account by
default, are counted in one line, a hint while the group has members; the Exchange service
groups are listed only with-IncludePrivileged. The DCSync row of anMSOL_account names
its Entra Connect server and tenant.
Fixed
- Password spray missed a correct password an account must change.
Invoke-PasswordSpray
readKDC_ERR_KEY_EXPIRED(23) as a failure, although the KDC sends it only after the
pre-authentication checked out. An account whose password had expired or had to be changed at
next logon - a shared default password, for example - was hit and then dropped. Such accounts
are now valid: "password expired - change required", counted as "Valid, expired" and written to
the output file, for plaintext passwords and NT hashes alike. The connection error for 23 says
the credentials are valid. - Logon restrictions judged Tier 0 by Domain Admins alone.
Get-GPOLogonRestrictions
credited a deny only for Domain Admins or a group Domain Admins is a member of; a Tier 0 built
on its own group inside the domain's Administrators was not counted. Tier 0 now follows the
definitionGet-ProtectedUsersStatususes and is judged per account through its token. The
verdict reads "Keeps N of M tier-0 account(s) off member computers", and the conclusion names
the accounts no policy denies.