ATT&CK Reference
Portfolio

TA0005 · DEFENSE EVASION

Hide Artifacts

T1564Linux · Office Suite · Windows · macOS · ESXiattack.mitre.org

Adversaries may attempt to hide artifacts associated with their behaviors to evade detection.

Detect it with

Monitor files, processes, and command-line arguments for actions indicative of hidden artifacts. Monitor event and authentication logs for records of hidden artifacts being used.

Why it matters on shift

Hide Artifacts 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.

14 sub-techniques

How it shows up in practice

  1. T1564.001

    Hidden Files and Directories

    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.

  2. T1564.002

    Hidden Users

    Adversaries may use hidden users to hide the presence of user accounts they create or modify.

  3. T1564.003

    Hidden Window

    Adversaries may use hidden windows to conceal malicious activity from the plain sight of users. In some cases, windows that would typically be displayed when an application carries out an operation can be hidden.

  4. T1564.004

    NTFS File Attributes

    Adversaries may use NTFS file attributes to hide their malicious data in order to evade detection. Every New Technology File System (NTFS) formatted partition contains a Master File Table (MFT) that maintains a record for every file/directory on the partition.

  5. T1564.005

    Hidden File System

    Adversaries may use a hidden file system to conceal malicious activity from users and security tools. File systems provide a structure to store and access data from physical storage.

  6. T1564.006

    Run Virtual Instance

    Adversaries may carry out malicious operations using a virtual instance to avoid detection. A wide variety of virtualization technologies exist that allow for the emulation of a computer or computing environment.

  7. T1564.007

    VBA Stomping

    Adversaries may hide malicious Visual Basic for Applications (VBA) payloads embedded within MS Office documents by replacing the VBA source code with benign data. MS Office documents with embedded VBA content store source code inside of module streams.

  8. T1564.008

    Email Hiding Rules

    Adversaries may use email rules to hide inbound emails in a compromised user's mailbox. Many email clients allow users to create inbox rules for various email functions, including moving emails to other folders, marking emails as read, or deleting emails.

  9. T1564.009

    Resource Forking

    Adversaries may abuse resource forks to hide malicious code or executables to evade detection and bypass security applications.

  10. T1564.010

    Process Argument Spoofing

    Adversaries may attempt to hide process command-line arguments by overwriting process memory.

  11. T1564.011

    Ignore Process Interrupts

    Adversaries may evade defensive mechanisms by executing commands that hide from process interrupt signals. Many operating systems use signals to deliver messages to control process behavior.

  12. T1564.012

    File/Path Exclusions

    Adversaries may attempt to hide their file-based artifacts by writing them to specific folders or file names excluded from antivirus (AV) scanning and other defensive capabilities.

  13. T1564.013

    Bind Mounts

    Adversaries may abuse bind mounts on file structures to hide their activity and artifacts from native utilities. A bind mount maps a directory or file from one location on the filesystem to another, similar to a shortcut on Windows.

  14. T1564.014

    Extended Attributes

    Adversaries may abuse extended attributes (xattrs) on macOS and Linux to hide their malicious data in order to evade detection. Extended attributes are key-value pairs of file and directory metadata used by both macOS and Linux.

Kill-chain context

← beforePrivilege EscalationDefense Evasionafter →Credential Access