针对 Microsoft Azure 的攻击工具集合
一套用 Python 编写的、针对 Microsoft Azure 的攻防工具集合,旨在实现平台无关性。当前的工具列表及其功能简介见下文。
./Device_Code/device_code_easy_mode.py
./Access_Tokens/token_juggle.py
./Access_Tokens/read_token.py
./Outsider_Recon/outsider_recon.py
./User_Enum/user_enum.py
./Azure_AD/get_tenant.py
./Azure_AD/get_users.py
./Azure_AD/get_groups.py
./Azure_AD/get_group_members.py
./Azure_AD/get_subscriptions.py
./Azure_AD/get_resource_groups.py
./Azure_AD/get_vms.py
Offensive Azure 可以通过多种方式安装,也可以完全不安装。
欢迎你克隆仓库并执行你想要的特定脚本。每个模块都包含一个 requirements.txt 文件,以便尽可能简化这一过程。
本项目基于 poetry 构建。要使用它,请按照以下步骤操作:
git clone https://github.com/blacklanternsecurity/offensive-azure.git
cd ./offensive-azure
poetry install
该仓库的打包版本也发布在 pypi 上,因此你也可以使用 pip 进行安装。我们建议你使用 pipenv,以尽可能保持环境干净。
pipenv shell
pip install offensive_azure
如何使用此工具包由你决定。每个模块都可以独立运行,也可以将其作为包安装并以该方式使用。每个模块都会导出为一个与模块文件同名的脚本。例如:
poetry install
poetry run outsider_recon your-domain.com
pipenv shell
pip install offensive_azure
outsider_recon your-domain.com
版权所有 (C) 2022 Black Lantern Security
根据 GNU Affero 通用公共许可证 v3.0 或更高版本(AGPL-3.0-or-later)授权。参见 LICENSE。