Install any skill in seconds. Free to start, no credit card required.
Get Started Free →cyberstrikeus/T1553.005_mark-of-the-web-bypass
Adversaries may abuse specific file formats to subvert Mark-of-the-Web (MOTW) controls.
Passed 18 of 21 test cases with the skill, and 12 of 21 without it.
and 5 more in the full report
7 fixed12 passed either way2 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a PowerShell test snippet to mount an ISO named FeelTheBurn.iso as read-only, retrieve its drive letter by volume label 'TestIso', and invoke 'hello.exe' from that drive.
| Checked | Without skill | With skill |
|---|---|---|
| Uses Mount-DiskImage with -StorageType ISO and -Access ReadOnly parameters. | Missed | Passed |
| Obtains the drive letter using Get-Volume. | Passed | Passed |
The instructions your model reads when the skill loads.
Sub-technique of: T1553
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
The following tests are from Atomic Red Team and provide actionable ways to test this technique:
Mounts ISO image downloaded from internet to evade Mark-of-the-Web. Upon successful execution, powershell will download the .iso from the Atomic Red Team repo, and mount the image. The provided sample ISO simply has a Reports shortcut file in it. Reference: https://www.microsoft.com/security/blog/2021/05/27/new-sophisticated-email-based-attack-from-nobelium/
Supported Platforms: windows
Mount-DiskImage -ImagePath "#{path_of_iso}"
Dependencies:
test cases passed, vs 12 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.