Publisher Attachment File Dropped In Suspicious Location (via file_event)

This rule detects creation of files with the ".pub" extension in anomalous or uncommon locations. This could be a sign of adversaries abusing Publisher documents

SigmamediumWindowsv1
sigma
title: Publisher Attachment File Dropped In Suspicious Location (via file_event)
id: 2086d289-50c2-5115-80f1-77d59767215e
status: stable
description: This rule detects creation of files with the ".pub" extension in anomalous or uncommon locations. This could be a sign of adversaries abusing Publisher documents
references:
    - https://twitter.com/EmericNasi/status/1623224526220804098
author: Huntrule Team
date: 2026-06-22
tags:
    - attack.stealth
    - attack.initial-access
    - attack.t1566.001
logsource:
    category: file_event
    product: windows
detection:
    selection:
        TargetFilename|contains:
            - '\AppData\Local\Temp\'
            - '\Users\Public\'
            - '\Windows\Temp\'
            - 'C:\Temp\'
        TargetFilename|endswith: '.pub'
    condition: selection
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.