1
0
mirror of https://github.com/LOLBAS-Project/LOLBAS synced 2024-09-20 10:41:47 +02:00
LOLBAS/yml/OSBinaries/Runonce.yml

28 lines
926 B
YAML

---
Name: Runonce.exe
Description:
Author: 'Oddvar Moe'
Created: '2018-05-25'
Commands:
- Command: Runonce.exe /AlternateShellStartup
Description: Executes a Run Once Task that has been configured in the registry
Usecase: Persistence, bypassing defensive counter measures
Category: Execute
Privileges: Administrator
MitreID: T1218
MitreLink: https://attack.mitre.org/wiki/Technique/T1218
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
Full_Path:
- Path: C:\Windows\System32\runonce.exe
- Path: C:\Windows\SysWOW64\runonce.exe
Code_Sample:
- Code:
Detection:
- IOC: HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\YOURKEY
Resources:
- Link: https://twitter.com/pabraeken/status/990717080805789697
- Link: https://cmatskas.com/configure-a-runonce-task-on-windows/
Acknowledgement:
- Person: Pierre-Alexandre Braeken
Handle: '@pabraeken'
---