2018-10-24 10:55:52 +02:00
|
|
|
---
|
|
|
|
Name: Schtasks.exe
|
|
|
|
Description: Schedule periodic tasks
|
2018-10-25 21:24:55 +02:00
|
|
|
Author: 'Oddvar Moe'
|
|
|
|
Created: '2018-05-25'
|
2018-10-24 10:55:52 +02:00
|
|
|
Commands:
|
|
|
|
- Command: schtasks /create /sc minute /mo 1 /tn "Reverse shell" /tr c:\some\directory\revshell.exe
|
|
|
|
Description: Create a recurring task to execute every minute.
|
|
|
|
Usecase: Create a recurring task, to eg. to keep reverse shell session(s) alive
|
2018-10-25 21:35:37 +02:00
|
|
|
Category: Execute
|
2018-10-24 10:55:52 +02:00
|
|
|
Privileges: User
|
2018-10-25 21:24:55 +02:00
|
|
|
MitreID: T1053
|
|
|
|
MitreLink: https://attack.mitre.org/wiki/Technique/T1053
|
2018-10-24 10:55:52 +02:00
|
|
|
OperatingSystem: Windows
|
|
|
|
Full Path:
|
2018-10-25 21:24:55 +02:00
|
|
|
- Path: c:\windows\system32\schtasks.exe
|
|
|
|
- Path: c:\windows\syswow64\schtasks.exe
|
2018-10-24 10:55:52 +02:00
|
|
|
Code Sample:
|
2018-10-25 21:24:55 +02:00
|
|
|
- Code:
|
|
|
|
Detection:
|
|
|
|
- IOC: Services that gets created
|
2018-10-24 10:55:52 +02:00
|
|
|
Resources:
|
2018-10-25 21:24:55 +02:00
|
|
|
- Link: https://isc.sans.edu/forums/diary/Adding+Persistence+Via+Scheduled+Tasks/23633/
|
|
|
|
Acknowledgement:
|
|
|
|
- Person:
|
2018-10-24 10:55:52 +02:00
|
|
|
Handle:
|
2018-10-25 21:24:55 +02:00
|
|
|
---
|