Detailedlikelihood: Highseverity: Very HighDraft

CAPEC-35Leverage Executable Code in Non-Executable Files

Abstraction
Detailed
Status
Draft
Likelihood
High
Severity
Very High

Description

An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.

Related weaknesses· 8

CWE-94CWE-96CWE-95CWE-97CWE-272CWE-59CWE-282CWE-270

MITRE ATT&CK crosswalk· 3

T1027.006: Obfuscated Files or Information: HTML SmugglingT1027.009: Obfuscated Files or Information: Embedded PayloadsT1564.009: Hide Artifacts: Resource Forking

Related attack patterns· 3

CAPEC-636 (ChildOf)CAPEC-23 (PeerOf)CAPEC-75 (PeerOf)

Exploits8

TypeTargetConfidenceTier
WeaknessImproper Control of Generation of Code ('Code Injection')cwe-94100%live
WeaknessImproper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')cwe-95100%live
WeaknessImproper Link Resolution Before File Access ('Link Following')cwe-59100%live
WeaknessLeast Privilege Violationcwe-272100%live
WeaknessImproper Ownership Managementcwe-282100%live
WeaknessImproper Neutralization of Directives in Statically Saved Code ('Static Code Injection')cwe-96100%live
WeaknessImproper Neutralization of Server-Side Includes (SSI) Within a Web Pagecwe-97100%live
WeaknessPrivilege Context Switching Errorcwe-270100%live

Related to3

TypeTargetConfidenceTier
SubTechniqueHTML Smugglingt1027.006100%live
SubTechniqueEmbedded Payloadst1027.009100%live
SubTechniqueResource Forkingt1564.009100%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CAPEC
Leveraging/Manipulating Configuration File Search Paths
CAPEC
Local Code Inclusion
CAPEC
Using Malicious Files
CAPEC
Code Inclusion
CAPEC
Remote Code Inclusion
CAPEC
Inclusion of Code in Existing Process
Sourced from MITRE CAPEC. Curated by Adam Lundqvist, SQUR.