M365_Groups_Enum is the all_groups.py
script allows to enumerate all Microsoft 365 Groups in a Azure AD tenant with their metadata:
All of this, even for private Groups! Read more about this on my blog article “Risks of Microsoft Teams and Microsoft 365 Groups”
The reporting.py
script will take the JSON output from all_groups.py
and generates a CSV files allowing to quickly identify sensitive private or public groups.
Installation
pip install -r requirements.txt
Usage
You will need a valid account on the tenant. Different authentication methods are supported:
python all_groups.py -u myuser@example.onmicrosoft.com -p MyPassw0rd
python all_groups.py –device-code
Other methods are also offered. You can read the ROADTools documentation or run the script without any argument to get help.
python all_groups.py
That’s all, you don’t need more options! The script output will be in all_groups.json
in the current directory.
Then, if you want a nicer and more concise output from this JSON, use reporting.py
to transform it:
python reporting.py
It automatically takes all_groups.json
in the current directory, and outputs to all_groups.csv
in the same directory.
Starship is a powerful, minimal, and highly customizable cross-shell prompt designed to enhance the terminal…
Lemmy is an innovative, open-source platform designed for link aggregation and discussion, providing a decentralized…
The latest release of ImHex v1.37.0 introduces a host of exciting features and improvements, enhancing…
Ghauri is a cutting-edge, cross-platform tool designed to automate the detection and exploitation of SQL…
Writing tools have become indispensable for individuals looking to enhance their writing efficiency, accuracy, and…
PatchWerk is a proof-of-concept (PoC) tool designed to clean NTDLL syscall stubs by patching syscall…