Umbra Wiki attack-pattern attack-pattern/CAPEC-635
Back to wiki

CAPEC-635 — Alternative Execution Due to Deceptive Filenames

provenance: imported · ATT&CK: T1036.007 · CWE: CWE-162

CAPEC-635: Alternative Execution Due to Deceptive Filenames

MITRE CAPEC attack pattern

Status Draft
Typical severity High
Likelihood of attack
Catalogue CAPEC 3.9 (2023-01-24)

Description

The extension of a file name is often used in various contexts to determine the application that is used to open and use it. If an attacker can cause an alternative application to be used, it may be able to execute malicious code, cause a denial of service or expose sensitive information.

Where this sits in the chain

A finding maps to a weakness (CWE), a weakness is exploited by an attack pattern (CAPEC), and an attack pattern shows up in ATT&CK as observed adversary behaviour. This page is the middle hop.

Weaknesses exploited: CWE-162

ATT&CK techniques: T1036.007

Prerequisites

  • The use of the file must be controlled by the file extension.

Mitigations

  • Applications should insure that the content of the file is consistent with format it is expecting, and not depend solely on the file extension.

Source