Windows services

Windows services are defined in the SYSTEM hive under CurrentControlSet\Services. Each records an image path, start type and account. Creating a service is a common way to persist and run as SYSTEM (ATT&CK T1543.003).

WindowsPersistenceParser: services26 fieldsCollected by priority triage

What Services is

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

What Services can tell an investigator:

  • Every installed service, its binary or command line, start type and account.
  • Suspicious services pointing to scripts, user-writable paths or interpreters such as PowerShell.
  • Key last-write times to date changes.

What it does not prove

  • Service installation is logged as event 7045 in the System log, which may have rolled over.

Where it is stored

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

**/Windows.old/Windows/System32/config/RegBack/SYSTEM
**/Windows.old/Windows/System32/config/SYSTEM
**/Windows/System32/config/RegBack/SYSTEM
**/Windows/System32/config/SYSTEM

What Arcsentry records

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

FieldTypeMeaning
service_nameVARCHARService name
service_display_nameVARCHARWindows service display name
service_descriptionVARCHARWindows service description
service_image_pathVARCHARWindows service image path
service_image_argsVARCHARWindows service image arguments
service_dllVARCHARWindows service DLL path
service_accountVARCHARService account name
service_start_typeVARCHARWindows service start type
service_typeVARCHARService type
service_error_controlVARCHARWindows service error control policy
service_sid_typeVARCHARWindows service SID type
service_launch_protectedVARCHARWindows service launch protection setting
service_required_privilegesVARCHARWindows service required privileges
service_dependenciesVARCHARWindows service dependencies
service_dependency_groupsVARCHARWindows service dependency groups
service_failure_reset_secondsVARCHARWindows service failure reset interval
service_failure_actionsVARCHARWindows service failure actions
service_trigger_countVARCHARNumber of service triggers
registry_key_last_writeVARCHARRegistry key last write timestamp
service_trigger_actionVARCHARService trigger action
service_trigger_dataVARCHARService trigger data
service_trigger_guidVARCHARService trigger GUID
service_trigger_indexVARCHARService trigger index
service_trigger_typeVARCHARService trigger type
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 Services with Arcsentry Collector

Arcsentry Collector gathers Services 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::registry::registry_hives_system, windows::security::windows_hello.

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

Analysing Services in Arcsentry

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

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

Corroborate with

No single artifact settles a question on its own. Check Services against:

Frequently asked

Which event shows a new service?

Event 7045 in the System log, "A new service was installed in the system".

Does Arcsentry parse Services?

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

How do I collect Services?

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