Powershell Timestomp

Last updated on:

About the rule

Rule Type

Standard

Rule 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.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "PowerShell Script Block Logged" AND SCRIPTEXECUTED contains ".CreationTime =,.LastWriteTime =,.LastAccessTime =,[IO.File]::SetCreationTime,[IO.File]::SetLastAccessTime,[IO.File]::SetLastWriteTime" select Action1.HOSTNAME,Action1.MESSAGE,Action1.SCRIPTEXECUTED

Detection

Execution Mode

realtime

Log Sources

Windows

Author

frack113