Az - ACR

Reading time: 3 minutes

tip

Učite i vežbajte AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Učite i vežbajte GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE) Učite i vežbajte Azure Hacking: HackTricks Training Azure Red Team Expert (AzRTE)

Podržite HackTricks

Osnovne informacije

Azure Container Registry (ACR) je upravljana usluga koju pruža Microsoft Azure za čuvanje i upravljanje Docker kontejnerskim slikama i drugim artefaktima. Nudi funkcije kao što su integrisani alati za programere, geo-replikacija, bezbednosne mere poput kontrole pristupa zasnovane na rolama i skeniranja slika, automatske gradnje, webhooks i okidače, i izolaciju mreže. Radi sa popularnim alatima kao što su Docker CLI i Kubernetes, i dobro se integriše sa drugim Azure uslugama.

Enumeracija

Da biste enumerisali uslugu, možete koristiti skriptu Get-AzACR.ps1:

bash
# List Docker images inside the registry
IEX (New-Object Net.Webclient).downloadstring("https://raw.githubusercontent.com/NetSPI/MicroBurst/master/Misc/Get-AzACR.ps1")

Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Internet Explorer\Main" -Name "DisableFirstRunCustomize" -Value 2

Get-AzACR -username <username> -password <password> -registry <corp-name>.azurecr.io
bash
az acr list --output table
az acr show --name MyRegistry --resource-group MyResourceGroup

Prijavite se i preuzmite iz registra

bash
docker login <corp-name>.azurecr.io --username <username> --password <password>
docker pull <corp-name>.azurecr.io/<image>:<tag>

tip

Učite i vežbajte AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Učite i vežbajte GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE) Učite i vežbajte Azure Hacking: HackTricks Training Azure Red Team Expert (AzRTE)

Podržite HackTricks