detections
- ID: DT028
- Created: 31st May 2024
- Updated: 23rd October 2025
- Platforms: WindowsLinuxMacOS
- MITRE ATT&CK®: DS0022
- Contributor: The ITM Team
File Metadata
Metadata can provide rich information about a file and its content. This can include modified, accessed, and created timestamps, file type, file size, and more.
Sections
| ID | Name | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AF018.003 | Canary Tokens | A subject uses files with canary tokens as a tripwire mechanism to detect the presence of security personnel or investigation activities within a compromised environment. This method involves strategically placing files embedded with special identifiers (canary tokens) that trigger alerts when accessed. For example:
The subject creates files containing canary tokens—unique identifiers that generate an alert when they are accessed, opened, or modified. These files can appear as regular documents, logs, configurations, or other items that might attract the attention of an investigator during a security response.
The subject strategically places these files in various locations within the environment:
Once in place, the canary token within each file serves as a silent tripwire. The token monitors for access and automatically triggers an alert if an action is detected:
Upon receiving an alert from a triggered canary token, the subject can take immediate steps to evade detection:
By using files with canary tokens as tripwires, a subject can gain early warning of investigative actions and respond quickly to avoid exposure. This tactic allows them to outmaneuver standard security investigations by leveraging silent alerts that inform them of potential security team activity. | |||||||||||||||||||||
| AF008.001 | Image Steganography | A subject embeds data within image files to hide sensitive content and exfiltrate it, in a way that conceals both the data and the act of exfiltration. Unlike encryption alone, this attempts to hide the existence of the data.
Trade-offs
| |||||||||||||||||||||
| AF008.002 | Audio Steganography | A subject embeds data within an audio file or audio stream so that the concealed information is carried inside apparently legitimate sound content. The audio may continue to play normally, while modifications to the underlying samples, frequency components, timing, phase, or file structure contain a hidden payload.
Audio steganography may be used to conceal sensitive organizational data within music, voice recordings, podcasts, meeting recordings, sound effects, or other audio content before the file is transferred through an approved or commonly used communication channel. The subject may select audio because normal variations in sound, background noise, and compression can make small alterations difficult to identify through ordinary review.
Methods may include modifying the least significant bits of audio samples, altering phase or frequency characteristics, inserting information into low-audibility ranges, using echo-based encoding, or appending data within fields not required for normal playback. The concealed payload may also be encrypted before embedding, preventing recovery of its contents even where investigators identify that steganography has been used. | |||||||||||||||||||||
| AF008.003 | Video Steganography | A subject embeds data within a video file or video stream to conceal sensitive information inside apparently legitimate visual or audiovisual content.
Video files provide multiple locations for hidden data, including individual frames, color values, compression coefficients, motion data, audio tracks, subtitles, metadata, and unused container structures. A subject may distribute a payload across many frames or components, reducing the amount of alteration applied to any single part of the file.
The resulting video may appear and play normally while carrying documents, source code, credentials, records, archives, or other organizational data. The subject may transfer the video through email, cloud storage, messaging platforms, or media-sharing services where large audiovisual files are expected. | |||||||||||||||||||||
| AF008.004 | Text Steganography | A subject conceals information within apparently ordinary written text by manipulating characters, spacing, formatting, language patterns, or other textual features that are unlikely to attract attention during normal reading.
The visible content may appear to be a legitimate email, document, chat message, report, source-code comment, or other written communication. Hidden information may be encoded through additional spaces or tabs, capitalization, punctuation, selected words, spelling variations, character placement, font changes, Unicode substitutions, zero-width characters, or bidirectional control characters.
Text steganography may be used to communicate small quantities of sensitive information, instructions, identifiers, authentication material, or encoded content without creating an obvious attachment or visible block of ciphertext. | |||||||||||||||||||||
| AF008.005 | Document Steganography | A subject conceals data within a business document by using content, objects, fields, formatting, or internal structures that are not visible during ordinary viewing.
The carrier may be a word-processing document, spreadsheet, presentation, Portable Document Format file, or another document type routinely used by the organization. The document may open and display expected content while containing hidden text, files, archives, scripts, worksheets, comments, embedded objects, metadata, or other concealed material.
Methods may include white text on a white background, extremely small font sizes, content positioned outside the visible page, hidden spreadsheet rows or worksheets, concealed presentation objects, embedded files, unused form fields, custom metadata, document layers, or internal package relationships. | |||||||||||||||||||||
| AF008.006 | File-Structure Steganography | A subject conceals data within unused, ignored, optional, or non-rendered areas of a file or container so that the carrier continues to function normally while the hidden payload remains outside the content presented to the viewer.
The technique may use padding, reserved fields, unused headers, slack areas, archive comments, trailing data, application-specific metadata, or other structures retained during transfer but not normally displayed or processed. Examples include placing data after the logical end of a file, storing content in unused container fields, or exploiting differences between how applications and security tools interpret the same format.
This behavior may frustrate investigation because the visible content appears benign and the concealed data may only be identified through structural parsing, hexadecimal examination, file carving, or validation against the relevant file-format specification. | |||||||||||||||||||||
| AF026.001 | Host Log Modification | A subject intentionally alters host-based log records to conceal, misattribute, or misrepresent activity conducted on an endpoint, server, or other operating system.
The subject may change timestamps, account names, event identifiers, source addresses, command details, or action outcomes within Windows Event Logs, Linux system or audit logs, macOS logs, security-agent logs, or other locally stored records. Modification may be performed using administrative tools, scripts, third-party log scrubbers, or direct access to
Investigators should compare local records with centrally forwarded logs, Endpoint Detection and Response (EDR) telemetry, process execution records, file metadata, and File Integrity Monitoring (FIM) events. This Sub-section applies where log content is altered but the record or log remains present. | |||||||||||||||||||||
| AF001.004 | Clear Zsh History | A subject clears, truncates, redirects, or suppresses Z shell (Zsh) command history to prevent executed commands from being reviewed. The subject may delete or truncate the history file, clear commands held within the current session, change or unset the
The Zsh history file is commonly stored as |
MITRE ATT&CK® Mapping (1)
ATT&CK Enterprise Matrix Version 19.1