Skip to content

817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0

2.2 KB
Raw Blame

SSO Token-Abuse Hunting — Data Source Reference

Microsoft Entra ID (Sentinel / Log Analytics) Tables

Table Description
SigninLogs Interactive user sign-ins
AADNonInteractiveUserSignInLogs Non-interactive sign-ins; common surface for replayed cookies/refresh tokens
AADServicePrincipalSignInLogs Service-principal sign-ins
AuditLogs Directory changes incl. OAuth consent / permission grants
AADManagedIdentitySignInLogs Managed-identity authentications

Key correlation fields

Field Meaning
SessionId Linkable identifier joining all artifacts from one root auth event
UniqueTokenIdentifier Per-token identifier; correlate issuance to usage
IPAddress / LocationDetails Source IP and GeoIP for impossible-travel/ASN checks
AppDisplayName / ResourceDisplayName Which SaaS app/resource the token accessed
ConditionalAccessStatus Whether CA applied (notApplied can indicate replay)
ResultType 0 = success

Okta System Log API

GET https://<org>.okta.com/api/v1/logs with header Authorization: SSWS <token>.

Parameter Description
filter SCIM filter, e.g. eventType eq "policy.evaluate_sign_on"
since / until ISO-8601 time bounds
q Free-text search
limit Page size

Key event types and fields

Item Meaning
user.session.start New session created
policy.evaluate_sign_on Sign-on policy evaluation (per-access)
authentication.sso SSO into a downstream app
authenticationContext.externalSessionId Session identifier for reuse detection
client.ipAddress / client.userAgent.rawUserAgent Source context for divergence checks
actor.alternateId The user

Response / Remediation

Action Command/API
Revoke Entra sessions POST https://graph.microsoft.com/v1.0/users/{id}/revokeSignInSessions
Clear Okta user sessions DELETE https://<org>.okta.com/api/v1/users/{id}/sessions
Enforce token protection Entra Conditional Access "Require token protection for sign-in sessions"