Az - Enumeration Tools
Last updated
Last updated
Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE) Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)
In linux you will need to install PowerShell Core:
Instructions from the documentation:
Install brew
if not installed yet:
Install the latest stable release of PowerShell:
Run PowerShell:
Update:
Azure Command-Line Interface (CLI) is a cross-platform tool written in Python for managing and administering (most) Azure and Entra ID resources. It connects to Azure and executes administrative commands via the command line or scripts.
Follow this link for the installation instructions¡.
Commands in Azure CLI are structured using a pattern of: az <service> <action> <parameters>
Using the parameter --debug
it's possible to see all the requests the tool az
is sending:
In order to do a MitM to the tool and check all the requests it's sending manually you can do:
Azure PowerShell is a module with cmdlets for managing Azure resources directly from the PowerShell command line.
Follow this link for the installation instructions.
Commands in Azure PowerShell AZ Module are structured like: <Action>-Az<Service> <parameters>
Using the parameter -Debug
it's possible to see all the requests the tool is sending:
In order to do a MitM to the tool and check all the requests it's sending manually you can set the env variables HTTPS_PROXY
and HTTP_PROXY
according to the docs.
Microsoft Graph PowerShell is a cross-platform SDK that enables access to all Microsoft Graph APIs, including services like SharePoint, Exchange, and Outlook, using a single endpoint. It supports PowerShell 7+, modern authentication via MSAL, external identities, and advanced queries. With a focus on least privilege access, it ensures secure operations and receives regular updates to align with the latest Microsoft Graph API features.
Follow this link for the installation instructions.
Commands in Microsoft Graph PowerShell are structured like: <Action>-Mg<Service> <parameters>
Using the parameter -Debug
it's possible to see all the requests the tool is sending:
The Azure Active Directory (AD) module, now deprecated, is part of Azure PowerShell for managing Azure AD resources. It provides cmdlets for tasks like managing users, groups, and application registrations in Entra ID.
This is replaced by Microsoft Graph PowerShell
Follow this link for the installation instructions.