12 - LO1️2️
Learning Object 12
Tasks
Solutions
1 - Check if student867 has Replication (DCSync) rights
C:\AD\Tools\InviShell\RunWithRegistryNonAdmin.bat
. C:\AD\Tools\Powerview.ps1
Get-DomainObjectAcl -SearchBase "DC=dollarcorp,DC=moneycorp,DC=local" -SearchScope Base -ResolveGUIDs | ?{($_.ObjectAceType -match 'replication-get') -or ($_.ActiveDirectoryRights -match 'GenericAll')} | ForEach-Object {$_ | Add-Member NoteProperty 'IdentityName' $(Convert-SidToName $_.SecurityIdentifier);$_} | ?{$_.IdentityName -match "student867"}
If no, add the replication rights for student867 and execute the DCSync attack to pull hashes of the krbtgt user.


Flag 21 [dcorp-dc] - Attack that can be executed with Replication rights (no DA privileges required) 🚩
Last updated