Detecting Azure Service Principal Abuse

Detect Azure service principal abuse in Microsoft Entra ID using KQL detection queries (Sentinel/Splunk) against Azure AD Audit and Sign-in Logs, covering added credentials, privileged role assignment, admin consent bypass, and service principal enumeration. Use when investigating suspected privilege escalation or persistence via service principals, or building threat-hunting queries for Entra ID identity abuse.

26zl Updated 95 repo stars
Cybersec Toolkit by 26zl: the security toolkit AI agents can drive. One command installs 670+ tools, and an MCP server runs them in a disposable Kata VM under r

File contents

26zl/cybersec-toolkit commit 4229ee1431

Frequently asked questions

npx get-skill add 26zl/detecting-azure-service-principal-abuse-2