T1036.008 — Masquerade File Type
Tactic: Stealth · Platforms: Linux, macOS, Windows
Adversaries may masquerade malicious payloads as legitimate files through changes to the payload's formatting, including the file’s signature, extension, icon, and contents. Various file types have a typical standard format, including how they are encoded and organized. For example, a file’s…
Sub-technique of Masquerading (T1036).
Sigma detection rules (3)
T1036.008 Masquerading: Masquerade File Type
title: "T1036.008 Masquerading: Masquerade File Type"
id: d09f7192-5371-4908-88c1-71121cfd5a8a
description: 'Detection Strategy for Masquerading via File Type Modification. (Data Component: File Creation; baseline tier: windows-eventid.) Tune using: benign_extensions, monitored_directories, MagicByteMismatchThreshold, TimeWindow, ParentProcessAnomalyScore.'
references:
- https://attack.mitre.org/techniques/T1036/008
author: Shahrukh Khan
date: 2026-05-26
license: MIT
tags:
- attack.stealth
- attack.t1036.008
logsource:
category: file_event
product: windows
service: sysmon
detection:
selection_base:
EventID: '11'
selection_rtlo:
TargetFilename|contains: ''
selection_double_ext:
TargetFilename|re: '(?i)\.(pdf|docx?|xlsx?|pptx?|jpg|jpeg|png|txt|zip|gif)\.(exe|scr|com|pif|bat|cmd|vbs|js|jse|ps1|hta)
Sigma Rules for MITRE ATT&CK
Sigma detection rules mapped to MITRE ATT&CK v19.1 technique IDs, filterable by
platform, data source, and data component.