You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auditbeat's system/socket dataset can return truncated process names in two scenarios:
When the table of running processes its bootstrapped during startup, the "comm" field of /proc/<pid>/stat is used as the process name. This value is truncated to 15 chars by the kernel (TASK_COMM_LEN=16).
To align with the rest of the system/socket code, the filename extracted from the executable path should be used.
When an execve event is received, the length of the executable path and program arguments is limited to 128 characters each. When path is truncated, the wrong process name will be extracted from it.
As a suggestion, we could detect this truncation and do an alternative enrichment from /proc/<pid>/.
The text was updated successfully, but these errors were encountered:
Auditbeat's system/socket dataset can return truncated process names in two scenarios:
/proc/<pid>/stat
is used as the process name. This value is truncated to 15 chars by the kernel (TASK_COMM_LEN=16).To align with the rest of the
system/socket
code, the filename extracted from the executable path should be used.Example document:
execve
event is received, the length of the executable path and program arguments is limited to 128 characters each. When path is truncated, the wrong process name will be extracted from it.As a suggestion, we could detect this truncation and do an alternative enrichment from
/proc/<pid>/
.The text was updated successfully, but these errors were encountered: