threathunters-io / laurel

Transform Linux Audit logs for SIEM usage
GNU General Public License v3.0
707 stars 56 forks source link

Deal better with proceess ID recycling #146

Closed hillu closed 12 months ago

hillu commented 1 year ago

Laurel keeps information in the shadow process table around for processes that are still alive or that are ancestors of processeses that are alive. Currently, it only keeps only information for one process per PID around.

Let's consider the following scenario:

This could be fixed by adding timing information (=start of process) to the shadow process table.

hillu commented 1 year ago

A variant:

hillu commented 1 year ago

168 demonstrates another issue spotted in production.