Indicator Removal: Timestomp T1070.006

Tactic: Stealth

Adversaries may modify file time attributes to hide new files 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 and blend malicious files with legitimate files.

Events covered

9 catalog events are tagged with this technique by at least one rule.

Authoring guide

Patterns shared across the 15 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (23 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
CommandLine5contains 3, regex_match 2, ends_with 1 -t , (?i)(set|\.)(creation|(last(access|write)))time(\(|\s*=), (?i)\.(Creation|Last(Write|Access))Time\s+?=|timestomp, -acmr, -d
process_name4eq 3, ends_with 1touch, \vmware\vmware tools\vmtoolsd.exe, \windows\system32\svchost.exe, c:\program files (x86)\vmware\vmware tools\vmtoolsd.exe, c:\program files\vmware\vmware tools\vmtoolsd.exe
Image3ends_with 3, eq 1, starts_with 1/touch, \sihclient.exe, \svchost.exe, \tiworker.exe
EventData2contains 2-adjust, -date, -encodedcommand, powershell.exe, powershell_ise.exe
EventID2eq 24103, 4104, 4688
EventType2eq 1, in 1exec, ProcessRollup2, exec_event
ScriptBlockText2contains 2, match 1-adjust, -date, .creationtime =, .lastaccesstime =, .lastwritetime =
TargetFilename2ends_with 1, starts_with 1, wildcard 1.cab, .temp, .tmp, ?:\programdata\*, ?:\programdata\microsoft\windows\start menu\programs\startup\*
event.type2eq 2start
process.args2starts_with 2, eq 1--date=, --reference=, --time=, -r, /etc/vmware/
CreationUtcTime1starts_with 1202
EfectiveCommand1regex_match 1regexEmpire
Message1contains 1ntpclock, system clock stepped
ParentImage1is_not_null 1
Payload1contains 1-adjust, -date

Top indicator values (99 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
Imageends_with
/touch
22
event.typeeq
start
2606
process_nameeq
touch
23
CommandLinecontains
-t
1
CommandLinecontains
-acmr
1
CommandLinecontains
-d
18
CommandLinecontains
-encodedcommand
13
CommandLinecontains
-r
113
CommandLinecontains
-t
13
CommandLineends_with
.service
12
CommandLineregex_match
(?i)(set|\.)(creation|(last(access|write)))time(\(|\s*=)
1
CommandLineregex_match
(?i)\.(Creation|Last(Write|Access))Time\s+?=|timestomp
1
CreationUtcTimestarts_with
202
1
EfectiveCommandregex_match
regexEmpire
1
EventDatacontains
-adjust
1
EventDatacontains
-date
1
EventDatacontains
-encodedcommand
1
EventDatacontains
powershell.exe
1
EventDatacontains
powershell_ise.exe
1
EventDatacontains
pwsh.exe
1
EventIDeq
4103
1105
EventIDeq
4104
1268
EventIDeq
4688
1313
EventTypeeq
exec
1171
EventTypein
ProcessRollup2
1117
EventTypein
exec
1171
EventTypein
exec_event
1139
EventTypein
executed
188
EventTypein
process_started
174
EventTypein
start
1134

Exclusions (105 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
CommandLinein
/bin/touch -a /tmp/au_status
1
CommandLinein
touch -d 2 seconds ago /etc/postfix/main.cf
1
CreationUtcTimestarts_with
202
1
CurrentDirectoryin
/opt/libexec
1
CurrentDirectoryin
/opt/local/src/connectxx/build/src/mdp
1
EventDatacontains
gc_service.exe
1
EventDatacontains
gc_worker.exe
1
Imageends_with
\sihclient.exe
1
Imageends_with
\svchost.exe
1
Imageends_with
\tiworker.exe
1
Imageends_with
\vcredi~1.exe
1
Imageeq
?:\windows\system32\spoolsv.exe
1
Imageeq
c:\windows\immersivecontrolpanel\systemsettings.exe
1
Imageeq
c:\windows\system32\msiexec.exe
1
Imageeq
c:\windows\system32\provtool.exe
1

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Platform (all)
Domain (all)

Sigma 8 rules

Elastic 3 rules

Splunk 3 rules

Kusto 1 rule