Windows event log

Windows event logs are stored as .evtx files in C:\Windows\System32\winevt\Logs, one file per channel: Security.evtx, System.evtx, Application.evtx and hundreds of operational channels such as Microsoft-Windows-PowerShell%4Operational.evtx. They are the backbone of most Windows investigations.

WindowsEvent and service logsParser: evtx60 fieldsCollected by priority triage

What Windows Event Logs is

The location can be changed per channel by policy (the File value under HKLM\SYSTEM\CurrentControlSet\Services\EventLog\<channel> for the classic logs), and forwarded logs may sit in ForwardedEvents.evtx. Each event ID has its own page in the Windows event ID reference.

Key events include logons (4624), failed logons (4625), explicit credential use (4648), process creation (4688), account creation (4720), group changes (4732), scheduled task creation (4698), service installation (7045) and log clearing (1102, 104).

Forensic value

What Windows Event Logs can tell an investigator:

  • Who logged on, from where, how and when: password guessing, RDP sessions, lateral movement.
  • Process creation with command lines, when auditing is enabled.
  • Persistence: new services, scheduled tasks and accounts.
  • PowerShell script blocks (4104) and Defender detections from their operational channels.

What it does not prove

  • What is logged depends on the audit policy; process creation and command lines are off by default.
  • Logs roll over when full, so busy systems may keep only days of history.
  • Logs can be cleared, but clearing itself is logged (1102 in Security, 104 in System).

Where it is stored

Arcsentry looks for Windows Event Logs at this location inside a collection, disk image or mounted volume:

**/Windows/System32/winevt/Logs/*.evtx

What Arcsentry records

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

FieldTypeMeaning
destination_domainVARCHARDestination domain
destination_ipVARCHARDestination IP address
destination_portBIGINTDestination port
destination_service_nameVARCHARDestination service name
dll_code_signature_signedBOOLEANWhether the DLL code signature is signed
dll_code_signature_statusVARCHARDLL code signature status
dll_code_signature_subject_nameVARCHARDLL code signature subject name
dll_hash_imphashVARCHARDLL import hash
dll_hash_md5VARCHARDLL MD5 hash
dll_hash_sha1VARCHARDLL SHA1 hash
dll_hash_sha256VARCHARDLL SHA256 hash
dll_pathVARCHARDLL path
dll_pe_original_file_nameVARCHARDLL PE original file name
dns_answersVARCHARDNS answers
dns_question_nameVARCHARDNS question name
dns_response_codeVARCHARDNS response code
event_actionVARCHAREvent action
event_afterVARCHARNew event value
event_beforeVARCHARPrevious event value
event_categoryVARCHAREvent category
event_codeVARCHARWindows or source event code
event_dataVARCHARJSON overflow for unpromoted EventData fields
event_datasetVARCHAREvent dataset
event_descriptionVARCHARHuman-readable event description
event_kindVARCHAREvent kind
event_log_access_listVARCHARWindows access list
event_log_access_maskVARCHARWindows access mask
event_log_applocker_policyVARCHARAppLocker policy name
event_log_applocker_rule_nameVARCHARAppLocker rule name
event_log_channelVARCHARWindows Event Log channel
filter_idVARCHARWindows firewall filter identifier
layerVARCHARApp compat user layer
event_log_kerberos_ticket_encryption_typeVARCHARKerberos ticket encryption type
event_log_logon_auth_packageVARCHARLogon authentication package
event_log_logon_guidVARCHARLogon GUID
event_log_logon_idVARCHARActing logon identifier
event_log_logon_process_nameVARCHARLogon process name
event_log_logon_target_idVARCHARTarget logon identifier
event_log_logon_typeVARCHARLogon type label
event_log_logon_type_codeVARCHARLogon type code
event_log_object_typeVARCHARWindows event object type
event_log_powershell_context_infoVARCHARPowerShell context information
event_log_privilegesVARCHARPrivileges listed by an event
event_log_recoveredBOOLEANWhether the record was recovered from the event log's unallocated region rather than its live record chain
event_log_session_idVARCHARTerminal/RDP session identifier carried by the event
event_log_service_crash_countVARCHARService crash count from event logs
event_log_service_start_typeVARCHARWindows service start type
event_log_service_typeVARCHARWindows service type
event_log_share_nameVARCHARNetwork share name
event_log_share_relative_targetVARCHARNetwork share relative target
event_log_statusVARCHAREvent log status code
event_log_sub_statusVARCHAREvent log sub-status code
event_log_sysmon_call_traceVARCHARSysmon call trace
event_log_sysmon_clipboard_hashVARCHARSysmon clipboard hash
event_log_sysmon_granted_accessVARCHARSysmon granted access mask
event_log_sysmon_start_addressVARCHARSysmon remote thread start address
event_log_sysmon_start_functionVARCHARSysmon remote thread start function
event_log_sysmon_tamper_typeVARCHARSysmon file tamper type
event_log_systemVARCHARJSON overflow for unpromoted System fields
event_log_written_atTIMESTAMPTime the event log service wrote the record, distinct from the time the event was generated

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 Windows Event Logs with Arcsentry Collector

Arcsentry Collector gathers Windows Event Logs 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::event_logs::event_logs, windows::event_logs::event_logs_rdp, windows::logs::application_events, windows::security::symantec_av_logs, windows::security::windows_defender.

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

Analysing Windows Event Logs in Arcsentry

Ask in plain English, for example "show Windows Event Logs records from the incident window, newest first", and Arcsentry shows the query before it runs.

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 Windows Event Logs records with the same tools and cites them by event ID.

Corroborate with

No single artifact settles a question on its own. Check Windows Event Logs against:

  • Windows Prefetch files: Parses Windows Prefetch (.pf) execution artifacts.
  • Amcache: Parses Amcache.hve application execution history.
  • Scheduled task: Parses Windows Task Scheduler XML task definition files.
  • Windows services: Windows service configurations including image paths, start types, and service DLLs.
  • PowerShell history: Parses PowerShell PSReadLine history as logical commands with physical line numbers.
  • Windows Defender log: Windows Defender and Microsoft AntiMalware support text logs.

Frequently asked

Which Windows event IDs matter most in an intrusion?

4624 and 4625 for logons, 4648 for explicit credentials, 4688 for process creation, 4720 and 4732 for accounts and groups, 4698 for scheduled tasks, 7045 for services, 4104 for PowerShell, and 1102 or 104 for log clearing.

Where are Windows event logs stored?

In C:\Windows\System32\winevt\Logs, as one .evtx file per channel (Security.evtx, System.evtx, Application.evtx and the operational channels). Administrators can move a channel by policy, so check the channel settings if a file is missing.

Why are there no 4688 events?

Process creation auditing is not enabled by default. Use Prefetch, Amcache, BAM and SRUM to establish execution instead.

Does Arcsentry parse Windows Event Logs?

Yes. Arcsentry's Windows Event Logs parser (evtx) reads it from Windows evidence and records 60 fields per record, with provenance back to the source file.

How do I collect Windows Event Logs?

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 Windows Event Logs 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