Timestomp

https://attack.mitre.org/techniques/T1070/006/

ATT&CK ID: T1070.007

Description

Adversaries may modify file time attributes to hide new or changes to existing files. Timestomping is a technique that modifies the timestamps of a file (the modify, access, create, and change times), often to mimic files that are in the same folder. This is done, for example, on files that have been modified or created by the adversary so that they do not appear conspicuous to forensic investigators or file analysis tools.

Timestomping may be used along with file name Masquerading to hide malware and tools.

[Source]

Techniques

Empire

usemodule powershell/management/timestomp

> set FilePath "C:\Secrets\SecretNotes.txt"
> set Modified 10/10/2020 12:00pm
> set Accessed 10/10/2020 13:00pm
> execute 

Metasploit

View current MACE information

Set all MACE attributes

Recursively blank all MACE Attributes

Mitigation

This type of attack technique cannot be easily mitigated with preventive controls since it is based on the abuse of system features.

Further Reading

Timestomp: https://www.offensive-security.com/metasploit-unleashed/timestomp/

Last updated