mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-10-08 07:15:25 +02:00
Enumerate every user profile from ProfileList (plus C:\Users\Default so future users inherit the SACL) and apply per-user SACLs: - user_files: file SACL under each profile dir (Startup folder, Signal AppData). - user_registry: registry SACL on each user hive - loaded hives via HKEY_USERS\<SID> directly, offline/Default hives by reg-load/unload of NTUSER.DAT (HKCU Run/RunOnce, User Shell Folders, StartupApproved, Load/Run, Command Processor AutoRun, Control Panel\Desktop screensaver, Environment logon script, LangBarAddin, Outlook Addins). Handles are released ([gc]) before reg unload; objects/hives absent on the host are skipped. Not covered: folder-redirected AppData on network shares, mandatory profiles. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MVUmXZBkr5FnZ2hwFkDhx7