HKCU\Software\Microsoft\Command Processor\AutoRun
Criteria | Value |
---|---|
Permissions | User |
Security context | User |
Persistence type | Registry |
Code type | EXE; Other; Fileless |
Launch type | User initiated1 |
Impact | Non-destructive |
OS Version | All OS versions |
Dependencies | OS only |
Toolset | Scriptable |
cmd.exe /?
says:
when CMD.EXE starts, it looks for the following REG_SZ/REG_EXPAND_SZ registry variables, and [...], they are executed first.
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
https://devblogs.microsoft.com/oldnewthing/20071121-00/?p=24433
Footnotes
-
User must launch cmd.exe ↩