CAPEC-556: Replace File Extension Handlers
When a file is opened, its file handler is checked to determine which program opens the file. File handlers are configuration properties of many operating systems. Applications can modify the file handler for a given file extension to call an arbitrary program when a file with the given extension is opened.
Last updated
Overview
CAPEC-556 (Replace File Extension Handlers) is a detailed-level attack pattern catalogued by MITRE in the Common Attack Pattern Enumeration and Classification (CAPEC). It describes a recurring method attackers use to exploit software weaknesses.
How to mitigate it
Defenses that reduce the risk of CAPEC-556.
- Inspect registry for changes. Limit privileges of user accounts so changes to default file handlers can only be performed by authorized administrators.
Terminology & mappings
Mapped taxonomies
- ATTACK: Event Triggered Execution:Change Default File Association (1546.001)
Frequently asked questions
Common questions about CAPEC-556.
- What is CAPEC-556?
- When a file is opened, its file handler is checked to determine which program opens the file. File handlers are configuration properties of many operating systems. Applications can modify the file handler for a given file extension to call an arbitrary program when a file with the given extension is opened.
- How do you prevent CAPEC-556?
- Inspect registry for changes. Limit privileges of user accounts so changes to default file handlers can only be performed by authorized administrators.
- What weaknesses does CAPEC-556 target?
- CAPEC-556 exploits one CWE weakness: CWE-284 (Improper Access Control).
References
Attack-pattern data is sourced from the MITRE CAPEC catalog (v3.9). Weakness associations link to the corresponding CWE entries on RadicalNotion.AI.
Defend against CAPEC-556
Track the CVEs and weaknesses this technique exploits, with AI-written analysis and remediation steps.