CAPECattack pattern

CAPEC-165 File Manipulation

Medium Official page ↗
Abstraction
Meta
Status
Draft
Typical severity
Medium
CAPEC version
3.9

Description

An attacker modifies file contents or attributes (such as extensions or names) of files in a manner to cause incorrect processing by an application. Attackers use this class of attacks to cause applications to enter unstable states, overwrite or expose sensitive information, and even execute arbitrary code with the application's privileges. This class of attacks differs from attacks on configuration information (even if file-based) in that file manipulation causes the file processing to result in non-standard behaviors, such as buffer overflows or use of the incorrect interpreter. Configuration attacks rely on the application interpreting files correctly in order to insert harmful configuration information. Likewise, resource location attacks rely on controlling an application's ability to locate files, whereas File Manipulation attacks do not require the application to look in a non-default location, although the two classes of attacks are often combined.

Prerequisites

• The target must use the affected file without verifying its integrity.

Related

Att&ck technique · MITRE ATT&CK (1)

  • T1036.003 Rename Legitimate Utilities sub-technique

Referenced by CAPEC · can also be (1)

  • CAPEC-23 File Content Injection attack pattern

Referenced by CAPEC · can precede (3)

  • CAPEC-561 Windows Admin Shares with Stolen Credentials attack pattern
  • CAPEC-643 Identify Shared Files/Directories on System attack pattern
  • CAPEC-644 Use of Captured Hashes (Pass The Hash) attack pattern

Referenced by CAPEC · child of (4)

  • CAPEC-572 Artificially Inflate File Sizes attack pattern
  • CAPEC-635 Alternative Execution Due to Deceptive Filenames attack pattern
  • CAPEC-636 Hiding Malicious Data or Code within Files attack pattern
  • CAPEC-73 User-Controlled Filename attack pattern