Email Forwarding Rule

T1114.003

Sub-technique of T1114 Email Collection.View on attack.mitre.org

About this technique

Adversaries may setup email forwarding rules to collect sensitive information. Adversaries may abuse email forwarding rules to monitor the activities of a victim, steal information, and further gain intelligence on the victim or the victim’s organization to use as part of further exploits or operations. Furthermore, email forwarding rules can allow adversaries to maintain persistent access to victim's emails even after compromised credentials are reset by administrators. Most email clients allow users to create inbox rules for various email functions, including forwarding to a different recipient. These rules may be created through a local email application, a web interface, or by command-line interface. Messages can be forwarded to internal or external recipients, and there are no restrictions limiting the extent of this rule. Administrators may also create forwarding rules for user accounts with the same considerations and outcomes.

Any user or administrator within the organization (or adversary with valid credentials) can create rules to automatically forward all received messages to another recipient, forward emails to different locations based on the sender, and more. Adversaries may also hide the rule by making use of the Microsoft Messaging API (MAPI) to modify the rule properties, making it hidden and not visible from Outlook, OWA or most Exchange Administration tools.

In some environments, administrators may be able to enable email forwarding rules that operate organization-wide rather than on individual inboxes. For example, Microsoft Exchange supports transport rules that evaluate all mail an organization receives against user-specified conditions, then performs a user-specified action on mail that adheres to those conditions. Adversaries that abuse such features may be able to enable forwarding on all or specific mail an organization receives.

Detection rules10

Rules on DetectionCode tagged with T1114.003.

Sigma2

Splunk8

RuleTypeRiskData source
O365 Email New Inbox Rule CreatedAnomalyNULLOffice 365 Universal Audit Log
O365 Email Suspicious Behavior AlertTTPNULLOffice 365 Universal Audit Log
O365 Email Transport Rule ChangedAnomalyNULLOffice 365 Universal Audit Log
O365 Mailbox Email Forwarding EnabledTTPNULL
O365 New Email Forwarding Rule CreatedTTPNULL
O365 New Email Forwarding Rule EnabledTTPNULL
O365 Suspicious Admin Email ForwardingAnomalyNULL
O365 Suspicious User Email ForwardingAnomalyNULL

Groups5

Software0

None recorded.

Campaigns0

None recorded.

Procedure examples5

Groups5

Used byProcedure example
GroupKimsuky

Kimsuky has set auto-forward rules on victim's e-mail accounts.

GroupLAPSUS$

LAPSUS$ has set an Office 365 tenant level mail transport rule to send all mail in and out of the targeted organization to the newly created account.

GroupScattered Spider

Scattered Spider has redirected emails notifying users of suspicious account activity.

GroupSilent Librarian

Silent Librarian has set up auto forwarding rules on compromised e-mail accounts.

GroupStar Blizzard

Star Blizzard has abused email forwarding rules to monitor the activities of a victim, steal information, and maintain persistent access after compromised credentials are reset.

References5

  1. Mac Forwarding Rules Open source
    Apple. (n.d.). Reply to, forward, or redirect emails in Mail on Mac. Retrieved June 22, 2021.
  2. Microsoft Mail Flow Rules 2023 Open source
    Microsoft. (2023, February 22). Mail flow rules (transport rules) in Exchange Online. Retrieved March 13, 2023.
  3. Microsoft Tim McMichael Exchange Mail Forwarding 2 Open source
    McMichael, T.. (2015, June 8). Exchange and Office 365 Mail Forwarding. Retrieved October 8, 2019.
  4. Pfammatter - Hidden Inbox Rules Open source
    Damian Pfammatter. (2018, September 17). Hidden Inbox Rules in Microsoft Exchange. Retrieved October 12, 2021.
  5. US-CERT TA18-068A 2018 Open source
    US-CERT. (2018, March 27). TA18-068A Brute Force Attacks Conducted by Cyber Actors. Retrieved October 2, 2019.

Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.