Sysmon · Defense evasion
Sysmon 8 · CreateRemoteThread detected
Sysmon Event ID 8 records one process creating a thread inside another process, the final step of classic process injection. Legitimate cross-process threads are uncommon outside debuggers, AV and some system components, so a script host or unsigned binary injecting into explorer.exe, lsass.exe or svchost.exe is a high-fidelity alert.
Where it is logged
Microsoft-Windows-Sysmon/Operational on endpoints and servers. The config must enable CreateRemoteThread; most configs log it broadly with exclusions for known-good sources. It does not catch injection techniques that avoid CreateRemoteThread (e.g. APC queueing or thread hijacking).Key fields to read
| Field | What it tells you |
|---|---|
| SourceImage | Process that created the remote thread (the injector). |
| TargetImage | Process receiving the thread (the injection target). |
| StartAddress | Memory address where the new thread starts. |
| StartModule | Module containing the start address; empty or unknown suggests shellcode in unbacked memory. |
| StartFunction | Exported function at the start address, e.g. LoadLibraryA (DLL injection). |
| SourceUser | Account context of the injecting process; TargetUser gives the target (newer Sysmon versions). |
Sample event
Log Name: Microsoft-Windows-Sysmon/Operational
EventID: 8
UtcTime: 2026-11-19 10:28:10.771
Computer: NW-FIN-WS07.northwind.local
SourceProcessId: 7412
SourceImage: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
TargetProcessId: 4120
TargetImage: C:\Windows\explorer.exe
NewThreadId: 9184
StartAddress: 0x00000214A3B60000
StartModule: -
StartFunction: -
SourceUser: NORTHWIND\l.brandt
TargetUser: NORTHWIND\l.brandtHow to triage it
- 1Assess
SourceImage: is it a known security product, debugger or system component, or a script host / unsigned binary from a user path? - 2Assess
TargetImage:lsass.exe,explorer.exe,svchost.exe,rundll32.exeand browsers are common injection targets. - 3Check
StartModule/StartFunction: empty values (thread starts in unbacked memory) suggest shellcode;LoadLibrarysuggests DLL injection. - 4Pivot to Sysmon 1 for how the source started, and to Sysmon 3/22 for the target process making new network connections afterwards.
- 5Isolate the host if injection is confirmed and collect a memory image if your process allows.
Benign vs suspicious
Usually benign
- AV/EDR agents and accessibility or input tools that hook other processes.
- Windows components such as
csrss.exeorwininit.execreating threads in other processes during normal operation. - Debuggers and developer tooling on engineering workstations.
Red flags
powershell.exe,rundll32.exe,mshta.exeor Office processes creating threads inexplorer.exeorsvchost.exe.- Any non-security process creating a thread in
lsass.exe. StartModuleempty or-, meaning the thread starts in memory not backed by a file (shellcode).- Target process starts beaconing to an external IP right after the injection.
Hunt for it: Splunk & KQL
index=sysmon EventCode=8
(TargetImage="*\\lsass.exe" OR TargetImage="*\\explorer.exe" OR TargetImage="*\\svchost.exe")
NOT (SourceImage="*\\MsMpEng.exe" OR SourceImage="*\\csrss.exe" OR SourceImage="*\\wininit.exe")
| table _time, host, SourceImage, TargetImage, StartModule, StartFunction, SourceUser// Defender for Endpoint DeviceEvents: CreateRemoteThread into high-value targets
DeviceEvents
| where Timestamp > ago(7d)
| where ActionType == "CreateRemoteThreadApiCall"
| where FileName in~ ("lsass.exe", "explorer.exe", "svchost.exe")
| where InitiatingProcessFileName !in~ ("MsMpEng.exe", "csrss.exe", "wininit.exe", "services.exe")
| project Timestamp, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessIdField names depend on your add-on and table. More translations in the Splunk vs KQL cheat sheet.
Interview question
“What is process injection and how does Sysmon Event 8 help detect it?”
✓ Strong answer sketch
Process injection is running attacker code inside another, usually trusted, process to hide activity and inherit its privileges or network access. A common sequence is open the target, allocate memory, write the payload, then call CreateRemoteThread to execute it, and Sysmon 8 captures that last step with SourceImage and TargetImage. I look for script hosts or unsigned binaries targeting processes like explorer.exe or lsass.exe, and for an empty StartModule, which means the thread begins in unbacked memory. Since some techniques avoid CreateRemoteThread, I also use Sysmon 10 process access and EDR memory detections to cover the gap.
Frequently asked questions
Does Sysmon Event 8 detect all process injection?
No. It only sees CreateRemoteThread-style thread creation. Techniques like APC injection, thread hijacking or process hollowing may not generate it, so combine it with Sysmon 10 and EDR telemetry.
Why is StartModule empty in Sysmon 8?
The thread's start address is in memory not mapped from a file on disk, which is typical of injected shellcode.