Skip to content
WETNav

Community detections

runonce.exe

3 community detection rules look for suspicious runonce.exe command lines, most often for Masquerading (T1036), Modify Registry (T1112), Rundll32 (T1218.011). WETNav has no switch-by-switch reference for it yet, so the explainer reads its arguments generically and checks them against these rules.

Rules by level

1 high1 medium1 low

Worst caseHigh
Explain a runonce.exe command line

What defenders look for

  • High
    System File Execution Location Anomaly

    Detects the execution of a Windows system binary that is usually located in the system folder from an uncommon location.

    T1036by Florian Roth (Nextron Systems), Patrick Bareiss, Anton Kutepov, oscd.community, Nasreddine Bencherchali (Nextron Systems)

  • Medium
    Suspicious Rundll32 Setupapi.dll Activity

    setupapi.dll library provide InstallHinfSection function for processing INF files. INF file may contain instructions allowing to create values in the registry, modify files and install drivers. This technique could be used to obtain persistence via modifying one of Run or RunOnce registry keys, run process or use other DLLs chain calls (see references) InstallHinfSection function in setupapi.dll…

    T1218.011by Konstantin Grishchenko, oscd.community

  • Low
    Run Once Task Execution as Configured in Registry

    This rule detects the execution of Run Once task as configured in the registry

    T1112by Avneet Singh @v3t0_, oscd.community, Christopher Peacock @SecurePeacock (updated)

Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.

Questions

Is runonce.exe malicious?
Not by itself. These rules flag specific ways of running it: 3 rules, 1 rated high or critical. System File Execution Location Anomaly; Suspicious Rundll32 Setupapi.dll Activity; Run Once Task Execution as Configured in Registry. Judge a run by its command line, its parent process, the account and the host.
What does runonce.exe have to do with ATT&CK?
The rules for it map to Masquerading (T1036), Modify Registry (T1112), Rundll32 (T1218.011).
How do I check a runonce.exe command line?
Paste it into the WETNav command explainer. It reads every argument, pulls out indicators and evaluates all 1,192 Sigma process creation rules in your browser, including these.