Detectionmediumtest

Publisher Attachment File Dropped In Suspicious Location

Detects creation of files with the ".pub" extension in suspicious or uncommon locations. This could be a sign of attackers abusing Publisher documents

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Nasreddine Bencherchali (Nextron Systems)Created Wed Feb 083d2a2d59-929c-4b78-8c1a-145dfe9e07b1windows
Log Source
WindowsFile Event
ProductWindows← raw: windows
CategoryFile Event← raw: file_event

Events for file system activity including creation, modification, and deletion.

Detection Logic
Detection Logic1 selector
detection:
    selection:
        TargetFilename|contains:
            - '\AppData\Local\Temp\'
            - '\Users\Public\'
            - '\Windows\Temp\'
            - 'C:\Temp\'
        TargetFilename|endswith: '.pub'
    condition: selection
False Positives

Legitimate usage of ".pub" files from those locations

MITRE ATT&CK
Rule Metadata
Rule ID
3d2a2d59-929c-4b78-8c1a-145dfe9e07b1
Status
test
Level
medium
Type
Detection
Created
Wed Feb 08
Path
rules/windows/file/file_event/file_event_win_office_publisher_files_in_susp_locations.yml
Raw Tags
attack.defense-evasion
View on GitHub