What is the Logon Scripts persistence technique and how is it configured?
The Logon Scripts persistence technique involves setting the `UserInitMprLogonScript` registry value under `HKCU\Environment` to point to a script (e.g., a .bat file). When the user logs on, the script executes automatically, providing a stealthy method for maintaining access. For a full walkthrough, see Use Logon Scripts to maintain persistence.
Logon ScriptsUserInitMprLogonScriptpersistenceregistry