ATT&CK Reference
Portfolio

TA0005 · DEFENSE EVASION

Obfuscated Files or Information

T1027Linux · macOS · Windows · Network Devices · ESXiattack.mitre.org

Base64, packing, encryption, and steganography that keep payloads unreadable to static inspection.

Detect it with

High-entropy command lines, long encoded blobs in script block logs, packed binaries with tiny import tables.

Why it matters on shift

Obfuscated Files or Information 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.

17 sub-techniques

How it shows up in practice

  1. T1027.001

    Binary Padding

    Adversaries may use binary padding to add junk data and change the on-disk representation of malware.

  2. T1027.002

    Software Packing

    Adversaries may perform software packing or virtual machine software protection to conceal their code. Software packing is a method of compressing or encrypting an executable.

  3. T1027.003

    Steganography

    Adversaries may use steganography techniques in order to prevent the detection of hidden information. Steganographic techniques can be used to hide data in digital media such as images, audio tracks, video clips, or text files.

  4. T1027.004

    Compile After Delivery

    Adversaries may attempt to make payloads difficult to discover and analyze by delivering files to victims as uncompiled code. Text-based source code files may subvert analysis and scrutiny from protections targeting executables/binaries.

  5. T1027.005

    Indicator Removal from Tools

    Adversaries may remove indicators from tools if they believe their malicious tool was detected, quarantined, or otherwise curtailed.

  6. T1027.006

    HTML Smuggling

    Adversaries may smuggle data and files past content filters by hiding malicious payloads inside of seemingly benign HTML files.

  7. T1027.007

    Dynamic API Resolution

    Adversaries may obfuscate then dynamically resolve API functions called by their malware in order to conceal malicious functionalities and impair defensive analysis.

  8. T1027.008

    Stripped Payloads

    Adversaries may attempt to make a payload difficult to analyze by removing symbols, strings, and other human readable information. Scripts and executables may contain variables names and other strings that help developers document code functionality.

  9. T1027.009

    Embedded Payloads

    Adversaries may embed payloads within other files to conceal malicious content from defenses. Otherwise seemingly benign files (such as scripts and executables) may be abused to carry and obfuscate malicious payloads and content.

  10. T1027.010

    Command Obfuscation

    Adversaries may obfuscate content during command execution to impede detection. Command-line obfuscation is a method of making strings and patterns within commands and scripts more difficult to signature and analyze.

  11. T1027.011

    Fileless Storage

    Adversaries may store data in "fileless" formats to conceal malicious activity from defenses. Fileless storage can be broadly defined as any format other than a file.

  12. T1027.012

    LNK Icon Smuggling

    Adversaries may smuggle commands to download malicious payloads past content filters by hiding them within otherwise seemingly benign windows shortcut files.

  13. T1027.013

    Encrypted/Encoded File

    Adversaries may encrypt or encode files to obfuscate strings, bytes, and other specific patterns to impede detection. Encrypting and/or encoding file content aims to conceal malicious artifacts within a file used in an intrusion.

  14. T1027.014

    Polymorphic Code

    Adversaries may utilize polymorphic code (also known as metamorphic or mutating code) to evade detection. Polymorphic code is a type of software capable of changing its runtime footprint during code execution.

  15. T1027.015

    Compression

    Adversaries may use compression to obfuscate their payloads or files. Compressed file formats such as ZIP, gzip, 7z, and RAR can compress and archive multiple files together to make it easier and faster to transfer files.

  16. T1027.016

    Junk Code Insertion

    Adversaries may use junk code / dead code to obfuscate a malware’s functionality. Junk code is code that either does not execute, or if it does execute, does not change the functionality of the code.

  17. T1027.017

    SVG Smuggling

    Adversaries may smuggle data and files past content filters by hiding malicious payloads inside of seemingly benign SVG files. SVGs, or Scalable Vector Graphics, are vector-based image files constructed using XML.

Kill-chain context

← beforePrivilege EscalationDefense Evasionafter →Credential Access