Windows Security log
4688 A new process has been created.
A process started. The command line is only included when the policy "Include command line in process creation events" is on, which is why many SOCs rely on Sysmon event 1 instead.
- SecurityLog
- Microsoft-Windows-Security-AuditingSource
- Audit Process CreationAudit policy
- 2Cases and alerts that use it
Fields to read
| Field | What it tells you |
|---|---|
NewProcessName | The program that started. |
CommandLine | Its arguments (with the policy on). |
ParentProcessName | The program that started it. |
SubjectUserName | The account. |
TokenElevationType | %%1936 full token (UAC off or built-in admin), %%1937 elevated, %%1938 limited. |
Normal
- Thousands per hour on every host: installers, updaters, scripts by IT.
Suspicious
- Office, a PDF reader or a browser starting cmd.exe, PowerShell or a script host.
- PowerShell with -enc or a download cradle; certutil, mshta or rundll32 with a URL.
Find it
Microsoft Sentinel (KQL)
SecurityEvent
| where EventID == 4688Splunk (SPL)
index=wineventlog source="XmlWinEventLog:Security" EventCode=4688Table, index and source names as CyberSim uses them; your workspace may name them differently.
Where you meet it in CyberSim
Cases
- VPN account brute forced, admin access to file server Advanced · Network
Alerts in the shift
- Encoded PowerShell spawned by Office
In the glossary
Other Security events
- 4624 An account was successfully logged on.
- 4625 An account failed to log on.
- 4634 An account was logged off.
- 4661 A handle to an object was requested.
- 4662 An operation was performed on an object.
- 4663 An attempt was made to access an object.
- 4672 Special privileges assigned to new logon.
- 4698 A scheduled task was created.
- 4720 A user account was created.
- 4728 A member was added to a security-enabled global group.
- 4768 A Kerberos authentication ticket (TGT) was requested.
- 4769 A Kerberos service ticket was requested.
- 4886 Certificate Services received a certificate request.
- 4887 Certificate Services approved a certificate request and issued a certificate.
- 5136 A directory service object was modified.
- 5145 A network share object was checked to see whether client can be granted desired access.
- 6416 A new external device was recognized by the System.
Source: Microsoft Learn: event 4688