T06 · System Persistence
- Location
references/prevention-scripts.md:78- Finding
Highest-Privilege Scheduled Task Executes a User-Writable Script
- Content
View full analysis
\backups`, which is ordinarily writable by that user. This creates an unsafe trust boundary: a machine-level privileged execution mechanism relies on code controlled by a less-privileged account. If that account or any process running under it can replace or modify `backup_boot_region.ps1`, the scheduled task will execute the modified content as `SYSTEM`. The weekly trigger and `StartWhenAvailable` setting provide durable execution across reboots and missed schedules. Hidden execution and execution-policy bypass reduce visibility and remove controls that might otherwise prevent an untrusted script from running. ### Attack Path 1. An administrator follows the documented setup and registers `BackupExFATBootRegion`. 2. The task is config ...[truncated 1145 chars]- Remediation
View remediation
