PowerShell framework to assess Azure security
PowerShell
1,299
156 commits
updated Oct 18, 2025

PowerZure is a PowerShell project created to assess and exploit resources within Microsoft’s cloud platform, Azure. PowerZure was created out of the need for a framework that can both perform reconnaissance and exploitation of Azure, EntraID, and the associated resources.
The "Az" Azure PowerShell module is the primary module used in PowerZure, as it handles most requests interacting with Azure resources. The Az module interacts using the Azure REST API. It can be installed via PowerShell command Install-Module -Name Az
RTFM: https://powerzure.readthedocs.io
ipmo C:\path\to\PowerZure.psd1
If you have multiple subscriptions, you must set the main subscription with Set-AzureSubscription. If you do not do this, things will fail.
You can type Get-AzureCurrentUser to view the current signed-in user's roles in Azure and EntraID.
You can also type Get-AzureTarget to compare your current signed-in user's roles and their scope to resources within Azure.
For target finding, I recommend using AzureHound, the Azure component to BloodHound.
Author: Ryan Hausknecht (@haus3c)
License: BSD-3
727 followers · starred Jun 2022
75 followers · starred Apr 2020
176 followers · starred Dec 2025
425 followers · starred Jul 2020
PowerShell framework to assess Azure security
PowerShell
1,299
156 commits
updated Oct 18, 2025

PowerZure is a PowerShell project created to assess and exploit resources within Microsoft’s cloud platform, Azure. PowerZure was created out of the need for a framework that can both perform reconnaissance and exploitation of Azure, EntraID, and the associated resources.
The "Az" Azure PowerShell module is the primary module used in PowerZure, as it handles most requests interacting with Azure resources. The Az module interacts using the Azure REST API. It can be installed via PowerShell command Install-Module -Name Az
RTFM: https://powerzure.readthedocs.io
ipmo C:\path\to\PowerZure.psd1
If you have multiple subscriptions, you must set the main subscription with Set-AzureSubscription. If you do not do this, things will fail.
You can type Get-AzureCurrentUser to view the current signed-in user's roles in Azure and EntraID.
You can also type Get-AzureTarget to compare your current signed-in user's roles and their scope to resources within Azure.
For target finding, I recommend using AzureHound, the Azure component to BloodHound.
Author: Ryan Hausknecht (@haus3c)
License: BSD-3
727 followers · starred Jun 2022
75 followers · starred Apr 2020
176 followers · starred Dec 2025
425 followers · starred Jul 2020