Services Schtasks

Scheduled tasks registered on the host at the time of a live schtasks /query capture, with the action each task runs and the account it runs as.

WindowsPersistenceParser: services_schtasks7 fieldsCollected by priority triage

What Services Schtasks is

Scheduled tasks registered on the host at the time of a live schtasks /query capture, with the action each task runs and the account it runs as. It is one of 21 persistence artifacts Arcsentry reads. Persistence artifacts are the places programs start from automatically: services, tasks, autostart keys, WMI subscriptions, cron and systemd. Attackers use them to survive reboots.

Forensic value

Persistence artifacts help answer questions like these:

  • What starts automatically on this host?
  • What was added during the incident window?
  • Which persistence points to a script or user-writable path?

Where it is stored

Arcsentry looks for Services Schtasks at this location inside a collection, disk image or mounted volume:

triage/volatile/services/schtasks_query_fo_csv_v.csv

What Arcsentry records

Each Services Schtasks record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:

FieldTypeMeaning
host_nameHost the task is registered on
task_pathScheduled task path (\folder\task)
command_lineAction the task executes
userAccount the task runs as
authorTask author
service_statusCurrent task status (Running/Ready/Disabled)
logon_typeTask logon mode (Interactive/Background)

Time

Collection time only (live schtasks capture; Last/Next Run Time are naive-local strings). Arcsentry keeps each record's own time and labels its time zone when the source does not state one. A record with no time of its own stays untimed; Arcsentry never substitutes the collection time.

Collecting Services Schtasks with Arcsentry Collector

Arcsentry Collector gathers Services Schtasks in these triage profiles: windows::profile::triage::priority, windows::profile::triage::live, windows::profile::triage::full. It is captured live, by running commands on the host at collection time.

The collection targets that pick it up: windows::live::services::schtasks.

.\arcsentry-collect.exe collect --local -t windows::profile::triage::priority `
  -o E:\IR -f host.arcx --password-file E:\IR\pw.txt

Every file lands in one AES-256 archive with a SHA-256 recorded for it, and the collection log notes which target collected it. See everything each profile collects.

Already collected with something else? Arcsentry also reads KAPE, Velociraptor and UAC collections, so Services Schtasks can come from the tools you already use.

Analysing Services Schtasks in Arcsentry

Ask in plain English, for example "show Services Schtasks records from the incident window, newest first", and Arcsentry shows the query before it runs. Or write it in AQL:

filter event_type == "services_schtasks"
sort {-timestamp}
take 100

Mark a record malicious or suspicious and it joins the timeline in its kill-chain lane. Add its values as indicators and Arcsentry matches them across every host. When the AI investigator works the case, it reads Services Schtasks records with the same tools and cites them by event ID.

Frequently asked

Does Arcsentry parse Services Schtasks?

Yes. Arcsentry's Services Schtasks parser (services_schtasks) reads it from Windows evidence and records 7 fields per record, with provenance back to the source file.

How do I collect Services Schtasks?

Arcsentry Collector gathers it with the priority triage profile (windows::profile::triage::priority), live or from a disk image, sealed in an AES-256 archive with a SHA-256 for every file.

Parse Services Schtasks on your own evidence.

Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.

Request a trial