AzBlobGob is a CLI tool to enumerate and download Azure Blob contents
Clone from repo
$ go build
Tested with Go version 1.23.2
AzBlobGob requires the -account, -containers, and -dirprefixes flags at minimum.
./azblobgob -h
_ ___ _ _ ___ _
/_\ ___ | _ ) | | ___ | |__ / __| ___ | |__
/ _ \ |_ / | _ \ | | / _ \ | '_ \ | (_ | / _ \ | '_ \
/_/ \_\ /__| |___/ |_| \___/ |_.__/ \___| \___/ |_.__/
@h0useh3ad
Usage of ./azblobgob:
-account string
Azure Blob Storage account name
-containers string
Container names file (default "names.txt")
-dirprefixes string
Directory prefix name file (default "names.txt")
-output string
Target output directory to save downloaded blob files (default: provided account name)
-socks string
SOCKS5 proxy address (e.g., 127.0.0.1:1080)
-verbose
Enable verbose output
-version
Display version information
The account is the 'myaccount' name from the blob URI prefix 'https://myaccount.blob.core.windows.net/mycontainer/myblob'. Only provide the account name, not the full URI.
The containers and directory prefix files are new-line delimited files used to enumerate the Azure blobs. Included is a default file with directory and container names cloned from NetSpi's MicroBurst permutations.txt file.
The tool create a directory using the provided account name within the local directory. New directories will be created as needed where files are downloaded to mimic the blob directory structure.
The downloaded blobs can then be scanned locally with truffelhog
trufflehog filesystem <local-path>
See trufflesecurity/trufflehog#769 for more details.