MSFTRecon MSFTRecon is a reconnaissance tool designed for red teamers and security professionals to map Microsoft 365 and Azure tenant infr…
MSFTRecon MSFTRecon is a reconnaissance tool designed for red teamers and security professionals to map Microsoft 365 and Azure tenant infr…
MSFTRecon is a reconnaissance tool designed for red teamers and security professionals to map Microsoft 365 and Azure tenant infrastructure. It performs comprehensive enumeration without requiring authentication, helping identify potential security misconfigurations and attack vectors.
# Clone the repository
git clone https://github.com/Arcanum-Sec/msftrecon.git
cd msftrecon
# Create virtual environment
python3 -m venv venv
source venv/bin/activate
# Install requirements
pip install -r requirements.txt
chmod +x msftrecon.pyBasic scan:
./msftrecon.py -d example.comJSON output:
./msftrecon.py -d example.com -jGovernment cloud:
./msftrecon.py -d example.gov --govChina cloud:
./msftrecon.py -d example.cn --cn[+] Target Organization:
Tenant Name: Contoso
Tenant ID: 1234abcd-1234-abcd-1234-1234abcd1234
[+] Federation Information:
Namespace Type: Managed
Brand Name: Contoso
Cloud Instance: microsoftonline.com
[+] Azure AD Configuration:
Tenant Region: NA
[+] Azure AD Connect Status:
Identity Configuration: Managed (Cloud Only)
Authentication Type: Managed
[!] Identity Insights:
* Cloud-only authentication detected
* All authentication handled in Azure AD
* Focus on cloud-based attack vectorsMSFTRecon provides valuable insights for red teamers:
Identity Attack Vectors
Application Attack Surface
Infrastructure Insights
Security Control Awareness
Contributions are welcome! Please feel free to submit a Pull Request.
This tool is intended for legal security assessments and penetration testing only. Users must obtain proper authorization before conducting security assessments. The authors are not responsible for any misuse or damage caused by this tool.
This project is licensed under the MIT License
jhaddix
No open issues yet, or sync has not completed.