---
title: "CAPEC-556: Replace File Extension Handlers"
url: https://radicalnotion.ai/capec/capec-556
type: capec
description: "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."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-556: Replace File Extension Handlers

- **Abstraction:** Detailed
- **Status:** Draft
- **CAPEC catalog version:** 3.9

## Description

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.

## Mitigations

- Inspect registry for changes. Limit privileges of user accounts so changes to default file handlers can only be performed by authorized administrators.

## Related weaknesses (CWE)

- [CWE-284](https://radicalnotion.ai/cwe/cwe-284): Improper Access Control

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-542](https://radicalnotion.ai/capec/capec-542) | Targeted Malware |

## Taxonomy mappings

| Taxonomy | Entry | Id |
| --- | --- | --- |
| ATTACK | Event Triggered Execution:Change Default File Association | 1546.001 |

## Frequently asked questions

### 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).

Primary source: [MITRE CAPEC](https://capec.mitre.org/data/definitions/556.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/capec/capec-556). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
