> For the complete documentation index, see [llms.txt](https://helpdocs.conducttr.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdocs.conducttr.com/how-to/live-cyber-attack-simulation/data-corruption.md).

# Data corruption

Data corruption is the **alteration of data in a way that it becomes incorrect, inconsistent, or unusable**. It's a way of seeing if someone is potentially tampering with your website or some of your backend is being manipulated. This can be simulated in Conducttr using smartwords.

There are four steps to take to simulate data corruption:&#x20;

1. Set up your inject and smartwords in the MEL&#x20;
2. Modify smartwords during the exercise&#x20;
3. Re-publish the inject
4. Check the inject in the player view&#x20;

{% stepper %}
{% step %}

### Set up: Inject and Smartword

#### Inject

Create an inject containing a Smartword.

<figure><img src="https://3476309720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsNKxYbIPgfYmCR9EJgAu%2Fuploads%2FLTPNIf5KpjGqIiMLsALa%2Fdata%20corruption.png?alt=media&amp;token=2deab073-fbee-4e2f-959f-4e65781036c0" alt=""><figcaption></figcaption></figure>

Smartword

In Configuration > Smartwords set up your text. Once completed, remember to upload to your space.

<figure><img src="https://3476309720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsNKxYbIPgfYmCR9EJgAu%2Fuploads%2FnO8BjMhwcBFboQAwcwcm%2Fsmartwords.png?alt=media&amp;token=d8b09497-ec72-476e-8309-a487db26f831" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Modify in the Facilitator Dashboard

While running the exercise in the Facilitator Dashboard, navigate to `Content` > `Smartwords` and change the text. Once finished, click `Update data`.

<figure><img src="https://3476309720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsNKxYbIPgfYmCR9EJgAu%2Fuploads%2FCnQbzZfWvZLxYfect4iJ%2Fedit%20smartword.png?alt=media&amp;token=51926392-6c77-48f2-874d-6966bf2c373e" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Re-publish the inject

Smartwords are not retroactive so it doesn't go back and change what has already been published, hence we have to re-publish the article again.

There are two ways to re-publish the inject:

1. Publish to player
2. Pre-planned inject

#### Publish to player&#x20;

Publish the article again by navigating to the scenario editor, right-clicking on the inject and then `Publish to player`:

<figure><img src="https://3476309720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsNKxYbIPgfYmCR9EJgAu%2Fuploads%2FoYAPJ71BK85VvFYTa4uE%2Fpublish%20to%20player.png?alt=media&amp;token=10cf2e91-3fbb-491d-a363-23080908f7f7" alt=""><figcaption></figcaption></figure>

#### Pre-planned inject&#x20;

Or, you can plan an inject with the same smartword to appear later on in the exercise. This will re-publish the news article with the updated smartword.&#x20;

This option isn't as flexible as the one above since it's timed. If you go with this method, it's a good idea to also add a notification for the Facilitator to change the smartword.

<figure><img src="https://3476309720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsNKxYbIPgfYmCR9EJgAu%2Fuploads%2FN6MNXugb9Yo0TcJnCoNn%2Fduplicate%20article.png?alt=media&amp;token=cdcfdf60-7b88-4e11-ac36-ccc032dceadb" alt=""><figcaption></figcaption></figure>

{% endstep %}

{% step %}

### Check the player view

The example below shoes the website working with the new Smartword:

<figure><img src="https://3476309720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsNKxYbIPgfYmCR9EJgAu%2Fuploads%2Fcb4JAjInUr5xURySZK0q%2Fsmartword%20in%20player%20view.png?alt=media&amp;token=4a719784-69d5-476a-8795-5fa80193e04d" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://helpdocs.conducttr.com/how-to/live-cyber-attack-simulation/data-corruption.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
