Sigma rule: Suspicious File Created in Outlook Temporary Directory

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-42f694d3464b, updated 2025-07-22T00:00:00.000Z.

Rule

Title
Suspicious File Created in Outlook Temporary Directory
Status
experimental
Level
high
Author
Florian Roth (Nextron Systems), Swachchhanda Shrawan Poudel (Nextron Systems)
Date
2025-07-22
File
rules/windows/file/file_event/file_event_win_office_outlook_susp_file_creation_in_temp_dir.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the creation of files with suspicious file extensions in the temporary directory that Outlook uses when opening attachments.
This can be used to detect spear-phishing campaigns that use suspicious files as attachments, which may contain malicious code.

Log source

product
windows
category
file_event

Detection

selection_extension:
    TargetFilename|endswith:
        - '.cpl'
        - '.hta'
        - '.iso'
        - '.rdp'
        - '.svg'
        - '.vba'
        - '.vbe'
        - '.vbs'
selection_location:
    - TargetFilename|contains:
          - '\AppData\Local\Packages\Microsoft.Outlook_'
          - '\AppData\Local\Microsoft\Olk\Attachments\'
    - TargetFilename|contains|all:
          - '\AppData\Local\Microsoft\Windows\'
          - '\Content.Outlook\'
condition: all of selection_*

False positives (as the rule lists them)

  • Opening of headers or footers in email signatures that include SVG images or legitimate SVG attachments

Tags

  • attack.initial-access
  • attack.t1566.001

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_office_outlook_susp_file_creation_in_temp_dir.yml

Sources and licences

  • SigmaHQ

    "Suspicious File Created in Outlook Temporary Directory" by Florian Roth (Nextron Systems), Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_office_outlook_susp_file_creation_in_temp_dir.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious File Created in Outlook Temporary Directory",
entity page, dataset version ref-42f694d3464b, updated 2025-07-22T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/fabb0e80-030c-4e3e-a104-d09676991ac3 (accessed 2026-11-03).
Underlying source: SigmaHQ rule fabb0e80-030c-4e3e-a104-d09676991ac3, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.