Task Cache

Scheduled task metadata including paths, creation times, and last execution timestamps.

WindowsExecutionParser: task_cache17 fieldsCollected by priority triage

What Task Cache is

Scheduled task metadata including paths, creation times, and last execution timestamps. It is one of 23 execution artifacts Arcsentry reads. Execution artifacts record that a program was present or ran: what, where from, how often and when. They are the core of "what did the attacker run?"

Forensic value

Execution artifacts help answer questions like these:

  • Which tools ran on this host?
  • When did a program first and last run?
  • Which user ran it?

Where it is stored

Arcsentry looks for Task Cache at these locations inside a collection, disk image or mounted volume:

**/Windows.old/Windows/System32/config/RegBack/SOFTWARE
**/Windows.old/Windows/System32/config/SOFTWARE
**/Windows/System32/Tasks/**
**/Windows/System32/config/RegBack/SOFTWARE
**/Windows/System32/config/SOFTWARE

What Arcsentry records

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

FieldTypeMeaning
created_onTIMESTAMPTask created on
task_flagsVARCHARScheduled task flags
guidVARCHAREntity GUID
task_hiddenBOOLEANScheduled task hidden flag
last_resultBIGINTScheduled task last result code
task_last_startTIMESTAMPTask last start
task_last_stopTIMESTAMPScheduled task last stop timestamp
orphan_reasonVARCHARTask orphan reason
task_pathVARCHARScheduled task path (\folder\task)
security_descriptorVARCHARScheduled task security descriptor
task_stateBIGINTTask state
artifact_read_statusVARCHARSource read failure: unreadable (the source could not be read), corrupt (its bytes failed format or stream integrity checks), unrecognized (the content does not identify a supported format), or unsupported (the format version or a required format extension is not supported); records read before a failure may still be present
event_reasonVARCHAREvent reason
messageVARCHARHuman-readable message
log_fileVARCHARSource log file path
registry_hive_setVARCHARRegistry hive set the record was read from: live, regback, windows_old or windows_old_regback
registry_hive_replayVARCHARWhy the registry hive this record was read from lacks its transaction-log changes: failed when replay failed at staging, disabled when replay was turned off

Time

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 Task Cache with Arcsentry Collector

Arcsentry Collector gathers Task Cache in these triage profiles: windows::profile::triage::priority, windows::profile::triage::offline, windows::profile::triage::timeline, windows::profile::triage::full. It is read straight from the file system, on a live host or inside a disk image, without mounting.

The collection targets that pick it up: windows::execution::scheduled_tasks, windows::registry::registry_hives_system, windows::security::windows_hello, windows::system_state::srum.

.\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 Task Cache can come from the tools you already use.

Analysing Task Cache in Arcsentry

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

filter event_type == "task_cache"
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 Task Cache records with the same tools and cites them by event ID.

Frequently asked

Does Arcsentry parse Task Cache?

Yes. Arcsentry's Task Cache parser (task_cache) reads it from Windows evidence and records 17 fields per record, with provenance back to the source file.

How do I collect Task Cache?

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 Task Cache 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