February 2018
Intermediate to advanced
426 pages
11h 3m
English
The –c operator is used to change the creation time of the file. Similarly, we can use the –m and –a operators to change the modified and last accessed attributes of the file:
meterpreter > timestomp C:\flag.txt -m "05/25/2017 01:01:01"[*] Setting specific MACE attributes on C:\flag.txtmeterpreter > timestomp C:\flag.txt -a "05/25/2017 01:01:01"[*] Setting specific MACE attributes on C:\flag.txt
Once the attributes have been changed, we can use the –v operator again to check and verify whether we have successfully executed the commands or not. Let's move ahead and check the file attributes again:
meterpreter > timestomp C:\flag.txt -v[*] Showing MACE attributes for C:flag.txtModified : 2017-05-25 02:01:01 -0400Accessed : 2017-05-25 ...
Read now
Unlock full access