unknown 6316994674 Bug fix 2 years ago
..
README.md 10bb2cb616 Update README.md 2 years ago
beacon.h 7ff035a06c Add tool 2 years ago
bofcompile.bat 7ff035a06c Add tool 2 years ago
enumtaskscheduler.c 6316994674 Bug fix 2 years ago
enumtaskscheduler.cna 7ff035a06c Add tool 2 years ago
enumtaskscheduler.h 6316994674 Bug fix 2 years ago
enumtaskscheduler.o 6316994674 Bug fix 2 years ago

README.md

EnumTaskScheduler

Enumerate and list all the scheduled tasks in the root folder.

This will only return basic information about the scheduled task in the root folder. For a more comprehensive output and a complete list of all the scheduled tasks on the host, use the schtasksenum BOF from TrustedSec.

Parameters

  • hostName: Specify "" for the current system or the FQDN of the remote host: DB01.example.local.

Usage

  • enumtaskscheduler <(optional) hostName>

Examples

  • enumtaskscheduler
  • enumtaskscheduler DB01.example.local

Compile

  • 1. Make sure Visual Studio is installed and supports C/C++.
  • 2. Open the x64 Native Tools Command Prompt for VS <2019/2022> terminal.
  • 3. Run the bofcompile.bat script to compile the object file.
  • 4. In Cobalt strike, use the script manager to load the .cna script to import the tool.