Runonce.exe

type: OSBinaries
Executes a Run Once Task that has been configured in the registry

Full path

C:\Windows\System32\runonce.exe
C:\Windows\SysWOW64\runonce.exe

Commands

  1. ExecuteAdministrator T1218

    Persistence, bypassing defensive counter measures

    Runonce.exe /AlternateShellStartup

    Executes a Run Once Task that has been configured in the registry.

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

    Execute: CMD

Detection

Resources

acknowledgement: Pierre-Alexandre Braeken @pabraeken