ATT&CK Reference
Portfolio

TA0005 · DEFENSE EVASION

Hidden Files and Directories

T1564.001Sub-technique of Hide ArtifactsWindows · macOS · Linuxattack.mitre.org

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.

Detect it with

Monitor the file system and shell commands for files being created with a leading "." and the Windows command-line use of attrib.exe to add the hidden attribute.

Why it matters on shift

Hidden Files and Directories is one of the concrete ways adversaries achieve defense evasion. Recognising it in telemetry lets you name the technique in your ticket and pivot to what came before and after.

What to look for next

After defense evasion, the next tactic is usually Credential Access. Search your telemetry for the transition before closing the ticket.

Kill-chain context

← beforePrivilege EscalationDefense Evasionafter →Credential Access