Sub-technique of T1553 Subvert Trust Controls.View on attack.mitre.org
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.
Rules on DetectionCode tagged with T1553.005.
| Rule | Level | Log source |
|---|---|---|
| Suspicious Invoke-Item From Mount-DiskImage | medium | windows / ps_script |
| Suspicious Unblock-File | medium | windows / ps_script |
| Windows AppX Deployment Full Trust Package Installation | medium | windows / NULL |
| Windows AppX Deployment Unsigned Package Installation | medium | windows / NULL |
| Suspicious Mount-DiskImage | low | windows / ps_script |
| Windows MSIX Package Support Framework AI_STUBS Execution | low | windows / process_creation |
| Rule | Type | Risk | Data source |
|---|---|---|---|
| Windows Advanced Installer MSIX with AI_STUBS Execution | TTP | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
| Windows AppX Deployment Full Trust Package Installation | Hunting | NULL | Windows Event Log AppXDeployment-Server 400 |
| Windows AppX Deployment Unsigned Package Installation | TTP | NULL | Windows Event Log AppXDeployment-Server 855 |
| Windows Developer-Signed MSIX Package Installation | Anomaly | NULL | Windows Event Log AppXDeployment-Server 855 |
| Windows Mark Of The Web Bypass | TTP | NULL | Sysmon EventID 23, Sysmon EventID 26 |
None recorded.
| Used by | Procedure example |
|---|---|
| GroupAPT29 | APT29 has embedded ISO images and VHDX files in HTML to evade Mark-of-the-Web. |
| GroupAPT38 | APT38 has used ISO and VHD files to deploy malware and to bypass Mark-of-the-Web (MOTW) security measures. |
| GroupTA505 | TA505 has used .iso files to deploy malicious .lnk files. |
Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.