MITRE ATT&CKsub-technique
T1564.008 Email Hiding Rules
- Domain
- enterprise
- Tactics
- Stealth
- Platforms
- Windows, Linux, macOS, Office Suite
- Version
- 2.0
- Created
- 2021-06-07
Description
Adversaries may use email rules to hide inbound emails in a compromised user's mailbox. Many email clients allow users to create inbox rules for various email functions, including moving emails to other folders, marking emails as read, or deleting emails. Rules may be created or modified within email clients or through external features such as the New-InboxRule or Set-InboxRule PowerShell cmdlets on Windows systems.
Adversaries may utilize email rules within a compromised user's mailbox to delete and/or move emails to less noticeable folders. Adversaries may do this to hide security alerts, C2 communication, or responses to Internal Spearphishing emails sent from the compromised account.
Any user or administrator within the organization (or adversary with valid credentials) may be able to create rules to automatically move or delete emails. These rules can be abused to impair/delay detection had the email content been immediately seen by a user or defender. Malicious rules commonly filter out emails based on key words (such as malware, suspicious, phish, and hack) found in message bodies and subject lines.
In some environments, administrators may be able to enable email 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 automatically modify or delete all emails related to specific topics (such as internal security incident notifications).
Related
Subtechnique of · MITRE ATT&CK (1)
- T1564 Hide Artifacts technique
Tactic · MITRE ATT&CK (1)
- TA0005 Stealth tactic
Referenced by MITRE ATT&CK · mitigates (1)
- M1047 Audit mitigation
Referenced by MITRE ATT&CK · uses (3)
Referenced by Compliance · mitigates (7)
- NIST-AC-4 Information Flow Enforcement NIST 800-53 control
- NIST-CM-3 Configuration Change Control NIST 800-53 control
- NIST-CM-5 Access Restrictions for Change NIST 800-53 control
- NIST-CM-7 Least Functionality NIST 800-53 control
- NIST-SI-3 Malicious Code Protection NIST 800-53 control
- NIST-SI-4 System Monitoring NIST 800-53 control
- NIST-SI-7 Software, Firmware, and Information Integrity NIST 800-53 control
References
- https://support.apple.com/guide/mail/use-rules-to-manage-emails-you-receive-mlhlp1017/mac MacOS Email Rules
- https://learn.microsoft.com/en-us/exchange/security-and-compliance/mail-flow-rules/mail-flow-rules Microsoft Mail Flow Rules 2023
- https://support.microsoft.com/en-us/office/manage-email-messages-by-using-rules-c24f5dea-9465-4df4-ad17-a50704d66c59 Microsoft Inbox Rules
- https://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps Microsoft New-InboxRule
- https://docs.microsoft.com/en-us/powershell/module/exchange/set-inboxrule?view=exchange-ps Microsoft Set-InboxRule
- https://techcommunity.microsoft.com/t5/security-compliance-and-identity/rule-your-inbox-with-microsoft-cloud-app-security/ba-p/299154 Microsoft Cloud App Security