m365-entra-attack
Skill by sickn33
Guides authorized red-team testing of Microsoft 365 and Entra ID tenants, covering tenant discovery, authentication result interpretation and attempt budgets. It is written for security assessors working under written permission.
Install m365-entra-attack
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/m365-entra-attack ~/.claude/skills/m365-entra-attackRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/m365-entra-attack ~/.gemini/antigravity-cli/skills/m365-entra-attackAntigravity 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 docs-only attack chain for Microsoft 365 and Entra ID tenants. It covers tenant discovery with msftrecon, how to read authentication errors conservatively, and how to set an attempt budget and lockout stop conditions. It also lists user enumeration signals, Conditional Access bypass options with their status, and a ROPC password validation approach with a SAML browser flow sketch.
The skill is written for security professionals running authorized assessments. Every probing, exploitation or credential step requires explicit written authorization, a named target, and a confirmation gate before any command runs. Without that confirmation, the assistant stays read-only and gives defensive guidance. The source says helper scripts and commands are not bundled.
Written from the project's SKILL.md and checked against it.
What it can do
- Tenant discoveryDescribes running msftrecon against each owned domain and reading tenant ID, federation type and SharePoint signals.
- Authentication result interpretationExplains how to read errors such as 50126, 53003, 53000 and 50053 without treating them as confirmed credentials.
- Attempt budget guidanceCovers agreeing an aggregate attempt budget, stop conditions and shared reservation to limit lockout risk.
- User enumeration reviewLists enumeration vectors and notes that their responses vary by tenant and are not reliable guarantees.
- Conditional Access bypass overviewProvides a table of bypass options with status notes, such as alternate client IDs, resources and FOCI token refresh.
- ROPC validation guidanceSets rules for a password validation test on an approved identity, including TLS checks and no token logging.
- SAML browser flow sketchIncludes a Playwright selector sketch for a SAML login and notes that it is not a definitive credential verifier.
- Defensive reportingAdvises recording correlation IDs and timestamps without tokens or passwords and consulting the SOC on unexpected blocks.
What you need
- Explicit written authorization for a defined target scope
- msftrecon
- Python with Playwright for the SAML browser example
Try asking
- Explain how to read AADSTS50126 and 53003 errors without overclaiming results
- Help me set an attempt budget and stop conditions for an authorized spray test
- Summarize the Conditional Access bypass options and their current status notes
Good to know
- Docs-only: helper scripts and commands are not bundled
- Requires explicit written authorization and a confirmation gate before any probing or credential step
- The ROPC example must not be used as an executable validator as written
- Does not cover on-prem-only Active Directory or phishing-based attack chains
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/m365-entra-attack/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md16 KB
Alternatives to m365-entra-attack
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
m365-entra-attack: common questions
Is this skill meant for unauthorized testing?
No. The source states it is for educational purposes or authorized security assessments only and requires explicit written permission from the system owner.
Does the skill include runnable attack scripts?
No. The source says it is docs-only and that helper scripts and commands are not bundled. It also says the inline ROPC validator should not be used as an executable validator.
Does a 50126 error confirm a valid username?
No. The source says 50126 means invalid username or password, not confirmed user existence, and a single code should not be used to report a credential as confirmed.
How do I install m365-entra-attack?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is m365-entra-attack free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is m365-entra-attack safe to use?
It scores 86 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 m365-entra-attack?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
