PowerZure

Connect:

Connect-AzAccount 
Get-AzureTarget

Enumeration:

https://powerzure.readthedocs.io/en/latest/Functions/infogathering.html

Auto Enumeration:

Get-AzureADApplication | tee AzureADApplication.txt
Get-AzureADAppOwner | tee AzureADAppOwner.txt
Get-AzureADDeviceOwner | tee AzureADDeviceOwner.txt
Get-AzureADRoleMember -Role 'Global Administrator' | tee AzureADRoleMember-GlobalAdmins.txt
Get-AzureADRoleMember -All | tee AzureADRoleMember-AllRoles.txt
Get-AzureADUser -All | tee AzureADUser-AllUsers.txt
Get-AzureInTuneScript | tee AzureInTuneScript.txt
Get-AzureLogicAppConnector | tee AzureLogicAppConnector.txt
Get-AzureManagedIdentity | tee AzureManagedIdentity.txt
Get-AzurePIMAssignment | tee AzurePIMAssignment.txt
Get-AzureRole -All | tee AzureRole-AllRoles.txt
Get-AzureRunAsAccount | tee AzureRunAsAccount.txt
Get-AzureSQLDB -All | tee AzureSQLDB-All.txt
Show-AzureKeyVaultContent -All | tee AzureKeyVaultContent.txt
Show-AzureStorageContent -All | tee AzureStorageContent.txt

Targeted Enumeration:

Exploit:

https://powerzure.readthedocs.io/en/latest/Functions/operational.html

Last updated