PowerShellMafia/PowerSploit

Powerview Get-DomainObjectAcl IdentityReference property missing in latest dev branch

gladiatx0r opened this issue · 1 comments

In the Master branch version of PowerView.ps1, Get-ObjectAcl succesfully retrieves the IdentityReference property. In the Dev branch it does not. I don't think its isolated to Get-ObjectAcl, but it might be (I need to do more testing).

Here is the result of Get-ObjectAcl run on the same machine, on the same domain. The one on the left using the master branch version, the one on the right using the Dev branch version.

image

FWIW I also ran Get-DomainObjectAcl (the alias) with (not surprisingly) the same result.

I am running on Windows Server 2016 v1607 OS Build 14393.3326, PowerShell version 5.1.14393.3053. I am not sure how to check the Powerview version but I pulled it directly from the master and dev branches as of a 10 minutes ago.

Just confirmed its not isolated to the Get-ObjectAcl method. The same issue exists in other methods, for example running;

Get-NetGPO | %{Get-ObjectAcl -ResolveGUIDs -Name $_.Name} |Select IdentityReference

Results in the same behavior as indicated above.