The Mark of The Web (MOTW)
Helpful DFIR artifact.
Last updated
Was this helpful?
Helpful DFIR artifact.
Last updated
Was this helpful?
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
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:
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
Abusing software that does not set MOTW
Abusing container formats
MOTW can't work on some cases like in this blog
Also, there is a TTP specific for bypassing MOTW