
DNSベースのサブドメイン列挙ツール。Azureサービス(App Services、Storage Accounts、Databases、Key Vaults、CDNエンドポイント)をプローブし、パーミュテーションと名前解決技術を用いて探索します。
AzSubEnum は、Azure サービスに特化したサブドメイン列挙ツールです。このツールは、さまざまな Azure サービスに関連するサブドメインを綿密に検索し、特定するために設計されています。さまざまな手法とクエリを組み合わせることで、AzSubEnum は Azure ドメイン構造を掘り下げ、多様な Azure サービスに関連するサブドメインを体系的に探索・収集します。
AzSubEnum は、DNS 解決手法と体系的な順列生成手法を活用して、Azure App Services、Storage Accounts、Azure Databases (MSSQL、Cosmos DB、Redis を含む)、Key Vaults、CDN、Email、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]
[--blobsenum] [-bw BLOB_WORDLIST] [-bt BLOB_THREADS]
Azure Subdomain Enumeration and Blob Container Access Checker
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
--blobsenum Perform blob container enumeration
-bw BLOB_WORDLIST, --blob-wordlist BLOB_WORDLIST
Path to a custom wordlist file for blob container
enumeration
-bt BLOB_THREADS, --blob-threads BLOB_THREADS
Number of threads to use for blob container
enumeration
基本的な列挙:
python3 azsubenum.py -b retailcorp --threads 10
順列ワードリストの使用:
python3 azsubenum.py -b retailcorp --threads 10 --permutations permutations.txt
詳細出力あり:
python3 azsubenum.py -b retailcorp --threads 10 --permutations permutations.txt --verbose
Blob コンテナの列挙:
python3 azsubenum.py -b retailcorp --threads 10 --blobsenum
python3 azsubenum.py -b retailcorp --threads 10 --blobsenum -bt 10
python3 azsubenum.py -b retailcorp --threads 10 --blobsenum --blob-wordlist custom_wordlist.txt --blob-threads 10

このツールを強化する方法について何かアイデアはありますか? ぜひ貢献してください!
BSD-3-Clause。著作権表示を保持することを条件に、自由に使用、変更、再配布 (商用を含む) できます。詳細は LICENSE を参照してください。NetSPI/MicroBurst (BSD-3-Clause) に基づいています。
このツールに含まれる資料に関連するあらゆる行為および活動は、すべてあなた自身の責任です。このツールの情報の悪用は、該当する人物に対して刑事告訴をもたらす可能性があります。