All Projects → nixintel → o365chk

nixintel / o365chk

Licence: MIT license
Simple Python tool to check if there is an Office 365 instance linked to a domain.

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to o365chk

Oscp Prep
my oscp prep collection
Stars: ✭ 105 (+183.78%)
Mutual labels:  osint, recon
Bbrecon
Python library and CLI for the Bug Bounty Recon API
Stars: ✭ 169 (+356.76%)
Mutual labels:  osint, recon
Spaces Finder
A tool to hunt for publicly accessible DigitalOcean Spaces
Stars: ✭ 122 (+229.73%)
Mutual labels:  osint, recon
Urlhunter
a recon tool that allows searching on URLs that are exposed via shortener services
Stars: ✭ 934 (+2424.32%)
Mutual labels:  osint, recon
osint
Docker image for osint
Stars: ✭ 92 (+148.65%)
Mutual labels:  osint, recon
Gitgot
Semi-automated, feedback-driven tool to rapidly search through troves of public data on GitHub for sensitive secrets.
Stars: ✭ 964 (+2505.41%)
Mutual labels:  osint, recon
Osint Tools
👀 Some of my favorite OSINT tools.
Stars: ✭ 155 (+318.92%)
Mutual labels:  osint, recon
Favfreak
Making Favicon.ico based Recon Great again !
Stars: ✭ 564 (+1424.32%)
Mutual labels:  osint, recon
Iky
OSINT Project
Stars: ✭ 203 (+448.65%)
Mutual labels:  osint, recon
Discover
Custom bash scripts used to automate various penetration testing tasks including recon, scanning, parsing, and creating malicious payloads and listeners with Metasploit.
Stars: ✭ 2,548 (+6786.49%)
Mutual labels:  osint, recon
Sn0int
Semi-automatic OSINT framework and package manager
Stars: ✭ 814 (+2100%)
Mutual labels:  osint, recon
Rengine
reNgine is an automated reconnaissance framework for web applications with a focus on highly configurable streamlined recon process via Engines, recon data correlation and organization, continuous monitoring, backed by a database, and simple yet intuitive User Interface. reNgine makes it easy for penetration testers to gather reconnaissance with…
Stars: ✭ 3,439 (+9194.59%)
Mutual labels:  osint, recon
Reconspider
🔎 Most Advanced Open Source Intelligence (OSINT) Framework for scanning IP Address, Emails, Websites, Organizations.
Stars: ✭ 621 (+1578.38%)
Mutual labels:  osint, recon
Awesome Asset Discovery
List of Awesome Asset Discovery Resources
Stars: ✭ 1,017 (+2648.65%)
Mutual labels:  osint, recon
Git Hound
Reconnaissance tool for GitHub code search. Finds exposed API keys using pattern matching, commit history searching, and a unique result scoring system.
Stars: ✭ 602 (+1527.03%)
Mutual labels:  osint, recon
H8mail
Email OSINT & Password breach hunting tool, locally or using premium services. Supports chasing down related email
Stars: ✭ 2,163 (+5745.95%)
Mutual labels:  osint, recon
Amass
In-depth Attack Surface Mapping and Asset Discovery
Stars: ✭ 6,284 (+16883.78%)
Mutual labels:  osint, recon
Theharvester
E-mails, subdomains and names Harvester - OSINT
Stars: ✭ 6,175 (+16589.19%)
Mutual labels:  osint, recon
Intrec Pack
Intelligence and Reconnaissance Package/Bundle installer.
Stars: ✭ 177 (+378.38%)
Mutual labels:  osint, recon
Sitedorks
Search Google/Bing/Ecosia/DuckDuckGo/Yandex/Yahoo for a search term with a default set of websites, bug bounty programs or a custom collection.
Stars: ✭ 221 (+497.3%)
Mutual labels:  osint, recon

o365chk.py

Simple Python script to check if there is an Office365 instance linked to a particular domain.

There are three possible results:

Unknown = No O365 instance for that domain
Federated = O365 is federated
Managed = O365 is managed directly by Microsoft

Installation and Usage

$ git clone https://github.com/nixintel/o365chk && cd o365chk

$ pip install -r requirements.txt

$ python3 o365chk.py -d example.com

Example Output

    $ python3 o365chk.py -d bbc.co.uk

    This domain is Federated
{
        "AuthNForwardType": 1,
        "AuthURL": "https://gateway.id.tools.bbc.co.uk/eiam/WSFederationServlet/metaAlias/wsidp2?username=username%40bbc.co.uk&wa=wsignin1.0&wtrealm=urn%3afederation%3aMicrosoftOnline&wctx=",
        "CloudInstanceIssuerUri": "urn:federation:MicrosoftOnline",
        "CloudInstanceName": "microsoftonline.com",
        "DomainName": "bbc.co.uk",
        "FederationBrandName": "BBC",
        "FederationGlobalVersion": -1,
        "Login": "[email protected]",
        "NameSpaceType": "Federated",
        "State": 3,
        "UserState": 2
       }

Checking Multiple Domains

By default the script only checks for one domain. To query multiple domains from an input file run the multi.sh bash script with a file containing the domains as an argument.

Example format domains.txt:

example.org
somesite.net
targetdomain.com

To query all these domains at once:

$ ./multi.sh domains.txt 

Credits

I had the idea for this after reading this excellent article on O365 discovery by Mike Bond: https://bond-o.medium.com/microsoft-office-365-enumeration-58f9b5ba21c8

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].