2 Commits

Author SHA1 Message Date
PrimeBuild-pc ac84382841 security: follow-ups from the validation pass
- The launch task is re-registered on every elevated start again (now in the
  background), so a changed definition or another admin never keeps a stale one.
- Admin-only folders are owned by Administrators when elevated, so the user
  cannot rewrite their DACL with UAC off or a non-default owner policy.
- The update provider trusts only folders it created itself.
- Game Boost does not remember a foreground process as not-a-game while its
  path is still unreadable.
2026-10-22 10:54:37 +02:00
PrimeBuild-pc e9e5c39772 security: keep the task XML and update installer in admin-only folders
The elevated app wrote the scheduled-task definition and downloaded the update
installer into the user's %TEMP%, where a non-admin process can swap them (or
plant DLLs beside the installer) between the check and the elevated use. Both
now go into a fresh, unguessable folder under %SystemRoot%\Temp whose DACL
grants only Administrators and SYSTEM; users there cannot rename or delete
another account's folders.
2026-10-22 10:54:37 +02:00