Brandon Mesa
07/05/2023, 6:20 PMBrad Girardeau
07/05/2023, 6:38 PMsocket_events
table should work for this - you can read about setting it up in the docs here.
You might want some additional flags to only turn on this audit subsystem for network events (not process, file, and user events):
"disable_audit": false,
"audit_allow_config": true,
"audit_allow_sockets": true,
"audit_allow_process_events": false,
"audit_allow_user_events": false,
"audit_allow_fim_events": false
That's because this "audit" system is deprecated on macOS in favor of endpoint security framework (see the es_
tables). But for network events, osquery doesn't support them using endpoint security framework yet.Brian Bergstrand
07/05/2023, 6:55 PMBrad Girardeau
07/05/2023, 7:04 PMBrian Bergstrand
07/05/2023, 7:04 PMBrandon Mesa
07/05/2023, 7:53 PM