Hide Artifacts T1564

Tactic: Stealth

Adversaries may attempt to hide artifacts associated with their behaviors to evade detection. Operating systems may have features to hide various artifacts, such as important system files and administrative task execution, to avoid disrupting user work environments and prevent users from changing files or features on the system. Adversaries may abuse these features to hide artifacts such as files, directories, user accounts, or other system activity to evade detection.

Events covered

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

ProviderEventTitle
SysmonEvent ID 1Process creation
SysmonEvent ID 4Sysmon service state changed
SysmonEvent ID 5Process terminated
SysmonEvent ID 11FileCreate
SysmonEvent ID 12RegistryEvent (Object create and delete)
SysmonEvent ID 13RegistryEvent (Value Set)
SysmonEvent ID 14RegistryEvent (Key and Value Rename)
SysmonEvent ID 15FileCreateStreamHash
SysmonEvent ID 16ServiceConfigurationChange
SysmonEvent ID 255Error report: UtcTime: UtcTime ID: ID Description: Description.
Security-AuditingEvent ID 4624An account was successfully logged on.
Security-AuditingEvent ID 4625An account failed to log on.
Security-AuditingEvent ID 4657A registry value was modified.
Security-AuditingEvent ID 4688A new process has been created.
Security-AuditingEvent ID 4689A process has exited.
Security-AuditingEvent ID 4720A user account was created.
Security-AuditingEvent ID 4776The domain controller attempted to validate the credentials for an account.
Security-AuditingEvent ID 5136A directory service object was modified.
Security-AuditingEvent ID 5145A network share object was checked to see whether client can be granted desired access.
Defender-DeviceFileEventsanyFile activity
Defender-DeviceProcessEventsanyProcess activity
ESFexecProcess Execution
ESFcreateFile or Directory Create
ESFrenameFile Rename
ESFwriteFile Write
Linux-AuditdEvent ID 1309EXECVE
PowerShellEvent ID 4103Payload Context: ContextInfo User Data: UserData.
PowerShellEvent ID 4104Creating Scriptblock text (MessageNumber of MessageTotal).
ServicingEvent ID 9Selectable update CbsUpdateChangeState.UpdateName of package CbsUpdateChangeState.PackageIdentifier was successfully turned on.
Sysmon-for-LinuxEvent ID 1Process Create

Authoring guide

These 174 rules share fields, values, and exclusions.

Fields filtered most (100 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
CommandLine60contains 42, regex_match 17, wildcard 4, eq 1, in 1--headless, (?i)\.cab|(-|\/)F:|\x5cAppData\x5c|(Local|Roaming)\x5cTemp\x5c, (?i)(\s+ADD\s+.*\/d.*0), (?i)(esentutl|\.exe)"?\s.*\/y\s.*\/d\s, (?i)-w(indowStyle)?\s+hidden
event.type55eq 51, in 3, ne 1start, creation, change, process_started, deletion
process_basename52eq 25, in 15, starts_with 10, wildcard 3.*, bash, cp, csh, dash
EventType47eq 33, in 14, ne 1exec, exec_event, modification, ProcessRollup2, connection_attempted
Image42ends_with 29, starts_with 7, contains 5, eq 2, is_not_null 2, wildcard 2, in 1, regex_match 1/dev/shm/*, ./*, /boot/*, \attrib.exe,
process.args28eq 12, wildcard 8, in 7, starts_with 5, contains 3, ends_with 2, regex_match 1-o, -c, *&, *hidepid=2*, --options
TargetFilename20contains 6, starts_with 5, wildcard 4, ends_with 3, regex_match 3, eq 1(?<!\/)\b\w+(\.\w+)?:\w+(\.\w+)?$, .bat:Zone, .cmd:Zone, .dll:Zone, *\Temp\*
EventID18eq 181, 4688, 15, 4103, 4104
OriginalFileName18eq 18, in 1ATTRIB.EXE, sc.exe, FINDSTR.EXE, AdvancedRun.exe, CONHOST.EXE
ParentImage15ends_with 6, is_not_null 6, eq 3, starts_with 3, contains 2, \WebEx\WebexHost.exe, C:\Windows\System32\Dism.exe, \thor\thor64.exe, /Volumes/*
event.category11eq 10, in 1process, file, authentication, registry
Details8eq 7, is_not_null 1, length_compare 1DWORD (0x00000000), 0, , 0x00000000, 0x00000001
TargetObject8contains 4, ends_with 4, wildcard 2*\Run\, *\Software\Microsoft\Windows\CurrentVersion\Policies\Expl..., *\Software\Microsoft\Windows\CurrentVersion\Run\, HKLM\SAM\SAM\Domains\Account\Users\Names\*$\, MACHINE\SAM\SAM\Domains\Account\Users\Names\*$\
parent_process_basename8starts_with 3, eq 2, in 1, ne 1, wildcard 1.*, bash, launchd, osascript, python*
ScriptBlockText7contains 7$PSScriptRoot\Module\WorkspaceScriptModule\WorkspaceScriptModule, -ArgumentList , -FilePath "$env:comspec" , -stream, :\Program Files\Amazon\WorkSpacesConfig\Scripts\

Top indicator values (1434 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
event.typeeq
start
391036
event.typeeq
creation
748
event.typeeq
start
567
EventTypeeq
exec
24547
EventTypeeq
exec
437
EventTypeeq
connection_attempted
372
CommandLinecontains
*--headless*
68
CommandLinecontains
.cab
35
ParentImageis_not_null
693
event.categoryeq
process
6105
process_basenamestarts_with
.*
621
EventIDeq
1
5226
EventIDeq
4688
5284
EventIDeq
15
36
EventIDeq
4103
3105
EventIDeq
4104
3269
EventTypein
exec
5180
EventTypein
exec_event
5135
EventTypein
start
5157
EventTypein
rename
325
Detailseq
DWORD (0x00000000)
436
ParentImageends_with
\WebEx\WebexHost.exe
4
ParentImageends_with
\thor\thor64.exe
4
file.namestarts_with
.*
46
process_basenameeq
mount
49
process_basenamein
mv
412
CommandLineregex_match
(?i)\.cab|(-|\/)F:|\x5cAppData\x5c|(Local|Roaming)\x5cTemp\x5c
33
Imageends_with
\attrib.exe
35
Imagestarts_with
/dev/shm/*
325
Imagestarts_with
/tmp/*
328

Exclusions (704 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
ParentCommandLineeq
runc init
4
ParentImageends_with
\WebEx\WebexHost.exe
4
ParentImageends_with
\thor\thor64.exe
4
dest_ipcidr_match
10.0.0.0/8
4
dest_ipcidr_match
100.64.0.0/10
4
dest_ipcidr_match
127.0.0.0/8
4
dest_ipcidr_match
169.254.0.0/16
4
dest_ipcidr_match
172.16.0.0/12
4
dest_ipcidr_match
192.0.0.0/24
4
dest_ipcidr_match
192.0.2.0/24
4
dest_ipcidr_match
192.168.0.0/16
4
dest_ipcidr_match
192.175.48.0/24
4
dest_ipcidr_match
192.31.196.0/24
4
dest_ipcidr_match
192.52.193.0/24
4
dest_ipcidr_match
192.88.99.0/24
4

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 65 rules

Elastic 69 rules

Splunk 31 rules

Kusto 6 rules

YARA-L 1 rule

Panther 2 rules