Rules for T1114
How the 30 rules tagged with T1114 are built: the tables they read, what they filter, how they join, and when they run. The most used of each; every rule is listed below.
Sub-techniques: T1114.001T1114.002
Tables and parsers
OfficeActivity 15EmailEvents 5CyfirmaASConfigurationAlerts_CL 2MimecastCG 2MimecastSIEM_CL 2ExchangeAdminAuditLogs 1GWorkspaceActivityReports 1MimecastTTPImpersonation 1MimecastTTPImpersonation_CL 1SAPAuditLog 1SecurityEvent 1SigninLogs 1
Filtered columns
OfficeActivity.OfficeWorkloadExchange12OfficeActivity.OperationNew-InboxRule5Set-TransportRule5Set-InboxRule4Set-Mailbox4New-TransportRule3OfficeActivity.ParametersForwardTo5ForwardingSmtpAddress5RedirectTo5EmailEvents.EmailDirectionOutbound4CyfirmaASConfigurationAlerts_CL.severityCritical1High1MimecastCG.Typeemail_ttp_ap1email_ttp_impersonation1MimecastSIEM_CL.mimecastEventId_smail_ttp_attachment1mail_ttp_impersonation1OfficeActivity.ResultStatusSucceeded2ExchangeAdminAuditLogs.IsRestrictedCmdLetFalse1ExchangeAdminAuditLogs.UserOrientedYes1GWorkspaceActivityReports.EventMessageTOGGLE_OUTBOUND_RELAY1MimecastTTPImpersonation.Tagged MaliciousTrue1MimecastTTPImpersonation_CL.taggedMalicious_bTrue1OfficeActivity.ClientInfoStringClient=Microsoft.Exchange.Powershell; Microsoft WinRM Client1OfficeActivity.Logon_Type
Joins
OfficeActivity ⋈ OfficeActivityEmailEvents ⋈ OfficeActivityEmailEvents ⋈ SAPAuditLogOfficeActivity ⋈ SAPAuditLogOfficeActivity ⋈ SigninLogsSecurityEvent ⋈ SecurityEventSigninLogs ⋈ SigninLogs
Idioms
dcount 8mv-expand (unpack arrays) 8make_set 6arg_max (latest or earliest row per key) 5leftanti join (A without B) 1make-series (time series, anomaly) 1
Severity
Medium 11High 7Low 1
Schedules (analytic rules)
every 5m over 15m 3every 15m over 15m 2every 1d over 1d 2every 1d over 7d 2every 1h over 1h 2every 5m over 5m 2every 1d over 14d 1every 1d over 8d 1every 30m over 1h 1every 30m over 30m 1
Look-back windows in ago()
30d 42d 17d 1
Every rule tagged with it
- High risk Office operation conducted by IP Address that recently attempted to log into a disabled account
- NRT Multiple users email forwarded to same destination
- Email Forwarding Configuration with SAP download
- Office Mail Rule Creation with suspicious archive mail move activity
- CYFIRMA - Attack Surface - Configuration High Rule
- CYFIRMA - Attack Surface - Configuration Medium Rule
- GWorkspace - An Outbound Relay has been added to a G Suite Domain
- Exchange workflow MailItemsAccessed operation anomaly
- Mail redirect via ExO transport rule
- Multiple users email forwarded to same destination
- Rare and potentially high-risk Office operations
- Mail redirect via ExO transport rule
- Multiple users email forwarded to same destination
- Office Mail Forwarding - Hunting Version
- New Admin account activity seen which was not seen historically
- Non-owner mailbox login activity
- PowerShell or non-browser mailbox login activity
- Automatic External Email Forwarding Overview by Type (Mailbox Rule and SMTP)
- Top External Domains Receiving Auto-forwarded Email (Mailbox Rule and SMTP)
- Top External Recipients Receiving Auto-forwarded Email (Mailbox Rule and SMTP)
- Top Internal Users Auto-forwarding Email Externally (Mailbox Rule and SMTP)
- VIP Mailbox manipulation
- Mimecast Secure Email Gateway - Attachment Protect
- Mimecast Secure Email Gateway - Impersonation Protect
- Mimecast Targeted Threat Protection - Impersonation Protect
- Mimecast Secure Email Gateway - Attachment Protect
- Mimecast Secure Email Gateway - Impersonation Protect
- Mimecast Targeted Threat Protection - Impersonation Protect
- Threat Essentials - Mail redirect via ExO transport rule
- Host Exporting Mailbox and Removing Export
Rules are from Azure/Azure-Sentinel (MIT licence) at commit 9ea9f7c. VeriKQL stores facts its parser read from each rule and links the rule; it does not copy rule text. Counts are what the rules do: practice, not guidance, and not Microsoft's recommendation.