This is my solution for the first hands-on Exercise

Untitled

Enumerating Users

Get-ADUser -Filter * -Properties SamAccountName,Description,DoesNotRequirePreAuth,ServicePrincipalNames,MemberOf,TrustedForDelegation,TrustedToAuthForDelegation,SID,BadLogonCount,pwdLastSet,logoncount

Untitled

Now let’s see if there where something interesting in the users.

Untitled

Notice that we found a user that has the DoesNotRequirePreAuth Flag set to true which means that the user is ASREP Rostable

Enumerating Computers

Get-ADComputer -Filter * -Properties *

Untitled

Enumerating Domain Admins

Get-ADGroupMember -Identity 'Domain Admins' -Recursive

Untitled

Enumerating Enterprise Admins

Get-ADGroupMember -Identity 'Enterprise Admins' -Recursive

Untitled