persistence-info.github.io

View on GitHub

“Run” and “RunOnce” registry keys

Location:

Classification:

Criteria Value
Permissions User
Security context User
Persistence type Registry
Code type EXE; Other; Fileless
Launch type Same logon required
Impact Non-destructive
OS Version All OS versions
Dependencies OS only
Toolset Scriptable

Description:

Well known key, used by many apps. Any file path specified in a Registry value will be used to ShellExecute() the specified file by explorer.exe when user logs on. Multiple values can exist.

The Run key makes the program run every time the user logs on, while the RunOnce key makes the program run one time, and then the key is deleted.

References:

Credits:

N/A

See also:

Remarks: