Skip to content

Cloud Identity Security

github-actions[bot] edited this page Nov 29, 2026 · 1 revision

Last reviewed: 2026-11-28 (provider documentation only; no tenant, account or organization was queried)

Caution

Authorized use only. These guides describe identity attack patterns, investigation and response for Microsoft Entra ID, AWS and Google Cloud / Google Workspace. Run queries and response actions only in tenants, accounts and organizations you own or are explicitly authorized to administer or assess. Some response steps (disabling accounts, revoking sessions, removing grants) interrupt users and services. See LEGAL.md.

Prerequisites: Cloud security index ยท Applied cryptography: MFA ยท Security keys & passkeys

๐ŸŽฏ Purpose

This is the canonical home for cloud identity provider (IdP) security in this repository: how people and workloads authenticate to Microsoft Entra ID, AWS (IAM and IAM Identity Center) and Google Cloud / Google Workspace, how those identities are abused, and how to detect, contain and recover.

โš™๏ธ Function

The section is split into task-focused guides. Each guide compares the three providers side by side and cites the provider's own documentation for every event name, setting, command and limit. The detections folder holds Sigma rules for a subset of the events described here.

๐Ÿ† Goal

Give defenders one cross-provider reference so they can apply the same identity controls (phishing-resistant sign-in, least privilege, short-lived workload credentials, monitored emergency access, fast revocation) consistently across clouds, and know where each provider's controls stop.

๐Ÿ“‹ When To Use

  • Designing or reviewing identity controls for a multi-cloud estate
  • Rolling out phishing-resistant MFA or Conditional Access style policies
  • Replacing long-lived CI/CD secrets with workload identity federation
  • Investigating a suspected account takeover, illicit OAuth consent or token theft
  • Checking which identity logs exist, how long they are kept and what licence they need

๐Ÿงญ Guides In This Section

Guide What it covers
Identity lifecycle & privileged access Joiner/mover/leaver, separate admin accounts, just-in-time elevation, break-glass design and testing
Phishing-resistant authentication FIDO2/WebAuthn and passkeys, synced vs device-bound, CISA and NIST SP 800-63B-4 guidance, per-provider enforcement
Conditional access & workload identities Entra Conditional Access and authentication strengths, AWS SCP/RCP/permissions boundaries, GCP context-aware access, GitHub Actions OIDC trust
OAuth consent & app investigation Illicit consent grants: detection, investigation, remediation; Google Workspace third-party app controls
Token theft & session revocation Token and session replay, SAML token-signing certificate abuse, per-provider revocation and its limits
Identity log sources Entra vs CloudTrail vs Cloud Audit Logs / Workspace: event names, key fields, retention, licensing
Identity incident response Triage, containment, eradication, recovery and lessons learned for identity incidents
Identity detections Nine experimental Sigma rules with CI-checked conversions and synthetic sqlite evaluation

๐ŸŒ Cross-Provider Identity Model

The three providers use different words for similar objects. This table maps them; it is a reading aid, not an equivalence claim.

Concept Microsoft Entra ID AWS Google Cloud / Workspace
Human directory Entra users (cloud-only or synced from AD) IAM users per account; IAM Identity Center users and groups (identity store) for the organization Cloud Identity / Workspace users
Admin privilege Entra directory roles (for example Global Administrator), Azure RBAC for resources IAM policies on users/roles; Identity Center permission sets Workspace admin roles (super admin); IAM roles on organization, folder, project
Elevation on demand Privileged Identity Management (PIM) eligible assignments Short-lived role sessions; Identity Center sessions Privileged Access Manager (PAM) entitlements and grants
Workload identity App registrations / service principals, managed identities IAM roles assumed through STS Service accounts
Keyless federation Federated identity credentials (workload identity federation) IAM OIDC identity provider + sts:AssumeRoleWithWebIdentity Workload Identity Federation pools and providers
Guardrails above the identity Conditional Access policies Service control policies (SCPs), resource control policies (RCPs), permissions boundaries Organization policies, IAM Conditions, Access Context Manager
Emergency access Emergency access accounts Root user (or centralized root access), dedicated emergency account Separate super admin account

Two lessons apply to every provider:

  • Workload credentials are identities. User MFA does nothing for a leaked access key, client secret or service account key. Prefer federation and short-lived tokens.
  • Revocation is not instant everywhere. Each provider documents tokens or sessions that survive a disable or reset for some time. The token theft guide lists those limits.

๐Ÿงช Evidence Tiers

These guides follow the evidence vocabulary used by the Detection Engineering section.

Tier What it means here
Documented The claim, event name, setting or command comes from a cited provider or standards page. Most of this section is at this tier.
Synthetic, engine-checked The detections were checked with sigma-cli, converted with pinned pySigma backends and their sqlite queries were run against synthetic events in CI.
Live Not claimed anywhere in this section. No rule or procedure here was run against a real tenant, account, organization or SIEM.

Important

A passing detection run shows that a rule converts and matches the synthetic events it ships with. It does not show that a provider emits exactly those records in your environment, or that your SIEM alerts on them. Read each rule against your own log schema first.

๐Ÿ”— Related Material Elsewhere

Resource Description
Azure & Entra ID security Entra roles vs Azure RBAC, enumeration tooling, logging coverage figures
AWS security IAM policy evaluation, IMDS and resource privilege escalation
GCP security Resource hierarchy, service-account privilege escalation, audit coverage
CISA ScubaGear assessment Microsoft 365 / Entra configuration baseline assessment
Unauthorized access playbook Broader unauthorized-access investigation, including Windows and Linux
Active Directory tradecraft On-premises AD and Kerberos context for hybrid identity

See also


Related Files


โฌ…๏ธ Cloud index | Master Index | ๐ŸŽฏ Role Navigation | Legal Notice


๐Ÿ“„ Source: Cloud/Identity/README.md | โœ๏ธ Suggest an edit | โฌ…๏ธ Back to Cloud

Clone this wiki locally