UNIFIED SOC INCIDENT RESPONSE BLUEPRINT
EvilTokens PhaaS Disrupted: 12,000 Microsoft Accounts Breached
Microsoft's Digital Crimes Unit and international partners disrupted the EvilTokens PhaaS platform after it hijacked over 12,000 enterprise cloud accounts.
Detection & Hunting Detectors (1)
[T1566.002] EvilTokens PhaaS Disrupted Hunt QueryStandalone Rule
// Identify anomalous Device Code Flow sign-ins followed by Graph API mailbox reads or forwarding rules
let DeviceSignins = SigninLogs
| where TimeGenerated > ago(7d)
| where AuthenticationProtocol =~ "deviceCode"
| where ResultType == 0
| project TimeGenerated, UserPrincipalName, IPAddress, Location, AppDisplayName, ClientAppUsed, UserAgent;
let MailAudit = OfficeActivity
| where TimeGenerated > ago(7d)
| where Operation in~ ("New-InboxRule", "Set-InboxRule", "MailItemsAccessed")
| project TimeGenerated, UserId, Operation, ClientIP, OfficeWorkload;
DeviceSignins
| join kind=inner (MailAudit) on $left.UserPrincipalName == $right.UserId
| project SigninTime = TimeGenerated, MailAuditTime = TimeGenerated1, UserPrincipalName, IPAddress, Location, AppDisplayName, Operation
| sort by SigninTime descVerified Indicators of Compromise (5)
Indicators of Compromise (IOCs)
5 Identified
ABUSED_GRANT_FLOW
OAuth 2.0 Device Authorization Grant (RFC 8628)PHAAS_PLATFORM
EvilTokensREMEDIATION_CMDLET
Revoke-AzureADUserAllRefreshTokenTARGETED_ENDPOINT
https://microsoft.com/deviceloginTHREAT_ACTOR
Storm-2992