VeriKQL by Kaushik Saha

T1114.003 Email Forwarding Rule

Collectionon attack.mitre.org

ATT&CK Enterprise 20.0 · 20.1 released, update in review

How MITRE detects it

DET0576 Email Forwarding Rule Abuse Detection Across Platforms

AN1589 Windows

Creation of inbox rules via PowerShell (New-InboxRule) or transport rules using Exchange cmdlets. Correlates user behavior, cmdlet usage, and rule properties.

MITRE log sourceIn Microsoft Sentinel
WinEventLog:PowerShellEventCode=4103, 4104, 4105, 4106
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where EventLog in ("Microsoft-Windows-PowerShell/Operational", "Windows PowerShell") | where EventID in (4103, 4104, 4105, 4106)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel in ("Microsoft-Windows-PowerShell/Operational", "Windows PowerShell") | where EventID in (4103, 4104, 4105, 4106)
WinEventLog:SecurityEventCode=4688
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4688)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4688)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4688)

The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only.

m365:exchangeCmdlet - New-InboxRule
  • Microsoft 365 (formerly Office 365) → OfficeActivity
    OfficeActivity | where OfficeWorkload in ("Exchange")

AN1590 macOS

Creation or modification of Apple Mail rules by accessing plist files or GUI automation (AppleScript).

MITRE log sourceIn Microsoft Sentinel
macos:unifiedloglog stream --predicateNot mapped to Sentinel yet.
fs:plist_monitoring/Users/*/Library/Mail/V*/MailData/RulesActiveState.plistNot mapped to Sentinel yet.

AN1591 Office Suite

Creation of email forwarding/redirect rules in Exchange Online via New-InboxRule or transport rule cmdlets, including auto-forwarding address field usage.

MITRE log sourceIn Microsoft Sentinel
m365:unifiedNew-InboxRule, Set-InboxRuleinterpreted
  • Microsoft 365 (formerly Office 365) → OfficeActivity
    OfficeActivity | where OfficeWorkload in ("Exchange", "SharePoint", "OneDrive", "MicrosoftTeams")
  • Microsoft Defender XDR → CloudAppEvents
    CloudAppEvents

The Office 365 connector brings the Exchange, SharePoint and Teams workloads of the unified audit log; Entra sign-ins in it are in SigninLogs; CloudAppEvents carries Microsoft 365 app activity.

m365:messagetraceX-MS-Exchange-Organization-AutoForwardedinterpreted
  • Microsoft Defender XDR → EmailEvents
    EmailEvents
  • Microsoft Defender XDR → EmailUrlInfo
    EmailUrlInfo

Sentinel has no message-trace table; Defender for Office 365 email events carry the same delivery facts.

AN1592 Linux

Modification of Thunderbird message filters file or execution of CLI tools (e.g., formail/procmail) that alter .forward behavior.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLwriteNot mapped to Sentinel yet.
linux:cli/home/*/.bash_historyNot mapped to Sentinel yet.

Content Hub rules tagged with it (0)

No Content Hub rule is tagged with this technique.

Rules tagged with this technique (or a sub-technique) in their metadata. Whether one fits your connectors is the coverage view (M2).

In Sigma rules

6 SigmaHQ community rules name it in their tags.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

Mitigations

MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.