
DNSベースのサブドメイン列挙ツール。Azureサービス(App Services、Storage Accounts、Databases、Key Vaults、CDNエンドポイント)をプローブし、パーミュテーションと名前解決技術を用いて探索します。
AzSubEnumは、Azureサービス向けに特化したサブドメイン列挙ツールです。このツールは、さまざまなAzureサービスに関連するサブドメインを綿密に検索し特定するために設計されています。技術とクエリの組み合わせにより、AzSubEnumはAzureドメイン構造を調査し、多様なAzureサービスに関連するサブドメインを体系的に探索・収集します。
AzSubEnumは、DNS解決技術と体系的な順列(パーミュテーション)手法を活用して、Azure App Services、ストレージアカウント、Azure Databases(MSSQL、Cosmos DB、Redisを含む)、Key Vaults、CDN、メール、SharePoint、Azure Container Registryなど、Azureサービスに関連するサブドメインを明らかにします。その機能は、さまざまなAzureサービスのドメインを包括的にスキャンし、関連するサブドメインを特定することに及びます。
このツールを使用することで、ユーザーはAzure環境内で徹底的なサブドメイン列挙を実行でき、セキュリティ専門家、研究者、管理者がAzureサービスの広大なランドスケープとそれに対応するサブドメインに関する洞察を得るのに役立ちます。
Azure ADの悪用について学習する中で、NetSPIのAzureサブドメインツールInvoke-EnumerateAzureSubDomainsが私のDebian PowerShellでは動作しないことに気づきました。そのため、そのツールの簡易実装をPythonで作成しました。
➜ AzSubEnum git:(main) ✗ python3 azsubenum.py --help
usage: azsubenum.py [-h] -b BASE [-v] [-t THREADS] [-p PERMUTATIONS]
Azure Subdomain Enumeration
options:
-h, --help show this help message and exit
-b BASE, --base BASE Base name to use
-v, --verbose Show verbose output
-t THREADS, --threads THREADS
Number of threads for concurrent execution
-p PERMUTATIONS, --permutations PERMUTATIONS
File containing permutations
Basic enumeration:
python3 azsubenum.py -b retailcorp --thread 10
Using permutation wordlists:
python3 azsubenum.py -b retailcorp --thread 10 --permutation permutations.txt
With verbose output:
python3 azsubenum.py -b retailcorp --thread 10 --permutation permutations.txt --verbose

このツールを強化するアイデアはありますか?コントリビュートしましょう!
このツールに含まれる素材に関連するいかなる行為または活動も、すべてあなた自身の責任です。このツール内の情報を誤用すると、該当者に対して刑事告発が行われる可能性があります。