Hello,
Let's say I have several opened user sessions in parallel. Endpoint Security notify about executing a process (ES_EVENT_TYPE_NOTIFY_EXEC) and provide audit token. The goal is to find relationship between logged-in users and new process.
Can I use audit user ID for this?
Thank you in advance.
What is the audit user ID?
It’s a uid_t
value that, when a message is sent via Mach IPC [1] tracks the origin of the message. It’s not useful outside of that context.
Is this value which is assigned to a user upon login and is inherited by every process he starts in the session?
No.
The closest thing with those semantics is the audit session ID (audit_token_to_asid
).
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
[1] And hence things layered on top of Mach messaging, most notably XPC.