Run / RunOnce Keys

SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Run and RunOnce keys are the oldest and most documented persistence mechanism in the Windows ecosystem. Any value placed here automatically executes its payload at user logon or system boot — system-wide from the SOFTWARE hive or per-user from NTUSER.DAT. Adversaries still rely on this daily, banking on sheer volume of legitimate entries to hide in plain sight.

Key Name {Arbitrary Value Name} — REG_SZ containing the command line to execute. RunOnce entries self-delete after a single execution.
Trace Type Persistence  Execution
Hive SOFTWARE  (machine-wide) and NTUSER.DAT  (per-user, via HKCU\SOFTWARE\...)
Last Write Time The key's Last Write Time marks when an entry was last added or modified — a precise timestamp for when persistence was installed or updated by an attacker.
User Specific Yes  (NTUSER.DAT variant) / No  (SOFTWARE hive variant applies to all users at machine scope)

Forensic Value

For more Info check out these Articles: AppInit, ScheduledTasks