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

CAPEC-149 — Explore for Predictable Temporary File Names

provenance: imported · CWE: CWE-377

CAPEC-149: Explore for Predictable Temporary File Names

MITRE CAPEC attack pattern

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

Description

An attacker explores a target to identify the names and locations of predictable temporary files for the purpose of launching further attacks against the target. This involves analyzing naming conventions and storage locations of the temporary files created by a target application. If an attacker can predict the names of temporary files they can use this information to mount other attacks, such as information gathering and symlink attacks.

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-377

Prerequisites

  • The targeted application must create names for temporary files using a predictable procedure, e.g. using sequentially increasing numbers.
  • The attacker must be able to see the names of the files the target is creating.

Source