Cross-source coverage

T1553.005 / ATT&CK

Subvert Trust Controls: Mark-of-the-Web Bypass

14 rules · 12 families across 4 sources.

From MITRE ATT&CK 19.2

Adversaries may abuse specific file formats to subvert Mark-of-the-Web (MOTW) controls. In Windows, when files are downloaded from the Internet, they are tagged with a hidden NTFS Alternate Data Stream (ADS) named Zone.Identifier with a specific value known as the MOTW. Files that are tagged with MOTW are protected and cannot perform certain actions. For example, starting in MS Office 10, if a MS Office file has the MOTW, it will open in Protected View. Executables tagged with the MOTW will be processed by Windows Defender SmartScreen that compares files with an allowlist of well-known executables. If the file is not known/trusted, SmartScreen will prevent the execution and warn the user not to run it.

Adversaries may abuse container files such as compressed/archive (.arj,.gzip) and/or disk image (.iso,.vhd) file formats to deliver malicious payloads that may not be tagged with MOTW. Container files downloaded from the Internet will be marked with MOTW but the files within may not inherit the MOTW after the container files are extracted and/or mounted. MOTW is a NTFS feature and many container files do not support NTFS alternative data streams. After a container file is extracted and/or mounted, the files contained within them may be treated as local files on disk and run without protections.

Platforms
Windows
Telemetry
WinEventLog:SecurityWinEventLog:Sysmon

How MITRE says to detect it DET0257

Detect Mark-of-the-Web (MOTW) Bypass via Container and Disk Image Files

Windows Analytic 0712

Detects extraction or mounting of container/archive files (e.g.,.iso,.vhd,.zip) that originated from the Internet but whose contained files lack Zone.Identifier MOTW tagging. Correlates file creation metadata with subsequent execution of unsigned or untrusted binaries launched outside SmartScreen or Protected View.

  • WinEventLog:Security EventCode=4663, 4670, 4656
  • WinEventLog:Sysmon EventCode=11
  • WinEventLog:Sysmon EventCode=15

SigmaHQ/sigma

6 rules
Detection Severity Format
Suspicious Invoke-Item From Mount-DiskImage Medium Sigma
Suspicious Unblock-File Medium Sigma
Windows AppX Deployment Full Trust Package Installation Medium Sigma
Windows AppX Deployment Unsigned Package Installation Medium Sigma
Suspicious Mount-DiskImage Low Sigma
Windows MSIX Package Support Framework AI_STUBS Execution Low Sigma

splunk/security_content

5 rules
Detection Severity Format
Windows Advanced Installer MSIX with AI_STUBS Execution Undefined SPL
Windows AppX Deployment Full Trust Package Installation Undefined SPL
Windows AppX Deployment Unsigned Package Installation Undefined SPL
Windows Developer-Signed MSIX Package Installation Undefined SPL
Windows Mark Of The Web Bypass Undefined SPL

Bert-JanP/Hunting-Queries-Detection-Rules

2 rules
Detection Severity Format
Hunt for rare ISO files on devices Undefined KQL
MITRE ATT&CK Mapping Undefined KQL

elastic/detection-rules

1 rule
Detection Severity Format
Mark-of-the-Web Removal by an Unusual Process Low Elastic TOML

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.