Process logging is the recording of program executions and shell activity so security teams can review what ran, when it ran, and under which account. Good logs often include the command line, parent and child processes, exit status, and timestamps. In Unix-like systems this can come from auditd, shell history, EDR tools, or centralized monitoring.
It matters because many attacks are visible first as process behavior: a suspicious script launching PowerShell, a renamed binary spawning a shell, or a burst of short-lived commands used for discovery, credential access, or persistence. Defenders use process logs to build baselines, correlate activity with authentication and file events, and spot unusual command sequences. Process logging is strongest when paired with least privilege and alerting, because it turns routine terminal work into evidence that can be reviewed during incident response.


