csrss.exe

Overview

csrss.exe (Client Server Runtime Subsystem) is a critical Windows subsystem process responsible for managing console windows, thread creation, process termination notifications, and certain Win32 subsystem operations.

Expected location:

Expected parent:

Typical profile:

Why This Matters

csrss.exe is essential to system stability. Interference often results in system crashes or forced reboots.

Attackers rarely interact with csrss.exe unless attempting masquerading, injection, or high-impact tampering.

Common ATT&CK techniques associated with observed anomalies include:

Any anomaly involving csrss.exe should be treated as a high-fidelity signal.

Investigation Objective

Determine whether observed csrss.exe activity:

Because csrss.exe is such a stable process, even minor anomalies can be significant.

Normal Behaviour

Characteristics

Path

Parent

Signature

Instances

Children

Typical Activity

Expected Behavioural Characteristics

In most environments, csrss.exe exhibits extremely consistent behaviour.

Abuse Patterns

Path or Signature Mismatch

Investigate immediately if:

A csrss.exe instance outside System32 should be considered malicious.

Unexpected Instance Counts

Investigate:

Unexpected csrss.exe population often indicates either visibility issues or serious system anomalies.

Unexpected Child Processes

csrss.exe should never spawn child processes.

Investigate any child process, including:

powershell.exe

cmd.exe

wscript.exe

cscript.exe

rundll32.exe

mshta.exe

Any child process should be treated as a potential compromise indicator.

Injection Indicators

Investigate:

Because attackers rarely interact directly with csrss.exe, confirmed injection activity is particularly significant.

Crash Correlation

Investigate whenever:

especially when correlated with csrss.exe anomalies.

Defensive Exceptions

There are very few legitimate reasons for third-party software to interact directly with csrss.exe.

Unexpected activity should generally be treated as suspicious until proven otherwise.

Detection Opportunities

Process Lineage Monitoring

Validate:

The parent should always be smss.exe.

Unexpected lineage is a strong investigation trigger.

Instance Count Monitoring

Track:

Unexpected increases or decreases may highlight compromised visibility or process tampering.

Child Process Monitoring

Alert on:

Legitimate environments should rarely, if ever, produce these events.

Module and DLL Monitoring

Investigate:

Because csrss.exe typically loads only trusted Microsoft components, unusual modules can be high-confidence indicators.

Injection Detection

Monitor for:

High-confidence detections generally come from behavioural indicators rather than simple process monitoring.

Hunting Opportunities

Useful hunting pivots include:

Focus on anomalies. csrss.exe should demonstrate very little behavioural variation over time.

False Positives

False positives are rare due to the limited and highly consistent behaviour of csrss.exe.

Common Legitimate Scenarios

Telemetry Attribution Issues

Examples include:

Partial Telemetry

Examples include:

These may produce duplicate or inaccurate reporting.

Validation Questions

Check:

Confirm that reported anomalies exist across multiple data sources before escalating.

Hardening Recommendations

Protect Critical System Processes

Ensure controls are in place to detect:

csrss.exe should be included in any monitoring of high-value Windows processes.

Application Control

Consider:

Preventing execution of unauthorised software reduces opportunities for process tampering.

Maintain High-Quality Telemetry

Monitor:

Reliable telemetry is essential because csrss.exe investigations are commonly driven by anomalies rather than volume.

Monitor Critical Process Chain Integrity

Maintain visibility into:

Unexpected relationships between these processes should trigger investigation.

Defensive Validation

Regularly validate:

Testing should focus on realistic tampering scenarios involving critical Windows processes.

Triage Checklist

Identity and Integrity Checks

Behaviour Checks

Injection Checks

Context and Scope

ATT&CK References

Windows Processes

Session Management

MITRE ATT&CK