Zeroska
  • 🐱Zeroska - The Bold
  • Computer/Cyber Security
    • ⭐Fresh off the boat - for new Blue Teamer/ SOC Analyst
    • 💀Necromancer (DFIR)
      • 🕵️DFIR and DFIR case
        • 🗃️Case Files
          • Misconfiguration 0x01
      • 📔My own DFIR notes
        • The Mark of The Web (MOTW)
        • LNK Shortcut
        • Prefetch, AmCache, ShimCache in Windows
        • Malicious Document (VBA, Office, PDF, ...)
        • SRUM (System Resource Usage Monitor)
        • Volatility notes
        • Understand Logon Session in Windows
        • "Very" Hidden sheets in Excel
        • Hidden Processes
      • 📔Notes
        • Useful Resources
        • Useful Resources DFIR
        • Saved Content (Backup for the OG content get deleted)
          • How to be best SOC analyst ever
    • 🧙‍♂️Defense Witchcraft
      • Data Analysis as a Defender
      • Active Directory
      • Windows Event Logs
        • Authentication (Windows Account Life Cycle Events)
      • MS Exchange
      • Windows
    • 💙My Current Blue Team Operation
      • VLAN Monitoring Template
      • Daily Monitoring Report
      • General Playbook
      • JupyterHub Configuration Guide
      • How to train your Blue Team
    • 🏭ICS/OT
      • Setup ICS/OT Simulation Learning Lab
      • Smart Grids
      • Learning Modbus TCP
      • Learning DNP3
      • Resources/Blogs/Links
    • 🥷Threat Intelligence
      • Small Cyber Threat Intelligence Program
      • Intelligence Analysis [VN]
      • OSINT Information Monitoring
        • Telegram Info-Stealer Monitoring
      • C2 Tracker
      • Fake Website Tracker
      • Dark Web Investigation Attempt
      • Threat Intelligence Quick Win
      • Resources/Blogs/Links
  • 😒Computer and Technology
    • My Home Lab Setup
    • 🐴ELK Stack
      • Useful Resources
      • ELK Stack - Container - Docker Compose - AWS ECS
      • ECS - Elastic Common Schema
      • Elasticsearch
      • Logstash
      • Troubleshooting and Problems
    • 🐧Linux
      • Setting up good SSH Authentication
      • Configure Auditd and how to leverage it
      • ELF Format
      • Useful Links
    • 📦Containers
      • Docker container logs is quite big
      • Worth Reading
    • 🪠Splunk Learning Experience
      • Splunk Test Lab
      • Data Collection Tier (How to get the data)
      • SC4S Custom Filter For Windows Event Log in Syslog Format (NXLog)
      • Useful Resources
  • Threat Hunting
    • Hunting for Implant
    • Using STRIDE and DREAD
    • 🐳Predators and Preys (Computing)
      • Tracks or Hunting Artifacts
    • 📦Network Packet Analysis
      • The Basic
      • Tshark | Zeek Copy & Paste
      • Network Analysis Resources
    • Grep | Powershell Search | Regex
    • Hunting Resources
  • 🎵In my remains
    • Choices
    • The Art of Facing Unknown Problems
    • Build the best DFIR team
    • Reverse Engineering - Đồ án hướng ngành A "Hụt" của tôi
Powered by GitBook
On this page
  • How to leverage MOTW in DFIR
  • MOTW Bypasses

Was this helpful?

  1. Computer/Cyber Security
  2. Necromancer (DFIR)
  3. My own DFIR notes

The Mark of The Web (MOTW)

Helpful DFIR artifact.

PreviousMy own DFIR notesNextLNK Shortcut

Last updated 1 year ago

Was this helpful?

MOTW Refs

How to leverage MOTW in DFIR

How to extract MOTW from a file, by using Get-Content and query for the Zone.Identifier -> to prove the file is downloaded from the internet

Get-Content -path 'filename' -stream Zone.Identifier

Real-world use case:

  • - Explain and analyze how to use MOTW for DFIR

In this report, the DFIR uses the browser search history and the MOTW to know that the file is downloaded from the internet and obtain the IP address that the file is downloaded from.

The result when you run the above command looks something like this:

[ZoneTransfer]
ZoneId=3
ReferrerUrl=http://library.lol/
HostUrl=http://176.119.25.72/main/1545000/9fa25f2e19a1e820b5dbd627c6042142/%28Artech%20House%20Intelligence%20and%20Information%20Operations%29%20Senior%20Lecturer%20Hy%20Rothstein%2C%20Barton%20Whaley%20-%20The%20Art%20and%20Science%20of%20Military%20Deception-Artech%20House%20Publishers%20%282013%29.pdf

Output explains:

  • ZoneId

    • 0. Local computer

    • 1. Local intranet

    • 2. Trusted sites

    • 3. Internet

    • 4. Restricted sites

  • ReferrerUrl is the URL that the user is accessing

  • HostUrl is the IP address and the file location on the host

MOTW Bypasses

  1. Abusing software that does not set MOTW

  2. Abusing container formats

MOTW can't work on some cases like in this blog

Also, there is a TTP specific for bypassing MOTW

💀
📔
https://www.outflank.nl/blog/2020/03/30/mark-of-the-web-from-a-red-teams-perspective/
https://redcanary.com/blog/iso-files/
https://www.digital-detective.net/forensic-analysis-of-zone-identifier-stream/
https://thedfirreport.com/2024/02/26/seo-poisoning-to-domain-control-the-gootloader-saga-continues/
https://www.digital-detective.net/forensic-analysis-of-zone-identifier-stream/
https://www.outflank.nl/blog/2020/03/30/mark-of-the-web-from-a-red-teams-perspective/
https://atomicredteam.io/defense-evasion/T1553.005/