m365-entra-attack

Validate Microsoft 365 and Entra ID credentials via ROPC and SAML flows.

3|1|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/EntroVyx/hermes-agent-offsec --skill m365-entra-attack-entrovyx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: m365-entra-attack
Source: https://github.com/EntroVyx/hermes-agent-offsec/tree/main/skills/offsec/redteam/m365-entra-attack
Command: npx skills add https://github.com/EntroVyx/hermes-agent-offsec --skill m365-entra-attack-entrovyx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires urllib, playwright, json, ssl, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This skill addresses the complexity of performing authorized offensive security assessments against Microsoft 365 and Entra ID environments by providing a structured, safe, and evidence-based methodology for credential validation and tenant reconnaissance.

Core Features & Use Cases

  • Credential Validation: Safely test credentials against ROPC and SAML flows while respecting Smart Lockout policies to avoid accidental account disruption.
  • Tenant Reconnaissance: Identify tenant configurations, federation status, and potential attack surfaces like SharePoint or MFA-exempt functional accounts.
  • Active Attacker Detection: Identify and document pre-existing account lockouts to detect ongoing external malicious activity during an engagement.

Quick Start

Use the m365-entra-attack skill to validate a list of corporate emails against the target tenant while maintaining a strict one-attempt-per-user cap to prevent account lockouts.

Frequently Asked Questions about m365-entra-attack

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

FAQPage Schema
How do I perform password spraying against Microsoft 365 without triggering account lockouts?

Password spraying against Microsoft 365 requires a strict one-attempt-per-user cap to respect Smart Lockout policies. This approach validates credentials via ROPC flows while safely preventing accidental account disruption during the engagement.

Can I use Playwright to analyze SAML flows for Entra ID red-team operations?

Yes, Playwright enables SAML flow analysis for Entra ID red-team operations. It captures browser-based authentication interactions to provide accurate, evidence-backed findings during authorized Conditional Access bypass exploration.

What is the best way to enumerate users and identify MFA-exempt accounts in an M365 tenant?

Tenant reconnaissance identifies user configurations, federation status, and potential attack surfaces like MFA-exempt functional accounts in an M365 tenant. It maps the external attack surface before attempting credential validation.

How do I detect active attackers during an Entra ID security assessment?

Detecting active attackers during an Entra ID assessment involves identifying and documenting pre-existing account lockouts. Finding lockouts before testing helps expose ongoing external malicious activity on the target tenant.

Does Python ROPC validation work for testing Conditional Access bypass in M365?

Python ROPC validation works for testing Conditional Access bypass in M365 by validating credentials against Entra ID endpoints. It safely checks authentication flows while respecting Smart Lockout thresholds to avoid disruption.

What are the limitations of password spraying tools against Entra ID Smart Lockout?

Password spraying tools face limitations against Entra ID Smart Lockout, which blocks repeated failed attempts. Effective engagements require a one-attempt-per-user limit to avoid triggering lockouts and alerting defenders to the assessment.