CAPEC Definitions

    CAPEC Definitions / CAPEC-636

    CAPEC-636: Hiding Malicious Data or Code within Files

    Files on various operating systems can have a complex format which allows for the storage of other data, in addition to its contents. Often this is metadata about the file, such as a cached thumbnail for an image file. Unless utilities are invoked in a particular way, this data is not visible during the normal use of the file. It is possible for an attacker to store malicious data or code using these facilities, which would be difficult to discover.

    Severity:High
    Possibility:

    Extended Description

    No Extended Description.

    Mitigations

    Many tools are available to search for the hidden data. Scan regularly for such data using one of these tools.

    Relationships with other CAPECs

    CAPEC-165: File Manipulation

    Prerequisites

    The operating system must support a file system that allows for alternate data storage for a file.

    Related Weaknesses

    CWE-506: Embedded Malicious Code