剑庭安
首页
黑客安全首页全部安全栏目 黑客技术黑客技术、渗透测试、漏洞利用工具与教程 安全软件安全工具、扫描器、检测与审计软件 病毒分析恶意软件分析、样本、逆向与沙箱 CTF思路CTF 题目、writeup、解题思路与工具 防护思路防御技术、加固、检测响应与蓝队 红蓝攻防红队攻击模拟、蓝队对抗、攻防演练 漏洞知识库漏洞、CVE、PoC、EXP 与安全研究
逆向|反编译
PHP源码PHP 网站源码、程序、系统 APP源码安卓/iOS APP 源码 ASP源码ASP 网站源码与程序 NET源码.NET 网站源码与系统 小程序源码微信/支付宝小程序源码 Dedecms风格模板Dedecms 织梦风格模板 Empirecms风格模板EmpireCMS 帝国风格模板 Discuz商业模板/插件Discuz 商业模板与插件 WordPress主题/插件WordPress 主题与插件 其它源码、模板其它各类源码与模板 游戏源码游戏源码与引擎项目 加密货币源码加密货币、区块链、钱包、USDT/比特币相关源码与工具 手游源码手机游戏源码、服务端、客户端与引擎项目 传奇源码热血传奇、传奇世界、复古传奇等客户端/服务端/引擎源码 页游源码网页游戏、H5 游戏、浏览器游戏源码 端游源码电脑单机游戏、PC 网游客户端/服务端源码
最新万能免驱动支持所有型号打印机下载程序 日历天气老黄历 · 每天同步真实日期与天气
站长工具站长工具 自助开通会员浏览该分类 其他资源qtziy SEO工具SEO工具 站群源码站群源码 泛程序泛程序 蜘蛛模板蜘蛛模板 蜘蛛池蜘蛛池 外链工具外链工具
搜索 自助开通会员🔓 破甲 API
登录 注册
首页 分类列表 红蓝攻防 EvilMist - EvilMist is a col…
EvilMist - EvilMist is a collection of scripts and utilities 红蓝攻防 点击放大
作者:admin 发布:2026-10-06

EvilMist - EvilMist is a collection of scripts and utilities

项目说明<di="center"> <img src="assets/E.png" alt="E Logo" width="400"/></div>EE is a collection…
资源可下载 免费下载 0 条讨论
会员资源
开通会员后即可下载全部资源。
登录后开通会员
会员方案
385浏览量
0讨论
2下载链接
可下载资源状态
内容可验证
更新 2026-10-06
人工审核发布
评论区答疑

EvilMist - EvilMist is a collection of scripts and utilities

项目说明

<di="center">
<img src="assets/E.png" alt="E Logo" width="400"/>
</div>

E

E is a collection of scripts and utilities designed to support cloud security configuration audit, cloud penetration testing & cloud red teaming. The toolkit helps identify misconfigurations, assess pri paths, and simulate attack techniques. E aims to streamline cloud-focused red-team workflows and improve the o security posture of cloud infrastructures

---

Tools

Unauthenticated Entra ID Enumeration

Unauthenticated Azure/Entra ID enumeration and reconnaissance tool. Performs passi enumeration using publicly accessible APIs and DNS queries without requiring any authentication tokens.

Key Features:

  • No Authentication Required - Works without Azure tokens or credentials

  • Tenant Discovery - Retrie ID, name, region .dev and OpenID config

  • Domain Realm Analysis - Identify Managed authentication

  • User Existence Checking - email addresses API

  • DNS Reconnaissance - Enumerate MX, SPF, TXT, CNAME, SR records

  • Port Scanning - Check common Azure ports (HTTPS, LDAP, Kerberos, RDP)

  • Stealth Mode - Configurable delays and jitter to avoid rate limiting

  • Export Options - JSON and CS formats
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraEnum-PS1.md | scripts/powershell/In.ps1 |

    ---

    Enumerate-EntraUsers

    Comprehensi Entra ID (Azure AD) user enumeration and security assessment tool, a in both PowerShell and Python .

    Key Features:

  • 15+ User Enumeration Methods - Works even when direct /users access is blocked

  • Security Assessment - MFA status, pri roles, stale accounts, guest users

  • Credential Attack Surface - SSPR, legacy auth, app passwords analysis

  • Conditional Access Analysis - Policy enumeration and gap detection

  • Device & Intune Enumeration - Managed devices, compliance policies

  • Attack Path Analysis - Pri escalation paths and lateral mo

  • Power Platform - Power Apps and Power Automate flow enumeration

  • Export Options - BloodHound/AzureHound JSON, HTML reports, CSV/JSON

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraRecon-PS1.md | scripts/powershell/In.ps1 |
    | Python | EntraRecon-PY.md | scripts/python/entra_recon.py |

    ---

    MFA Security Check

    Focused security assessment tool to identify Azure Entra ID users without Multi-Factor Authentication (MFA) enabled. Includes ad features for shared mailbox detection and sign-in activity analysis..

    Key Features:

  • MFA Detection - Identifies users without strong authentication methods

  • Last Sign-In Tracking - Shows last login date/time and activity patterns

  • Shared Mailbox Detection - Automatically identifies and filters shared mailbox accounts

  • Sign-In Capability Check - Determines if accounts can actually authenticate

  • Risk Assessment - Categorizes users by risk level (HIGH/MEDIUM/LOW)

  • Activity Analytics - Sign-in statistics, department breakdowns, stale accounts

  • Matrix View - Compact table format for quick scanning

  • Export Options - CSV/JSON with comprehensive user details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraMFACheck-PS1.md | scripts/powershell/In.ps1 |

    ---

    Guest Account Enumeration

    Comprehensi account analysis tool to identify, analyze, and assess the security posture of external users in Azure Entra ID. Essential for guest access go and security audits.

    Key Features:

  • Guest Account Discovery - Enumerate all guest users in the tenant

  • MFA Status Detection - Identify guests without Multi-Factor Authentication

  • Last Sign-In Tracking - Shows login date/time and activity patterns for guests

  • Guest Domain Extraction - Identifies originating organizations of guest users

  • Invite Status Tracking - Shows accepted, pending, or expired in

  • Risk Assessment - Categorizes guests by risk level (HIGH/MEDIUM/LOW)

  • Activity Analytics - Sign-in statistics, stale accounts, unused invites

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only guests without MFA or include disabled accounts

  • Export Options - CSV/JSON with comprehensi details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraGuestCheck-PS1.md | scripts/powershell/In.ps1 |

    ---

    Critical Administrati Check

    Comprehensi assessment tool to identify Azure Entra ID users with access to 10 critical administrati including PowerShell tools, management portals, core Microsoft 365 services, and pri identity management. Essential for pri access go and administrative tool auditing.

    Key Features:

  • Critical Access Discovery - Enumerate users with administrati access across all tiers

  • Explicit Assignment Focus - Shows users with elevated/administrati (not basic user access)

  • Default Access Detection - Automatically detects and warns about apps with default access

  • Security-Focused Results - Filters out noise from basic user access to focus on pri users

  • Multiple Application Co - Tracks 10 critical apps: Azure/AD PowerShell, Azure CLI, Graph Tools, M365/Azure Portals, Exchange/SharePoint Online, and PIM

  • MFA Status Detection - Identify pri users without Multi-Factor Authentication

  • Last Sign-In Tracking - Shows login date/time and activity patterns

  • Assignment Tracking - Shows when users were granted management access

  • Risk Assessment - Categorizes users by risk level (HIGH/MEDIUM/LOW)

  • Activity Analytics - Sign-in statistics, stale accounts, inacti

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only users without MFA or include disabled accounts

  • Export Options - CSV/JSON with comprehensi details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraAppAccess-PS1.md | scripts/powershell/In.ps1 |

    ---

    Quick Start

    Script Dispatcher (PowerShell)

    Execute any script from the root directory without na to subfolders:

    A scripts: EntraEnum, EntraRecon, EntraMFACheck, EntraGuestCheck, EntraAppAccess, EntraRoleCheck, EntraSer, EntraConditionalAccessCheck, EntraAdminUnitCheck, EntraStaleAccountCheck, EntraDe, EntraSSPRCheck, EntraPasswordPolicyCheck, EntraLegacyAuthCheck, EntraLicenseCheck, EntraDirectorySyncCheck, EntraPowerPlatformCheck, EntraGroupCheck, EntraApplicationCheck, EntraAttackPathCheck, EntraAzureRBACCheck, EntraOAuthConsentCheck, EntraSignInRiskCheck, EntraPIMCheck, EntraKey, EntraStorageAccountCheck, EntraNetworkSecurityCheck, EntraManagedIdentityCheck, EntraExchangeCheck, EntraSharePointCheck, EntraTeamsCheck, EntraAzureAttackPathCheck, EntraReport, EntraComplianceCheck, SharePointEnum

    Unauthenticated Entra ID Enumeration (PowerShell)

    Requirements: PowerShell 7+ (no additional modules needed)

    📖 Full documentation: EntraEnum-PS1.md

    Enumerate-EntraUsers (PowerShell)

    Requirements: PowerShell 7+

    📖 Full documentation: EntraRecon-PS1.md

    Enumerate-EntraUsers (Python)

    Requirements: Python 3.8+, msal, requests

    📖 Full documentation: EntraRecon-PY.md

    MFA Security Check (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraMFACheck-PS1.md

    Guest Account Enumeration (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraGuestCheck-PS1.md

    Critical Administrati Check (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraAppAccess-PS1.md

    Pri Role Check (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraRoleCheck-PS1.md

    Service Principal Security Check (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraSer.md

    Key Features:

  • Comprehensive Role Co - Enumerates all directory roles including CRITICAL, HIGH, MEDIUM, and LOW risk roles

  • PIM Support - Identifies both permanent (Active) and PIM-managed (Eligible/Active) role assignments

  • Assignment Tracking - Shows assignment dates, duration, and expiration dates

  • MFA Status Detection - Identify pri users without Multi-Factor Authentication

  • Last Sign-In Tracking - Shows login date/time and activity patterns

  • Risk Assessment - Categorizes users by risk le on role criticality and security posture

  • Activity Analytics - Sign-in statistics, stale accounts, inacti

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only users without MFA, only permanent assignments, or include disabled accounts

  • Export Options - CSV/JSON with comprehensive role assignment details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraSer.md | scripts/powershell/InalCheck.ps1 |

    ---

    Application Registration Security Check (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraApplicationCheck-PS1.md

    Key Features:

  • Comprehensi Enumeration - Enumerates all application registrations in the tenant

  • Credential Analysis - Identifies applications with secrets and certificates

  • Expiration Tracking - Detects expired and expiring credentials (≤30 days)

  • API Permission Analysis - Identifies applications with high-risk and critical permissions

  • Owner Security Assessment - Checks app owners and their MFA status

  • Risk Assessment - Categorizes applications by risk level (CRITICAL/HIGH/MEDIUM/LOW) based on permissions and credentials

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only apps with credentials, expired credentials, or high permissions

  • Export Options - CSV/JSON with comprehensi details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraApplicationCheck-PS1.md | scripts/powershell/Inck.ps1 |

    ---

    Conditional Access Policy Security Check (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraConditionalAccessCheck-PS1.md

    Administrative Unit Security Check (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraAdminUnitCheck-PS1.md

    Key Features:

  • Administrative Unit Enumeration - Enumerates all Administrati with configuration details

  • Scoped Role Assignment Analysis - Identifies all scoped administrators and their roles

  • Member Enumeration - Shows AU members and their roles

  • MFA Status Detection - Identify scoped administrators without Multi-Factor Authentication

  • Last Sign-In Tracking - Shows login date/time and activity patterns

  • Risk Assessment - Categorizes assignments by risk level (CRITICAL/HIGH/MEDIUM/LOW) based on scoped admin access

  • Activity Analytics - Sign-in statistics, stale accounts, inacti

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only administrators without MFA or include disabled accounts

  • Export Options - CSV/JSON with comprehensi assignment details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraAdminUnitCheck-PS1.md | scripts/powershell/In.ps1 |

    ---

    Stale Account Check (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraStaleAccountCheck-PS1.md

    Key Features:

  • Stale Account Detection - Identifies accounts with no recent sign-in (>90 days)

  • Ne Detection - Finds accounts that ha been used

  • License Waste Detection - Identifies disabled accounts still assigned licenses

  • Password Expiration Tracking - Detects accounts with expired passwords

  • Account Age Analysis - Calculates account age and correlates with inactivity

  • Risk Assessment - Categorizes accounts by risk level (CRITICAL/HIGH/MEDIUM/LOW)

  • Activity Analytics - Sign-in statistics, stale account breakdowns

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Include or exclude disabled accounts

  • Export Options - CSV/JSON with comprehensi details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraStaleAccountCheck-PS1.md | scripts/powershell/Ineck.ps1 |

    ---

    Device Trust and Compliance Check (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraDe.md

    Key Features:

  • Comprehensi Enumeration - Enumerates all registered devices in the tenant

  • Compliance Status Detection - Identifies compliant, non-compliant, and unknown compliance devices

  • BYOD Detection - Automatically identifies personal/BYOD devices

  • Stale Sign-In Detection - Identifies devices with stale sign-ins (>90 days)

  • Device Trust Analysis - Analyzes join types (Azure AD Joined, Hybrid Joined, Registered)

  • Management Status - Identifies managed devices

  • Intune Compliance Policies - Enumerates Intune compliance policies and assignments

  • Risk Assessment - Categorizes devices by risk level (CRITICAL/HIGH/MEDIUM/LOW) based on compliance gaps and trust issues

  • Activity Analytics - Sign-in statistics, stale devices, registration dates

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only non-compliant, BYOD, or stale devices

  • Export Options - CSV/JSON with comprehensi details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraDe.md | scripts/powershell/In.ps1 |

    ---

    Self-Service Password Reset Check (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraSSPRCheck-PS1.md

    Key Features:

  • SSPR Status Detection - Identifies users with SSPR enabled, registered, or capable

  • Registration Method Analysis - Analyzes registered authentication methods for SSPR

  • Backup Method Detection - Identifies users without backup methods configured

  • Strong Method Detection - Distinguishes between strong and weak authentication methods

  • MFA Status Correlation - Cross-references SSPR configuration with MFA status

  • Last Sign-In Tracking - Shows login date/time and activity patterns

  • Risk Assessment - Categorizes users by risk level (HIGH/MEDIUM/LOW) based on SSPR configuration

  • Activity Analytics - Sign-in statistics, stale accounts, inacti

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only users without backup methods or include disabled accounts

  • Export Options - CSV/JSON with comprehensive SSPR details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraSSPRCheck-PS1.md | scripts/powershell/In.ps1 |

    ---

    Password Policy Security Check (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraPasswordPolicyCheck-PS1.md

    Key Features:

  • Password Expiration Analysis - Checks password expiration policies per user

  • Ne Detection - Identifies users with "password ne" flag

  • Complexity Requirements - Checks password complexity requirements (strong password enforcement)

  • Weak Policy Detection - Identifies users with weak password policies

  • Password Age Tracking - Calculates password age and expiration risk

  • Risk Assessment - Categorizes users by risk level (CRITICAL/HIGH/MEDIUM/LOW) based on policy strength

  • Activity Analytics - Sign-in statistics, password age analysis, policy gaps

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only weak policies or ne accounts

  • Export Options - CSV/JSON with comprehensi details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraPasswordPolicyCheck-PS1.md | scripts/powershell/InCheck.ps1 |

    ---

    Legacy Authentication Check (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraLegacyAuthCheck-PS1.md

    Key Features:

  • Legacy Protocol Detection - Identifies 10 legacy authentication protocols (IMAP, POP3, SMTP, Exchange Acti, etc.)

  • Sign-In Log Analysis - Queries audit logs for legacy authentication usage (last 90 days)

  • Last Usage Tracking - Shows last legacy authentication date and time

  • Protocol Statistics - Tracks successful/failed sign-ins per protocol

  • MFA Status Detection - Identify users without Multi-Factor Authentication using legacy auth

  • Risk Assessment - Categorizes users by risk level (CRITICAL/HIGH/MEDIUM/LOW) based on usage patterns and recency

  • Activity Analytics - Sign-in statistics, protocol breakdowns, usage recency

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only recent usage or include disabled accounts

  • Export Options - CSV/JSON with comprehensi auth details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraLegacyAuthCheck-PS1.md | scripts/powershell/Ink.ps1 |

    ---

    License and SKU Analysis (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraLicenseCheck-PS1.md

    Key Features:

  • Tenant SKU Enumeration - Lists all subscribed license SKUs and their consumption

  • User License Assignment Tracking - Identifies all users with license assignments

  • Pri License Detection - Automatically identifies E5, P2, and other high-pri licenses

  • Unused License Detection - Identifies licenses assigned to users who ha signed in

  • Risk Assessment - Categorizes license assignments by risk level (CRITICAL/HIGH/MEDIUM/LOW) based on license pri

  • License Usage Analytics - Consumption statistics, unused license tracking, SKU breakdowns

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only pri licenses, unused licenses, or include disabled accounts

  • Export Options - CSV/JSON with comprehensi details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraLicenseCheck-PS1.md | scripts/powershell/In.ps1 |

    ---

    Directory Sync Status Check (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraDirectorySyncCheck-PS1.md

    Key Features:

  • Sync Status Analysis - Identifies synced users

  • Sync Error Detection - Enumerates all pro and sync errors

  • Stale Sync Detection - Identifies users with stale synchronization (>7 days)

  • Sync Conflict Identification - Detects duplicate attributes and conflicts

  • Sync Scope Analysis - Checks sync configuration and scope

  • Risk Assessment - Categorizes users by risk level (CRITICAL/HIGH/MEDIUM/LOW) based on sync health

  • Activity Analytics - Sync statistics, error breakdowns, domain analysis

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only sync errors, stale sync, or include disabled accounts

  • Export Options - CSV/JSON with comprehensive sync details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraDirectorySyncCheck-PS1.md | scripts/powershell/Inheck.ps1 |

    ---

    Power Platform Enumeration (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules, Power Platform Admin or En Maker permissions

    Authentication: The script automatically handles Power Platform API authentication:

  • Default: Device code flow (browser prompt) - no setup needed

  • Azure CLI: Use -UseAzCliToken - automatically runs az login if needed

  • Azure PowerShell: Use -UseAzPowerShellToken - automatically runs Connect-AzAccount if needed (uses same account as Graph auth)
  • 📖 Full documentation: EntraPowerPlatformCheck-PS1.md

    Key Features:

  • Power Apps Enumeration - Enumerates all Power Apps with owner and sharing information

  • Power Automate Flow Enumeration - Enumerates all flows with connector and action analysis

  • Sensiti Detection - Identifies 30+ sensiti (CRITICAL, HIGH, MEDIUM, LOW risk)

  • High-Risk Action Detection - Identifies flows with high-risk actions (Delete, Create, Modify, etc.)

  • Risk Assessment - Categorizes resources by risk level (CRITICAL/HIGH/MEDIUM/LOW) based on connector types and actions

  • Connector Analysis - Analyzes connector usage and categorizes by risk level

  • Automatic Authentication - Automatically handles Power Platform API authentication (device code flow, Azure CLI, or Azure PowerShell)

  • Activity Analytics - Resource statistics, en breakdowns, owner analysis

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only high-risk resources or resources with sensiti

  • Export Options - CSV/JSON with comprehensi details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraPowerPlatformCheck-PS1.md | scripts/powershell/Inheck.ps1 |

    ---

    Attack Path Analysis (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraAttackPathCheck-PS1.md

    Key Features:

  • Pri Escalation Analysis - Identifies paths to elevated pri through role-assignable groups

  • Password Reset Delegation Detection - Finds users who can reset passwords for other users

  • Transiti Membership Analysis - Identifies indirect access to pri groups

  • Shared Mailbox Access Detection - Identifies shared mailboxes that could be used for lateral mo

  • Risk Assessment - Categorizes attack paths by risk level (CRITICAL/HIGH/MEDIUM) based on path type and user security posture

  • Path Complexity Analysis - E attack path complexity (Low/Medium/High)

  • MFA Status Detection - Identify users without Multi-Factor Authentication in attack paths

  • Last Sign-In Tracking - Shows login date/time and activity patterns

  • Activity Analytics - Sign-in statistics, stale accounts, inacti

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only high-risk paths or include disabled accounts

  • Export Options - CSV/JSON with comprehensi path details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraAttackPathCheck-PS1.md | scripts/powershell/Ink.ps1 |

    ---

    Azure RBAC Role Assignment Audit & Drift Detection (PowerShell)

    Requirements: PowerShell 7+, Az.Accounts, Az.Resources, Microsoft.Graph.Authentication modules

    📖 Full documentation: EntraAzureRBACCheck-PS1.md

    Key Features:

  • Multi-Tenant Support - Automatically scans ALL accessible tenants unless a specific tenant is specified

  • Skip Failed Tenants - Continue processing when MFA/Conditional Access blocks access to some tenants (-SkipFailedTenants)

  • Baseline Export - Maps and exports all Azure RBAC role assignments across tenants and subscriptions to JSON (desired state)

  • Drift Detection - Compares current Azure RBAC state against baseline to identify unauthorized changes

  • Multi-Subscription Support - Scans all accessible subscriptions across all tenants or specific subscriptions

  • All Users Permissions Matrix - Shows all principals and their Azure permissions in a user-centric view (-ShowAllUsersPermissions)

  • Group Member Expansion - Expands group memberships to reveal all users with Azure access (-ExpandGroupMembers)

  • Nested Group Support - Recursively expands nested groups up to 5 levels deep

  • PIM/JIT Exclusion - Exclude time-bounded PIM role assignments to focus on permanent access (-ExcludePIM)

  • Comprehensi - Captures assignments at all scopes (subscription, resource group, resource) across tenants

  • New Assignment Detection - Identifies role assignments created outside of baseline

  • Remo Detection - Detects role assignments remo baseline

  • Modified Assignment Detection - Identifies changes to existing role assignments (scope, role, principal)

  • ABAC Condition Mismatch Detection - Detects when role assignment conditions differ from baseline (added, removed, or modified)

  • Risk Assessment - Categorizes drift by risk level (CRITICAL/HIGH/MEDIUM) based on role and principal type

  • Remediation Instructions - Generates Terraform import blocks, Azure CLI, and PowerShell commands for each drift issue

  • Principal Analysis - Tracks users, groups, and service principals with role assignments

  • Role Definition Details - Captures built-in roles, permissions, and descriptions

  • Scope Hierarchy - Analyzes assignments across subscription, resource group, and resource scopes

  • Condition Support - Tracks ABAC (Attribute-Based Access Control) conditions on assignments

  • Tenant Tracking - Includes tenant information for all assignments to support multi-tenant en

  • Matrix View - Compact table format for quick drift with tenant information

  • Flexible Authentication - Azure CLI (az login) or Azure PowerShell (Connect-AzAccount) authentication

  • Export Options - JSON baseline export, expanded group export, and JSON drift report with detailed recommendations

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraAzureRBACCheck-PS1.md | scripts/powershell/In.ps1 |

    ---

    OAuth Consent Grant Audit (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules

    📖 Full documentation: EntraOAuthConsentCheck-PS1.md

    Key Features:

  • OAuth2PermissionGrant Enumeration - Enumerates all delegated permission grants in the tenant

  • Admin vs User Consent Detection - Distinguishes between tenant-wide admin consent and indi user consent

  • Dangerous Permission Detection - Identifies high-risk scopes (Mail.ReadWrite, Files.ReadWrite.All, User.ReadWrite.All, etc.)

  • Stale Consent Detection - Finds unused consent grants (configurable threshold, default 90 days)

  • Third-Party App Identification - Automatically identifies non-Microsoft applications with elevated permissions

  • Sign-In Activity Correlation - Cross-references with sign-in activity to detect dormant apps

  • Risk Assessment - Categorizes consent grants by risk level (CRITICAL/HIGH/MEDIUM/LOW) based on consent type, permissions, and app origin

  • Publisher Analysis - Tracks application publishers and publisher status

  • Resource Tracking - Identifies which APIs/resources each app has access to

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only high-risk, third-party, stale, or admin consent grants

  • Export Options - CSV/JSON with comprehensi grant details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraOAuthConsentCheck-PS1.md | scripts/powershell/Ineck.ps1 |

    ---

    Sign-In Risk Check (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules, Azure AD Premium P2

    📖 Full documentation: EntraSignInRiskCheck-PS1.md

    Key Features:

  • Risky User Enumeration - Lists all users flagged by Azure AD Identity Protection

  • Risk Le - Categorizes users by HIGH, MEDIUM, and LOW risk levels

  • Risk State Tracking - Shows whether risks are acti, or dismissed

  • Risk Detection Analysis - Enumerates specific risk events (impossible travel, anonymous IPs, leaked credentials)

  • Pattern Detection - Identifies suspicious patterns (after-hours activity, password spray attacks, multiple risk types per user)

  • Timing Analysis - Tracks weekend and after-hours suspicious activity

  • Impossible Tra - Identifies sign-ins from geographically distant locations

  • Anonymous IP Detection - Flags VPN, Tor, and proxy usage

  • Password Spray Detection - Identifies credential stuffing attacks

  • Leaked Credentials Detection - Users with credentials found in data breaches

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only high-risk or only acti

  • Export Options - CSV/JSON with comprehensive risk details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraSignInRiskCheck-PS1.md | scripts/powershell/Ink.ps1 |

    ---

    Pri Identity Management (PIM) Check (PowerShell)

    Requirements: PowerShell 7+, Microsoft.Graph modules, Azure AD Premium P2

    📖 Full documentation: EntraPIMCheck-PS1.md

    Key Features:

  • JIT Access Configuration Audit - Analyzes max acti duration, appro, MFA enforcement

  • Appro Analysis - Identifies roles without approval or with missing approvers

  • Justification Requirements - Detects roles without mandatory justification for acti

  • MFA Enforcement - Identifies roles that don't require MFA for acti

  • Notification Configuration - Analyzes admin notification settings for role acti

  • Permanent Assignment Detection - Finds standing pri access that bypasses PIM

  • PIM for Groups - Analyzes group-based pri access management

  • Access Reviews - Checks periodic access certification configuration

  • Risk Assessment - Categorizes roles by risk level (CRITICAL/HIGH/MEDIUM/LOW) based on configuration gaps

  • Eligible Analysis - Compares eligible assignments with acti assignments

  • Break-Glass Account Detection - Identifies permanent assignments that may be break-glass accounts

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only critical roles, high-pri roles, or misconfigurations

  • Export Options - CSV/JSON with comprehensive PIM configuration details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraPIMCheck-PS1.md | scripts/powershell/In.ps1 |

    ---

    Azure Key Vault Security Check (PowerShell)

    Requirements: PowerShell 7+, Az.Accounts, Az.KeyVault, Az.Resources, Az.Monitor modules

    📖 Full documentation: EntraKey.md

    Key Features:

  • Access Model Analysis - Compares RBAC access policies

  • Protection Status - Checks soft delete and purge protection configuration

  • Network Security Audit - Identifies public access, firewall rules, VNet integration

  • Private Endpoint Detection - private connectivity configuration

  • Overly Permissi Detection - Finds access policies with excessi ('all', 'purge')

  • Diagnostic Logging Check - audit logging is enabled

  • Secret/Certificate/Key Expiration - Tracks items approaching or past expiration

  • Risk Assessment - Categorizes Key by risk level (CRITICAL/HIGH/MEDIUM/LOW) based on configuration gaps

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only critical, public access, or unprotected Key

  • Export Options - CSV/JSON with comprehensive Key Vault details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraKey.md | scripts/powershell/In.ps1 |

    ---

    Azure Storage Account Security Audit

    Comprehensi Storage Account security audit tool that detects exposed storage accounts and data exfiltration risks. Identifies public blob containers, network misconfigurations, and data protection gaps.

    📖 Full documentation: EntraStorageAccountCheck-PS1.md

    Key Features:

  • Public Blob Container Detection - Identifies containers with anonymous access (Blob/Container level)

  • HTTPS Enforcement Check - Detects storage accounts allowing unencrypted HTTP traffic

  • Shared Key Access Analysis - Identifies accounts using storage keys AD authentication

  • Network Security Audit - Checks public access, firewall rules, VNet integration, private endpoints

  • Data Protection Analysis - Blob soft delete, container soft delete, status

  • Key Rotation Tracking - Identifies storage account keys exceeding rotation threshold

  • Cross-Tenant Replication - Detects data replication to other tenants (exfiltration risk)

  • TLS - Ensures minimum TLS 1.2 enforcement

  • Infrastructure Encryption - Checks for double encryption configuration

  • Diagnostic Logging Check - audit logging is enabled

  • Risk Assessment - Categorizes Storage Accounts by risk level (CRITICAL/HIGH/MEDIUM/LOW)

  • Matrix View - Compact table format for quick scanning

  • Filtering Options - Show only critical, public access, or anonymous containers

  • Export Options - CSV/JSON with comprehensi Account details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraStorageAccountCheck-PS1.md | scripts/powershell/InCheck.ps1 |

    ---

    Network Security Check (PowerShell)

    Requirements: PowerShell 7+, Azure PowerShell modules

    📖 Full documentation: EntraNetworkSecurityCheck-PS1.md

    Key Features:

  • NSG Rules Analysis - Detects overly permissi (0.0.0.0/0, Any-Any)

  • Open Management Ports - Identifies exposed RDP (3389), SSH (22), WinRM (5985/5986)

  • Azure Bastion Analysis - Compares Bastion usage RDP/SSH access

  • DDoS Protection Status - DDoS protection on VNets

  • VNet Security - Peering analysis, subnet NSG co, service endpoints

  • NSG Flow Logs - Flow log configuration and traffic analytics status

  • - Gateway configuration analysis

  • Risk Assessment - CRITICAL/HIGH/MEDIUM/LOW classification with findings

  • Matrix View - Compact tabular format for quick review

  • Export Options - CSV/JSON with comprehensi security details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraNetworkSecurityCheck-PS1.md | scripts/powershell/InyCheck.ps1 |

    ---

    Managed Identity Security Audit

    Comprehensi Managed Identity security audit tool that identifies excessi and security risks. Detects high-pri managed identities, cross-subscription access, and unused identities.

    📖 Full documentation: EntraManagedIdentityCheck-PS1.md

    Key Features:

  • Identity In - System-assigned managed identity enumeration

  • Role Assignment Analysis - Azure RBAC permissions for each managed identity

  • High-Pri Detection - Identifies Owner, Contributor, User Access Administrator roles

  • Critical Role Detection - Flags identities with Owner, UAA, or RBAC Admin roles

  • Cross-Subscription Access - Detects identities with permissions beyond home subscription

  • Unused Identity Detection - Finds managed identities with no role assignments

  • Resource Co - VMs, App Services, Function Apps, User-Assigned Identities

  • Scope Analysis - Subscription-wide group permissions

  • Risk Assessment - CRITICAL/HIGH/MEDIUM/LOW classification with findings

  • Matrix View - Compact tabular format for quick review

  • Export Options - CSV/JSON with comprehensi details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraManagedIdentityCheck-PS1.md | scripts/powershell/InyCheck.ps1 |

    ---

    Exchange Online Security Audit

    Comprehensi Online security audit tool that detects mail-based attack and data exfiltration risks. Identifies inbox rules forwarding to external addresses, suspicious transport rules, mailbox delegations, and audit logging gaps.

    📖 Full documentation: EntraExchangeCheck-PS1.md

    Key Features:

  • Inbox Rule Analysis - Detects rules forwarding to external addresses (data exfiltration)

  • External Forwarding Detection - Identifies SMTP forwarding configured on mailboxes

  • Transport Rules Audit - Analyzes mail flow rules for suspicious configurations

  • Mailbox Delegation Analysis - Full Access, Send-As, Send-On-Behalf permissions

  • Audit Logging Status - Identifies mailboxes without audit logging enabled

  • OWA Policy Analysis - Outlook Web App security configuration review

  • Client Access Rules - Legacy access control policy audit

  • BEC Indicator Detection - Identifies patterns common in Business Email Compromise

  • Suspicious Rule Detection - Flags rules with keywords like invoice, payment, wire, transfer

  • Risk Assessment - CRITICAL/HIGH/MEDIUM/LOW classification with findings

  • Matrix View - Compact tabular format for quick review

  • Export Options - CSV/JSON with comprehensi and rule details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraExchangeCheck-PS1.md | scripts/powershell/In.ps1 |

    ---

    SharePoint Online Security Check

    Comprehensi Online security assessment tool to identify o and external access risks. Audits tenant-level and site-le configurations to detect potential data exposure.

    📖 Full documentation: EntraSharePointCheck-PS1.md

    Key Features:

  • Tenant Sharing Settings - Organization-wide external sharing policy analysis

  • Anonymous Link Detection - Identifies sites allowing "Anyone" links

  • Site-Le - Detects sites with sharing more permissive than tenant

  • Guest Access Analysis - External user access to sensiti

  • OneDri - Personal storage external sharing configuration

  • Sensitivity Label Co - Identifies sites missing data classification

  • Default Link Analysis - Default link type and permission configuration

  • Link Expiration Policy - Anonymous link expiration settings

  • Domain Restrictions - Allow/block list configuration

  • Risk Assessment - CRITICAL/HIGH/MEDIUM/LOW classification with findings

  • Matrix View - Compact tabular format for quick review

  • Export Options - CSV/JSON with comprehensive site details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraSharePointCheck-PS1.md | scripts/powershell/Ink.ps1 |

    ---

    SharePoint Online Enumeration

    Authenticated SharePoint Online search and file download tool using the SharePoint REST API. Enables red-team operators to discover and exfiltrate sensiti during authorized penetration tests. PowerShell port of ElephantPoint (Nettitude).

    📖 Full documentation: SharePointEnum-PS1.md

    Key Features:

  • Full-Text Search - Keyword search across all SharePoint document libraries

  • FQL Support - Faceted Query Language for ad/surgical targeting

  • Refinement Filters - Filter by file type, author, date, site

  • File Download - Save to disk or Base64-encode for C2 exfiltration

  • Auto-Detection - Automatically detects SharePoint domain from Azure session

  • Smart Auth Fallback - token against SharePoint REST API; falls back through Azure CLI and MSAL device code flow if the session token lacks SharePoint permissions

  • Stealth Mode - Configurable delays, jitter, and throttle handling

  • Export Options - CSV/JSON with search metadata and summary
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | SharePointEnum-PS1.md | scripts/powershell/In.ps1 |

    ---

    Teams Security Check

    Comprehensi Teams security assessment tool to audit collaboration security settings. Identifies external access risks, guest policies, meeting security gaps, and app permission issues.

    📖 Full documentation: EntraTeamsCheck-PS1.md

    Key Features:

  • External Access (Federation) - Analyze who can communicate from outside organization

  • Guest Access Policies - Guest user capabilities and permission settings

  • Meeting Policies - Anonymous join, lobby bypass, recording settings

  • App Permission Policies - Third-party and custom app access controls

  • Messaging Policies - Chat and message feature settings

  • Teams In - , guest membership, and go analysis

  • Client Configuration - Teams client security settings

  • Risk Assessment - CRITICAL/HIGH/MEDIUM/LOW classification with findings

  • Matrix View - Compact tabular format for quick review

  • Export Options - CSV/JSON with comprehensi details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraTeamsCheck-PS1.md | scripts/powershell/In.ps1 |

    ---

    Azure Cross-Service Attack Path Analysis

    Comprehensi Azure attack path analysis tool that identifies multi-hop attack paths spanning multiple Azure services. Reveals how access to one resource can lead to compromise of other resources across the Azure en.

    📖 Full documentation: EntraAzureAttackPathCheck-PS1.md

    Key Features:

  • VM to Key Vault Paths - Identify compute resources with managed identities that can access Key Vault secrets

  • App Service to Secrets - Web applications with secret access identities

  • Managed Identity Pri Escalation - Identities with critical roles enabling takeover

  • Storage Lateral Mo - Weak storage security enabling data exfiltration or code injection

  • Custom Role - Dangerous permission combinations in custom role definitions

  • Cross-Subscription Paths - Access spanning multiple Azure subscriptions

  • Management Group Inheritance - Permissions inherited from parent scopes

  • Risk Assessment - CRITICAL/HIGH/MEDIUM/LOW classification with attack narratives

  • Matrix View - Compact tabular format for quick review

  • Export Options - CSV/JSON with comprehensive path details

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraAzureAttackPathCheck-PS1.md | scripts/powershell/InhCheck.ps1 |

    ---

    Consolidated Security Report Generator

    Unified HTML security report generator that runs multiple E security checks and produces a comprehensi dashboard with risk assessment, remediation priorities, and trend analysis.

    📖 Full documentation: EntraReport-PS1.md

    Key Features:

  • Consolidated Reporting - Run multiple security checks with a single command

  • Executi - Professional HTML report with security score (0-100)

  • Risk Se O - CRITICAL, HIGH, MEDIUM, LOW finding counts

  • Remediation Priority Matrix - Prioritized actions (P1-P4) with recommended timelines

  • Trend Analysis - Compare against baseline reports to track security impro

  • Quick Scan Mode - Core security checks (MFA, Roles, CA, Attack Paths, OAuth, PIM)

  • Comprehensive Scan - All a security checks for full co

  • JSON Export - Automatic baseline export for future comparisons

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraReport-PS1.md | scripts/powershell/In.ps1 |

    ---

    Compliance Assessment (CIS/NIST/SOC2/ISO27001/GDPR)

    Comprehensi assessment tool that e Azure Entra ID security configuration against industry-standard frameworks including CIS Microsoft Azure Foundations Benchmark, NIST 800-53, SOC 2, ISO 27001, and GDPR.

    📖 Full documentation: EntraComplianceCheck-PS1.md

    Key Features:

  • Multi-Framework Mapping - CIS Azure Benchmark, NIST 800-53, SOC 2, ISO 27001, GDPR

  • Compliance Scoring - O compliance percentage with pass/fail breakdown

  • Control Family Filtering - Filter by NIST families (AC, IA, AU, SI) or CIS sections

  • Se Levels - Critical, High, Medium, Low classification

  • Executi - Professional HTML reports with compliance dashboards

  • Remediation Guidance - Detailed fix recommendations for failed controls

  • E Collection - Automatic e gathering for audit support

  • Multiple Export Formats - CSV, JSON, HTML export options

  • Stealth Mode - Configurable delays and jitter to avoid detection
  • | | Documentation | File |
    |---------|---------------|------|
    | PowerShell | EntraComplianceCheck-PS1.md | scripts/powershell/Ink.ps1 |

    ---

    Documentation

    | Document | Description |
    |----------|-------------|
    | EntraRecon-PS1.md | Full PowerShell script documentation including all parameters, features, and usage examples |
    | EntraRecon-PY.md | Full Python script documentation including authentication methods, stealth configuration, and examples |
    | EntraMFACheck-PS1.md | MFA Security Check documentation including shared mailbox detection, sign-in tracking, and risk assessment |
    | EntraGuestCheck-PS1.md | Guest Account Enumeration documentation including guest domain extraction, invite tracking, and security analysis |
    | EntraAppAccess-PS1.md | PowerShell & Graph CLI Access Check documentation including app access tracking, assignment dates, and pri access analysis |
    | EntraRoleCheck-PS1.md | Pri Role Check documentation including role enumeration, PIM assignment tracking, risk assessment, and security analysis |
    | EntraSer.md | Service Principal Security Check documentation including credential enumeration, expiration tracking, permission analysis, owner security, and risk assessment |
    | EntraConditionalAccessCheck-PS1.md | Conditional Access Policy Security Check documentation including policy enumeration, exclusion detection, MFA enforcement gaps, critical app co, and risk assessment |
    | EntraStaleAccountCheck-PS1.md | Stale Account Check documentation including stale account detection, ne detection, license waste detection, password expiration tracking, and account hygiene analysis |
    | EntraDe.md | Device Trust and Compliance Check documentation including device enumeration, compliance status detection, BYOD detection, stale sign-in tracking, Intune compliance policies, and risk assessment |
    | EntraSSPRCheck-PS1.md | Self-Service Password Reset Check documentation including SSPR status detection, registration method analysis, backup method detection, strong method classification, MFA correlation, and risk assessment |
    | EntraPasswordPolicyCheck-PS1.md | Password Policy Security Check documentation including password expiration analysis, ne detection, complexity requirements checking, weak policy identification, password age tracking, and risk assessment |
    | EntraLegacyAuthCheck-PS1.md | Legacy Authentication Check documentation including legacy protocol detection, sign-in log analysis, last usage tracking, protocol statistics, MFA correlation, and risk assessment |
    | EntraLicenseCheck-PS1.md | License and SKU Analysis documentation including tenant SKU enumeration, user license assignment tracking, pri license detection, unused license identification, and risk assessment |
    | EntraAdminUnitCheck-PS1.md | Administrative Unit Security Check documentation including AU enumeration, scoped role assignment analysis, member enumeration, MFA status detection, risk assessment, and scoped admin access analysis |
    | EntraDirectorySyncCheck-PS1.md | Directory Sync Status Check documentation including sync status analysis, sync error detection, stale sync detection, sync conflict identification, sync scope analysis, and risk assessment |
    | EntraPowerPlatformCheck-PS1.md | Power Platform Enumeration documentation including Power Apps enumeration, Power Automate flow enumeration, sensiti detection, high-risk action identification, connector analysis, and risk assessment |
    | EntraGroupCheck-PS1.md | Group Security Analysis documentation including group enumeration, owner analysis with MFA status, no owner detection, excessi detection, role-assignable group detection, and risk assessment |
    | EntraApplicationCheck-PS1.md | Application Registration Security Check documentation including application enumeration, credential analysis, expiration tracking, API permission analysis, owner security assessment, and risk assessment |
    | EntraAttackPathCheck-PS1.md | Attack Path Analysis documentation including pri escalation paths, password reset delegations, transiti memberships, shared mailbox access, risk assessment, and path complexity analysis |
    | EntraAzureRBACCheck-PS1.md | Azure RBAC Role Assignment Audit & Drift Detection documentation including baseline export, drift detection, multi-subscription support, multi-tenant support, skip failed tenants, group member expansion, all users permissions matrix, PIM/JIT exclusion, ABAC condition mismatch detection, remediation instructions (Terraform/CLI/PowerShell), role assignment tracking, unauthorized change detection, and risk assessment |
    | EntraOAuthConsentCheck-PS1.md | OAuth Consent Grant Audit documentation including OAuth2PermissionGrant enumeration, admin vs user consent detection, dangerous permission identification, stale consent detection, third-party app analysis, sign-in activity correlation, and risk assessment for illicit consent grant detection |
    | EntraSignInRiskCheck-PS1.md | Identity Protection Analysis documentation including risky user enumeration, risk le tracking, risk detection analysis, impossible tra, anonymous IP detection, password spray detection, leaked credentials detection, pattern analysis, timing analysis, and remediation guidance |
    | EntraPIMCheck-PS1.md | Pri Identity Management (PIM) Configuration Audit documentation including JIT access configuration gaps, appro analysis, MFA enforcement, justification requirements, notification configuration, permanent assignment detection, PIM for Groups, Access Reviews, and risk assessment |
    | EntraKey.md | Azure Key Vault Security Audit documentation including access model analysis (RBAC policies), soft delete and purge protection status, network security audit (public access, firewall, VNet), private endpoint detection, overly permissi detection, diagnostic logging , secret/certificate/key expiration tracking, and risk assessment |
    | EntraStorageAccountCheck-PS1.md | Azure Storage Account Security Audit documentation including public blob container detection, HTTPS enforcement , shared key access analysis, network security audit (public access, firewall, VNet, private endpoints), data protection analysis (soft delete, ), key rotation tracking, cross-tenant replication detection, TLS , infrastructure encryption check, diagnostic logging , and risk assessment |
    | EntraNetworkSecurityCheck-PS1.md | Azure Network Security Audit documentation including NSG rules analysis, overly permissive rule detection (0.0.0.0/0, Any-Any), open management port detection (RDP, SSH, WinRM), Azure Bastion usage analysis, DDoS protection status, VNet peering security, subnet NSG co, NSG flow logs configuration, gateway analysis, traffic analytics status, and risk assessment |
    | EntraManagedIdentityCheck-PS1.md | Azure Managed Identity Security Audit documentation including system-assigned identity in, role assignment analysis, high-pri identity detection (Owner, Contributor, UAA), critical role detection, cross-subscription access detection, unused identity identification, resource co (VMs, App Services, Function Apps), scope analysis, and risk assessment |
    | EntraExchangeCheck-PS1.md | Exchange Online Security Audit documentation including inbox rule analysis, external forwarding detection, transport rules audit, mailbox delegation analysis, audit logging status, OWA policy analysis, client access rules, BEC indicator detection, suspicious rule detection, and risk assessment |
    | EntraSharePointCheck-PS1.md | SharePoint Online Security Audit documentation including tenant sharing settings, anonymous link detection, site-le detection, guest access analysis, OneDri configuration, sensitivity label co, default link analysis, link expiration policies, and risk assessment |
    | EntraTeamsCheck-PS1.md | Microsoft Teams Security Audit documentation including external access (federation) settings, guest access policies, meeting policy analysis (anonymous join, lobby bypass), app permission policies, messaging policies, Teams in analysis, and risk assessment |
    | EntraAzureAttackPathCheck-PS1.md | Azure Cross-Service Attack Path Analysis documentation including VM to Key Vault paths, managed identity pri escalation, storage lateral mo, custom role , cross-subscription paths, management group inheritance, attack narratives, and risk assessment |
    | EntraReport-PS1.md | Consolidated Security Report Generator documentation including multi-check execution, HTML executi, security score calculation, remediation priority matrix, trend analysis with baseline comparison, quick scan and comprehensive scan modes, and JSON baseline export |
    | EntraComplianceCheck-PS1.md | Compliance Assessment documentation including CIS Azure Benchmark mapping, NIST 800-53 control mapping, SOC 2 Trust Service Criteria, ISO 27001 controls, GDPR indicators, compliance scoring, control family filtering, and executi |
    | SharePointEnum-PS1.md | SharePoint Online Enumeration documentation including REST API search, FQL queries, refinement filters, file download (disk and Base64), auto-detection, smart auth fallback (session token , Azure CLI fallback, MSAL device code flow), stealth mode, and export options |

    ---

    Feature Comparison

    Enumerate-EntraUsers

    Both provide the same core functionality:

    | Feature | PowerShell | Python |
    |---------|------------|--------|
    | User Enumeration (15+ methods) | ✅ | ✅ |
    | Security Assessment | ✅ | ✅ |
    | Credential Attack Surface | ✅ | ✅ |
    | Conditional Access Analysis | ✅ | ✅ |
    | Device/Intune Enumeration | ✅ | ✅ |
    | Attack Path Analysis | ✅ | ✅ |
    | Power Platform Enumeration | ✅ | ✅ |
    | Lateral Mo Analysis | ✅ | ✅ |
    | BloodHound Export | ✅ | ✅ |
    | HTML Report Generation | ✅ | ✅ |
    | Stealth Mode | ✅ | ✅ |
    | Interactive Menu | ✅ | ✅ |
    | Azure CLI Token | ✅ | ✅ |
    | Device Code Flow | ✅ | ✅ |
    | Refresh Token Exchange | ❌ | ✅ |
    | Extended App ID Database | ❌ | ✅ |
    | Stealth Presets | ❌ | ✅ |

    Toolkit Comparison

    | Feature | Enumerate-EntraUsers | MFA Security Check | Guest Account Enumeration | Critical Admin Access Check | Pri Role Check | Service Principal Check | Application Registration Check | Conditional Access Check | Administrative Unit Check | Stale Account Check | Device Trust Check | SSPR Check | Password Policy Check | Legacy Auth Check | License Check | Directory Sync Check | Power Platform Check | Group Security Check | Attack Path Analysis | Azure RBAC Check | OAuth Consent Check |
    |---------|---------------------|-------------------|---------------------------|----------------------------|----------------------|------------------------|--------------------------|--------------------------|------------------------|---------------------|-------------------|-------------|---------------------|-------------------|--------------|---------------------|-------------------|-------------------|-------------------|-------------------|-------------------|
    | Purpose | Comprehensive user enumeration | Focused MFA security audit | Guest access go | Critical administrati audit | Pri role assignment audit | Service account security audit | Application registration security audit | Security policy gap analysis | Scoped admin access audit | Account hygiene audit | Device trust and compliance audit | SSPR configuration audit | Password policy security audit | Legacy authentication security audit | License and SKU analysis | Directory sync status and health audit | Power Platform enumeration and security audit | Group security analysis and go | Attack path analysis - pri escalation and lateral mo | Multi-tenant Azure RBAC baseline export and drift detection | OAuth consent grant audit - illicit consent detection |
    | User Enumeration | 15+ methods | Standard method | Guest-focused | App assignment-based | Role assignment-based | Service principal-focused | | | | | | Legacy auth-focused | Sync-focused | ❌ |
    | MFA Detection | Basic check | Ad with method types | Ad with method types | Ad with method types | Ad with method types | Owner MFA check | | | | | | Ad with method types | ❌ | ❌ |
    | Shared Mailbox Detection | ❌ | ✅ Automatic | ❌ (N/A for guests) | ❌ (N/A for app access) | ❌ (N/A for roles) | ❌ (N/A for SPs) | | | | | | ❌ (N/A for legacy auth) | ❌ | ❌ |
    | Guest Domain Extraction | ❌ | ❌ | ✅ Automatic | ❌ | ❌ | ❌ | | | | | | ❌ | ❌ | ❌ |
    | Invite Status Tracking | ❌ | ❌ | ✅ With acceptance dates | ❌ | ❌ | ❌ | | | | | | ❌ | ❌ | ❌ |
    | App Access Tracking | ❌ | ❌ | ❌ | ✅ Multi-app co | ❌ | ❌ | | | | | | ❌ | ❌ | ❌ |
    | Role Assignment Tracking | ❌ | ❌ | ❌ | ❌ | ✅ All directory roles | ❌ | | | | | | ❌ | ❌ | ✅ All Azure RBAC roles |
    | PIM Assignment Tracking | ❌ | ❌ | ❌ | ❌ | ✅ Eligible & Active | ❌ | | | | | | ❌ | ❌ | ❌ |
    | Credential Enumeration | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Secrets & certificates | ✅ Secrets & certificates | | | | | | ❌ | ❌ | ❌ |
    | Credential Expiration Tracking | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Expired & expiring soon | ✅ Expired & expiring soon | | | | | | ❌ | ❌ | ❌ |
    | Permission Analysis | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ High-risk & critical | ✅ High-risk & critical (API permissions) | | | | | | ❌ | ❌ | ✅ RBAC role permissions |
    | Owner Analysis | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ With MFA status | ✅ With MFA status | ❌ | | | | | ❌ | ❌ | ✅ Group owners with MFA status | ❌ |
    | Application Registration Enumeration | ✅ Basic | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Comprehensive | | | | | | ❌ | ❌ | ❌ |
    | API Permission Analysis | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Delegated & application | | | | | | ❌ | ❌ | ❌ |
    | Assignment Date Tracking | ❌ | ❌ | ✅ Invite dates | ✅ Assignment dates | ✅ Assignment dates & duration | ❌ | ❌ | | | | | ❌ | ❌ | ✅ Role assignment creation dates |
    | Policy Exclusion Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Users, groups, roles, apps | | | | | ❌ | ❌ | ❌ |
    | MFA Enforcement Gaps | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Policy-le | | | | | ❌ | ❌ | ❌ |
    | Critical App Co | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ 10 critical apps | | | | | ❌ | ❌ | ❌ |
    | Legacy Auth Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Policy targeting | | | | | ✅ 10 protocols | ❌ | ❌ |
    | Legacy Protocol Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | | | | | ✅ IMAP/POP3/SMTP/EAS/etc | ❌ | ❌ |
    | Last Legacy Auth Usage | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | | | | | ✅ Date/time tracking | ❌ | ❌ |
    | Protocol Statistics | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | | | | | ✅ Success/failure counts | ❌ | ❌ |
    | Policy Conflict Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Redundant/conflicting | ❌ | ❌ | ❌ | | | ❌ | ❌ | ❌ |
    | Administrative Unit Enumeration | ✅ Basic | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Comprehensive | ❌ | ❌ | ❌ | | | ❌ | ❌ | ❌ |
    | Scoped Role Assignment Analysis | ✅ Basic | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ All scoped assignments | ❌ | ❌ | ❌ | | | ❌ | ❌ | ❌ |
    | AU Member Enumeration | ✅ Basic | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Members and roles | ❌ | ❌ | ❌ | | | ❌ | ❌ | ❌ |
    | Stale Account Detection | Limited | Limited | Limited | Limited | Limited | ❌ | ❌ | Limited | ✅ >90 days inactive | ❌ | | | Limited | ❌ | ❌ |
    | Ne Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Account age analysis | ❌ | | | ❌ | ❌ | ❌ |
    | License Waste Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Disabled with licenses | ❌ | | | ❌ | ❌ | ❌ |
    | Password Expiration Tracking | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Expired passwords | ❌ | ❌ | ✅ Expiration analysis | ❌ | ❌ | ❌ |
    | SSPR Status Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Enabled/Registered/Capable | ❌ | ❌ | ❌ | ❌ |
    | SSPR Method Analysis | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Registration methods | ❌ | ❌ | ❌ | ❌ |
    | Backup Method Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ No backup methods | ❌ | ❌ | ❌ | ❌ |
    | Strong Method Classification | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Strong vs weak methods | ❌ | ❌ | ❌ | ❌ |
    | Device Enumeration | ✅ Basic | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Comprehensive | ❌ | ❌ | ❌ | ❌ | ❌ |
    | Compliance Status Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | | ✅ Compliant/Non-compliant/Unknown | | | ❌ | ❌ | ❌ |
    | BYOD Detection | ✅ Basic | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | | ✅ Automatic | | | ❌ | ❌ | ❌ |
    | Stale Sign-In Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | | ✅ >90 days | ✅ >90 days | | | Limited | ❌ | ❌ |
    | Intune Compliance Policies | ✅ Basic | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Full enumeration | | | ❌ | ❌ | ❌ |
    | Device Trust Analysis | ✅ Basic | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Join types | | | ❌ | ❌ | ❌ |
    | Management Status | ✅ Basic | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Managed/Unmanaged | | | ❌ | ❌ | ❌ |
    | Last Sign-In Tracking | ✅ | ✅ With analytics | ✅ With analytics | ✅ With analytics | ✅ With analytics | Limited (SP activity) | ❌ | ✅ With analytics | ✅ With analytics | ✅ With analytics | ✅ With analytics | ✅ With analytics | ✅ With analytics | ✅ With analytics | ✅ With analytics | ❌ |
    | Sign-In Capability Check | ❌ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
    | Sync Status Detection | ✅ Basic | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Synced | ❌ |
    | Sync Error Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ All pro errors | ❌ |
    | Stale Sync Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ >7 days since sync | ❌ |
    | Sync Conflict Identification | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Duplicate attributes | ❌ |
    | Sync Scope Analysis | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Basic configuration | ❌ |
    | Tenant SKU Enumeration | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Full enumeration | ❌ | ❌ |
    | License Assignment Tracking | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ All assignments | ❌ | ❌ |
    | Pri License Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ E5, P2, etc. | ❌ | ❌ |
    | Unused License Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Disabled with licenses | ❌ | ❌ | ❌ | ❌ | ✅ Ne in | ❌ | ❌ |
    | License Usage Analytics | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Consumption stats | ❌ | ❌ | ❌ |
    | Power Apps Enumeration | ✅ Basic | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Comprehensive | ❌ |
    | Power Automate Flow Enumeration | ✅ Basic | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Comprehensive | ❌ |
    | Sensiti Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ 30+ connectors | ❌ |
    | High-Risk Action Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Delete/Create/Modify | ❌ |
    | Connector Risk Analysis | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ CRITICAL/HIGH/MEDIUM/LOW | ❌ | ❌ |
    | Group Enumeration | ✅ Basic | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Comprehensive (all types) | ❌ |
    | No Owner Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Orphaned groups | ❌ |
    | Excessi Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ >100 or >500 members | ❌ |
    | Role-Assignable Group Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ CRITICAL risk groups | ❌ |
    | Group Type Analysis | ✅ Basic | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Security/M365/Distribution/Dynamic | ❌ |
    | OAuth Consent Grant Enumeration | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ All OAuth2PermissionGrants |
    | Admin vs User Consent Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Tenant-wide |
    | Dangerous Permission Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Mail/Files/Directory access |
    | Stale Consent Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Configurable threshold |
    | Third-Party App Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Microsoft |
    | Publisher | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ publisher status |
    | Multi-Tenant Scanning | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ All accessible tenants | ❌ |
    | Skip Failed Tenants | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Continue on MFA/CA failures | ❌ |
    | Azure RBAC Baseline Export | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ JSON baseline | ❌ |
    | Azure RBAC Drift Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ New/Remo assignments | ❌ |
    | Multi-Subscription Support | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ All subscriptions across tenants | ❌ |
    | Group Member Expansion | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Expand groups to show users | ❌ |
    | All Users Permissions Matrix | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ User-centric permission view | ❌ |
    | Scope Hierarchy Analysis | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Sub/RG/Resource | ❌ |
    | PIM/JIT Exclusion | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Exclude time-bounded assignments | ❌ |
    | ABAC Condition Detection | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Condition mismatch drift | ❌ |
    | Remediation Instructions | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ Terraform/CLI/PowerShell | ❌ |
    | Risk Le | Basic | Ad (HIGH/MEDIUM/LOW) | Ad (HIGH/MEDIUM/LOW) | Ad (HIGH/MEDIUM/LOW) | Ad (CRITICAL/HIGH/MEDIUM/LOW) | Ad (CRITICAL/HIGH/MEDIUM/LOW) | Ad (CRITICAL/HIGH/MEDIUM/LOW) | Ad (CRITICAL/HIGH/MEDIUM/LOW) | Ad (CRITICAL/HIGH/MEDIUM/LOW) | Ad (CRITICAL/HIGH/MEDIUM/LOW) | Ad (HIGH/MEDIUM/LOW) | Ad (CRITICAL/HIGH/MEDIUM/LOW) | Ad (CRITICAL/HIGH/MEDIUM/LOW) | Ad (CRITICAL/HIGH/MEDIUM/LOW) | Ad (CRITICAL/HIGH/MEDIUM/LOW) | Ad (CRITICAL/HIGH/MEDIUM/LOW) | Ad (CRITICAL/HIGH/MEDIUM/LOW) | Ad (CRITICAL/HIGH/MEDIUM/LOW) | Ad (CRITICAL/HIGH/MEDIUM/LOW) | Ad (CRITICAL/HIGH/MEDIUM) | Ad (CRITICAL/HIGH/MEDIUM/LOW) |
    | Activity Analytics | Limited | Detailed (stale/recent/never) | Detailed (stale/recent/never) | Detailed (stale/recent/never) | Detailed (stale/recent/never) | Basic (age-based) | Detailed (credential expiration/permission analysis) | Policy gap analysis | Detailed (scoped admin activity) | Detailed (stale indicators) | Detailed (stale/recent/never) | Detailed (stale/recent/never) | Detailed (password age/policy gaps) | Detailed (usage recency/protocol stats) | Detailed (license usage/unused tracking) | Detailed (sync health/error stats) | Detailed (resource/en/owner stats) | Detailed (group type/owner/membership stats) | Detailed (attack path type/complexity/risk stats) | Detailed (drift type/role/tenant/subscription stats) | Detailed (consent type/permission/stale stats) |
    | Matrix View | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
    | Department Analysis | ✅ | ✅ With statistics | ✅ With statistics | ✅ With statistics | ✅ With statistics | ❌ | ❌ | ✅ With statistics | ✅ With statistics | ❌ | ✅ With statistics | ✅ With statistics | ✅ With statistics | ✅ With statistics | ✅ With statistics | ❌ | ❌ | ❌ | ❌ | ❌ |
    | BloodHound Export | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
    | HTML Report | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
    | CSV/JSON Export | ✅ | ✅ Enhanced fields | ✅ Enhanced fields | ✅ Enhanced fields | ✅ Enhanced fields | ✅ Enhanced fields | ✅ Enhanced fields | ✅ Enhanced fields | ✅ Enhanced fields | ✅ Enhanced fields | ✅ Enhanced fields | ✅ Enhanced fields | ✅ Enhanced fields | ✅ Enhanced fields | ✅ Enhanced fields | ✅ Enhanced fields | ✅ Enhanced fields | ✅ Enhanced fields | ✅ JSON baseline/drift report | ✅ Enhanced fields |
    | Stealth Mode | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
    | Best For | Red team reconnaissance | MFA compliance audits | External user security | Pri access audit | Pri role go | Service account security | Application registration security & credential management | Security policy gap analysis | Scoped admin access go | Account hygiene & cleanup | Device trust and compliance | Password reset security | Password policy compliance | Legacy auth migration & security | License go & cost optimization | Directory sync health & error tracking | Power Platform security & connector go | Group security & go | Attack path analysis & pri escalation detection | Multi-tenant Azure RBAC go & unauthorized access detection | OAuth consent security & illicit consent grant detection |

    ---

    Installation

    Python Dependencies

    Or install manually:

    PowerShell Dependencies

    Enumerate-EntraUsers: The script will automatically install the required Microsoft.Graph.Users module on first run.

    MFA Security Check, Guest Account Enumeration, Critical Admin Access Check, Pri Role Check, Service Principal Check, Application Registration Check, Conditional Access Check, Administrative Unit Check, Stale Account Check, Device Trust Check, SSPR Check, Password Policy Check, Legacy Auth Check, License Check, Directory Sync Check, Power Platform Check, and Group Security Check: Require Microsoft Graph PowerShell SDK:

    Azure RBAC Check: Requires Azure PowerShell modules:

    Or install indi modules:

    Other tools:

    Or install indi modules:

    ---

    Authentication

    Both scripts support multiple authentication methods:

  • Interacti - OAuth login

  • Device Code Flow - Code-based authentication for headless en

  • Azure CLI Token - Use cached az login credentials

  • Azure PowerShell Token - Use cached Connect-AzAccount credentials

  • En - Set GRAPH_ACCESS_TOKEN or AZURE_ACCESS_TOKEN

  • Manual Token Input - Paste a token directly
  • The Python additionally supports:

  • Refresh Token Exchange - Use tokens from ROADtools, TokenTactics, etc.

  • Managed Identity - For Azure-hosted en

  • VS Code Credential - Azure extension cached token

  • Shared Token Cache - Windows cached credentials
  • ---

    Script Authentication & Permissions Reference

    This section provides a comprehensi of authentication methods and API permissions required by each script in the toolkit.

    Authentication Methods by Script Category

    All scripts support the same core authentication methods, with slight based on the target API:

    #### Microsoft Graph Scripts (Entra ID)

    | Parameter | Method | Description |
    |-----------|--------|-------------|
    | *(default)* | Interactive | Connect-MgGraph with interacti browser prompt |
    | -UseAzCliToken | Azure CLI Token | Uses az account get-access-token --resource |
    | -UseAzPowerShellToken | Azure PowerShell Token | Uses Get-AzAccessToken -ResourceUrl " |

    Scripts: EntraRecon, EntraMFACheck, EntraGuestCheck, EntraAppAccess, EntraRoleCheck, EntraSer, EntraConditionalAccessCheck, EntraAdminUnitCheck, EntraStaleAccountCheck, EntraDe, EntraSSPRCheck, EntraPasswordPolicyCheck, EntraLegacyAuthCheck, EntraLicenseCheck, EntraDirectorySyncCheck, EntraPowerPlatformCheck, EntraGroupCheck, EntraApplicationCheck, EntraAttackPathCheck, EntraOAuthConsentCheck, EntraSignInRiskCheck, EntraPIMCheck, EntraComplianceCheck

    #### Azure Resource Scripts (ARM)

    | Parameter | Method | Description |
    |-----------|--------|-------------|
    | *(default)* | Interactive | Connect-AzAccount with interacti prompt |
    | -UseAzCliToken | Azure CLI Token | Uses existing az login session |
    | -UseAzPowerShellToken | Azure PowerShell Token | Uses existing Connect-AzAccount session |
    | -UseDe | Device Code Flow | Connect-AzAccount -UseDe for headless terminals |

    Scripts: EntraAzureRBACCheck, EntraKey, EntraStorageAccountCheck, EntraManagedIdentityCheck, EntraNetworkSecurityCheck, EntraAzureAttackPathCheck

    #### Microsoft 365 Service Scripts

    | Script | Module | Authentication |
    |--------|--------|----------------|
    | EntraExchangeCheck | ExchangeOnlineManagement | Connect-ExchangeOnline (requires Exchange Administrator role) |
    | EntraSharePointCheck | Microsoft.Online.SharePoint.PowerShell | Connect-SPOService to SharePoint Admin URL (requires SharePoint Administrator role) |
    | SharePointEnum | Az.Accounts (optional) | Smart fallback: Azure session token → Azure CLI → MSAL device code flow (Microsoft Office client ID) |
    | EntraTeamsCheck | MicrosoftTeams | Connect-MicrosoftTeams (requires Teams Administrator role) |

    ---

    Microsoft Graph Permission Scopes by Script

    The following table shows the required and fallback scopes for each Microsoft Graph-based script. Fallback scopes are used when the user doesn't ha for the full required scope set.

    | Script | Required Scopes | Fallback Scopes |
    |--------|-----------------|-----------------|
    | Inck | Application.Read.All, Directory.Read.All, User.Read.All, UserAuthenticationMethod.Read.All, AuditLog.Read.All | Application.Read.All, Directory.Read.All, User.ReadBasic.All |
    | In | Directory.Read.All, RoleManagement.Read.Directory, User.Read.All, UserAuthenticationMethod.Read.All, AuditLog.Read.All | Directory.Read.All, RoleManagement.Read.Directory, User.ReadBasic.All |
    | In | User.Read.All, UserAuthenticationMethod.Read.All, AuditLog.Read.All | User.ReadBasic.All, UserAuthenticationMethod.Read.All |
    | In | Directory.Read.All, Group.Read.All, User.Read.All, UserAuthenticationMethod.Read.All, AuditLog.Read.All | Directory.Read.All, Group.Read.All, User.ReadBasic.All |
    | In | User.Read.All, UserAuthenticationMethod.Read.All, AuditLog.Read.All | User.ReadBasic.All, UserAuthenticationMethod.Read.All |
    | In | Directory.Read.All, Administrati.Read.All, RoleManagement.Read.Directory, User.Read.All, UserAuthenticationMethod.Read.All | Directory.Read.All, Administrati.Read.All, User.ReadBasic.All |
    | InessCheck | Policy.Read.All, Directory.Read.All, Application.Read.All, User.Read.All | Policy.Read.All, Directory.Read.All |
    | In | Device.Read.All, Directory.Read.All, Deices.Read.All, Deion.Read.All | Device.Read.All, Directory.Read.All |
    | Inheck | Directory.Read.All, User.Read.All, AuditLog.Read.All | Directory.Read.All, User.ReadBasic.All |
    | Ink | Directory.Read.All, Group.Read.All, User.Read.All, UserAuthenticationMethod.Read.All, RoleManagement.Read.Directory, AuditLog.Read.All | Directory.Read.All, Group.Read.All, User.ReadBasic.All |
    | InalCheck | Application.Read.All, Directory.Read.All, User.Read.All, UserAuthenticationMethod.Read.All, AuditLog.Read.All | Application.Read.All, Directory.Read.All, User.ReadBasic.All |
    | InCheck | User.Read.All, Directory.Read.All, AuditLog.Read.All | User.ReadBasic.All, Directory.Read.All |
    | In | Directory.Read.All, User.Read.All | User.ReadBasic.All |
    | Ink | AuditLog.Read.All, Directory.Read.All, User.Read.All, UserAuthenticationMethod.Read.All | Directory.Read.All, User.ReadBasic.All |
    | In | User.Read.All, UserAuthenticationMethod.Read.All, Reports.Read.All, AuditLog.Read.All | User.ReadBasic.All, Reports.Read.All |
    | Ineck | User.Read.All, Directory.Read.All, AuditLog.Read.All | User.ReadBasic.All, Directory.Read.All |
    | In | Application.Read.All, Directory.Read.All, User.Read.All, UserAuthenticationMethod.Read.All, AuditLog.Read.All | Application.Read.All, Directory.Read.All, User.ReadBasic.All |
    | In | Directory.Read.All, User.Read.All, RoleManagement.Read.Directory, Pri.Read.AzureAD | Directory.Read.All, User.ReadBasic.All |
    | Ineck | Application.Read.All, Directory.Read.All, User.Read.All, AuditLog.Read.All | Application.Read.All, Directory.Read.All, User.ReadBasic.All |
    | Ink | IdentityRiskyUser.Read.All, IdentityRiskySignIn.Read.All, IdentityRiskDetection.Read.All, AuditLog.Read.All, User.Read.All, Directory.Read.All | IdentityRiskyUser.Read.All, IdentityRiskySignIn.Read.All, IdentityRiskDetection.Read.All |
    | Inheck | User.Read.All, Directory.Read.All, Application.Read.All | *(Power Platform API permissions via user context)* |
    | Ink | Directory.Read.All, Policy.Read.All, User.Read.All, Application.Read.All, AuditLog.Read.All, RoleManagement.Read.Directory, IdentityRiskyUser.Read.All, IdentityRiskEvent.Read.All, UserAuthenticationMethod.Read.All | Directory.Read.All, Policy.Read.All, User.ReadBasic.All |

    ---

    Azure Resource Scripts - Required Permissions

    These scripts use Azure PowerShell (Az module) and require Azure RBAC permissions rather than Microsoft Graph scopes:

    | Script | Azure RBAC Permissions | Additional Graph Scopes |
    |--------|------------------------|------------------------|
    | In | Reader role across target subscriptions | User.Read, Directory.Read.All, GroupMember.Read.All |
    | In | Reader on subscriptions, Key Vault Reader for secret enumeration | - |
    | InCheck | Reader on subscriptions, Storage Blob Data Reader for container enumeration | - |
    | InyCheck | Reader on subscriptions | Directory.Read.All for Graph queries |
    | InyCheck | Reader on subscriptions for NSG/VNet enumeration | - |
    | InhCheck | Reader on subscriptions, Key Vault Reader for access policy enumeration | - |

    ---

    Microsoft 365 Service Scripts - Required Permissions

    | Script | Module | Required Roles/Permissions |
    |--------|--------|---------------------------|
    | In | ExchangeOnlineManagement | Exchange Administrator or equi. Required for: Get-InboxRule, Get-TransportRule, Get-MailboxPermission, Get-Mailbox |
    | Ink | Microsoft.Online.SharePoint.PowerShell | SharePoint Administrator or equi. Required for: Get-SPOTenant, Get-SPOSite, sharing configuration cmdlets |
    | In | Az.Accounts (optional) | Any user with SharePoint access. Uses SharePoint REST Search API with delegated permissions session, Azure CLI, or MSAL device code flow |
    | In | MicrosoftTeams | Teams Administrator or equi. Required for: Get-CsTenantFederationConfiguration, Get-CsTeamsMeetingPolicy, Get-CsTeamsClientConfiguration, Get-Team |

    ---

    Most Commonly Required Scopes

    The following Microsoft Graph scopes are most frequently required across the toolkit:

    | Scope | Scripts Using | Purpose |
    |-------|---------------|---------|
    | Directory.Read.All | 21+ scripts | Read directory objects (users, groups, roles, settings) |
    | User.Read.All | 19+ scripts | Read all user properties including sign-in activity |
    | AuditLog.Read.All | 16+ scripts | Read sign-in logs, audit logs, activity reports |
    | UserAuthenticationMethod.Read.All | 13+ scripts | Check MFA registration and authentication methods |
    | Application.Read.All | 7 scripts | Read app registrations and service principals |
    | Group.Read.All | 4 scripts | Read group memberships and properties |
    | RoleManagement.Read.Directory | 5 scripts | Read directory role assignments and PIM configuration |
    | Policy.Read.All | 3 scripts | Read Conditional Access policies and security defaults |
    | Device.Read.All | 1 script | Read device registrations |
    | Administrati.Read.All | 1 script | Read Administrati |
    | Pri.Read.AzureAD | 1 script | Read PIM role settings and assignments |
    | IdentityRiskyUser.Read.All | 2 scripts | Read Identity Protection risky users |
    | IdentityRiskySignIn.Read.All | 1 script | Read Identity Protection risky sign-ins |
    | IdentityRiskEvent.Read.All | 2 scripts | Read Identity Protection risk events and detections |
    | Reports.Read.All | 1 script | Read usage reports (SSPR) |
    | Deices.Read.All | 1 script | Read Intune managed devices |
    | Deion.Read.All | 1 script | Read Intune compliance policies |

    ---

    Minimum Permission Set for Full Toolkit

    To run all scripts with full functionality, the following consolidated permission set is recommended:

    Microsoft Graph (Delegated Permissions):

    Azure RBAC:

  • Reader role at subscription or management group level (for Azure resource scripts)

  • Key Vault Reader (for EntraKey with secret enumeration)

  • Storage Blob Data Reader (for EntraStorageAccountCheck with container enumeration)
  • Microsoft 365 Admin Roles:

  • Exchange Administrator (for EntraExchangeCheck)

  • SharePoint Administrator (for EntraSharePointCheck)

  • Teams Administrator (for EntraTeamsCheck)
  • ---

    Legal Disclaimer

    This toolkit is intended for authorized security testing and research purposes only. Users are responsible for ensuring they ha authorization before using these tools against any systems. The authors assume no liability for misuse of this software.

    ---

    License

    GNU General Public License v3.0 - See LICENSE file for details.

    Copyright (C) 2025 Logisek

    ---

    Contributing

    Contributions are welcome! Please feel free to submit pull requests or open issues for bugs and feature requests.

    ---

    Acknowledgments

  • Microsoft Graph API - Primary data source

  • BloodHound - Attack path analysis inspiration

  • AzureHound - Azure data collection format

  • microsoft-info - Microsoft First Party App Names & Graph Permissions
  • ---

    项目信息

    开发语言:PowerShell

    Star 数:168

    技术要点

    该项目属于红蓝攻防方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕EvilMist is a collection of scripts and utilities designed to support cloud penetration testing & red teaming. The toolkit helps identify misconfigurations, assess privilege-escalation paths, and simulate attack techniques. EvilMist aims to streamline cloud-focused red-team workflows and improve the overall security posture of cloud infrastructures展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。

    从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。

    使用与学习建议

    1. 下载源码压缩包,解压到本地环境。

    2. 根据项目类型准备对应的运行环境与依赖。

    3. 按照 README 中的步骤完成配置与部署。

    4. 在隔离的测试环境中运行验证,避免影响生产系统。

    免责声明

    本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。

    资源标题EvilMist - EvilMist is a collection of scripts and utilities
    所属分类红蓝攻防
    发布作者admin
    发布时间2026-10-06 00:48:26
    下载权限 免费下载
    附件数量2 个下载链接
    浏览次数385
    讨论数量0
    主题状态正常讨论中

    本资源免费,登录后即可在本页「下载链接」区域获取全部附件。

    请在评论区留言说明具体链接,或联系作者补档。楼主更新后本页会同步最新的下载地址。

    请先阅读正文中的授权说明;未注明的默认仅限站内学习交流,禁止直接搬运到其他站点二次售卖。
    还没有讨论,快来抢沙发~
    登录 后才能参与讨论
    下载链接
    会员才能下载
    登录后开通会员
    同分类推荐
    暂无同类资源
    免费登录即可下载
    查看会员
    放大预览

    © 2026 剑庭安 - 网站开发定制 SEO 优化蜘蛛池代做 在线看手相算命. 保留所有权利。

    Powered by 酷像SEOv3.0

    网站地图 Sitemap.xml
    首页 全部分类 黑客安全 逆向|反编译 精品源码 站长工具自助开通会员其他资源SEO工具站群源码泛程序蜘蛛模板蜘蛛池外链工具创意乐园 搜索 会员服务 登录 注册