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
tetragon/windows: add uid to exec events in Windows
This commit consumes the changes made in process_monitor.c program to
send the user's login id as a part of exec event. This id is also
enumerated for existing processes during enumeration when tetragon
starts.
This uid is a unique Login Identifier extracted from user's token, and
is same as Token AuthenticationId field of TOKEN_STATISTICS structure,
available when token is queried with TokenStatistics information class.
This Authetication Id can be used to retrieve back the token, sid, user
name etc. fields using the win32 API LsaGetLogonSessionData()
Since the Login ID as a uint64 is unique per user, and is different
between privileged and non-privileged sessions of the same user, it
seems to be a good proxy for uid field in exec event.
Signed-off-by: Anadi Anadi<[email protected]>
0 commit comments