ATT&CK coverage › Technique

Hide Artifacts: Hidden Files and Directories T1564.001

Adversaries may set files and directories to be hidden to evade detection mechanisms. To prevent normal users from accidentally changing special files on a system, most operating systems have the concept of a ‘hidden’ file. These files don’t show up when a user browses the file system with a GUI or when using normal commands on the command line. Users must explicitly ask to show the hidden files either via a series of Graphical User Interface (GUI) prompts or with command line switches (<code>dir /a</code> for Windows and <code>ls –a</code> for Linux and macOS).

Events covered

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

ProviderEvent IDTitle
Sysmon1Process creation
Sysmon13RegistryEvent (Value Set)

Authoring guide

Patterns shared across the 7 rules above: which fields they filter on, what specific values they look for, and what they exclude. Field names are normalized 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 (8 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
Details4eq 4, is_not_null 1DWORD (0x00000000), Service, "0x00000001", "0x00000000"
Image4ends_with 4, eq 1\attrib.exe, \MBAMInstallerService.exe, C:\WINDOWS\system32\msiexec.exe, C:\Hexnode\Hexnode Agent\Current\HexnodeAgent.exe, \icacls.exe
TargetObject3ends_with 3, match 2\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowS..., \Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden, \Microsoft\Windows\PowerShell\, \ScriptBlockLogging\EnableScriptBlockLogging, \EnableScripts
OriginalFileName3eq 3ATTRIB.EXE, iCACLS.EXE
CommandLine3match 3, eq 1 +h , \desktop.ini , +R +H +S +A \\\*.cui, .ps1, .exe
ParentImage1ends_with 1\cmd.exe
ParentCommandLine1eq 1C:\\WINDOWS\\system32\\\*.bat
registry_path1eq 1"*\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explore..., "*\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explore..., "*\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explore...

Top indicator values (56 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.

FieldKindValueRules (here)Corpus reach
DetailseqDWORD (0x00000000)238
OriginalFileNameeqATTRIB.EXE22
Imageends_with\attrib.exe23
TargetObjectends_with\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden1
TargetObjectends_with\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ShowSuperHidden1
ParentImageends_with\cmd.exe113
CommandLinematch +h 1
ParentCommandLineeqC:\\WINDOWS\\system32\\\*.bat1
CommandLinematch\desktop.ini 1
CommandLineeq+R +H +S +A \\\*.cui1
TargetObjectends_with\ScriptBlockLogging\EnableScriptBlockInvocationLogging1
TargetObjectends_with\Transcription\EnableInvocationHeader1
TargetObjectends_with\Transcription\EnableTranscripting1
TargetObjectends_with\ScriptBlockLogging\EnableScriptBlockLogging1
TargetObjectends_with\EnableScripts1
TargetObjectmatch\Microsoft\PowerShellCore\1
TargetObjectmatch\Microsoft\Windows\PowerShell\1
TargetObjectends_with\ModuleLogging\EnableModuleLogging1
ImageeqC:\Hexnode\Hexnode Agent\Current\HexnodeAgent.exe1
DetailseqService1

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.

Sigma 6 rules

Splunk 1 rule