CyberKit

Scheduled-Task Artifacts

Also called Task Scheduler artifacts, task XML.

On-disk task definitions and registry entries used for execution and persistence.

What it is

The on-disk XML task definition files and corresponding registry entries that the Windows Task Scheduler uses to store each task's action, trigger, run-as account, and last-run/next-run state.

Where it lives

C:\Windows\System32\Tasks\, plus HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\{Tasks,Tree}

Why it matters

Scheduled tasks are a frequent persistence and execution mechanism, so reviewing the task XML and registry (including author, command line, and trigger) reveals attacker-created tasks set to relaunch payloads, often with timestamps tying creation to the intrusion.

In practice

A task XML created at logon revealed a hidden command line relaunching a beacon every few hours under SYSTEM.

What to look for

  • Task XML files under System32 Tasks.
  • TaskCache registry keys, including tasks hidden from the scheduler.
  • Event 4698 and task scheduler operational logs.

Common mistake

Checking only what the scheduler shows. Tasks can be hidden by removing their security descriptor.

Practice it nearby

CyberKit has no tool for this term itself. These are the closest places to practice it.

In the field

Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.

  • Autopsy Open source

    A graphical forensics platform that parses file systems and common artifacts. Our notes.

  • Eric Zimmerman's tools Free

    Command line parsers for Windows artifacts such as the MFT, Prefetch and the Registry. Our notes.

  • Plaso Open source

    Builds a super timeline from many artifacts in one image. Our notes.

  • Velociraptor Open source

    Collects the same artifacts remotely, without pulling a full disk image. Our notes.

Read next

  • Registry Run Keys: Registry locations that auto-launch programs at logon or boot.
  • Registry Hives: On-disk files backing the Windows registry, each holding distinct forensic value.
  • AmCache: Registry hive recording executed/installed programs with hashes and timestamps.

Sources