Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

entra-enum

Skill by BitterSecurity

Maps a Microsoft Entra ID (Azure AD) and M365 tenant for a target domain, from unauthenticated discovery through authenticated Graph enumeration. It is written for security practitioners doing reconnaissance.

  • Score 85
  • 7.2k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install entra-enum

Built from the published package, never by AI.

git clone --depth 1 https://github.com/BitterSecurity/Decepticon /tmp/Decepticon && mkdir -p ~/.claude/skills && cp -r /tmp/Decepticon/packages/decepticon/decepticon/skills/standard/cloud/entra-enum ~/.claude/skills/entra-enum

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install entra-enum in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a playbook for reconnaissance against Microsoft Entra ID and M365 tenants. It starts with unauthenticated tenant discovery using the OpenID configuration, GetUserRealm, and autodiscover. It then covers user enumeration through login response codes and OneDrive, and checks federation type, MFA and conditional access posture. Once a token is available, it adds authenticated enumeration using ROADtools (roadrecon), AADInternals, and direct Microsoft Graph calls.

The skill is organized in phases with shell commands, PowerShell snippets, and a short list of chains and decision points. It also lists detection signatures and related tools such as o365creeper, TeamFiltration, and GraphRunner. The source is aimed at security testers and red teams working against a target domain they are authorized to assess.

Written from the project's SKILL.md and checked against it.

What it can do

  • Tenant discoveryFinds the tenant ID and auth endpoints via OpenID config, GetUserRealm, and autodiscover, without authentication.
  • User enumerationChecks valid usernames through login endpoint response codes and OneDrive responses.
  • Federation and MFA postureDetermines managed or federated status and probes for seamless SSO.
  • roadreconAuthenticates with ROADtools and gathers and dumps users, groups, apps, roles, devices, and conditional access policies.
  • AADInternalsRuns PowerShell reconnaissance for tenant domains, login information, users, and outsider enumeration.
  • MSGraph directQueries Microsoft Graph for users, directory roles, and conditional access policies with a bearer token.
  • Chains and decision gateLists next steps depending on federation type, legacy auth status, and onPremisesSyncEnabled.

What you need

  • Bash with curl, jq, and xmllint
  • Python with pipx to install roadtools
  • PowerShell to install AADInternals
  • A valid access token or credentials for authenticated phases

Try asking

  • Run tenant discovery for contoso.com using the OpenID config and GetUserRealm
  • Check whether contoso.com is managed or federated and find the STS auth URL
  • Walk me through roadrecon gather and dump for an authenticated tenant

Good to know

  • Authenticated phases need a valid token or credentials.
  • The source says some probes leave no tenant audit events, but it does not verify this.
  • Assumes the operator has authorization to test the target domain.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: packages/decepticon/decepticon/skills/standard/cloud/entra-enum/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash Read Write

  • SKILL.md8 KB

Alternatives to entra-enum

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

entra-enum: common questions

What does entra-enum do?

It is a reconnaissance playbook for Microsoft Entra ID and M365 tenants. It covers unauthenticated discovery, user enumeration, federation and MFA posture, and authenticated enumeration.

Which tools does entra-enum use?

It uses ROADtools (roadrecon), AADInternals, and direct Microsoft Graph calls. It also lists o365creeper, MailSniper, MSOLSpray, TeamFiltration, and GraphRunner as related tools.

Does entra-enum need credentials?

The discovery and user enumeration phases are unauthenticated. The Teams presence check, roadrecon, AADInternals authenticated modes, and Graph calls need a token.

How do I install entra-enum?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is entra-enum free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is entra-enum safe to use?

It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to entra-enum?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

entra-enum Install

Add to stack

Loading.