MicroBurst includes functions and scripts that support Azure Services discovery, weak configuration auditing, and post exploitation actions such as credential dumping. It is intended to be used during penetration tests where Azure is in use.
- Author: Karl Fosaaen (@kfosaaen), NetSPI
- Contributors:
- Scott Sutherland (@_nullbind)
- Thomas Elling (@thomaselling)
- Jake Karnes (@jakekarnes42)
- Josh Magri (@passthehashbrwn)
- License: BSD 3-Clause
- Required Dependencies: Az, Azure, AzureRM, AzureAD, and MSOnline PowerShell Modules are all used in different scripts
- Dependencies Note: Originally written with the AzureRM PS modules, older scripts have been ported to their newer Az equivalents
- Platform Note: These scripts will only run on a Windows-based platform.
PS C:> Import-Module .\MicroBurst.psm1
This will import all applicable functions based off of the currently installed modules in your environment. The scripts can then be invoked using their names like
PS C:> Get-AzDomainInfo
If you want to simplify the trusting of the code files, use the following "Unblock-File" command to recursively trust each of the downloaded files:
PS C:> dir -Recurse .\MicroBurst-master | Unblock-File
Recommended Modules to install:
Here's how a module can be installed in Powershell
PS C:> Install-Module <module-name>
If you want to learn what a specific script does use Get-Help
with script name like:
PS C:> Get-Help Invoke-EnumerateAzureSubDomains
- A Beginners Guide to Gathering Azure Passwords
- Anonymously Enumerating Azure Services
- Anonymously Enumerating Azure File Resources
- Get-AzurePasswords: Exporting Azure RunAs Certificates for Persistence
- Using Azure Automation Accounts to Access Key Vaults
- Running PowerShell on Azure VMs at Scale
- Maintaining Azure Persistence via Automation Accounts
- Decrypting Azure VM Extension Settings with Get-AzureVMExtensionSettings
- Attacking Azure with Custom Script Extensions
- Lateral Movement in Azure App Services
- Get-AzPasswords: Encrypting Automation Password Data
- Azure Privilege Escalation Using Managed Identities
- Azure Persistence with Desired State Configurations
- How To Extract Credentials from Azure Kubernetes Service (AKS)
- Extracting all the Azure Passwords - DEF CON 29 - Cloud Village
- Adventures in Azure Privilege Escalation - DerbyCon 9
- Attacking Azure Environments with PowerShell - DerbyCon 8
Check out the MicroBurst Wiki for more information on the usage of the toolkit and the available functions.