m365-entra-attack

Automate Microsoft 365 and Entra ID security assessments via ROPC and SAML flows.

13|2|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/pdparchitect/rook --skill m365-entra-attack-pdparchitect
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: m365-entra-attack
Source: https://github.com/pdparchitect/rook/tree/main/skills/m365-entra-attack
Command: npx skills add https://github.com/pdparchitect/rook --skill m365-entra-attack-pdparchitect

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires urllib, playwright.

What problem does it solve?

This skill addresses the complexity of auditing Microsoft 365 and Entra ID environments by automating the identification of attack surfaces, credential validation, and conditional access policy analysis.

Core Features & Use Cases

  • Credential Validation: Safely tests credentials against M365 endpoints while respecting smart lockout policies to prevent account lockouts.
  • Attack Surface Mapping: Identifies tenant configuration, federation status, and potential user enumeration vectors.
  • Security Reporting: Provides actionable evidence for SOC teams by documenting conditional access blocks and active external attacker activity.

Quick Start

Use the m365-entra-attack skill to audit the target domain example.com for credential vulnerabilities and conditional access misconfigurations.

Frequently Asked Questions about m365-entra-attack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate M365 and Entra ID security assessment for credential validation?

Automating M365 and Entra ID security assessment involves executing ROPC and SAML flows to validate credentials and discover attack surfaces using Python. This skill automates tenant configuration identification, federation status checks, and user enumeration vector detection.

Does testing M365 credentials risk triggering smart lockout policies?

Testing M365 credentials does not trigger smart lockout policies when using this skill, as it maintains strict adherence to smart lockout thresholds during validation. This prevents account lockouts while safely auditing authentication endpoints.

What is Entra ID attack surface discovery and how does it work?

Entra ID attack surface discovery identifies tenant configurations, federation statuses, and user enumeration vectors through automated endpoint analysis. It maps the external attack surface by validating credentials and analyzing conditional access policy misconfigurations.

Can I use Python and Playwright to audit Microsoft 365 conditional access policies?

You can use Python and Playwright to audit Microsoft 365 conditional access policies through this skill. It automates the documentation of conditional access blocks and active external attacker activity, providing actionable evidence for SOC teams.

What is the best way to perform red-team engagements against Entra ID tenants?

The best way to perform red-team engagements against Entra ID tenants is automating credential validation and attack surface discovery while respecting smart lockout thresholds. This approach safely identifies vulnerabilities and documents conditional access misconfigurations.

When should I avoid automated authentication testing on M365 tenants?

You should avoid automated authentication testing on M365 tenants if you cannot accurately monitor smart lockout thresholds to prevent account lockouts. Strict adherence to these thresholds is required to safely execute ROPC and SAML flows during vulnerability research.