Windows Event ID · Security log

Event ID 4688: A new process has been created

Written every time a program starts, when Audit Process Creation is enabled. With the "include command line" policy on, it records the full command line, which makes it one of the most valuable events for finding what an attacker ran.

Key fields

New Process Name
The program that started.
Process Command Line
Everything typed after it (needs the extra policy).
Creator Process Name
The parent program.
Token Elevation Type
Whether it ran with full admin rights.

What looks suspicious

  • Office, wscript or mshta starting cmd or PowerShell.
  • powershell -enc, -nop, -w hidden, IEX.
  • Programs running from Temp, AppData or ProgramData.
  • vssadmin delete shadows, wevtutil cl, comsvcs.dll MiniDump.

Practise with real logs

These labs give you an .evtx file where Event ID 4688 is part of the story.

Related Event IDs

Questions people ask

What is Event ID 4688?

Event ID 4688 (Security log) means "A new process has been created". Written every time a program starts, when Audit Process Creation is enabled. With the "include command line" policy on, it records the full command line, which makes it one of the most valuable events for finding what an attacker ran.

What should I look for in Event ID 4688?

Office, wscript or mshta starting cmd or PowerShell. powershell -enc, -nop, -w hidden, IEX. Programs running from Temp, AppData or ProgramData. vssadmin delete shadows, wevtutil cl, comsvcs.dll MiniDump.

Full field reference: the Windows Security Log Encyclopedia and Microsoft's documentation. Back to the Event ID cheat sheet.