---
title: "CAPEC-562: Modify Shared File"
url: https://radicalnotion.ai/capec/capec-562
type: capec
description: "An adversary manipulates the files in a shared location by adding malicious programs, scripts, or exploit code to valid content. Once a user opens the shared content, the tainted content is executed."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-562: Modify Shared File

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

## Description

An adversary manipulates the files in a shared location by adding malicious programs, scripts, or exploit code to valid content. Once a user opens the shared content, the tainted content is executed.

## Mitigations

- Disallow shared content. Protect shared folders by minimizing users that have write access. Use utilities that mitigate exploitation like the Microsoft Enhanced Mitigation Experience Toolkit (EMET) to prevent exploits from being run.

## Related weaknesses (CWE)

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

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-17](https://radicalnotion.ai/capec/capec-17) | Using Malicious Files |

## Taxonomy mappings

| Taxonomy | Entry | Id |
| --- | --- | --- |
| ATTACK | Taint shared content | 1080 |

## Frequently asked questions

### What is CAPEC-562?

An adversary manipulates the files in a shared location by adding malicious programs, scripts, or exploit code to valid content. Once a user opens the shared content, the tainted content is executed.

### How do you prevent CAPEC-562?

Disallow shared content. Protect shared folders by minimizing users that have write access. Use utilities that mitigate exploitation like the Microsoft Enhanced Mitigation Experience Toolkit (EMET) to prevent exploits from being run.

### What weaknesses does CAPEC-562 target?

CAPEC-562 exploits one CWE weakness: CWE-284 (Improper Access Control).

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

---

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