> For the complete documentation index, see [llms.txt](https://wongkenny240.gitbook.io/computerforensics/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wongkenny240.gitbook.io/computerforensics/memory-analysis/process.md).

# Process

## Critical System Processes

* Idle and System:&#x20;
  * These are not real processes (in the sense that they have no corresponding executable on disk).&#x20;
  * Idle is just a container that the kernel uses to charge CPU time for idle threads.&#x20;
  * System serves as the default home for threads that run in kernel mode. Thus, the System process (PID 4) appears to own any sockets or handles to files that kernel modules open.
* **csrss.exe**:&#x20;
  * The client/server runtime subsystem plays a role in **creating** and **deleting processes and threads**. It maintains a private list of the objects that you can use to cross-reference with other data sources.&#x20;
  * On systems before Windows 7, this process also served as the broker of commands executed via cmd.exe, so you can **extract command history** from its memory space.&#x20;
  * Expect to see **multiple CSRSS processes** because each session gets a dedicated copy; however, watch out for attempts to exploit the naming convention (csrsss.exe or cssrs.exe).&#x20;
  * Located in the **system32** directory.&#x20;
* **services.exe**:&#x20;
  * The Service Control Manager (SCM) manages Windows services and maintains a list of such services in its private memory space.&#x20;
  * **Parent** for any **svchost.exe** (service host) instances and processes such as **spoolsv.exe** and **SearchIndexer.exe** that implement services.&#x20;
  * There should be only **one** copy of **services.exe** on a system
  * Should be running from the **system32** directory.
* **svchost.exe**:&#x20;
  * A clean system has multiple shared host processes running concurrently, each providing a container for DLLs that implement services.   *Their **parent** should be **services.exe**, and the path to their executable should point to the \*system32* directory.&#x20;
  * A few of the common names (such as scvhost.exe and svch0st.exe) can be used by malware to blend in with these processes.
* **lsass.exe**:&#x20;
  * The local security authority subsystem process is responsible for enforcing the security policy, verifying passwords, and creating access tokens. As such, it’s often the target of code injection because the **plaintext password hashes** can be found in its private memory space.&#x20;
  * There should be only **one instance** of **lsass.exe** running from the **system32** directory
  * Its **parent** is **winlogon.exe** on **pre-Vista machines**, and **wininit.exe** on **Vista and later systems**.&#x20;
  * Stuxnet created two fake copies of lsass.exe, which caused them to stick out like a sore thumb.
* **winlogon.exe**:&#x20;
  * This process presents the interactive logon prompt, initiates the screen saver when necessary, helps load user profiles, and responds to Secure Attention Sequence (SAS) keyboard operations such as CTRL+ALT+DEL.&#x20;
  * This process monitors files and directories for changes on systems that implement Windows File Protection (WFP).&#x20;
  * Its executable is located in the **system32** directory.
* **explorer.exe**:&#x20;
  * **One** Windows Explorer process for each logged-on user.&#x20;
  * It is responsible for handling a variety of user interactions such as GUI-based folder navigation, presenting the start menu, and so on.&#x20;
  * It also has access to sensitive material such as the documents you open and credentials you use to log in to FTP sites via Windows Explorer.
* **smss.exe**:&#x20;
  * The session manager is the first real user-mode process that starts during the boot sequence.&#x20;
  * It is responsible for creating the sessions that isolate OS services from the various users who may log on via the console or Remote Desktop Protocol (RDP).

![](/files/-LvPO4ZbUeduv5oOXwsb)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wongkenny240.gitbook.io/computerforensics/memory-analysis/process.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
