mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-07 01:45:21 +00:00
32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
title: Powershell Timestomp
|
|
id: c6438007-e081-42ce-9483-b067fbef33c3
|
|
status: experimental
|
|
author: frack113
|
|
date: 2021/08/03
|
|
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.
|
|
references:
|
|
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1070.006/T1070.006.md
|
|
- https://www.offensive-security.com/metasploit-unleashed/timestomp/
|
|
tags:
|
|
- attack.defense_evasion
|
|
- attack.t1070.006
|
|
logsource:
|
|
product: windows
|
|
service: powershell
|
|
definition: EnableScriptBlockLogging must be set to enable
|
|
detection:
|
|
selection_id:
|
|
EventID: 4104
|
|
selection_ioc:
|
|
ScriptBlockText|contains:
|
|
- '.CreationTime ='
|
|
- '.LastWriteTime ='
|
|
- '.LastAccessTime ='
|
|
- '[IO.File]::SetCreationTime'
|
|
- '[IO.File]::SetLastAccessTime'
|
|
- '[IO.File]::SetLastWriteTime'
|
|
condition: selection_id and selection_ioc
|
|
falsepositives:
|
|
- legitime admin script
|
|
level: medium
|