# Local Privilege Escalation via Backup delete

Acronis AntiRansomware ignored folder rename, letting attacker swap backup dir with symlink so True Image's delete removed arbitrary system files as SYSTEM.

- Payout: $250
- Severity: medium
- Program: Acronis
- Found by: z3ron3
- Disclosed: 2024-08-27
- Write-up quality: 7/10
- Original: https://hackerone.com/reports/1003007
- Library page: https://bugbountylibrary.com/r/h1%3A1003007
- Tags: area:os domain:desktop impact:integrity impact:privesc kind:bounty platform:hackerone sev:medium tech:windows technique:chained vuln:misconfiguration vuln:privilege-escalation

**Target:** Acronis Cyber Protect Home Office / True Image AntiRansomware backup protection
**Root cause:** AntiRansomware monitors file/folder modifications but does not monitor or block Rename operations on the folder containing .tib backup files, so the protected path can be swapped.
**Steps:**
1. Create backup of `poc.exe` from `data_acronis` into `%userprofile%\Desktop\backup_acronis`, producing `poc_full_b1_s1_v1.tib`
2. Rename folder: `rename %userprofile%\Desktop\backup_acronis not_backup_acronis`
3. Recreate `backup_acronis` and create symlink: `CreateSymlink %userprofile%\Desktop\backup_acronis\poc_full_b1_s1_v1.tib C:\Windows\System32\drivers\pci.sys`
4. In Backup tab, right-click backup -> Delete -> Delete entirely
5. True Image follows symlink and deletes `pci.sys` with elevated privileges
**How found:** Noticed AntiRansomware blocked all modifications to .tib files/folders except Rename on the containing folder; hypothesized the folder could be swapped and combined with a symlink to redirect the privileged delete operation.
**Exploitation:** Attacker renames the protected backup folder (unmonitored), recreates it, and plants a symlink named after the .tib file pointing at a privileged target. When the user deletes the backup via the UI, the privileged Acronis service follows the symlink and deletes the arbitrary target file, yielding privileged file deletion / DoS.
**Escalation:** Same primitive also allows writing into the recreated folder, bypassing AntiRansomware protection to tamper with protected .tib backup contents.
**Insight:** When a security product whitelists a path rather than a file handle/inode, test every operation on the parent directory (rename, move, junction) — a rename gap lets you swap the protected path for a symlink and hijack the privileged follow-up action.

## Proof of concept (copied exactly from the original report)

**Rename backup folder to bypass protection**

```
rename %userprofile%\Desktop\backup_acronis not_backup_acronis
```

**Symlink .tib to protected system file**

```
CreateSymlink %userprofile%\Desktop\backup_acronis\poc_full_b1_s1_v1.tib C:\Windows\System32\drivers\pci.sys
```

**Create backup source file**

```
mkdir %userprofile%\Desktop\data_acronis & echo PoC > %userprofile%\Desktop\data_acronis\poc.exe
```

