Windows Event IDs for Process Execution Monitoring
Catching malicious execution means capturing the command line, the parent process and the image that ran. Security 4688 and Sysmon event 1 are the two core records; PowerShell script block logging and the Sysmon image-load, process-access and remote-thread events fill in the techniques that hide inside legitimate processes.
4688Security
A new process has been createdProcess creationSysmon 1Sysmon
Process creationProcess creation4104PowerShell
Creating Scriptblock textScript block loggingSysmon 7Sysmon
Image loadedImage (DLL) loadedSysmon 8Sysmon
CreateRemoteThreadRemote thread createdSysmon 10Sysmon
ProcessAccessProcess accessed