MicroBurst: A PowerShell Toolkit for Attacking Azure
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, Contributors, and License
- 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
Importing the Module
Import-Module .\MicroBurst.psm1
This will import all applicable functions based off of the currently installed modules in your environment.
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:
dir -Recurse .\MicroBurst-master | Unblock-File
Recommended Modules to install:
Related Blogs
- 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
- Giving Azure a REST – Expanding REST API Capabilities
- Azure Persistence with Desired State Configurations
Presentations
- Adventures in Azure Privilege Escalation - DerbyCon 9
- Attacking Azure Environments with PowerShell - DerbyCon 8
Wiki Information
Check out the MicroBurst Wiki for more information on the usage of the toolkit and the available functions.