Hide Artifacts: Email Hiding Rules
- ID
- T1564.008
- Tactics
- TA0005 Stealth
- Sub-technique of
- T1564 Hide Artifacts
- Platforms
- Windows, Linux, macOS, Office Suite
- Data sources
- Command Execution, Application Log Content, File Modification, Process Creation
- Source
- attack.mitre.org
- MITRE last modified
- 5 Aug 2026
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.[3][4][5][6]
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. [7]
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.[8] 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).
Detection
- DET0192 Detection Strategy for Email Hiding Rules
Data components: Command Execution, Application Log Content, File Modification, Process Creation
Mitigations (1)
- M1047 Audit
Enterprise email solutions may have monitoring mechanisms that may include the ability to audit inbox rules on a regular basis.
In an Exchange environment, Administrators can use
Get-InboxRule/Remove-InboxRuleandGet-TransportRule/Remove-TransportRuleto discover and remove potentially malicious inbox and transport rules.[1][2]
Groups (2)
Software (1)
References
- Microsoft Get-InboxRule
- Microsoft Manage Mail Flow Rules 2023
- Microsoft Inbox Rules
- MacOS Email Rules
- Microsoft New-InboxRule
- Microsoft Set-InboxRule
- Microsoft Cloud App Security
- Microsoft Mail Flow Rules 2023
