Glossary
Mark of the Web (MOTW)
The Zone.Identifier alternate data stream Windows adds to downloaded files, recording the security zone and often the source URL.
The Mark of the Web (MOTW) is a tag that tells Windows a file came from an untrusted location, usually the internet. On NTFS it is stored as an alternate data stream named Zone.Identifier, written by browsers, mail clients and other applications that save downloaded content.
The stream is a small INI-style text block. ZoneId=3 means the Internet zone; other values correspond to the local machine, intranet, trusted and restricted zones. On Windows 10 and later, many browsers also add ReferrerUrl and HostUrl, which can reveal the page a file was downloaded from and the exact download address:
[ZoneTransfer]
ZoneId=3
ReferrerUrl=https://example.com/page
HostUrl=https://example.com/payload.zip
Windows uses the mark to trigger security controls such as SmartScreen checks, execution warnings and Office Protected View. That is why attackers try to evade it, for example by delivering payloads inside containers or archives that did not propagate the mark to extracted files.
For investigators, the stream links a file on disk to its download origin, which pairs well with browser artifacts. See the Zone.Identifier page for collection and parsing. The mark is only present while the file stays on NTFS; copying it to FAT32 or deleting the stream removes it, so its absence does not prove a file was created locally.
Related artifacts
- Browser artifacts (Chrome, Edge, Firefox)Browser forensics cheat sheet: Chromium and Firefox profile files, History and places.sqlite tables, WebKit and PRTime timestamps, downloads, cookies, cache.
- Microsoft Defender logs and quarantineMicrosoft Defender forensics: Operational events 1116/1117/5001/5007, MPLog files, DetectionHistory, encrypted quarantine, exclusion keys and tampering traces.
- Mounted Disk Images (ISO, IMG, VHD, VHDX)Mounted disk images cheat sheet: ISO/IMG/VHD/VHDX mounts, VHDMP events, MountedDevices, LNK and Jump List traces, Mark-of-the-Web gaps and a detection workflow.
- Office MRU and Trust RecordsOffice MRU and TrustRecords cheat sheet: File MRU and User MRU keys per Office version, the [T…] timestamp, and how to spot documents with macros enabled.
- Outlook data files (PST and OST)Outlook PST/OST cheat sheet: data file locations, mail and deleted items, the Content.Outlook attachment cache, profile keys, new Outlook and parsing.
- Zone.Identifier (Mark of the Web)Zone.Identifier cheat sheet: Mark of the Web ADS, ZoneId 0 to 4, ReferrerUrl and HostUrl per browser, loss and bypass cases, and collection from the $MFT.