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.
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-enumRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/BitterSecurity/Decepticon /tmp/Decepticon && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Decepticon/packages/decepticon/decepticon/skills/standard/cloud/entra-enum ~/.gemini/antigravity-cli/skills/entra-enumAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
