Join our Newsletter — 33% off our NHI Course
Home› Guides› Windows Core Processes: A Known-Good Baseline for Threat…
Guide Attack Techniques & Malware

Windows Core Processes: A Known-Good Baseline for Threat Hunters

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 28 November 2026 15 min read
On this page

You cannot spot a fake svchost.exe or lsass.exe until you know exactly what the real ones look like on your own hosts. Masquerading malware relies on analysts glancing at a process list, seeing familiar names and moving on. This guide is the known-good reference for the Windows core processes: the expected parent, image path, account, instance count and command line for System, smss.exe, csrss.exe, wininit.exe, services.exe, svchost.exe, lsass.exe, winlogon.exe and their usual companions, and how to turn that baseline into hunts and detections. It is written for threat hunters, SOC analysts and detection engineers who triage Windows endpoints. The technique itself, with its sub-techniques and adversary examples, is covered in the T1036 Masquerading Defensive Guide; this page is the "know normal" half that the technique page assumes.

Key takeaways

  • Five attributes catch most fakes. Name, full image path, parent process, user account and instance count rarely all line up for an impostor, so check them together rather than trusting the name.
  • The boot chain is fixed. System starts smss.exe, smss.exe starts csrss.exe, wininit.exe and winlogon.exe, and wininit.exe starts services.exe and lsass.exe; a core process with any other parent is worth investigating.
  • svchost.exe is many, but always a child of services.exe. Since Windows 10 version 1703, machines with more than 3.5 GB of RAM run most services in their own svchost.exe instance, so a high count is normal; a missing -k group argument or a different parent is not.
  • There is one lsass.exe. It runs from System32 under SYSTEM with wininit.exe as parent; a second copy, a different path, or lsass.exe spawning children points to credential theft or masquerading.
  • Baselines are local. Security agents, virtualisation tools and Windows versions add legitimate exceptions, so build the baseline from your own telemetry and keep the exception list short and reviewed.

Why a known-good baseline matters

ATT&CK sub-technique T1036.005 Match Legitimate Resource Name or Location describes adversaries naming malware after trusted system files or placing it in trusted directories, and T1055 Process Injection describes running code inside a legitimate process so that the name and path look correct. The two failure modes need different checks: a renamed impostor fails the path, signer or parent test, while an injected or hollowed genuine process passes those tests and fails behavioural ones (unusual children, network connections, missing command-line arguments, memory tampering events).

A baseline turns "looks odd" into a rule. Elastic's published rule "Unusual Parent-Child Relationship" states the principle directly: Windows system processes have characteristics such as parent-child relationships that can be used to baseline typical behaviour and alert on anything that does not comply. SigmaHQ's "System File Execution Location Anomaly" rule applies the same idea to paths, flagging well-known system binaries that run outside folders such as C:\Windows\System32\, C:\Windows\SysWOW64\ and C:\Windows\WinSxS\. For how tokens, sessions and integrity levels work underneath, see the Windows Internals for Defenders Guide.

The core process reference table

The parent column follows the expectations encoded in Elastic's "Unusual Parent-Child Relationship" rule (updated September 2026); paths follow the SigmaHQ location anomaly rule. Instance counts and accounts are the usual values on a current Windows 10, Windows 11 or Windows Server build; confirm them against your own hosts before alerting on them.

ProcessExpected parentImage pathAccountUsual instancesRed flags
System (PID 4)None (kernel)No user-mode image (ntoskrnl.exe)SYSTEM1Any user-mode process named System or ntoskrnl.exe running from disk
smss.exeSystem%SystemRoot%\System32SYSTEM1 persistent; short-lived copies per session at start-upAny other parent; children other than autochk.exe, csrss.exe, wininit.exe, winlogon.exe and a few setup or recovery tools
csrss.exesmss.exe (the session copy, which then exits, so the parent often shows as not running)%SystemRoot%\System32SYSTEMOne per session (session 0 plus each interactive or RDP session)Path outside System32; children other than error reporting and conhost.exe
wininit.exesmss.exe (exited)%SystemRoot%\System32SYSTEM1 (session 0)More than one instance; any other parent
services.exewininit.exe%SystemRoot%\System32SYSTEM1More than one; any other parent; children that are not service binaries
lsass.exewininit.exe%SystemRoot%\System32SYSTEM1A second lsass.exe (including lsass.exe as its own parent, a clone used for dumping); any child process; non-System32 path
LsaIso.exewininit.exe%SystemRoot%\System32SYSTEM1, only when Credential Guard is runningPresent on a host where Credential Guard is not configured, or with a different parent
svchost.exeservices.exe (Elastic also allows MsMpEng.exe)%SystemRoot%\System32 (SysWOW64 for 32-bit)SYSTEM, LOCAL SERVICE or NETWORK SERVICE, plus per-user service instances under the signed-in userDozens; Microsoft cites about 67 to 74 with service separationNo -k argument; parent other than services.exe; user-writable path; outbound connections a service would not make
winlogon.exesmss.exe (exited)%SystemRoot%\System32SYSTEMOne per interactive sessionAny other parent; unexpected children beyond userinit.exe, LogonUI.exe, dwm.exe, fontdrvhost.exe
userinit.exewinlogon.exe%SystemRoot%\System32Signed-in userShort-lived, one per logonStill running long after logon; any other parent
explorer.exeuserinit.exe (exited)%SystemRoot%Signed-in userOne per interactive user (more if separate folder windows is set)Running from System32 or a user folder; running as SYSTEM
taskhostw.exesvchost.exe or services.exe%SystemRoot%\System32Signed-in user or service accountSeveralAny other parent; network connections
RuntimeBroker.exesvchost.exe%SystemRoot%\System32Signed-in userSeveralAny other parent; path outside System32
spoolsv.exeservices.exe%SystemRoot%\System32SYSTEM1 while the Print Spooler service runsRunning on hosts where the spooler is disabled by policy; unusual children

Note on orphaned parents: because the per-session smss.exe and userinit.exe exit after doing their work, tools often show csrss.exe, wininit.exe, winlogon.exe and explorer.exe with a parent PID that no longer exists. That is normal. What matters is the parent recorded at creation time in Sysmon event 1 or Security event 4688, which keeps the original parent image.

svchost.exe: what normal looks like

svchost.exe is the most imitated name because it is the most common one. Microsoft's documentation on service host grouping explains the baseline changes:

  • Separation by memory: starting with Windows 10 version 1703, on client desktop editions with more than 3.5 GB of RAM, services that used to share a host each run in their own svchost.exe. Systems with 3.5 GB or less keep the older grouped model, so expect very different counts on small VMs.
  • Exceptions that stay grouped: Microsoft lists Base Filtering Engine with Windows Firewall (Mpssvc), and RPC Endpoint Mapper with Remote Procedure Call, as pairs that remain in a shared host.
  • Opt-out value: a service can be kept grouped with the SvcHostSplitDisable value (1) under HKLM\SYSTEM\CurrentControlSet\Services\<ServiceName>. Unexpected changes to this value are worth reviewing.
  • Command line: a genuine instance is started with a service group, as in svchost.exe -k netsvcs -p -s Schedule. SigmaHQ's "Suspect Svchost Activity" rule flags svchost.exe whose command line is only the executable name, describing it as highly abnormal and typical of a process started to receive injected code.
  • Mapping instances to services: tasklist /svc lists the services hosted in each process, and tasklist /svc /fi "IMAGENAME eq svchost.exe" narrows to service hosts. An svchost.exe with no service against it deserves a closer look. Microsoft's Get-Process SvcHost | Group-Object example gives a quick count and memory total.

lsass.exe: the process attackers target most

lsass.exe holds credential material, which is why ATT&CK T1003.001 LSASS Memory is among the most used credential access sub-techniques. The baseline is short: one instance, System32 path, SYSTEM account, wininit.exe parent, no child processes. Signals that break it:

  • Clones: SigmaHQ's "Potential Credential Dumping Via LSASS Process Clone" rule alerts at critical level when lsass.exe is created with lsass.exe as its parent, a pattern used to dump a copy rather than the original.
  • Handle access: Sysmon event 10 (ProcessAccess) records processes opening another process, and Microsoft's Sysmon page notes it can expose tools that read lsass.exe memory. Baseline which agents legitimately open lsass.exe (EDR, backup, some management tools) and alert on the rest.
  • Protection state: with LSA protection, Windows logs System event 12 from Wininit stating that LSASS.exe was started as a protected process. Its absence on a host where RunAsPPL is configured is a configuration drift finding. See the LSA Protection (RunAsPPL) Guide.
  • Companion process: with Credential Guard, Microsoft documents that LSA talks over RPC to LsaIso.exe, the isolated LSA process protected by virtualisation-based security. Expect it only where Credential Guard is on; see Credential Guard and VBS.

Look-alike names deserve their own search: lsas.exe, lsasss.exe, Isass.exe (capital I), or lsass.exe under C:\Windows\ or a user profile. A simple edit-distance or homoglyph check against the core list catches most of them. For the dumping technique in depth, see MITRE ATT&CK T1003.001 LSASS Memory Dumping.

Telemetry you need to compare against the baseline

SourceEventFields that matter for the baselineNotes
Windows Security log4688 A new process has been createdNew Process Name, Creator Process Name, Process Command Line, Token Elevation Type, Mandatory LabelCreator Process Name is in event version 2 (Windows 10 and later). Command line is empty until you enable "Include command line in process creation events" under Administrative Templates, System, Audit Process Creation, and the Audit Process Creation subcategory
Sysmon1 Process creationImage, ParentImage, CommandLine, ParentCommandLine, hashes, ProcessGuid, UserProcessGuid survives PID reuse, which makes ancestry reliable; run sysmon -s to see the schema of your version
Sysmon8 CreateRemoteThreadSource and target imageThread creation into core processes is a classic injection signal
Sysmon10 ProcessAccessSourceImage, TargetImage, GrantedAccessScope it to lsass.exe and other core targets to keep volume manageable
Sysmon25 ProcessTamperingImageRaised when process image changes such as hollowing are detected
System logWininit event 12Protection level for LSASSConfirms LSA protection at each boot
CodeIntegrity Operational3065, 3066 (audit), 3033, 3063 (enforced)Driver or plug-in loaded into LSAShows non-compliant LSA plug-ins before and after enforcing protection

Collecting these centrally is covered in the Windows Event Forwarding Guide and the Sysmon Guide. Microsoft's 4688 guidance also recommends alerting on executables outside a defined list or running from non-standard folders, which is the baseline approach in policy form.

How to build and roll out the baseline

  1. Collect first: enable 4688 with command line, or Sysmon event 1, on a pilot ring that covers each build you run (Windows 11 releases, Server 2019, 2022, 2025, VDI images). Without the creation-time parent, ancestry checks are guesswork.
  2. Snapshot known-good hosts: on freshly built reference machines, record image, parent, path, account, signer and count for each core process. tasklist /v /svc /fo csv or Get-CimInstance Win32_Process (which exposes ParentProcessId, ExecutablePath and CommandLine) are adequate for a snapshot; label them as sample baselines, not production truth.
  3. Compare with fleet data: run frequency counts across the pilot (stack counting): for each core process name, group by path, parent and signer. Rare combinations are your first review queue; common ones from agents or virtualisation tools become documented exceptions.
  4. Write rules in audit mode: start with parent rules for smss.exe, wininit.exe, services.exe, lsass.exe and svchost.exe, the path anomaly rule, and the svchost no-argument rule. Route hits to a review queue, not an incident queue, for two to four weeks.
  5. Tune with named exceptions: add each exception by full path and signer, never by name alone, and record the owner and reason. Elastic's rule, for example, allows specific helper binaries as smss.exe children; your estate will have its own.
  6. Promote and test: move tuned rules to alerting, and test them in a lab with a benign renamed copy of a harmless binary placed in a user folder to confirm the alert fires end to end.
  7. Roll back cleanly: if a Windows update or new agent floods a rule, revert that rule to audit mode instead of deleting it, and refresh the baseline from a patched reference host.

Decision guidance: which checks to run where

SituationPrioritiseTrade-off
Small organisation with Defender or another EDR and no SIEMThe EDR's built-in parent-child and LSASS access detections; LSA protection on; periodic tasklist /svc spot checks on serversLittle custom tuning effort, but limited visibility into why an alert fired
Mid-size SOC with a SIEM4688 with command line everywhere, Sysmon on servers and admin workstations, the parent, path and svchost argument rulesLog volume; filter Sysmon event 10 to core targets
Large or regulated estatePer-build baselines, stack counting across the fleet weekly, signer checks, hunts on look-alike namesNeeds ownership of the exception list and a change process for new builds
Incident triage on a single hostLive process list with path, parent, account and command line; compare with the reference table; check lsass.exe handlesLive tools can be lied to by kernel-level malware, so confirm with memory or offline analysis where stakes are high

Detection and measurement

  • Coverage: percentage of Windows endpoints sending process creation events with parent image and command line. Aim for every server and admin workstation first.
  • Baseline freshness: days since each build's baseline was refreshed; refresh after each feature update.
  • Rule precision: share of core process alerts that are true positives or useful findings after tuning; a falling rate means exceptions need review.
  • Exception hygiene: number of exceptions with no owner or reason, which should be zero.
  • LSA protection rate: percentage of hosts logging Wininit event 12 at last boot.
  • Time to triage: median minutes from a parent or path anomaly alert to a decision.

Common failure patterns

  • Trusting the name column. Analysts scanning Task Manager see svchost.exe and move on. Always add path, parent and account columns, or use tools that show them.
  • Alerting on the current parent PID. csrss.exe, wininit.exe, winlogon.exe and explorer.exe have exited parents by design. Rules built on live parent lookups either flood or get disabled; use creation-time parent data.
  • Exceptions by file name. Allowing "svchost.exe" or "agent.exe" anywhere recreates the gap masquerading exploits. Scope exceptions to full path and signer.
  • One baseline for every build. A 2 GB VDI image groups services; a 32 GB workstation separates them. A single count threshold will be wrong for one of them.
  • Ignoring injected genuine processes. A hollowed svchost.exe passes path and parent checks. Pair the baseline with behaviour signals such as Sysmon events 8, 10 and 25 and unexpected network connections; see the T1055 Process Injection Defensive Guide.
  • Not collecting command lines. Event 4688 command line is empty by default, which hides the svchost -k check entirely.

Where identity fits

Every core process runs as a machine identity. services.exe launches each service under an account, and svchost.exe instances run as LocalSystem, LocalService or NetworkService unless configured otherwise. A service running as a named domain user, or a core process running under an interactive user, is both a masquerading signal and a non-human identity finding. Elastic's investigation guidance for parent-child anomalies includes listing services that run under accounts other than the built-in ones for exactly this reason. New or changed services are covered in the T1543 Create or Modify System Process Defensive Guide.

Framework mapping

FrameworkReferenceHow the baseline supports it
MITRE ATT&CKT1036.005 Match Legitimate Resource Name or Location; T1036.003 Rename Legitimate Utilities; T1036.004 Masquerade Task or ServicePath, parent and signer checks expose impostors
MITRE ATT&CKT1055 Process Injection; T1055.012 Process Hollowing; T1003.001 LSASS MemoryBehaviour signals on genuine core processes
MITRE D3FENDD3-PLA Process Lineage Analysis; D3-PSA Process Spawn AnalysisParent-child rules are lineage and spawn analysis
NIST SP 800-53 Rev. 5SI-4 System Monitoring; AU-12 Audit Record Generation; CM-7 Least Functionality; CM-8 System Component InventoryProcess creation logging, monitoring against a defined normal, and knowing which services should run
NIST CSF 2.0DE.CM-09; DE.AE-02Monitoring runtime environments and analysing adverse events
CIS Controls v8.1Control 2 Inventory and Control of Software Assets; Control 8 Audit Log ManagementKnown software baseline and process logging
ISO/IEC 27001:2022 Annex AA.8.15 Logging; A.8.16 Monitoring activitiesLogging and monitoring for anomalous behaviour

For hunting renamed system utilities rather than core processes, see How to Hunt for Living-off-the-Land Binary Abuse.

Practitioner checklist

  • Enable Audit Process Creation and "Include command line in process creation events", or deploy Sysmon event 1, on every server and admin workstation.
  • Build a per-build reference table of core process path, parent, account, signer and count from clean hosts.
  • Deploy parent rules for smss.exe, wininit.exe, services.exe, lsass.exe and svchost.exe, in audit mode first.
  • Deploy a path anomaly rule for core system binaries outside System32, SysWOW64 and WinSxS.
  • Alert on svchost.exe started without a -k service group argument.
  • Alert on a second lsass.exe, lsass.exe with child processes, and unexpected handle access to lsass.exe.
  • Turn on LSA protection and track Wininit event 12 across the fleet.
  • Scope every exception to full path and signer, with an owner and review date.
  • Refresh baselines after each Windows feature update or new security agent rollout.

Standards and references

Related NHI Mgmt Group resources: T1036 Masquerading Defensive Guide · Windows Internals for Defenders Guide · Sysmon Guide · LSA Protection (RunAsPPL) Guide · D3-PLA Process Lineage Analysis

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.