> For the complete documentation index, see [llms.txt](https://docs.vega365.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vega365.com/redundancy-management-framework/user-manual/cybersecure-redundancy-with-vega-systems-solutions/selective-object-synchronization/stealth-procedure-injection.md).

# Stealth Procedure Injection

## Attack

In this attack mode, a booby-trapped procedure slips into the primary database.

<figure><img src="https://73860689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK95oxUATgzuZZ2VhRoDw%2Fuploads%2F3LXBeNrSdvGVOFCpq1qs%2FRMF_Cyber_Secure_Redundancy_WhitePaper%20(8).png?alt=media&amp;token=61ea6524-edc0-4db3-a89b-46001844e358" alt="" width="364"><figcaption><p>Stealth Procedure</p></figcaption></figure>

## With SQL Replication

The hidden backdoor spreads everywhere.

<figure><img src="https://73860689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK95oxUATgzuZZ2VhRoDw%2Fuploads%2F3fNijYjyad8hpAqwJftV%2FRMF_Cyber_Secure_Redundancy_WhitePaper%20(9).png?alt=media&amp;token=cc4c5e4d-c4e7-489f-bc0e-91f9b00e95da" alt="" width="242"><figcaption><p>SQL Replication spreads the problem</p></figcaption></figure>

## With RMF's Object Synchronization

Application APIs expose no DDL, so the procedure can’t propagate.

<figure><img src="https://73860689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK95oxUATgzuZZ2VhRoDw%2Fuploads%2FMr9M9HPCGxMq8QyoFVq8%2FRMF_Cyber_Secure_Redundancy_WhitePaper%20(10).png?alt=media&amp;token=387a0f24-8985-4e50-99a3-d39043fb1a5c" alt="" width="563"><figcaption><p>RMF limits the problem</p></figcaption></figure>
