Executes a Run Once Task that has been configured in the registry Located at: C:\Windows\System32\runonce.exe; C:\Windows\SysWOW64\runonce.exe.
runonce runonce Sandbox: execFile · Timeout: 30s
security.execution.command Outputs
process.output Command execution output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | low |
| Disk I/O | low |
Executes a Run Once Task that has been configured in the registry. (Persistence, bypassing defensive counter measures)
Runonce.exe /AlternateShellStartup | Type | Rule / Indicator |
|---|---|
| sigma | https://github.com/SigmaHQ/sigma/blob/c04bef2fbbe8beff6c7620d5d7ea6872dbe7acba/rules/windows/registry/registry_event/registry_event_runonce_persistence.yml |
| sigma | https://github.com/SigmaHQ/sigma/blob/c04bef2fbbe8beff6c7620d5d7ea6872dbe7acba/rules/windows/process_creation/proc_creation_win_runonce_execution.yml |
| elastic | https://github.com/elastic/detection-rules/blob/2926e98c5d998706ef7e248a63fb0367c841f685/rules/windows/persistence_run_key_and_startup_broad.toml |
| ioc | Registy key add - HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\YOURKEY |
runonce is a Windows LOLBin. Executes a Run Once Task that has been configured in the registry Located at: C:\Windows\System32\runonce.exe; C:\Windows\SysWOW64\runonce.exe.