2021-08-03 16:01:54 +02:00
title : Powershell Timestomp
id : c6438007-e081-42ce-9483-b067fbef33c3
2022-12-27 12:29:10 +01:00
status : test
2022-10-26 09:43:39 +02:00
description : |
2022-12-27 12:29:10 +01:00
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.
2021-08-03 16:01:54 +02:00
references :
2022-07-11 14:11:53 +01:00
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1070.006/T1070.006.md
2021-08-03 16:01:54 +02:00
- https://www.offensive-security.com/metasploit-unleashed/timestomp/
2022-10-26 09:43:39 +02:00
author : frack113
2024-08-12 12:02:50 +02:00
date : 2021-08-03
modified : 2022-12-25
2021-08-03 16:01:54 +02:00
tags :
2024-08-12 12:02:50 +02:00
- attack.defense-evasion
2021-08-03 16:01:54 +02:00
- attack.t1070.006
logsource :
product : windows
2021-10-16 08:18:49 +02:00
category : ps_script
2023-01-04 17:49:32 +01:00
definition: 'Requirements : Script Block Logging must be enabled'
2021-08-03 16:01:54 +02:00
detection :
selection_ioc :
2022-03-16 14:39:23 +01:00
ScriptBlockText|contains :
2021-08-03 16:01:54 +02:00
- '.CreationTime ='
- '.LastWriteTime ='
- '.LastAccessTime ='
- '[IO.File]::SetCreationTime'
- '[IO.File]::SetLastAccessTime'
- '[IO.File]::SetLastWriteTime'
2021-10-16 08:18:49 +02:00
condition : selection_ioc
2021-08-03 16:01:54 +02:00
falsepositives :
2022-05-09 14:43:49 +02:00
- Legitimate admin script
2021-08-05 15:46:01 +02:00
level : medium