Sigma rule: Run Once Task Execution as Configured in Registry
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-9aae925c8525, updated 2022-12-13T00:00:00.000Z.
Rule
- Title
- Run Once Task Execution as Configured in Registry
- Status
- test
- Level
- low
- Author
- Avneet Singh @v3t0_, oscd.community, Christopher Peacock @SecurePeacock (updated)
- Date
- 2020-10-18
- Modified
- 2022-12-13
- File
- rules/windows/process_creation/proc_creation_win_runonce_execution.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
This rule detects the execution of Run Once task as configured in the registry
Log source
- product
- windows
- category
- process_creation
Detection
selection_img:
- Image|endswith: '\runonce.exe'
- Description: 'Run Once Wrapper'
selection_cli:
- CommandLine|contains: '/AlternateShellStartup'
- CommandLine|endswith: '/r'
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.persistence
- attack.defense-impairment
- attack.t1112
MITRE ATT&CK ids this rule names
References
- https://twitter.com/pabraeken/status/990717080805789697
- https://lolbas-project.github.io/lolbas/Binaries/Runonce/
- https://twitter.com/0gtweet/status/1602644163824156672?s=20&t=kuxbUnZPltpvFPZdCrqPXA
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_runonce_execution.yml
Sources and licences
SigmaHQ
"Run Once Task Execution as Configured in Registry" by Avneet Singh @v3t0_, oscd.community, Christopher Peacock @SecurePeacock (updated) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_runonce_execution.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Run Once Task Execution as Configured in Registry",
entity page, dataset version ref-9aae925c8525, updated 2022-12-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/198effb6-6c98-4d0c-9ea3-451fa143c45c (accessed 2026-11-03).
Underlying source: SigmaHQ rule 198effb6-6c98-4d0c-9ea3-451fa143c45c, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.