# DLL Hijacking when sending feedback and crash report leading to Privilege Escalation

Acronis True Image's report_sender.exe loads missing DLLs from a user-writable WindowsApps PATH folder, letting a normal user run code as Administrator and escalate to SYSTEM.

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

**Target:** report_sender.exe (feedback/crash report sender)
**Root cause:** report_sender.exe performs unqualified DLL loads (e.g. ubsec.dll, CSUNSAPI.dll) and searches the user-controlled %USERPROFILE%\AppData\Local\Microsoft\WindowsApps folder in the User PATH, where a normal user has Full control.
**Steps:**
1. Place a malicious DLL named `ubsec.dll` (or any listed name) in `%USERPROFILE%\AppData\Local\Microsoft\WindowsApps`
2. Open Acronis True Image Help tab and click Send feedback
3. Fill details and click Send
4. report_sender.exe loads the DLL and spawns `cmd.exe` as Administrator (verify with `net session`)
5. From elevated cmd: `schtasks /create /SC WEEKLY /RU "NT AUTHORITY\SYSTEM" /TN EOP /TR C:\Windows\System32\winver.exe /IT /RL HIGHEST`
6. Run `schtasks /run /I /TN EOP` to execute as SYSTEM
**How found:** Researcher inspected report_sender.exe's DLL search behavior, identified missing DLL names, and noted the user-writable WindowsApps folder is in the User PATH search order.
**Exploitation:** Attacker with normal user access drops a crafted DLL into the WindowsApps folder (or adds a custom folder to User PATH, which needs no admin rights). When report_sender.exe runs—either on manual feedback send or automatically on crash report—it loads the DLL with Administrator privileges, giving an elevated shell; a scheduled task then runs code as NT AUTHORITY\SYSTEM.
**Escalation:** Administrator shell escalated to SYSTEM via schtasks creating and running a task as NT AUTHORITY\SYSTEM.
**Insight:** On Windows desktop apps, enumerate DLL names the binary imports and check whether any resolve through User PATH entries like WindowsApps—user-writable PATH dirs turn benign missing-DLL loads into privilege escalation, and crash reporters run unattended.

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

**schtasks create SYSTEM task for escalation**

```
schtasks /create /SC WEEKLY /RU "NT AUTHORITY\SYSTEM" /TN EOP /TR C:\Windows\System32\winver.exe /IT /RL HIGHEST
```

**Run the SYSTEM scheduled task**

```
schtasks /run /I /TN EOP
```

