EntraGoat - A Deliberately Vulnerable Entra ID Environment

A deliberately vulnerable Microsoft Entra ID environment. Learn identity security through hands-on, realistic attack challenges.

 

In the ever-evolving landscape of cloud security, the shift from local Active Directory to Microsoft Entra ID (formerly Azure AD) has brought about a new set of challenges. While the "perimeter" has moved to the identity layer, many security teams still struggle to visualize how a minor misconfiguration can spiral into a full-scale tenant takeover.

The EntraGoat is an open-source project by Semperis that is quickly becoming the "Vulnerable Web App" of the identity world.

t its core, EntraGoat is a deliberately vulnerable lab environment. Much like its predecessors—WebGoat for web apps or Metasploitable for OS vulnerabilities—EntraGoat provides a safe, sandboxed playground where security professionals can practice "breaking" Entra ID.

Developed by the research team at Semperis, the tool uses a combination of PowerShell scripts and a sleek React-based dashboard to deploy "scenarios" into a test Microsoft Entra tenant. These scenarios mimic real-world mistakes—over-privileged service principals, mismanaged group ownerships, and sketchy Graph API permissions—that attackers love to exploit.

The Attack Scenarios: From Zero to Global Admin

EntraGoat isn't just a single vulnerability; it’s a collection of CTF-style (Capture The Flag) challenges. Each one targets a specific, common flaw:

  • Service Principal Abuse: Learn how owning a seemingly minor enterprise application can allow an attacker to pivot, reset passwords, and eventually take over an admin account.

  • Graph API Exploitation: Discover how excessive permissions like RoleManagement.ReadWrite.Directory can be used to self-assign the Global Administrator role.

  • Certificate-Based Authentication (CBA): This is one of the more advanced scenarios, showing how a compromised identity can be used to forge certificates and bypass MFA entirely.

Who is it For?

  • Red Teamers: To sharpen their skills in identity-based lateral movement.

  • Blue Teamers & Admins: To understand how attacks happen so they can build better "Indicators of Exposure" (IOEs) and defensive guardrails.

  • Educators: The modular nature of EntraGoat makes it a perfect tool for workshops and internal security training.

Find it on GitHub: Semperis/EntraGoat Note: Always use a dedicated test tenant. Never run EntraGoat in a production environment.
BeKnow Online Welcome to WhatsApp chat
Howdy! How can we help you today?
Type here...