Run Once Task Configuration in Registry
Rule to detect the configuration of Run Once registry key. Configured payload can be run by runonce.exe /AlternateShellStartup
Detection logic
Detection requirements
- Platform
- Windows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source product
- windows
- Log source category
- registry_event
Known benign triggers
- Legitimate modification of the registry key by legitimate program
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| lolbas-project.github.io/lolbas/Binaries/Runonce/ | 2 |
| twitter.com/pabraeken/status/990717080805789697 | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- c74d7efc-8826-45d9-b8bb-f04fac9e4eff
- Tagged by the source as
- attack.defense-impairmentattack.persistence
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1