
Summary
Detects an Outlook item attached to an inbound message (MSG or OFT) that contains atypical message properties and a body referencing a file on an external host outside of standard hyperlinks. The rule triggers when inbound attachments have extensions msg or oft or MIME type application/vnd.ms-outlook, and the inner MSG/OFT content contains a YARA match for MSG_Props_Unsent_Flag. It then requires the attachment body to reference external files via HTML or RTf content rather than normal inline links. For HTML attachments, the rule parses HTML and inspects non-anchor content for file: or UNC-style references to remote paths using a comprehensive regex that captures file:, UNC paths, and variations with slashes and escapes. For RTF attachments, it excludes typical FromHTML headers and searches for file: or UNC references within the RTF payload using a robust pattern. If any of these conditions are met, the rule flags the event as potentially malicious with a goal of evasion against mail-based defenses and possible malware delivery. Detection methods include file analysis (to inspect attachments), YARA (MSG_Props_Unsent_Flag), HTML analysis (parse and inspect HTML strings), and content analysis (regex search). This rule is high severity and categorized under Malware/Ransomware with evasion as a tactic.
Categories
- Endpoint
- Windows
Data Sources
- File
Created: 2026-11-20