I'm currently working on a branch (will submit a PR soon) to add pgrp to the execve event so we can relate events that executed with pipe (like ps -ef | grep bash).
While doing so I noticed that the threadinfo have a field m_sid that is only set during setuid syscall so I was thinking to extract the sid value in execve events what do you think?
(I believe that this could help in chisels like spy_users & list_login_shells)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm currently working on a branch (will submit a PR soon) to add
pgrp
to the execve event so we can relate events that executed with pipe (likeps -ef | grep bash
).While doing so I noticed that the
threadinfo
have a fieldm_sid
that is only set duringsetuid
syscall so I was thinking to extract thesid
value in execve events what do you think? (I believe that this could help in chisels likespy_users
&list_login_shells
)