4688 Security log · Detailed Tracking medium severity very-high volume

Windows Event ID 4688 — A new process has been created

New process created. Key fields: NewProcessName, ParentProcessName, CreatorSubjectUserName, CommandLine (requires 'Include command line in process creation events' policy — MUST enable).

Why event 4688 matters

Invaluable with command-line logging enabled. Detects: Office apps spawning cmd/PowerShell (phishing), LOLBins (certutil, mshta, regsvr32, wmic, msiexec), encoded PowerShell (-enc, -EncodedCommand), lateral movement tools (PsExec pattern), credential dumping (procdump, comsvcs.dll). Without command-line logging, value drops significantly.

How to detect it

MUST ENABLE: Computer Config > Policies > Admin Templates > System > Audit Process Creation > Include command line. Alert: Office apps spawning cmd/powershell/wscript/mshta. Alert: -enc or -EncodedCommand in CommandLine. Alert: certutil -urlcache or -decode. Alert: processes running from %TEMP%, %APPDATA%, or user profile paths.

Log source
Security
Advanced Audit Policy — enable the 'Detailed Tracking' subcategory (Success and/or Failure).
Fields to pivot on
NewProcessNameCommandLineParentProcessNameSubjectUserNameTokenElevationType

MITRE ATT&CK mapping

Tactic Technique
Execution Command and Scripting Interpreter (T1059)
Defense Evasion System Binary Proxy Execution (T1218)

Detection queries

Starting points — adapt the log source, projected fields and thresholds for your environment.

Sigma rule
title: Office Application Spawning Suspicious Child Process
status: stable
description: Office app spawning command interpreter — phishing/macro indicator
author: theadminstack.com
date: 2026/05/16
logsource:
    product: windows
    service: security
    definition: Requires command-line audit policy enabled
detection:
    selection_parent:
        EventID: 4688
        ParentProcessName|endswith:
            - '\\winword.exe'
            - '\\excel.exe'
            - '\\powerpnt.exe'
            - '\\outlook.exe'
    selection_child:
        NewProcessName|endswith:
            - '\\cmd.exe'
            - '\\powershell.exe'
            - '\\wscript.exe'
            - '\\cscript.exe'
            - '\\mshta.exe'
            - '\\wmic.exe'
    condition: selection_parent and selection_child
falsepositives:
    - Legitimate macros and add-ins
level: high
tags:
    - attack.execution
    - attack.t1059
    - attack.initial_access
Sentinel / Defender KQL
SecurityEvent
| where EventID == 4688   // A new process has been created
| project TimeGenerated, Computer, NewProcessName, CommandLine, ParentProcessName, SubjectUserName, TokenElevationType
| sort by TimeGenerated desc
Splunk SPL
index=* sourcetype="WinEventLog:Security" EventCode=4688
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count   `# A new process has been created — add EventData fields: NewProcessName, CommandLine, ParentProcessName, SubjectUserName`
Hunt event 4688 in Sentinel/Defender →
Build a KQL query for this event in the KQL Query Builder.
Search all event IDs →
Open the interactive Windows Event ID lookup.

Related Detailed Tracking events

4689 A process has exited

Frequently asked questions

What is Windows Event ID 4688?

A new process has been created. New process created. Key fields: NewProcessName, ParentProcessName, CreatorSubjectUserName, CommandLine (requires 'Include command line in process creation events' policy — MUST enable).

Which log records event 4688?

Event 4688 is written to the Security channel by Microsoft-Windows-Security-Auditing. Advanced Audit Policy — enable the 'Detailed Tracking' subcategory (Success and/or Failure).

What MITRE ATT&CK techniques map to event 4688?

Event 4688 is associated with: Command and Scripting Interpreter (T1059), System Binary Proxy Execution (T1218).

How do you detect activity around event 4688?

MUST ENABLE: Computer Config > Policies > Admin Templates > System > Audit Process Creation > Include command line. Alert: Office apps spawning cmd/powershell/wscript/mshta. Alert: -enc or -EncodedCommand in CommandLine. Alert: certutil -urlcache or -decode. Alert: processes running from %TEMP%, %APPDATA%, or user profile paths.