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).
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:
| Field | Type | Meaning |
|---|---|---|
service_name | VARCHAR | Service name |
service_display_name | VARCHAR | Windows service display name |
service_description | VARCHAR | Windows service description |
service_image_path | VARCHAR | Windows service image path |
service_image_args | VARCHAR | Windows service image arguments |
service_dll | VARCHAR | Windows service DLL path |
service_account | VARCHAR | Service account name |
service_start_type | VARCHAR | Windows service start type |
service_type | VARCHAR | Service type |
service_error_control | VARCHAR | Windows service error control policy |
service_sid_type | VARCHAR | Windows service SID type |
service_launch_protected | VARCHAR | Windows service launch protection setting |
service_required_privileges | VARCHAR | Windows service required privileges |
service_dependencies | VARCHAR | Windows service dependencies |
service_dependency_groups | VARCHAR | Windows service dependency groups |
service_failure_reset_seconds | VARCHAR | Windows service failure reset interval |
service_failure_actions | VARCHAR | Windows service failure actions |
service_trigger_count | VARCHAR | Number of service triggers |
registry_key_last_write | VARCHAR | Registry key last write timestamp |
service_trigger_action | VARCHAR | Service trigger action |
service_trigger_data | VARCHAR | Service trigger data |
service_trigger_guid | VARCHAR | Service trigger GUID |
service_trigger_index | VARCHAR | Service trigger index |
service_trigger_type | VARCHAR | Service trigger type |
registry_hive_set | VARCHAR | Registry hive set the record was read from: live, regback, windows_old or windows_old_regback |
registry_hive_replay | VARCHAR | Why 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:
- Windows event log: Parses Windows Event Log (.evtx) files.
- Scheduled task: Parses Windows Task Scheduler XML task definition files.
- Registry Run keys: Parses autostart Run/RunOnce registry keys.
- Amcache: Parses Amcache.hve application execution history.
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