Skip to content

hausec/PowerZure

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
December 22, 2021 21:27
August 10, 2022 14:59
January 19, 2020 17:06
August 10, 2022 14:54
August 10, 2022 10:27

powerzure

For a list of functions, their usage, and more, check out https://powerzure.readthedocs.io

What is PowerZure?

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, AzureAD, and the associated resources.

Requirements

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

Usage

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.

Additional Resources

You can type Get-AzureCurrentUser to view the current signed-in user's roles in Azure and Azure AD.

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 & License

Author: Ryan Hausknecht (@haus3c)

License: BSD-3

About

PowerShell framework to assess Azure security

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published