Cloud CLI reviewHackBlue

Anonymous access to an Azure storage container

Use az CLI output and jq to find storage accounts that allow anonymous blob access, then find the container that lets anyone list and download invoices.

  • Terminal mission
  • Intermediate
  • 3 questions
  • 0 of 3 solved

Your goal

Your goalFind the Azure storage that anyone on the internet can list and download.

Defender for Cloud lists "Storage account public access should be disallowed" for two accounts. One serves website images on purpose. You need to find out whether the other one matters.

allowBlobPublicAccess on the account is the master switch. Each container then sets publicAccess to off, blob (read a blob if you know its name), or container (list and read everything).

What’s on screen
Briefing
the story: what happened and what evidence you were handed.
Terminal
the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
Walkthrough
the numbered path. Each step says what to type and what you should see. Hints open one at a time.
Answer boxes
under each question step. Type what you found and press Check.
Words to know
CLI
command-line interface
TLS
Transport Layer Security, the encryption behind HTTPS
JSON
JavaScript Object Notation, a text format of fields and values

analyst@cloud-shell

cloud-shell · Cloud CLI review

Type help for the command list and objectives for your tasks. Everything runs in this browser.

Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.

The whole walkthrough

Every step in order: 271 words, about 2 min. It gives away every answer, so try the steps first.