↳ GitHub sourceAnalytics ruleHigh
SpyCloud identity access record exposure
Description
#DONT_CORR#
'Identifies exposure of identity access material such as session cookies, OAuth tokens,
or SSO credentials. This material can grant direct account access without a password,
so it bypasses password resets and single-factor controls. Revoking active sessions is
the primary containment action.'
- Rule type
- Scheduled
- Version
- 1.0.0
- Query frequency
- 1h
- Query period
- 1h
- Trigger
- gt 0
Declared MITRE coverage
Declared sources
Metadata from the source file. No dependencies inferred from KQL.
Connectors
Data types
KQL query
Original query, unchanged.
// Human-readable constant for the severity threshold used below
let severityThreshold = 30;
SpyCloudBreachWatchlistV2_CL
| where Severity == severityThreshold
| extend AccountName = Username, AccountEmail = Email, HostName = UserHostName,
AccountUpn = iff(isnotempty(Email), Email, Username),
// Under AlertPerResult every row becomes its own alert, so mv-expand on IPAddresses
// would raise one alert per IP for the same identity. Take the first address instead.
IPAddress = tostring(IPAddresses[0])
// One alert per exposed identity. Session revocation acts per user, so a user appearing
// several times in the same window would otherwise be revoked repeatedly. Deduplication is
// per rule execution, so a reappearance in a later window correctly raises a new alert.
| summarize arg_max(TimeGenerated, *) by AccountUpn
| project TimeGenerated, DocumentId, SourceId, SpyCloudPublishDate, AccountEmail,
AccountName, AccountUpn, HostName, TargetDomain, TargetUrl, AccountType, PasswordType,
InfectedMachineId, InfectedTime, UserOS, IPAddress
Declared entities
Related content
Links established from declared identifiers and solution manifests.
Source provenance
GitHubDisplayed values come from files in Azure/Azure-Sentinel. They describe the published template, not your workspace configuration.
- Commit
9800e51↗- Source identifier
cd8ec49c-b654-49be-b040-e552b8eba7c8
GSTEP / CATALOG TRACKING
Added to catalog : 16 Sept 2026 · 05:49 UTC
Last change observed : 16 Sept 2026 · 05:49 UTC