Endpoint Security ESF

148 Endpoint Security (ESF) event types. macOS identifies endpoint telemetry by ES event type (e.g. ES_EVENT_TYPE_AUTH_EXEC), not by a numbered event log.

Grouped by functional domain. Kernel-level event types use Apple's own es_events_t documentation sections; the user-space security events Apple does not place in a documentation section are grouped by their es_event_<family>_* struct family, listed below under Catalog groupings. The AUTH/NOTIFY action and the introduced-in-macOS version are the only hard axes.

Apple documentation sections

File System Events 23 types

File open, close, create, write, rename, clone, copy, truncate, lookup, and access operations.

File Metadata Events 27 types

Reads and changes of file metadata: mode, owner, ACLs, extended attributes, flags, timestamps, and directory listings.

Event typeAUTH/NOTIFYIntroducedTitleSample
ES_EVENT_TYPE_NOTIFY_SETATTRLISTNOTIFY10.15Set Attribute List (NOTIFY)N
ES_EVENT_TYPE_NOTIFY_SETEXTATTRNOTIFY10.15Set Extended Attribute (NOTIFY)Y
ES_EVENT_TYPE_NOTIFY_SETFLAGSNOTIFY10.15Set File Flags (NOTIFY)N
ES_EVENT_TYPE_NOTIFY_SETMODENOTIFY10.15Set File Mode (NOTIFY)N
ES_EVENT_TYPE_NOTIFY_SETOWNERNOTIFY10.15Set File Owner (NOTIFY)N
ES_EVENT_TYPE_AUTH_SETATTRLISTAUTH10.15Set Attribute List (AUTH)N
ES_EVENT_TYPE_AUTH_SETEXTATTRAUTH10.15Set Extended Attribute (AUTH)Y
ES_EVENT_TYPE_AUTH_SETFLAGSAUTH10.15Set File Flags (AUTH)N
ES_EVENT_TYPE_AUTH_SETMODEAUTH10.15Set File Mode (AUTH)N
ES_EVENT_TYPE_AUTH_SETOWNERAUTH10.15Set File Owner (AUTH)N
ES_EVENT_TYPE_AUTH_GETATTRLISTAUTH10.15.1Get Attribute List (AUTH)Y
ES_EVENT_TYPE_NOTIFY_GETATTRLISTNOTIFY10.15.1Get Attribute List (NOTIFY)Y
ES_EVENT_TYPE_NOTIFY_STATNOTIFY10.15.1File Stat (NOTIFY)Y
ES_EVENT_TYPE_AUTH_UTIMESAUTH10.15.1File Timestamp Modify (AUTH)N
ES_EVENT_TYPE_NOTIFY_UTIMESNOTIFY10.15.1File Timestamp Modify (NOTIFY)N
ES_EVENT_TYPE_AUTH_GETEXTATTRAUTH10.15.1Get Extended Attribute (AUTH)Y
ES_EVENT_TYPE_NOTIFY_GETEXTATTRNOTIFY10.15.1Get Extended Attribute (NOTIFY)Y
ES_EVENT_TYPE_AUTH_LISTEXTATTRAUTH10.15.1List Extended Attributes (AUTH)Y
ES_EVENT_TYPE_NOTIFY_LISTEXTATTRNOTIFY10.15.1List Extended Attributes (NOTIFY)Y
ES_EVENT_TYPE_AUTH_READDIRAUTH10.15.1Read Directory (AUTH)Y
ES_EVENT_TYPE_NOTIFY_READDIRNOTIFY10.15.1Read Directory (NOTIFY)Y
ES_EVENT_TYPE_AUTH_DELETEEXTATTRAUTH10.15.1Delete Extended Attribute (AUTH)N
ES_EVENT_TYPE_NOTIFY_DELETEEXTATTRNOTIFY10.15.1Delete Extended Attribute (NOTIFY)N
ES_EVENT_TYPE_AUTH_FSGETPATHAUTH10.15.1Filesystem Path Retrieve (AUTH)Y
ES_EVENT_TYPE_NOTIFY_FSGETPATHNOTIFY10.15.1Filesystem Path Retrieve (NOTIFY)Y
ES_EVENT_TYPE_AUTH_SETACLAUTH10.15.1Set File ACL (AUTH)N
ES_EVENT_TYPE_NOTIFY_SETACLNOTIFY10.15.1Set File ACL (NOTIFY)N

File Provider Events 4 types

File Provider extension materialization and update of placeholder items.

File System Mounting Events 5 types

Filesystem mount, unmount, and remount.

Memory Mapping Events 4 types

Mapping a file into memory and changing page protections (writable-to-executable transitions).

Process Events 12 types

Process execution, fork, exit, signalling, process inspection, and chdir/chroot.

Interprocess Events 4 types

Cross-process actions: suspend/resume, ptrace-style tracing, and remote thread creation.

Task Port Events 6 types

Acquisition of another process's Mach task port (control, name, read, inspect).

User and Group ID Events 6 types

Real and effective user- and group-ID changes (privilege transitions).

Code Signing Events 1 type

Invalidation of a running process's dynamic code signature.

Event typeAUTH/NOTIFYIntroducedTitleSample
ES_EVENT_TYPE_NOTIFY_CS_INVALIDATEDNOTIFY11.0Code Signature InvalidatedN

Socket Events 4 types

UNIX-domain socket bind and connect. (ESF has no IP network-connection event.)

Clock Events 2 types

System clock changes.

Event typeAUTH/NOTIFYIntroducedTitleSample
ES_EVENT_TYPE_AUTH_SETTIMEAUTH10.15.1Set System Time (AUTH)N
ES_EVENT_TYPE_NOTIFY_SETTIMENOTIFY10.15.1Set System Time (NOTIFY)N

Kernel Events 5 types

Kernel-extension load/unload and IOKit user-client open.

PTY Events 2 types

PTY grant and close.

Catalog groupings (events Apple does not document in a section)

OpenSSH Events 2 types

OpenSSH (sshd) login and logout, with authentication result and source address.

Event typeAUTH/NOTIFYIntroducedTitleSample
ES_EVENT_TYPE_NOTIFY_OPENSSH_LOGINNOTIFY13.0OpenSSH LoginN
ES_EVENT_TYPE_NOTIFY_OPENSSH_LOGOUTNOTIFY13.0OpenSSH LogoutN

XPC Events 1 type

XPC service connection requests.

Event typeAUTH/NOTIFYIntroducedTitleSample
ES_EVENT_TYPE_NOTIFY_XPC_CONNECTNOTIFY14.0XPC Service ConnectionY

Authentication Events 3 types

Local authentication attempts and the su / sudo privilege-elevation utilities.

Login Window Events 4 types

loginwindow GUI session login, logout, lock, and unlock.

Screen Sharing Events 2 types

Screen Sharing (VNC) session attach and detach.

Login Events 2 types

Console login(1) authentication login and logout.

Authorization Events 2 types

Security Authorization Services right petitions and the system's judgement.

Open Directory Events 13 types

Open Directory user/group creation, deletion, membership, password, and attribute changes.

XProtect Events 2 types

XProtect malware detection and remediation.

Background Task Management Events 2 types

Background Task Management (BTM) launch- and login-item add/remove (persistence).

Profile Events 2 types

Configuration-profile installation and removal.

Gatekeeper Events 1 type

User override of a Gatekeeper block to run quarantined software.

Event typeAUTH/NOTIFYIntroducedTitleSample
ES_EVENT_TYPE_NOTIFY_GATEKEEPER_USER_OVERRIDENOTIFY15.0Gatekeeper User OverrideN

TCC Events 1 type

Transparency, Consent & Control (TCC) privacy-permission changes.

Event typeAUTH/NOTIFYIntroducedTitleSample
ES_EVENT_TYPE_NOTIFY_TCC_MODIFYNOTIFY15.4TCC Privacy Permission ModifiedN

ES_EVENT_TYPE_AUTH_OPEN: File Open (AUTH)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before the kernel grants a process access to open a file. An active ESF client must respond with allow or deny (and optionally a narrowed flag mask via es_respond_flags_result) before the kernel proceeds. The payload carries the target file and the kernel-internal fflag mask (FREAD/FWRITE, not open(2) O_* values).

Fields #

NameDescription
fflagDesired access flags as a kernel-internal mask (FREAD, FWRITE, etc.) applied to the open; differs from userland open(2) O_* values.
filePointer to the es_file_t describing the file being opened, including path and stat metadata.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_OPEN), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "flags": 4294967295
        },
        "result_type": 1
      }
    },
    "action_type": 1,
    "event": {
      "open": {
        "fflag": 17825793,
        "file": {
          "path": "/usr/bin",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 0,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 524288,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 1152921500312571579,
            "st_mode": 16877,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 926,
            "st_rdev": 0,
            "st_size": 29632,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 10,
    "global_seq_num": 0,
    "mach_time": 8835601011736,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "FA63DE333AA28550138FB1ADAA1178B79503E032",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/endpointsecurityd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 168,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575149,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 264384,
          "st_uid": 0
        }
      },
      "group_id": 391,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 391,
      "signing_id": "com.apple.endpointsecurityd",
      "start_time": "2026-06-17T20:22:01.680633Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3669176
    },
    "time": "2026-06-22T23:22:48.825298069Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_RENAME: File Rename (AUTH)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before the kernel renames a file or directory. An active ESF client must respond before the kernel proceeds. The payload identifies the source file and the destination, which is either an existing file or a new path in a specified directory.

Fields #

NameDescription
sourcePointer to the es_file_t for the file or directory being renamed.
destination_typeIndicates whether the destination is an existing file (ES_DESTINATION_TYPE_EXISTING_FILE) or a new path (ES_DESTINATION_TYPE_NEW_PATH).
destination.existing_filePointer to the es_file_t for the existing destination file; valid when destination_type is ES_DESTINATION_TYPE_EXISTING_FILE.
destination.new_path.dirPointer to the es_file_t for the directory that will contain the renamed file; valid when destination_type is ES_DESTINATION_TYPE_NEW_PATH.
destination.new_path.filenameToken holding the new filename within the destination directory.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_RENAME), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "rename": {
        "destination": {
          "existing_file": {
            "path": "/Users/admin/Library/Application Support/Claude/Cache/Cache_Data/index-dir/the-real-index",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-06-22T23:22:47.008372154Z",
              "st_birthtimespec": "2026-06-22T23:22:47.008372154Z",
              "st_blksize": 4096,
              "st_blocks": 1904,
              "st_ctimespec": "2026-06-22T23:22:47.009320104Z",
              "st_dev": 16777232,
              "st_flags": 0,
              "st_gen": 0,
              "st_gid": 20,
              "st_ino": 55968312,
              "st_mode": 33152,
              "st_mtimespec": "2026-06-22T23:22:47.008775108Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 973512,
              "st_uid": 501
            }
          }
        },
        "destination_type": 0,
        "source": {
          "path": "/Users/admin/Library/Application Support/Claude/Cache/Cache_Data/index-dir/temp-index",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-06-22T23:23:16.989715491Z",
            "st_birthtimespec": "2026-06-22T23:23:16.989715491Z",
            "st_blksize": 4096,
            "st_blocks": 1904,
            "st_ctimespec": "2026-06-22T23:23:16.990115279Z",
            "st_dev": 16777232,
            "st_flags": 0,
            "st_gen": 0,
            "st_gid": 20,
            "st_ino": 55968359,
            "st_mode": 33152,
            "st_mtimespec": "2026-06-22T23:23:16.990115279Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 973512,
            "st_uid": 501
          }
        }
      }
    },
    "event_type": 25,
    "global_seq_num": 0,
    "mach_time": 8836276986391,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 91252,
        "pidversion": 295038,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "8E5D94DEC6DDDB609E2CF3C41FC526AE3674BED9",
      "codesigning_flags": 570495761,
      "cs_validation_category": 6,
      "executable": {
        "path": "/Applications/Claude.app/Contents/Frameworks/Claude Helper.app/Contents/MacOS/Claude Helper",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-06-22T21:36:23.015229786Z",
          "st_birthtimespec": "2026-06-18T13:11:10.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 920,
          "st_ctimespec": "2026-06-19T03:56:11.018160830Z",
          "st_dev": 16777232,
          "st_flags": 0,
          "st_gen": 0,
          "st_gid": 20,
          "st_ino": 55323983,
          "st_mode": 33261,
          "st_mtimespec": "2026-06-18T13:11:10.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 468432,
          "st_uid": 501
        }
      },
      "group_id": 91247,
      "is_es_client": false,
      "is_platform_binary": false,
      "original_ppid": 91247,
      "parent_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 91247,
        "pidversion": 295029,
        "rgid": 20,
        "ruid": 501
      },
      "ppid": 91247,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 91247,
        "pidversion": 295029,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "com.anthropic.claudefordesktop.helper",
      "start_time": "2026-06-22T21:36:20.466127Z",
      "team_id": "Q6L2SF6YDW",
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3594820
    },
    "time": "2026-06-22T23:23:16.990656815Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_OPEN: File Open (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after the kernel grants a process access to open a file. The payload carries the target file and the kernel-internal fflag mask recording the access that was permitted.

Fields #

NameDescription
fflagKernel-internal flag mask (FREAD, FWRITE, etc.) representing the access granted at open time.
filePointer to the es_file_t describing the file that was opened, including path and stat metadata.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "flags": 4294967295
        },
        "result_type": 1
      }
    },
    "action_type": 1,
    "event": {
      "open": {
        "fflag": 17825793,
        "file": {
          "path": "/usr/bin",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 0,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 524288,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 1152921500312571579,
            "st_mode": 16877,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 926,
            "st_rdev": 0,
            "st_size": 29632,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 10,
    "global_seq_num": 0,
    "mach_time": 8835601011736,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "FA63DE333AA28550138FB1ADAA1178B79503E032",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/endpointsecurityd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 168,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575149,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 264384,
          "st_uid": 0
        }
      },
      "group_id": 391,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 391,
      "signing_id": "com.apple.endpointsecurityd",
      "start_time": "2026-06-17T20:22:01.680633Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3669176
    },
    "time": "2026-06-22T23:22:48.825298069Z",
    "version": 10
  }
}

Detection Patterns #

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
file.nameeqCookies2 ruleselastic
file.nameeqCookies.binarycookies2 ruleselastic
file.nameeqLogin Data2 ruleselastic
file.nameeqcookies.sqlite2 ruleselastic
file.nameeqkey?.db2 ruleselastic
file.nameeqlogins.json2 ruleselastic
process.code_signature.existseqfalse2 ruleselastic
process.code_signature.trustedeqfalse2 ruleselastic
Imageis_not_null1 ruleelastic, kusto
Imagestarts_with/private/tmp/1 ruleelastic, sigma
Imagestarts_with/private/var/tmp/1 ruleelastic
Imagestarts_with/tmp/1 ruleelastic, sigma
Imagestarts_with/users/shared/1 ruleelastic, sigma
Imagestarts_with/var/tmp/1 ruleelastic, sigma
TargetFilenamewildcard/library/fonts/*1 ruleelastic

Detection Rules #

View all rules referencing this event →

Elastic #

  • GenAI Process Accessing Sensitive Files source high: Detects when GenAI tools access sensitive files such as cloud credentials, SSH keys, browser password databases, or shell configurations. Attackers leverage GenAI agents to systematically locate and exfiltrate credentials, API keys, and tokens. Access to credential stores (.aws/credentials, .ssh/id_*) suggests harvesting, while writes to shell configs (.bashrc, .zshrc) indicate persistence attempts. Note: On linux only creation events are available. Access events are not yet implemented.↳ also matches create: File or Directory Create (NOTIFY), write: File Write (NOTIFY)
  • Suspicious Web Browser Sensitive File Access source high: Identifies the access or file open of web browser sensitive files by an untrusted/unsigned process or osascript. Adversaries may acquire credentials from web browsers by reading files specific to the target browser.
  • Full Disk Access Permission Check source medium: Detects suspicious access to the /Library/Preferences/com.apple.TimeMachine.plist file, indicating a potential attempt to verify or exploit Full Disk Access (FDA) permissions. This file is often checked by malware to confirm FDA privileges, which allow unrestricted access to sensitive user data.
Show 1 more (4 total)
  • System and Network Configuration Check source medium: Detects when the SystemConfiguration preferences plist file is accessed by an unusual or suspicious process. This may indicate an attempt to gain situational awareness on a target system by reading network configuration details.

References #

ES_EVENT_TYPE_NOTIFY_CLOSE: File Close (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a process closes a file descriptor. The payload records whether the file was modified during the descriptor's lifetime and, in message version 6 and later, whether it was ever mapped writable.

Fields #

NameDescription
modifiedBoolean; true if the file was modified before the descriptor was closed.
targetPointer to the es_file_t for the file whose descriptor was closed.
was_mapped_writableBoolean indicating whether the file was mapped writable at any point during its open lifetime; available in message version 6 and later.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "close": {
        "modified": false,
        "target": {
          "path": "/usr/bin",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 0,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 524288,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 1152921500312571579,
            "st_mode": 16877,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 926,
            "st_rdev": 0,
            "st_size": 29632,
            "st_uid": 0
          }
        },
        "was_mapped_writable": false
      }
    },
    "event_type": 12,
    "global_seq_num": 0,
    "mach_time": 8835736858163,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "FA63DE333AA28550138FB1ADAA1178B79503E032",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/endpointsecurityd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 168,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575149,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 264384,
          "st_uid": 0
        }
      },
      "group_id": 391,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 391,
      "signing_id": "com.apple.endpointsecurityd",
      "start_time": "2026-06-17T20:22:01.680633Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3670278
    },
    "time": "2026-06-22T23:22:54.485515276Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_CREATE: File or Directory Create (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a new filesystem object (file, directory, or special file) is created. The payload distinguishes whether the new object replaced an existing file or was written to a fresh path, and carries the creation mode and any ACL.

Fields #

NameDescription
destination_typeIndicates whether the new object was created at an existing path (ES_DESTINATION_TYPE_EXISTING_FILE) or at a new path (ES_DESTINATION_TYPE_NEW_PATH).
destination.existing_filePointer to the es_file_t for the object that was created when overwriting an existing entry.
destination.new_path.dirPointer to the es_file_t for the directory in which the new object was created.
destination.new_path.filenameToken holding the name of the newly created filesystem object.
destination.new_path.modeThe file mode (permissions and type bits) of the newly created object; valid only for new_path destinations.
aclPointer to the ACL applied to the new object at creation time; may be NULL if no ACL was set.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "create": {
        "acl": null,
        "destination": {
          "existing_file": {
            "path": "/private/var/folders/99/hfkwj0616gl7sllsdfzfx6b80000gn/T/TemporaryItems/ContextStoreAgent.plist.9YlpR0s",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-06-22T23:23:03.781301756Z",
              "st_birthtimespec": "2026-06-22T23:23:03.781301756Z",
              "st_blksize": 4096,
              "st_blocks": 0,
              "st_ctimespec": "2026-06-22T23:23:03.781603836Z",
              "st_dev": 16777232,
              "st_flags": 0,
              "st_gen": 0,
              "st_gid": 20,
              "st_ino": 55968341,
              "st_mode": 33152,
              "st_mtimespec": "2026-06-22T23:23:03.781301756Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 0,
              "st_uid": 501
            }
          }
        },
        "destination_type": 0
      }
    },
    "event_type": 13,
    "global_seq_num": 0,
    "mach_time": 8835959975544,
    "process": {
      "audit_token": {
        "asid": 100043,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 647,
        "pidversion": 1569,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "9D261051393D3F2144540E4E23E5B84169440DD2",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/sbin/cfprefsd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 32,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575955,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 135920,
          "st_uid": 0
        }
      },
      "group_id": 647,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100043,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 647,
        "pidversion": 1569,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "com.apple.cfprefsd",
      "start_time": "2026-06-17T20:22:04.989806Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3670458
    },
    "time": "2026-06-22T23:23:03.781989666Z",
    "version": 10
  }
}

Detection Patterns #

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
Imageends_with/curl2 rulessigma
TargetFilenameends_with.plist2 rulessigma
TargetFilenameends_with.pth1 rulesigma
TargetFilenameregex_match(?i)/lib/python3\.([5-9]|[0-9]{2})/site-packages/1 rulesigma
TargetFilenamestarts_with/users/1 ruleelastic, sigma
file.nameeqCookies1 ruleelastic
file.nameeqCookies.binarycookies1 ruleelastic
file.nameeqLogin Data1 ruleelastic
file.nameeqcookies.sqlite1 ruleelastic
file.nameeqkey?.db1 ruleelastic
file.nameeqlogins.json1 ruleelastic
file.namein.bash_logout1 ruleelastic
file.namein.bash_profile1 ruleelastic
file.namein.bashrc1 ruleelastic
file.namein.profile1 ruleelastic

Detection Rules #

View all rules referencing this event →

Sigma #

  • MacOS Emond Launch Daemon source medium: Detects additions to the Emond Launch Daemon that adversaries may use to gain persistence and elevate privileges.
  • Startup Item File Created - MacOS source low: Detects the creation of a startup item plist file, that automatically get executed at boot initialization to establish persistence. Adversaries may use startup items automatically executed at boot initialization to establish persistence. Startup items execute during the final phase of the boot process and contain shell scripts or other executable files along with configuration information used by the system to determine the execution order for all startup items.
  • Atomic MacOS Stealer - Persistence Indicators source high: Detects creation of persistence artifacts placed by Atomic MacOS Stealer in macOS systems. Recent Atomic MacOS Stealer variants have been observed dropping these to maintain persistent access after compromise.
Show 2 more (5 total)
  • Axios NPM Compromise File Creation Indicators - MacOS source high: Detects file creation events linked to the Axios NPM supply chain compromise on macOS devices. Axios is a popular JavaScript HTTP client. On March 30, 2026, malicious versions (1.14.1, 0.30.4) were published to npm, injecting a dependency (plain-crypto-js@4.2.1) that executed a postinstall script as a cross-platform RAT dropper.
  • Python Path Configuration File Creation - MacOS source medium: Detects creation of a Python path configuration file (.pth) in Python library folders, which can be maliciously abused for code execution and persistence. Modules referenced by these files are run at every Python startup (v3.5+), regardless of whether the module is imported by the calling script. Default paths are '\lib\site-packages*.pth' (Windows) and '/lib/pythonX.Y/site-packages/*.pth' (Unix and macOS).

Elastic #

  • GenAI Process Accessing Sensitive Files source high: Detects when GenAI tools access sensitive files such as cloud credentials, SSH keys, browser password databases, or shell configurations. Attackers leverage GenAI agents to systematically locate and exfiltrate credentials, API keys, and tokens. Access to credential stores (.aws/credentials, .ssh/id_*) suggests harvesting, while writes to shell configs (.bashrc, .zshrc) indicate persistence attempts. Note: On linux only creation events are available. Access events are not yet implemented.↳ also matches open: File Open (NOTIFY), write: File Write (NOTIFY)

References #

ES_EVENT_TYPE_NOTIFY_EXCHANGEDATA: Atomic Data Exchange (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after two files atomically swap their data forks via the exchangedata(2) syscall. The operation swaps the content of both files in place while preserving each file's metadata, making it a technique used to perform atomic file updates.

Fields #

NameDescription
file1Pointer to the es_file_t for the first file participating in the data exchange.
file2Pointer to the es_file_t for the second file participating in the data exchange.

References #

ES_EVENT_TYPE_NOTIFY_RENAME: File Rename (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a file or directory is renamed. The payload identifies the source file and the destination, which is either an existing file or a new path.

Fields #

NameDescription
sourcePointer to the es_file_t for the file or directory that was renamed.
destination_typeIndicates whether the destination was an existing file or a new path.
destination.existing_filePointer to the es_file_t for the existing destination file when an existing entry was replaced.
destination.new_path.dirPointer to the es_file_t for the directory containing the renamed file when written to a new path.
destination.new_path.filenameToken holding the new filename.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "rename": {
        "destination": {
          "existing_file": {
            "path": "/Users/admin/Library/Application Support/Claude/Cache/Cache_Data/index-dir/the-real-index",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-06-22T23:22:47.008372154Z",
              "st_birthtimespec": "2026-06-22T23:22:47.008372154Z",
              "st_blksize": 4096,
              "st_blocks": 1904,
              "st_ctimespec": "2026-06-22T23:22:47.009320104Z",
              "st_dev": 16777232,
              "st_flags": 0,
              "st_gen": 0,
              "st_gid": 20,
              "st_ino": 55968312,
              "st_mode": 33152,
              "st_mtimespec": "2026-06-22T23:22:47.008775108Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 973512,
              "st_uid": 501
            }
          }
        },
        "destination_type": 0,
        "source": {
          "path": "/Users/admin/Library/Application Support/Claude/Cache/Cache_Data/index-dir/temp-index",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-06-22T23:23:16.989715491Z",
            "st_birthtimespec": "2026-06-22T23:23:16.989715491Z",
            "st_blksize": 4096,
            "st_blocks": 1904,
            "st_ctimespec": "2026-06-22T23:23:16.990115279Z",
            "st_dev": 16777232,
            "st_flags": 0,
            "st_gen": 0,
            "st_gid": 20,
            "st_ino": 55968359,
            "st_mode": 33152,
            "st_mtimespec": "2026-06-22T23:23:16.990115279Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 973512,
            "st_uid": 501
          }
        }
      }
    },
    "event_type": 25,
    "global_seq_num": 0,
    "mach_time": 8836276986391,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 91252,
        "pidversion": 295038,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "8E5D94DEC6DDDB609E2CF3C41FC526AE3674BED9",
      "codesigning_flags": 570495761,
      "cs_validation_category": 6,
      "executable": {
        "path": "/Applications/Claude.app/Contents/Frameworks/Claude Helper.app/Contents/MacOS/Claude Helper",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-06-22T21:36:23.015229786Z",
          "st_birthtimespec": "2026-06-18T13:11:10.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 920,
          "st_ctimespec": "2026-06-19T03:56:11.018160830Z",
          "st_dev": 16777232,
          "st_flags": 0,
          "st_gen": 0,
          "st_gid": 20,
          "st_ino": 55323983,
          "st_mode": 33261,
          "st_mtimespec": "2026-06-18T13:11:10.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 468432,
          "st_uid": 501
        }
      },
      "group_id": 91247,
      "is_es_client": false,
      "is_platform_binary": false,
      "original_ppid": 91247,
      "parent_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 91247,
        "pidversion": 295029,
        "rgid": 20,
        "ruid": 501
      },
      "ppid": 91247,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 91247,
        "pidversion": 295029,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "com.anthropic.claudefordesktop.helper",
      "start_time": "2026-06-22T21:36:20.466127Z",
      "team_id": "Q6L2SF6YDW",
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3594820
    },
    "time": "2026-06-22T23:23:16.990656815Z",
    "version": 10
  }
}

Detection Patterns #

Stealth: Match Legitimate Resource Name or Location

1 rule

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
http.request.methodinGET1 ruleelastic
http.request.methodinPOST1 ruleelastic
http.request.methodinPUT1 ruleelastic
http.response.status_codein3031 ruleelastic

References #

ES_EVENT_TYPE_NOTIFY_WRITE: File Write (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a process writes data to a file. The payload identifies the target file. This event fires for each write operation and can be high-volume on active systems.

Fields #

NameDescription
targetPointer to the es_file_t for the file that was written to.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "write": {
        "target": {
          "path": "/dev/ttys000",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-06-22T23:23:10.313599000Z",
            "st_birthtimespec": "1970-01-01T00:00:00.000000000Z",
            "st_blksize": 65536,
            "st_blocks": 0,
            "st_ctimespec": "2026-06-22T23:23:49.718344000Z",
            "st_dev": -1278915369,
            "st_flags": 0,
            "st_gen": 0,
            "st_gid": 4,
            "st_ino": 745,
            "st_mode": 8592,
            "st_mtimespec": "2026-06-22T23:23:49.718344000Z",
            "st_nlink": 1,
            "st_rdev": 268435456,
            "st_size": 0,
            "st_uid": 501
          }
        }
      }
    },
    "event_type": 33,
    "global_seq_num": 0,
    "mach_time": 8837062456411,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 90398,
        "pidversion": 292873,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "CFC3F12808D14BD762D1B058535ECEB28113256E",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/bin/ssh",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 1520,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312572846,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 1555472,
          "st_uid": 0
        }
      },
      "group_id": 90398,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 38472,
      "parent_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 38472,
        "pidversion": 136758,
        "rgid": 20,
        "ruid": 501
      },
      "ppid": 38472,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 965,
        "pidversion": 2477,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 38471,
      "signing_id": "com.apple.ssh",
      "start_time": "2026-06-22T19:33:39.096397Z",
      "team_id": null,
      "tty": {
        "path": "/dev/ttys000",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-06-22T23:23:10.313599000Z",
          "st_birthtimespec": "1970-01-01T00:00:00.000000000Z",
          "st_blksize": 65536,
          "st_blocks": 0,
          "st_ctimespec": "2026-06-22T23:23:49.718344000Z",
          "st_dev": -1278915369,
          "st_flags": 0,
          "st_gen": 0,
          "st_gid": 4,
          "st_ino": 745,
          "st_mode": 8592,
          "st_mtimespec": "2026-06-22T23:23:49.718344000Z",
          "st_nlink": 1,
          "st_rdev": 268435456,
          "st_size": 0,
          "st_uid": 501
        }
      }
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3501634
    },
    "time": "2026-06-22T23:23:49.718281587Z",
    "version": 10
  }
}

Detection Patterns #

Stealth: Match Legitimate Resource Name or Location

1 rule

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
TargetFilenamestarts_with/tmp/1 ruleelastic, sigma
TargetFilenamestarts_with/var/tmp/1 ruleelastic, sigma
TargetFilenamewildcard/library/fonts/*2 ruleselastic
TargetFilenamewildcard/library/graphics/*2 ruleselastic
TargetFilenamewildcard/library/webserver/*2 ruleselastic
TargetFilenamewildcard/private/tmp/*2 ruleselastic
TargetFilenamewildcard/private/var/root/library/httpstorages/*2 ruleselastic
TargetFilenamewildcard/tmp/*2 ruleselastic
TargetFilenamewildcard/users/shared/*2 ruleselastic
TargetFilenamewildcard/var/tmp/*1 ruleelastic
process.code_signature.existseqfalse2 ruleselastic
process.code_signature.trustedeqfalse2 ruleselastic
process_nameincursor2 ruleselastic
process_namewildcardosascript2 ruleselastic
process_namewildcardpython*2 ruleselastic

Detection Rules #

View all rules referencing this event →

Elastic #

  • GenAI Process Accessing Sensitive Files source high: Detects when GenAI tools access sensitive files such as cloud credentials, SSH keys, browser password databases, or shell configurations. Attackers leverage GenAI agents to systematically locate and exfiltrate credentials, API keys, and tokens. Access to credential stores (.aws/credentials, .ssh/id_*) suggests harvesting, while writes to shell configs (.bashrc, .zshrc) indicate persistence attempts. Note: On linux only creation events are available. Access events are not yet implemented.↳ also matches open: File Open (NOTIFY), create: File or Directory Create (NOTIFY)
  • Unusual Process Modifying GenAI Configuration File source medium: Detects unusual modification of GenAI tool configuration files. Adversaries may inject malicious MCP server configurations to hijack AI agents for persistence, C2, or data exfiltration. Attack vectors include malware or scripts directly poisoning config files, supply chain attacks via compromised dependencies, and prompt injection attacks that abuse the GenAI tool itself to modify its own configuration. Unauthorized MCP servers added to these configs execute arbitrary commands when the AI tool is next invoked.
  • Executable File Download via Wget source medium: Detects executable file downloads via wget to suspicious locations such as /tmp or /Users/Shared. Threat actors commonly use wget to download malicious payloads and additional tools for post-exploitation.
Show 11 more (14 total)
  • Potential Etherhiding C2 via Blockchain Connection source high: Detects when a scripting interpreter makes an outbound network connection to an Ethereum blockchain endpoint for command and control purposes. Adversaries may leverage Ethereum blockchain infrastructure as a covert C2 channel to receive commands and exfiltrate data, as observed in campaigns like SleepyDuck malware.
  • Authorization Plugin Modification source medium: Authorization plugins are used to extend the authorization services API and implement mechanisms that are not natively supported by the OS, such as multi-factor authentication with third party software. Adversaries may abuse this feature to persist and/or collect clear text credentials as they traverse the registered plugins during user logon.
  • Persistence via DirectoryService Plugin Modification source medium: Identifies the creation or modification of a DirectoryService PlugIns (dsplug) file. The DirectoryService daemon launches on each system boot and automatically reloads after crash. It scans and executes bundles that are located in the DirectoryServices PlugIns folder and can be abused by adversaries to maintain persistence.
  • Persistence via Docker Shortcut Modification source medium: An adversary can establish persistence by modifying an existing macOS dock property list in order to execute a malicious application instead of the intended one when invoked.
  • Emond Rules Creation or Modification source medium: Identifies the creation or modification of the Event Monitor Daemon (emond) rules. Adversaries may abuse this service by writing a rule to execute commands when a defined event occurs, such as system start up or user authentication.
  • Sublime Plugin or Application Script Modification source low: Adversaries may create or modify the Sublime application plugins or scripts to execute a malicious payload each time the Sublime application is started.
  • Potential Persistence via Periodic Tasks source low: Identifies the creation or modification of the default configuration for periodic tasks. Adversaries may abuse periodic tasks to execute malicious code or maintain persistence.
  • Screensaver Plist File Modified by Unexpected Process source medium: Identifies when a screensaver plist file is modified by an unexpected process. An adversary can maintain persistence on a macOS endpoint by creating a malicious screensaver (.saver) file and configuring the screensaver plist file to execute code each time the screensaver is activated.
  • Suspicious Calendar File Modification source medium: Identifies suspicious modifications of the calendar file by an unusual process. Adversaries may create a custom calendar notification procedure to execute a malicious program at a recurring interval to establish persistence.
  • Potential Persistence via Atom Init Script Modification source low: Identifies modifications to the Atom desktop text editor Init File. Adversaries may add malicious JavaScript code to the init.coffee file that will be executed upon the Atom application opening.
  • Privilege Escalation via Root Crontab File Modification source high: Identifies modifications to the root crontab file. Adversaries may overwrite this file to gain code execution with root privileges by exploiting privileged file write or move related vulnerabilities.

References #

ES_EVENT_TYPE_AUTH_TRUNCATE: File Truncate (AUTH)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before the kernel truncates a file, either via truncate(2) or by opening with O_TRUNC. An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
targetPointer to the es_file_t for the file being truncated.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_TRUNCATE), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "truncate": {
        "target": {
          "path": "/Users/admin/Library/Daemon Containers/A592654B-A0DB-4552-AB8F-D7244CC4BAD0/Data/Library/Saved Application State/768A2C1A-FB64-4686-842F-78D56F1E46FD.savedState/window_29.data",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-06-22T21:22:01.920462302Z",
            "st_birthtimespec": "2026-06-22T21:22:01.920462302Z",
            "st_blksize": 4096,
            "st_blocks": 184,
            "st_ctimespec": "2026-06-22T23:23:42.931626413Z",
            "st_dev": 16777232,
            "st_flags": 0,
            "st_gen": 0,
            "st_gid": 20,
            "st_ino": 55774432,
            "st_mode": 33152,
            "st_mtimespec": "2026-06-22T23:23:42.931626413Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 92016,
            "st_uid": 501
          }
        }
      }
    },
    "event_type": 41,
    "global_seq_num": 0,
    "mach_time": 8836899579278,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 677,
        "pidversion": 1653,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "3D4B6EE2243C0E090963BA895DEC6AF72F52A19D",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/System/Library/CoreServices/talagentd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 384,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312106201,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 508688,
          "st_uid": 0
        }
      },
      "group_id": 677,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 677,
        "pidversion": 1653,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "com.apple.talagent",
      "start_time": "2026-06-17T20:22:05.997116Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3670994
    },
    "time": "2026-06-22T23:23:42.931795079Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_TRUNCATE: File Truncate (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a file is truncated. The payload identifies the file that was truncated.

Fields #

NameDescription
targetPointer to the es_file_t for the file that was truncated.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "truncate": {
        "target": {
          "path": "/Users/admin/Library/Daemon Containers/A592654B-A0DB-4552-AB8F-D7244CC4BAD0/Data/Library/Saved Application State/768A2C1A-FB64-4686-842F-78D56F1E46FD.savedState/window_29.data",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-06-22T21:22:01.920462302Z",
            "st_birthtimespec": "2026-06-22T21:22:01.920462302Z",
            "st_blksize": 4096,
            "st_blocks": 184,
            "st_ctimespec": "2026-06-22T23:23:42.931626413Z",
            "st_dev": 16777232,
            "st_flags": 0,
            "st_gen": 0,
            "st_gid": 20,
            "st_ino": 55774432,
            "st_mode": 33152,
            "st_mtimespec": "2026-06-22T23:23:42.931626413Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 92016,
            "st_uid": 501
          }
        }
      }
    },
    "event_type": 41,
    "global_seq_num": 0,
    "mach_time": 8836899579278,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 677,
        "pidversion": 1653,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "3D4B6EE2243C0E090963BA895DEC6AF72F52A19D",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/System/Library/CoreServices/talagentd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 384,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312106201,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 508688,
          "st_uid": 0
        }
      },
      "group_id": 677,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 677,
        "pidversion": 1653,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "com.apple.talagent",
      "start_time": "2026-06-17T20:22:05.997116Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3670994
    },
    "time": "2026-06-22T23:23:42.931795079Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_LOOKUP: Path Lookup (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a path component is looked up by the kernel VFS layer. This is a very high-volume event that fires for virtually every filesystem name resolution; most deployments filter heavily by process or path prefix.

Fields #

NameDescription
source_dirPointer to the es_file_t for the directory in which the lookup is performed.
relative_targetToken holding the path component being looked up relative to source_dir.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "lookup": {
        "relative_target": "usr/bin/eslogger",
        "source_dir": {
          "path": "/",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 0,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 1048576,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 2,
            "st_mode": 16877,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 22,
            "st_rdev": 0,
            "st_size": 704,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 43,
    "global_seq_num": 0,
    "mach_time": 8837909197546,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "FA63DE333AA28550138FB1ADAA1178B79503E032",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/endpointsecurityd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 168,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575149,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 264384,
          "st_uid": 0
        }
      },
      "group_id": 391,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 391,
      "signing_id": "com.apple.endpointsecurityd",
      "start_time": "2026-06-17T20:22:01.680633Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3671143
    },
    "time": "2026-06-22T23:24:24.998846607Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_CREATE: File or Directory Create (AUTH)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before the kernel creates a new filesystem object. An active ESF client must respond before the kernel proceeds. The payload describes the intended destination, mode, and any ACL for the new object.

Fields #

NameDescription
destination_typeIndicates whether the destination is an existing file that will be overwritten or a new path.
destination.existing_filePointer to the es_file_t for the existing file at the target path when overwriting.
destination.new_path.dirPointer to the es_file_t for the directory in which the new object will be created.
destination.new_path.filenameToken holding the name of the file or directory to be created.
destination.new_path.modeThe intended mode (permissions and type bits) of the new filesystem object.
aclPointer to the ACL to be applied to the new object; may be NULL.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_CREATE), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "create": {
        "acl": null,
        "destination": {
          "existing_file": {
            "path": "/private/var/folders/99/hfkwj0616gl7sllsdfzfx6b80000gn/T/TemporaryItems/ContextStoreAgent.plist.9YlpR0s",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-06-22T23:23:03.781301756Z",
              "st_birthtimespec": "2026-06-22T23:23:03.781301756Z",
              "st_blksize": 4096,
              "st_blocks": 0,
              "st_ctimespec": "2026-06-22T23:23:03.781603836Z",
              "st_dev": 16777232,
              "st_flags": 0,
              "st_gen": 0,
              "st_gid": 20,
              "st_ino": 55968341,
              "st_mode": 33152,
              "st_mtimespec": "2026-06-22T23:23:03.781301756Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 0,
              "st_uid": 501
            }
          }
        },
        "destination_type": 0
      }
    },
    "event_type": 13,
    "global_seq_num": 0,
    "mach_time": 8835959975544,
    "process": {
      "audit_token": {
        "asid": 100043,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 647,
        "pidversion": 1569,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "9D261051393D3F2144540E4E23E5B84169440DD2",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/sbin/cfprefsd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 32,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575955,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 135920,
          "st_uid": 0
        }
      },
      "group_id": 647,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100043,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 647,
        "pidversion": 1569,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "com.apple.cfprefsd",
      "start_time": "2026-06-17T20:22:04.989806Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3670458
    },
    "time": "2026-06-22T23:23:03.781989666Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_ACCESS: Access Permission Check (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a process checks file accessibility via access(2) or faccessat(2). The payload records the access mode being tested and the target file.

Fields #

NameDescription
modeThe access permission mode being tested (F_OK, R_OK, W_OK, X_OK or a combination).
targetPointer to the es_file_t for the file whose accessibility was checked.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "flags": 2147483647
        },
        "result_type": 1
      }
    },
    "action_type": 1,
    "event": {
      "access": {
        "mode": 4,
        "target": {
          "path": "/Users/admin/Library/Application Support/Firefox/Profiles/vey0ajp8.default-release/datareporting/glean/db",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-06-22T21:44:25.016398999Z",
            "st_birthtimespec": "2024-06-05T22:26:54.432534337Z",
            "st_blksize": 4096,
            "st_blocks": 0,
            "st_ctimespec": "2026-06-22T23:24:13.874090112Z",
            "st_dev": 16777232,
            "st_flags": 0,
            "st_gen": 0,
            "st_gid": 20,
            "st_ino": 275197,
            "st_mode": 16877,
            "st_mtimespec": "2026-06-22T23:24:13.874090112Z",
            "st_nlink": 3,
            "st_rdev": 0,
            "st_size": 96,
            "st_uid": 501
          }
        }
      }
    },
    "event_type": 55,
    "global_seq_num": 0,
    "mach_time": 8837651690873,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 20,
        "euid": 501,
        "pid": 382,
        "pidversion": 989,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "5847BA08A75BDA208810BDBD55C5E5F04D7CB031",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/Support/fseventsd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 312,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312153078,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 398608,
          "st_uid": 0
        }
      },
      "group_id": 382,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 382,
        "pidversion": 989,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 382,
      "signing_id": "com.apple.fseventsd",
      "start_time": "2026-06-17T20:22:01.678559Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3587485
    },
    "time": "2026-06-22T23:24:14.269497783Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_CLONE: File Clone (AUTH)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
AUTH (blocking)
Introduced
macOS 10.15.1

Description

Fires before the kernel creates a copy-on-write clone of a file via clonefile(2). An active ESF client must respond before the kernel proceeds. The payload identifies the source file, the destination directory, and the new filename.

Fields #

NameDescription
sourcePointer to the es_file_t for the file that will be cloned.
target_dirPointer to the es_file_t for the directory into which the cloned file will be created.
target_nameToken holding the filename for the new cloned file.

References #

ES_EVENT_TYPE_NOTIFY_CLONE: File Clone (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a copy-on-write clone of a file is created via clonefile(2). The payload identifies the source file, the destination directory, and the new filename.

Fields #

NameDescription
sourcePointer to the es_file_t for the file that was cloned.
target_dirPointer to the es_file_t for the directory containing the new clone.
target_nameToken holding the filename of the new cloned file.

References #

ES_EVENT_TYPE_NOTIFY_FCNTL: File Control Operation (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a process performs a file control operation via fcntl(2). This event is particularly useful for detecting dynamic access-flag changes, such as a process upgrading a file descriptor to writable.

Fields #

NameDescription
targetPointer to the es_file_t for the file on which the file control command was performed.
cmdThe command argument passed to fcntl(2) (e.g. F_GETFL, F_SETFL, F_NOCACHE).

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "fcntl": {
        "cmd": 50,
        "target": {
          "path": "/usr/bin",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 0,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 524288,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 1152921500312571579,
            "st_mode": 16877,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 926,
            "st_rdev": 0,
            "st_size": 29632,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 62,
    "global_seq_num": 0,
    "mach_time": 8837468384228,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "FA63DE333AA28550138FB1ADAA1178B79503E032",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/endpointsecurityd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 168,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575149,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 264384,
          "st_uid": 0
        }
      },
      "group_id": 391,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 391,
      "signing_id": "com.apple.endpointsecurityd",
      "start_time": "2026-06-17T20:22:01.680633Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3671143
    },
    "time": "2026-06-22T23:24:06.631789348Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_DUP: File Descriptor Duplicate (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a process duplicates a file descriptor via dup(2) or dup2(2). The payload describes the file the duplicated descriptor refers to.

Fields #

NameDescription
targetPointer to the es_file_t for the file that the duplicated file descriptor points to.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "dup": {
        "target": {
          "path": "/Users/admin/Library/Application Support/Firefox/Profiles/vey0ajp8.default-release/extensions/uBlock0@raymondhill.net.xpi",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-06-22T23:22:27.990573049Z",
            "st_birthtimespec": "2026-05-26T19:54:33.340689306Z",
            "st_blksize": 4096,
            "st_blocks": 8800,
            "st_ctimespec": "2026-05-31T11:26:06.809121271Z",
            "st_dev": 16777232,
            "st_flags": 0,
            "st_gen": 0,
            "st_gid": 20,
            "st_ino": 52208712,
            "st_mode": 33188,
            "st_mtimespec": "2026-05-31T11:26:06.809000000Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 4504632,
            "st_uid": 501
          }
        }
      }
    },
    "event_type": 73,
    "global_seq_num": 0,
    "mach_time": 8837349337902,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 83147,
        "pidversion": 271876,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "DE8C0F5D3FBEFC963A08A83131B85E2DCBF1F221",
      "codesigning_flags": 570512129,
      "cs_validation_category": 6,
      "executable": {
        "path": "/Applications/Firefox.app/Contents/MacOS/firefox",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-06-22T21:09:47.904194145Z",
          "st_birthtimespec": "2026-06-18T18:48:50.747285257Z",
          "st_blksize": 4096,
          "st_blocks": 344,
          "st_ctimespec": "2026-06-21T18:31:01.870315311Z",
          "st_dev": 16777232,
          "st_flags": 0,
          "st_gen": 0,
          "st_gid": 80,
          "st_ino": 55224420,
          "st_mode": 33277,
          "st_mtimespec": "2026-06-18T18:48:50.750202023Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 174432,
          "st_uid": 501
        }
      },
      "group_id": 83147,
      "is_es_client": false,
      "is_platform_binary": false,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 83147,
        "pidversion": 271876,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "org.mozilla.firefox",
      "start_time": "2026-06-21T18:31:02.071749Z",
      "team_id": "43AQ936H96",
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3671548
    },
    "time": "2026-06-22T23:24:01.671570131Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_EXCHANGEDATA: Atomic Data Exchange (AUTH)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
AUTH (blocking)
Introduced
macOS 10.15.1

Description

Fires before the kernel allows two files to atomically swap their data forks via exchangedata(2). An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
file1Pointer to the es_file_t for the first file participating in the exchange.
file2Pointer to the es_file_t for the second file participating in the exchange.

References #

ES_EVENT_TYPE_AUTH_SEARCHFS: Filesystem Search (AUTH)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
AUTH (blocking)
Introduced
macOS 11.0

Description

Fires before the kernel allows a process to search a volume for files matching attribute criteria via searchfs(2). An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
attrlistThe attrlist structure specifying which attributes will be used as search criteria.
targetPointer to the es_file_t for the volume whose contents will be searched.

References #

ES_EVENT_TYPE_NOTIFY_SEARCHFS: Filesystem Search (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
NOTIFY
Introduced
macOS 11.0

Description

Fires after a process searches a volume via searchfs(2). The payload identifies the attribute criteria and the volume that was searched.

Fields #

NameDescription
attrlistThe attrlist structure specifying which attributes were used as search criteria.
targetPointer to the es_file_t for the volume that was searched.

References #

ES_EVENT_TYPE_AUTH_FCNTL: File Control Operation (AUTH)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
AUTH (blocking)
Introduced
macOS 11.0

Description

Fires before the kernel processes a file control command via fcntl(2). An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
targetPointer to the es_file_t for the file on which the file control command will be performed.
cmdThe command argument passed to fcntl(2).

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_FCNTL), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "fcntl": {
        "cmd": 50,
        "target": {
          "path": "/usr/bin",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 0,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 524288,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 1152921500312571579,
            "st_mode": 16877,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 926,
            "st_rdev": 0,
            "st_size": 29632,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 62,
    "global_seq_num": 0,
    "mach_time": 8837468384228,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "FA63DE333AA28550138FB1ADAA1178B79503E032",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/endpointsecurityd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 168,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575149,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 264384,
          "st_uid": 0
        }
      },
      "group_id": 391,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 391,
      "signing_id": "com.apple.endpointsecurityd",
      "start_time": "2026-06-17T20:22:01.680633Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3671143
    },
    "time": "2026-06-22T23:24:06.631789348Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_COPYFILE: Copy File (AUTH)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
AUTH (blocking)
Introduced
macOS 12.0

Description

Fires before the kernel performs a server-side file copy via the copyfile(3) library call or its underlying clonefile/fcopyfile mechanics. An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
sourcePointer to the es_file_t for the file being copied.
target_filePointer to the es_file_t for the existing file at the target path that will be overwritten; NULL if no file exists at the target path.
target_dirPointer to the es_file_t for the directory into which the copy will be written.
target_nameToken holding the filename for the new copy.
modeThe mode argument from the copyfile(3) call, controlling which file attributes are copied.
flagsThe flags argument from the copyfile(3) call, such as COPYFILE_ALL or COPYFILE_CLONE.

References #

ES_EVENT_TYPE_NOTIFY_COPYFILE: Copy File (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Events
Action
NOTIFY
Introduced
macOS 12.0

Description

Fires after a file is copied via the copyfile(3) library call. The payload identifies the source file, the destination directory and filename, any overwritten target, and the copy flags used.

Fields #

NameDescription
sourcePointer to the es_file_t for the file that was copied.
target_filePointer to the es_file_t for the pre-existing file that was overwritten at the target path; NULL if none existed.
target_dirPointer to the es_file_t for the directory in which the copy was created.
target_nameToken holding the filename of the new copy.
modeThe mode argument from the copyfile(3) call.
flagsThe flags argument from the copyfile(3) call.

References #

ES_EVENT_TYPE_NOTIFY_SETATTRLIST: Set Attribute List (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a process modifies a file's attributes via setattrlist(2). The payload names the attribute set being written and the target file.

Fields #

NameDescription
attrlistThe attrlist structure describing which attribute groups are being set (e.g. ATTR_CMN_*, ATTR_FILE_*).
targetPointer to the es_file_t for the file whose attributes are being modified.

References #

ES_EVENT_TYPE_NOTIFY_SETEXTATTR: Set Extended Attribute (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a process writes an extended attribute to a file via setxattr(2). The payload identifies the target file and the name of the attribute being set.

Fields #

NameDescription
targetPointer to the es_file_t for the file on which the extended attribute is being set.
extattrToken holding the name of the extended attribute being written.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "setextattr": {
        "extattr": "NSImageMetadata",
        "target": {
          "path": "/Users/admin/Library/Daemon Containers/A592654B-A0DB-4552-AB8F-D7244CC4BAD0/Data/Library/Saved Application State/768A2C1A-FB64-4686-842F-78D56F1E46FD.savedState/window_29.data",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-06-22T21:22:01.920462302Z",
            "st_birthtimespec": "2026-06-22T21:22:01.920462302Z",
            "st_blksize": 4096,
            "st_blocks": 480,
            "st_ctimespec": "2026-06-22T23:25:09.015631070Z",
            "st_dev": 16777232,
            "st_flags": 0,
            "st_gen": 0,
            "st_gid": 20,
            "st_ino": 55774432,
            "st_mode": 33152,
            "st_mtimespec": "2026-06-22T23:25:09.015631070Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 242848,
            "st_uid": 501
          }
        }
      }
    },
    "event_type": 27,
    "global_seq_num": 0,
    "mach_time": 8838965614041,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 677,
        "pidversion": 1653,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "3D4B6EE2243C0E090963BA895DEC6AF72F52A19D",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/System/Library/CoreServices/talagentd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 384,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312106201,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 508688,
          "st_uid": 0
        }
      },
      "group_id": 677,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 677,
        "pidversion": 1653,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "com.apple.talagent",
      "start_time": "2026-06-17T20:22:05.997116Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3671934
    },
    "time": "2026-06-22T23:25:09.015806902Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_SETFLAGS: Set File Flags (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a process modifies the BSD flags of a file via chflags(2). The payload carries the new flag value and the target file.

Fields #

NameDescription
flagsThe new BSD flag value to be applied to the file (e.g. UF_IMMUTABLE, UF_HIDDEN, SF_ARCHIVED).
targetPointer to the es_file_t for the file whose flags are being changed.

References #

ES_EVENT_TYPE_NOTIFY_SETMODE: Set File Mode (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a process changes the permission mode of a file via chmod(2). The payload records the new mode and the target file.

Fields #

NameDescription
modeThe new permission mode (POSIX mode_t) to be applied to the file.
targetPointer to the es_file_t for the file whose mode is being changed.

References #

ES_EVENT_TYPE_NOTIFY_SETOWNER: Set File Owner (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a process changes the ownership of a file via chown(2). The payload records the new UID, new GID, and the target file.

Fields #

NameDescription
uidThe new owner user ID to be applied to the file.
gidThe new owner group ID to be applied to the file.
targetPointer to the es_file_t for the file whose ownership is being changed.

References #

ES_EVENT_TYPE_AUTH_SETATTRLIST: Set Attribute List (AUTH)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before the kernel allows a process to write filesystem attributes via setattrlist(2). An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
attrlistThe attrlist structure describing which attribute groups will be set.
targetPointer to the es_file_t for the file whose attributes will be modified.

References #

ES_EVENT_TYPE_AUTH_SETEXTATTR: Set Extended Attribute (AUTH)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before the kernel allows a process to write an extended attribute via setxattr(2). An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
targetPointer to the es_file_t for the file on which the extended attribute will be set.
extattrToken holding the name of the extended attribute to be written.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_SETEXTATTR), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "setextattr": {
        "extattr": "NSImageMetadata",
        "target": {
          "path": "/Users/admin/Library/Daemon Containers/A592654B-A0DB-4552-AB8F-D7244CC4BAD0/Data/Library/Saved Application State/768A2C1A-FB64-4686-842F-78D56F1E46FD.savedState/window_29.data",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-06-22T21:22:01.920462302Z",
            "st_birthtimespec": "2026-06-22T21:22:01.920462302Z",
            "st_blksize": 4096,
            "st_blocks": 480,
            "st_ctimespec": "2026-06-22T23:25:09.015631070Z",
            "st_dev": 16777232,
            "st_flags": 0,
            "st_gen": 0,
            "st_gid": 20,
            "st_ino": 55774432,
            "st_mode": 33152,
            "st_mtimespec": "2026-06-22T23:25:09.015631070Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 242848,
            "st_uid": 501
          }
        }
      }
    },
    "event_type": 27,
    "global_seq_num": 0,
    "mach_time": 8838965614041,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 677,
        "pidversion": 1653,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "3D4B6EE2243C0E090963BA895DEC6AF72F52A19D",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/System/Library/CoreServices/talagentd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 384,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312106201,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 508688,
          "st_uid": 0
        }
      },
      "group_id": 677,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 677,
        "pidversion": 1653,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "com.apple.talagent",
      "start_time": "2026-06-17T20:22:05.997116Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3671934
    },
    "time": "2026-06-22T23:25:09.015806902Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_SETFLAGS: Set File Flags (AUTH)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before the kernel allows a process to change the BSD flags of a file via chflags(2). An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
flagsThe new BSD flag value intended for the file (e.g. UF_IMMUTABLE, UF_HIDDEN).
targetPointer to the es_file_t for the file whose flags will be changed.

References #

ES_EVENT_TYPE_AUTH_SETMODE: Set File Mode (AUTH)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before the kernel allows a process to change file permissions via chmod(2). An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
modeThe new POSIX mode_t value intended for the file.
targetPointer to the es_file_t for the file whose mode will be changed.

References #

ES_EVENT_TYPE_AUTH_SETOWNER: Set File Owner (AUTH)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before the kernel allows a process to change file ownership via chown(2). An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
uidThe new owner user ID intended for the file.
gidThe new owner group ID intended for the file.
targetPointer to the es_file_t for the file whose ownership will be changed.

References #

ES_EVENT_TYPE_AUTH_GETATTRLIST: Get Attribute List (AUTH)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
AUTH (blocking)
Introduced
macOS 10.15.1

Description

Fires before the kernel allows a process to read filesystem attributes via getattrlist(2). An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
attrlistThe attrlist structure specifying which attribute groups will be retrieved.
targetPointer to the es_file_t for the file whose attributes will be read.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_GETATTRLIST), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "getattrlist": {
        "attrlist": {
          "bitmapcount": 5,
          "commonattr": 134217728,
          "dirattr": 0,
          "fileattr": 0,
          "forkattr": 0,
          "volattr": 0
        },
        "target": {
          "path": "/usr/libexec/xpcproxy",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 128,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 524320,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 1152921500312575884,
            "st_mode": 33261,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 233312,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 53,
    "global_seq_num": 0,
    "mach_time": 8838376351555,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 94360,
        "pidversion": 301349,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "CCE5A9291F9EDF6CF64C40599E481EE7BB5E2A38",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/xpcproxy",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 128,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575884,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 233312,
          "st_uid": 0
        }
      },
      "group_id": 1,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 94360,
        "pidversion": 301349,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 1,
      "signing_id": "com.apple.xpc.proxy",
      "start_time": "2026-06-22T23:24:44.448971Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3672361
    },
    "time": "2026-06-22T23:24:44.463422883Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_GETATTRLIST: Get Attribute List (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a process reads filesystem attributes via getattrlist(2). The payload names the attributes retrieved and the target file.

Fields #

NameDescription
attrlistThe attrlist structure specifying which attribute groups were retrieved.
targetPointer to the es_file_t for the file whose attributes were read.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "getattrlist": {
        "attrlist": {
          "bitmapcount": 5,
          "commonattr": 134217728,
          "dirattr": 0,
          "fileattr": 0,
          "forkattr": 0,
          "volattr": 0
        },
        "target": {
          "path": "/usr/libexec/xpcproxy",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 128,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 524320,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 1152921500312575884,
            "st_mode": 33261,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 233312,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 53,
    "global_seq_num": 0,
    "mach_time": 8838376351555,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 94360,
        "pidversion": 301349,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "CCE5A9291F9EDF6CF64C40599E481EE7BB5E2A38",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/xpcproxy",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 128,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575884,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 233312,
          "st_uid": 0
        }
      },
      "group_id": 1,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 94360,
        "pidversion": 301349,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 1,
      "signing_id": "com.apple.xpc.proxy",
      "start_time": "2026-06-22T23:24:44.448971Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3672361
    },
    "time": "2026-06-22T23:24:44.463422883Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_STAT: File Stat (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a process queries file metadata via stat(2) or related calls. Because stat is called by many system operations, this is a very high-volume event and most clients filter aggressively.

Fields #

NameDescription
targetPointer to the es_file_t for the file whose metadata was queried.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "stat": {
        "target": {
          "path": "/usr/bin",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 0,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 524288,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 1152921500312571579,
            "st_mode": 16877,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 926,
            "st_rdev": 0,
            "st_size": 29632,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 54,
    "global_seq_num": 0,
    "mach_time": 8837773020607,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "FA63DE333AA28550138FB1ADAA1178B79503E032",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/endpointsecurityd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 168,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575149,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 264384,
          "st_uid": 0
        }
      },
      "group_id": 391,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 391,
      "signing_id": "com.apple.endpointsecurityd",
      "start_time": "2026-06-17T20:22:01.680633Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3671143
    },
    "time": "2026-06-22T23:24:19.324858315Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_UTIMES: File Timestamp Modify (AUTH)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
AUTH (blocking)
Introduced
macOS 10.15.1

Description

Fires before the kernel allows a process to change the access or modification timestamps of a file via utimes(2) or related calls. An active ESF client must respond before the kernel proceeds. Timestamp manipulation is a common anti-forensics technique.

Fields #

NameDescription
targetPointer to the es_file_t for the file whose timestamps will be changed.
atimeThe new access time as a timespec value.
mtimeThe new modification time as a timespec value.

References #

ES_EVENT_TYPE_NOTIFY_UTIMES: File Timestamp Modify (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after the access or modification timestamps of a file are changed via utimes(2) or related calls. Timestamp modification is a common anti-forensics technique used to disguise recently dropped files.

Fields #

NameDescription
targetPointer to the es_file_t for the file whose timestamps were changed.
atimeThe new access time as a timespec value.
mtimeThe new modification time as a timespec value.

References #

ES_EVENT_TYPE_AUTH_GETEXTATTR: Get Extended Attribute (AUTH)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
AUTH (blocking)
Introduced
macOS 10.15.1

Description

Fires before the kernel allows a process to read an extended attribute via getxattr(2). An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
targetPointer to the es_file_t for the file whose extended attribute will be retrieved.
extattrToken holding the name of the extended attribute to be retrieved.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_GETEXTATTR), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "getextattr": {
        "extattr": "com.apple.root.installed",
        "target": {
          "path": "/System/Library/CoreServices/WiFiAgent.app/Contents/MacOS/WiFiAgent",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 448,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 524320,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 1152921500312105215,
            "st_mode": 33261,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 655936,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 64,
    "global_seq_num": 0,
    "mach_time": 8857245546038,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 466,
        "pidversion": 1086,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "45457D1E1F4205D62747F50DAC3986124EC293D7",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/airportd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 2592,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312574697,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 3220640,
          "st_uid": 0
        }
      },
      "group_id": 466,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 466,
        "pidversion": 1086,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 466,
      "signing_id": "com.apple.airport.airportd",
      "start_time": "2026-06-17T20:22:02.435512Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3687766
    },
    "time": "2026-06-22T23:37:49.969399850Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_GETEXTATTR: Get Extended Attribute (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a process reads an extended attribute via getxattr(2). The payload names the attribute retrieved and the target file.

Fields #

NameDescription
targetPointer to the es_file_t for the file whose extended attribute was retrieved.
extattrToken holding the name of the extended attribute that was retrieved.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "getextattr": {
        "extattr": "com.apple.root.installed",
        "target": {
          "path": "/System/Library/CoreServices/WiFiAgent.app/Contents/MacOS/WiFiAgent",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 448,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 524320,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 1152921500312105215,
            "st_mode": 33261,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 655936,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 64,
    "global_seq_num": 0,
    "mach_time": 8857245546038,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 466,
        "pidversion": 1086,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "45457D1E1F4205D62747F50DAC3986124EC293D7",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/airportd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 2592,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312574697,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 3220640,
          "st_uid": 0
        }
      },
      "group_id": 466,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 466,
        "pidversion": 1086,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 466,
      "signing_id": "com.apple.airport.airportd",
      "start_time": "2026-06-17T20:22:02.435512Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3687766
    },
    "time": "2026-06-22T23:37:49.969399850Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_LISTEXTATTR: List Extended Attributes (AUTH)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
AUTH (blocking)
Introduced
macOS 10.15.1

Description

Fires before the kernel allows a process to enumerate the extended attributes of a file via listxattr(2). An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
targetPointer to the es_file_t for the file whose extended attribute names will be listed.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_LISTEXTATTR), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "listextattr": {
        "target": {
          "path": "/Users/admin/Library/Containers/com.apple.news.tag/Data/SystemData/com.apple.chrono/timelines/topic/systemLarge---1341790371802874391----344.00w-344.00h-27.88r-kwXjBcg0jLGkOXgfIR#vfsEQ3NEuHIIxpQplS#DfabA=.chrono-timeline",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-06-22T23:25:27.793989526Z",
            "st_birthtimespec": "2026-06-22T23:25:27.148107512Z",
            "st_blksize": 4096,
            "st_blocks": 712,
            "st_ctimespec": "2026-06-22T23:25:27.804667681Z",
            "st_dev": 16777232,
            "st_flags": 0,
            "st_gen": 0,
            "st_gid": 20,
            "st_ino": 55968612,
            "st_mode": 33206,
            "st_mtimespec": "2026-06-22T23:25:27.791825712Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 364360,
            "st_uid": 501
          }
        }
      }
    },
    "event_type": 66,
    "global_seq_num": 0,
    "mach_time": 8839416570567,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 721,
        "pidversion": 1804,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "D66138B95614DDD3F43D02F3BF2B8F8A976846ED",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/System/Library/PrivateFrameworks/ChronoCore.framework/Support/chronod",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 64,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312266803,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 160992,
          "st_uid": 0
        }
      },
      "group_id": 721,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 721,
        "pidversion": 1804,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "com.apple.chronod",
      "start_time": "2026-06-17T20:22:06.330454Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3671806
    },
    "time": "2026-06-22T23:25:27.805494132Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_LISTEXTATTR: List Extended Attributes (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a process enumerates the extended attribute names of a file via listxattr(2).

Fields #

NameDescription
targetPointer to the es_file_t for the file whose extended attribute names were listed.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "listextattr": {
        "target": {
          "path": "/Users/admin/Library/Containers/com.apple.news.tag/Data/SystemData/com.apple.chrono/timelines/topic/systemLarge---1341790371802874391----344.00w-344.00h-27.88r-kwXjBcg0jLGkOXgfIR#vfsEQ3NEuHIIxpQplS#DfabA=.chrono-timeline",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-06-22T23:25:27.793989526Z",
            "st_birthtimespec": "2026-06-22T23:25:27.148107512Z",
            "st_blksize": 4096,
            "st_blocks": 712,
            "st_ctimespec": "2026-06-22T23:25:27.804667681Z",
            "st_dev": 16777232,
            "st_flags": 0,
            "st_gen": 0,
            "st_gid": 20,
            "st_ino": 55968612,
            "st_mode": 33206,
            "st_mtimespec": "2026-06-22T23:25:27.791825712Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 364360,
            "st_uid": 501
          }
        }
      }
    },
    "event_type": 66,
    "global_seq_num": 0,
    "mach_time": 8839416570567,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 721,
        "pidversion": 1804,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "D66138B95614DDD3F43D02F3BF2B8F8A976846ED",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/System/Library/PrivateFrameworks/ChronoCore.framework/Support/chronod",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 64,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312266803,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 160992,
          "st_uid": 0
        }
      },
      "group_id": 721,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 721,
        "pidversion": 1804,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "com.apple.chronod",
      "start_time": "2026-06-17T20:22:06.330454Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3671806
    },
    "time": "2026-06-22T23:25:27.805494132Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_READDIR: Read Directory (AUTH)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
AUTH (blocking)
Introduced
macOS 10.15.1

Description

Fires before the kernel allows a process to read a directory's entries. An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
targetPointer to the es_file_t for the directory whose contents will be read.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_READDIR), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "readdir": {
        "target": {
          "path": "/usr/bin",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 0,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 524288,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 1152921500312571579,
            "st_mode": 16877,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 926,
            "st_rdev": 0,
            "st_size": 29632,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 68,
    "global_seq_num": 0,
    "mach_time": 8838045020495,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "FA63DE333AA28550138FB1ADAA1178B79503E032",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/endpointsecurityd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 168,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575149,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 264384,
          "st_uid": 0
        }
      },
      "group_id": 391,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 391,
      "signing_id": "com.apple.endpointsecurityd",
      "start_time": "2026-06-17T20:22:01.680633Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3671870
    },
    "time": "2026-06-22T23:24:30.658085613Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_READDIR: Read Directory (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a process reads directory entries. The payload identifies the directory that was enumerated.

Fields #

NameDescription
targetPointer to the es_file_t for the directory whose contents were read.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "readdir": {
        "target": {
          "path": "/usr/bin",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 0,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 524288,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 1152921500312571579,
            "st_mode": 16877,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 926,
            "st_rdev": 0,
            "st_size": 29632,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 68,
    "global_seq_num": 0,
    "mach_time": 8838045020495,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "FA63DE333AA28550138FB1ADAA1178B79503E032",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/endpointsecurityd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 168,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575149,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 264384,
          "st_uid": 0
        }
      },
      "group_id": 391,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 391,
      "signing_id": "com.apple.endpointsecurityd",
      "start_time": "2026-06-17T20:22:01.680633Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3671870
    },
    "time": "2026-06-22T23:24:30.658085613Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_DELETEEXTATTR: Delete Extended Attribute (AUTH)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
AUTH (blocking)
Introduced
macOS 10.15.1

Description

Fires before the kernel allows a process to remove an extended attribute via removexattr(2). An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
targetPointer to the es_file_t for the file whose extended attribute will be deleted.
extattrToken holding the name of the extended attribute to be removed.

References #

ES_EVENT_TYPE_NOTIFY_DELETEEXTATTR: Delete Extended Attribute (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a process removes an extended attribute from a file via removexattr(2). The payload identifies the attribute that was removed and the target file.

Fields #

NameDescription
targetPointer to the es_file_t for the file from which the extended attribute was removed.
extattrToken holding the name of the extended attribute that was removed.

References #

ES_EVENT_TYPE_AUTH_FSGETPATH: Filesystem Path Retrieve (AUTH)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
AUTH (blocking)
Introduced
macOS 10.15.1

Description

Fires before the kernel allows a process to resolve the filesystem path of an object by inode number or file descriptor via fsgetpath(3). An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
targetPointer to the es_file_t for the filesystem object whose path will be retrieved.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_FSGETPATH), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "fsgetpath": {
        "target": {
          "path": "/usr/lib/dyld",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 1768,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 524320,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 1152921500312573277,
            "st_mode": 33261,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 2374000,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 72,
    "global_seq_num": 0,
    "mach_time": 8838186457671,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 94353,
        "pidversion": 301336,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "160AC44B1460AC5D214FE99209F7115AAC343870",
      "codesigning_flags": 570495761,
      "cs_validation_category": 6,
      "executable": {
        "path": "/Applications/Firefox.app/Contents/MacOS/plugin-container.app/Contents/MacOS/plugin-container",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-06-22T23:24:02.663764839Z",
          "st_birthtimespec": "2026-06-18T18:48:46.181229028Z",
          "st_blksize": 4096,
          "st_blocks": 232,
          "st_ctimespec": "2026-06-21T18:31:01.870714059Z",
          "st_dev": 16777232,
          "st_flags": 0,
          "st_gen": 0,
          "st_gid": 80,
          "st_ino": 55224233,
          "st_mode": 33277,
          "st_mtimespec": "2026-06-18T18:48:50.506541645Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 118656,
          "st_uid": 501
        }
      },
      "group_id": 83147,
      "is_es_client": false,
      "is_platform_binary": false,
      "original_ppid": 83147,
      "parent_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 83147,
        "pidversion": 271876,
        "rgid": 20,
        "ruid": 501
      },
      "ppid": 83147,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 83147,
        "pidversion": 271876,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "org.mozilla.plugincontainer",
      "start_time": "2026-06-22T23:24:36.550687Z",
      "team_id": "43AQ936H96",
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3672222
    },
    "time": "2026-06-22T23:24:36.551248569Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_FSGETPATH: Filesystem Path Retrieve (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a process resolves the filesystem path of an object via fsgetpath(3). The payload identifies the object whose path was retrieved.

Fields #

NameDescription
targetPointer to the es_file_t for the filesystem object whose path was retrieved.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "fsgetpath": {
        "target": {
          "path": "/usr/lib/dyld",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 1768,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 524320,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 1152921500312573277,
            "st_mode": 33261,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 2374000,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 72,
    "global_seq_num": 0,
    "mach_time": 8838186457671,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 94353,
        "pidversion": 301336,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "160AC44B1460AC5D214FE99209F7115AAC343870",
      "codesigning_flags": 570495761,
      "cs_validation_category": 6,
      "executable": {
        "path": "/Applications/Firefox.app/Contents/MacOS/plugin-container.app/Contents/MacOS/plugin-container",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-06-22T23:24:02.663764839Z",
          "st_birthtimespec": "2026-06-18T18:48:46.181229028Z",
          "st_blksize": 4096,
          "st_blocks": 232,
          "st_ctimespec": "2026-06-21T18:31:01.870714059Z",
          "st_dev": 16777232,
          "st_flags": 0,
          "st_gen": 0,
          "st_gid": 80,
          "st_ino": 55224233,
          "st_mode": 33277,
          "st_mtimespec": "2026-06-18T18:48:50.506541645Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 118656,
          "st_uid": 501
        }
      },
      "group_id": 83147,
      "is_es_client": false,
      "is_platform_binary": false,
      "original_ppid": 83147,
      "parent_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 83147,
        "pidversion": 271876,
        "rgid": 20,
        "ruid": 501
      },
      "ppid": 83147,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 83147,
        "pidversion": 271876,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "org.mozilla.plugincontainer",
      "start_time": "2026-06-22T23:24:36.550687Z",
      "team_id": "43AQ936H96",
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3672222
    },
    "time": "2026-06-22T23:24:36.551248569Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_SETACL: Set File ACL (AUTH)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
AUTH (blocking)
Introduced
macOS 10.15.1

Description

Fires before the kernel allows a process to set or clear the Access Control List on a file. An active ESF client must respond before the kernel proceeds. ACL modification can be used to grant or revoke access to sensitive files.

Fields #

NameDescription
targetPointer to the es_file_t for the file whose ACL will be modified.
set_or_clearIndicates whether the operation sets (ES_SET) or clears (ES_CLEAR) the ACL on the target file.
aclUnion containing the acl_t pointer for the new ACL; valid only when set_or_clear is ES_SET.

References #

ES_EVENT_TYPE_NOTIFY_SETACL: Set File ACL (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Metadata Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after the Access Control List on a file is set or cleared. The payload records whether the operation set or cleared the ACL and, when setting, the ACL value applied.

Fields #

NameDescription
targetPointer to the es_file_t for the file whose ACL was modified.
set_or_clearIndicates whether the ACL was set (ES_SET) or cleared (ES_CLEAR).
aclUnion containing the acl_t pointer for the applied ACL; valid when set_or_clear is ES_SET.

References #

ES_EVENT_TYPE_AUTH_FILE_PROVIDER_MATERIALIZE: File Provider Materialize (AUTH)

#
Source
Endpoint Security (ESF)
Section
File Provider Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before a FileProvider extension downloads and places a cloud-backed (evicted) file onto local storage. An active ESF client must respond before the kernel proceeds. The payload identifies the staged source and the local destination.

Fields #

NameDescription
instigatorPointer to the es_process_t for the process that triggered the materialization.
sourcePointer to the es_file_t for the staged (temporary) file being materialized.
targetPointer to the es_file_t for the local destination where the materialized file will be placed.

References #

ES_EVENT_TYPE_NOTIFY_FILE_PROVIDER_MATERIALIZE: File Provider Materialize (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Provider Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a FileProvider extension places a cloud-backed file on local storage. The payload identifies the staged source and the local destination where the file now resides.

Fields #

NameDescription
instigatorPointer to the es_process_t for the process that triggered the materialization.
sourcePointer to the es_file_t for the staged file that was materialized.
targetPointer to the es_file_t for the local destination of the materialized file.

References #

ES_EVENT_TYPE_AUTH_FILE_PROVIDER_UPDATE: File Provider Update (AUTH)

#
Source
Endpoint Security (ESF)
Section
File Provider Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before a FileProvider extension updates the local copy of a cloud-backed file. An active ESF client must respond before the kernel proceeds. The payload identifies the staged source and the destination path.

Fields #

NameDescription
sourcePointer to the es_file_t for the staged file whose updated contents will be applied.
target_pathToken holding the local path to which the staged source will be moved after the update.

References #

ES_EVENT_TYPE_NOTIFY_FILE_PROVIDER_UPDATE: File Provider Update (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File Provider Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a FileProvider extension updates the local copy of a cloud-backed file. The payload identifies the staged source and the local path to which it was moved.

Fields #

NameDescription
sourcePointer to the es_file_t for the staged file whose contents were applied.
target_pathToken holding the local path to which the staged source was moved.

References #

ES_EVENT_TYPE_AUTH_UNLINK: File Unlink (AUTH)

#
Source
Endpoint Security (ESF)
Section
Symbolic Link Events
Action
AUTH (blocking)
Introduced
macOS 10.15

ES_EVENT_TYPE_NOTIFY_LINK: Hard Link Create (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
Symbolic Link Events
Action
NOTIFY
Introduced
macOS 10.15

ES_EVENT_TYPE_NOTIFY_UNLINK: File Unlink (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
Symbolic Link Events
Action
NOTIFY
Introduced
macOS 10.15

ES_EVENT_TYPE_AUTH_READLINK: Symbolic Link Read (AUTH)

#
Source
Endpoint Security (ESF)
Section
Symbolic Link Events
Action
AUTH (blocking)
Introduced
macOS 10.15

ES_EVENT_TYPE_NOTIFY_READLINK: Symbolic Link Read (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
Symbolic Link Events
Action
NOTIFY
Introduced
macOS 10.15

ES_EVENT_TYPE_AUTH_LINK: Hard Link Create (AUTH)

#
Source
Endpoint Security (ESF)
Section
Symbolic Link Events
Action
AUTH (blocking)
Introduced
macOS 10.15

ES_EVENT_TYPE_AUTH_MOUNT: Filesystem Mount (AUTH)

#
Source
Endpoint Security (ESF)
Section
File System Mounting Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before the kernel allows a filesystem to be mounted. An active ESF client must respond before the kernel proceeds. The payload contains the statfs structure for the filesystem being mounted.

Fields #

NameDescription
statfsPointer to the statfs structure describing the filesystem being mounted, including mount point, filesystem type (f_fstypename), and device name (f_mntfromname).
dispositionThe device disposition of the mounted filesystem (es_mount_disposition_t -- external, internal, network, virtual, nullfs, or unknown); eslogger serializes it as the raw enum integer, e.g. 3 = virtual/dmg-backed (message version 8+, macOS 15+).

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_MOUNT), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "mount": {
        "disposition": 3,
        "statfs": {
          "f_bavail": 1178,
          "f_bfree": 1178,
          "f_blocks": 1270,
          "f_bsize": 4096,
          "f_ffree": 47120,
          "f_files": 47120,
          "f_flags": 77632024,
          "f_flags_ext": 0,
          "f_fsid": [
            16777239,
            26
          ],
          "f_fssubtype": 0,
          "f_fstypename": "apfs",
          "f_iosize": 1048576,
          "f_mntfromname": "/dev/disk5s1",
          "f_mntonname": "/Volumes/DWM",
          "f_owner": 0,
          "f_type": 26
        }
      }
    },
    "event_type": 22,
    "global_seq_num": 0,
    "mach_time": 8840980752572,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 94566,
        "pidversion": 301743,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "033D8813676B5B0FCC450F44C0190C61DC3E499A",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/System/Library/Filesystems/apfs.fs/Contents/Resources/mount_apfs",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 64,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312141477,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 140048,
          "st_uid": 0
        }
      },
      "group_id": 410,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 94565,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 94565,
        "pidversion": 301741,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 94565,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 410,
        "pidversion": 997,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 410,
      "signing_id": "com.apple.mount_apfs",
      "start_time": "2026-06-22T23:26:32.255503Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3674014
    },
    "time": "2026-06-22T23:26:32.275733421Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_MOUNT: Filesystem Mount (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Mounting Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a filesystem is successfully mounted. The payload contains the statfs structure for the mounted filesystem, and in message version 8 and later, a disposition flag for the device.

Fields #

NameDescription
statfsPointer to the statfs structure for the mounted filesystem, including mount point (f_mntonname), device (f_mntfromname), and filesystem type (f_fstypename).
dispositionThe device disposition of the mounted filesystem (es_mount_disposition_t -- external, internal, network, virtual, nullfs, or unknown); eslogger serializes it as the raw enum integer, e.g. 3 = virtual/dmg-backed (message version 8+, macOS 15+).

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "mount": {
        "disposition": 3,
        "statfs": {
          "f_bavail": 1178,
          "f_bfree": 1178,
          "f_blocks": 1270,
          "f_bsize": 4096,
          "f_ffree": 47120,
          "f_files": 47120,
          "f_flags": 77632024,
          "f_flags_ext": 0,
          "f_fsid": [
            16777239,
            26
          ],
          "f_fssubtype": 0,
          "f_fstypename": "apfs",
          "f_iosize": 1048576,
          "f_mntfromname": "/dev/disk5s1",
          "f_mntonname": "/Volumes/DWM",
          "f_owner": 0,
          "f_type": 26
        }
      }
    },
    "event_type": 22,
    "global_seq_num": 0,
    "mach_time": 8840980752572,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 94566,
        "pidversion": 301743,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "033D8813676B5B0FCC450F44C0190C61DC3E499A",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/System/Library/Filesystems/apfs.fs/Contents/Resources/mount_apfs",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 64,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312141477,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 140048,
          "st_uid": 0
        }
      },
      "group_id": 410,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 94565,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 94565,
        "pidversion": 301741,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 94565,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 410,
        "pidversion": 997,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 410,
      "signing_id": "com.apple.mount_apfs",
      "start_time": "2026-06-22T23:26:32.255503Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3674014
    },
    "time": "2026-06-22T23:26:32.275733421Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_UNMOUNT: Filesystem Unmount (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Mounting Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a filesystem is unmounted. The payload contains the statfs structure describing the filesystem that was detached.

Fields #

NameDescription
statfsPointer to the statfs structure for the filesystem that was unmounted, including the former mount point and device name.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "unmount": {
        "statfs": {
          "f_bavail": 1176,
          "f_bfree": 1176,
          "f_blocks": 1270,
          "f_bsize": 4096,
          "f_ffree": 47040,
          "f_files": 47042,
          "f_flags": 77632024,
          "f_flags_ext": 0,
          "f_fsid": [
            16777239,
            26
          ],
          "f_fssubtype": 1,
          "f_fstypename": "apfs",
          "f_iosize": 2097152,
          "f_mntfromname": "/dev/disk5s1",
          "f_mntonname": "/Volumes/DWU",
          "f_owner": 0,
          "f_type": 26
        }
      }
    },
    "event_type": 23,
    "global_seq_num": 0,
    "mach_time": 8841191003152,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 410,
        "pidversion": 997,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "4EB168D4A4FF05762D84BF9988F5949E63D62ED8",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/diskarbitrationd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 400,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575092,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 496080,
          "st_uid": 0
        }
      },
      "group_id": 410,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 410,
        "pidversion": 997,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 410,
      "signing_id": "com.apple.diskarbitrationd",
      "start_time": "2026-06-17T20:22:01.684772Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3674330
    },
    "time": "2026-06-22T23:26:41.036095486Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_REMOUNT: Filesystem Remount (AUTH)

#
Source
Endpoint Security (ESF)
Section
File System Mounting Events
Action
AUTH (blocking)
Introduced
macOS 11.0

Description

Fires before the kernel allows a filesystem to be remounted with changed options (for example, upgrading from read-only to read-write). An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
statfsPointer to the statfs structure for the filesystem being remounted, including the current mount point and device name.

References #

ES_EVENT_TYPE_NOTIFY_REMOUNT: Filesystem Remount (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
File System Mounting Events
Action
NOTIFY
Introduced
macOS 11.0

Description

Fires after a filesystem is remounted with changed options. Remounting a read-only filesystem as read-write is a classic persistence or privilege-escalation step.

Fields #

NameDescription
statfsPointer to the statfs structure for the filesystem that was remounted, including the mount point and device name.

References #

ES_EVENT_TYPE_AUTH_MMAP: Memory Map File (Auth)

#
Source
Endpoint Security (ESF)
Section
Memory Mapping Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before the kernel maps a file into a process's address space and requires an active ESF client to respond before the mmap(2) call completes. The payload identifies the file being mapped and the requested memory protection flags, enabling detection of attempts to create executable or writable memory-mapped regions.

Fields #

NameDescription
sourceThe es_file_t for the file system object being mapped into memory.
protectionThe protection value (PROT_READ, PROT_WRITE, PROT_EXEC) requested for the mapped region.
max_protectionThe maximum protection value the operating system will allow for this mapping.
flagsThe mmap(2) flags describing the type and attributes of the mapping (e.g. MAP_PRIVATE, MAP_SHARED).
file_posThe byte offset into the source file at which mapping begins.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_MMAP), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "mmap": {
        "file_pos": 0,
        "flags": 262145,
        "max_protection": 1,
        "protection": 1,
        "source": {
          "path": "/Users/admin/Library/Biome/streams/restricted/App.Intent/local/799521575748394",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-06-22T23:36:59.432460306Z",
            "st_birthtimespec": "2026-05-03T17:19:35.748925253Z",
            "st_blksize": 4096,
            "st_blocks": 2048,
            "st_ctimespec": "2026-06-22T23:32:00.944504500Z",
            "st_dev": 16777232,
            "st_flags": 0,
            "st_gen": 0,
            "st_gid": 20,
            "st_ino": 49502158,
            "st_mode": 33152,
            "st_mtimespec": "2026-05-03T17:19:35.749242251Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 1048576,
            "st_uid": 501
          }
        }
      }
    },
    "event_type": 20,
    "global_seq_num": 0,
    "mach_time": 8856032652556,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 827,
        "pidversion": 2091,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "2C8D40BF9E4A968649770AA591E953D497415693",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/duetexpertd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 64,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575125,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 176016,
          "st_uid": 0
        }
      },
      "group_id": 827,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 827,
        "pidversion": 2091,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "com.apple.duetexpertd",
      "start_time": "2026-06-17T20:22:07.969631Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3686812
    },
    "time": "2026-06-22T23:36:59.432623388Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_MPROTECT: Memory Protection Change (Auth)

#
Source
Endpoint Security (ESF)
Section
Memory Mapping Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before the kernel applies a mprotect(2) call and requires an active ESF client to respond before the protection change takes effect. The payload carries the desired protection flags, base address, and region size, which allows detection of pages being made executable after being written (a common shellcode staging pattern).

Fields #

NameDescription
protectionThe desired new protection value (e.g. PROT_READ | PROT_EXEC) that the process is requesting.
addressThe base address of the memory region to which the new protection will apply.
sizeThe size in bytes of the memory region to which the new protection will apply.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_MPROTECT), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "mprotect": {
        "address": 4858068992,
        "protection": 3,
        "size": 16384
      }
    },
    "event_type": 21,
    "global_seq_num": 0,
    "mach_time": 8835485357972,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 92909,
        "pidversion": 298530,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "160AC44B1460AC5D214FE99209F7115AAC343870",
      "codesigning_flags": 570495761,
      "cs_validation_category": 6,
      "executable": {
        "path": "/Applications/Firefox.app/Contents/MacOS/plugin-container.app/Contents/MacOS/plugin-container",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-06-22T23:22:28.730755763Z",
          "st_birthtimespec": "2026-06-18T18:48:46.181229028Z",
          "st_blksize": 4096,
          "st_blocks": 232,
          "st_ctimespec": "2026-06-21T18:31:01.870714059Z",
          "st_dev": 16777232,
          "st_flags": 0,
          "st_gen": 0,
          "st_gid": 80,
          "st_ino": 55224233,
          "st_mode": 33277,
          "st_mtimespec": "2026-06-18T18:48:50.506541645Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 118656,
          "st_uid": 501
        }
      },
      "group_id": 83147,
      "is_es_client": false,
      "is_platform_binary": false,
      "original_ppid": 83147,
      "parent_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 83147,
        "pidversion": 271876,
        "rgid": 20,
        "ruid": 501
      },
      "ppid": 83147,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 83147,
        "pidversion": 271876,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "org.mozilla.plugincontainer",
      "start_time": "2026-06-22T23:03:23.065175Z",
      "team_id": "43AQ936H96",
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3654551
    },
    "time": "2026-06-22T23:22:44.006434380Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_MMAP: Memory Map File (Notify)

#
Source
Endpoint Security (ESF)
Section
Memory Mapping Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a file is successfully mapped into a process's address space via mmap(2). The payload is identical to the AUTH variant and carries the source file, protection flags, and mapping attributes, which are useful for identifying dylib loading and executable memory creation.

Fields #

NameDescription
sourceThe es_file_t for the file system object that was mapped.
protectionThe protection value applied to the mapped region.
max_protectionThe maximum protection value the OS will respect for this mapping.
flagsThe mmap(2) flags describing the mapping type and attributes.
file_posThe byte offset into the source file at which mapping begins.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "mmap": {
        "file_pos": 0,
        "flags": 262145,
        "max_protection": 1,
        "protection": 1,
        "source": {
          "path": "/Users/admin/Library/Biome/streams/restricted/App.Intent/local/799521575748394",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-06-22T23:36:59.432460306Z",
            "st_birthtimespec": "2026-05-03T17:19:35.748925253Z",
            "st_blksize": 4096,
            "st_blocks": 2048,
            "st_ctimespec": "2026-06-22T23:32:00.944504500Z",
            "st_dev": 16777232,
            "st_flags": 0,
            "st_gen": 0,
            "st_gid": 20,
            "st_ino": 49502158,
            "st_mode": 33152,
            "st_mtimespec": "2026-05-03T17:19:35.749242251Z",
            "st_nlink": 1,
            "st_rdev": 0,
            "st_size": 1048576,
            "st_uid": 501
          }
        }
      }
    },
    "event_type": 20,
    "global_seq_num": 0,
    "mach_time": 8856032652556,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 827,
        "pidversion": 2091,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "2C8D40BF9E4A968649770AA591E953D497415693",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/duetexpertd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 64,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575125,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 176016,
          "st_uid": 0
        }
      },
      "group_id": 827,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 827,
        "pidversion": 2091,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "com.apple.duetexpertd",
      "start_time": "2026-06-17T20:22:07.969631Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3686812
    },
    "time": "2026-06-22T23:36:59.432623388Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_MPROTECT: Memory Protection Change (Notify)

#
Source
Endpoint Security (ESF)
Section
Memory Mapping Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after mprotect(2) changes the protection on a memory region. The payload is identical to the AUTH variant and carries the new protection value, base address, and region size, useful for detecting shellcode staging where a written region is subsequently made executable.

Fields #

NameDescription
protectionThe new protection value applied to the memory region.
addressThe base address of the memory region that received the new protection.
sizeThe size in bytes of the memory region that received the new protection.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "mprotect": {
        "address": 4858068992,
        "protection": 3,
        "size": 16384
      }
    },
    "event_type": 21,
    "global_seq_num": 0,
    "mach_time": 8835485357972,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 92909,
        "pidversion": 298530,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "160AC44B1460AC5D214FE99209F7115AAC343870",
      "codesigning_flags": 570495761,
      "cs_validation_category": 6,
      "executable": {
        "path": "/Applications/Firefox.app/Contents/MacOS/plugin-container.app/Contents/MacOS/plugin-container",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-06-22T23:22:28.730755763Z",
          "st_birthtimespec": "2026-06-18T18:48:46.181229028Z",
          "st_blksize": 4096,
          "st_blocks": 232,
          "st_ctimespec": "2026-06-21T18:31:01.870714059Z",
          "st_dev": 16777232,
          "st_flags": 0,
          "st_gen": 0,
          "st_gid": 80,
          "st_ino": 55224233,
          "st_mode": 33277,
          "st_mtimespec": "2026-06-18T18:48:50.506541645Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 118656,
          "st_uid": 501
        }
      },
      "group_id": 83147,
      "is_es_client": false,
      "is_platform_binary": false,
      "original_ppid": 83147,
      "parent_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 83147,
        "pidversion": 271876,
        "rgid": 20,
        "ruid": 501
      },
      "ppid": 83147,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 83147,
        "pidversion": 271876,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 1,
      "signing_id": "org.mozilla.plugincontainer",
      "start_time": "2026-06-22T23:03:23.065175Z",
      "team_id": "43AQ936H96",
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3654551
    },
    "time": "2026-06-22T23:22:44.006434380Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_EXEC: Process Execution (Auth)

#
Source
Endpoint Security (ESF)
Section
Process Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before the kernel commits an execve(2) or posix_spawn(2) call and allows an active ESF client to allow or deny the execution before it proceeds. The payload carries the fully-resolved target process, its arguments and environment, the interpreter script (if any), the working directory, and code-signing metadata.

Fields #

NameDescription
targetThe es_process_t for the new process being executed, carrying executable.path, audit_token, ppid, signing_id, team_id, cdhash, codesigning_flags, and is_platform_binary.
scriptThe es_file_t for the script being executed by an interpreter (valid when a script is invoked directly, e.g. ./foo.sh; available at message version 2+).
cwdThe es_file_t representing the working directory at exec time (message version 3+).
last_fdThe highest open file descriptor number after exec completed; may exceed the count returned by es_exec_fd_count when ESF caps the fd list (message version 4+).
dyld_exec_pathThe exec path passed to dyld before symlink resolution; the literal path from execve(2)/posix_spawn(2) or the shebang interpreter line (message version 7+, macOS 13.3+).
image_cputypeThe CPU type (cpu_type_t) of the executable image being loaded (message version 6+).
image_cpusubtypeThe CPU subtype (cpu_subtype_t) of the executable image being loaded; the companion to image_cputype (message version 6+).

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_EXEC), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "exec": {
        "args": [
          "xpcproxy",
          "com.apple.WorkflowKit.BackgroundShortcutRunner.D9274865-BE5E-4A84-B081-772EF7335057",
          "827"
        ],
        "cwd": {
          "path": "/",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 0,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 1048576,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 2,
            "st_mode": 16877,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 22,
            "st_rdev": 0,
            "st_size": 704,
            "st_uid": 0
          }
        },
        "dyld_exec_path": "/usr/libexec/xpcproxy",
        "env": [
          "XPC_FLAGS=0x100"
        ],
        "fds": [
          {
            "fd": 0,
            "fdtype": 1
          },
          {
            "fd": 1,
            "fdtype": 1
          },
          {
            "fd": 2,
            "fdtype": 1
          }
        ],
        "image_cpusubtype": -2147483646,
        "image_cputype": 16777228,
        "last_fd": 2,
        "script": null,
        "target": {
          "audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 94047,
            "pidversion": 300768,
            "rgid": 0,
            "ruid": 0
          },
          "cdhash": "CCE5A9291F9EDF6CF64C40599E481EE7BB5E2A38",
          "codesigning_flags": 637623057,
          "cs_validation_category": 1,
          "executable": {
            "path": "/usr/libexec/xpcproxy",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-05-21T08:57:02.000000000Z",
              "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_blksize": 4096,
              "st_blocks": 128,
              "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
              "st_dev": 16777232,
              "st_flags": 524320,
              "st_gen": 0,
              "st_gid": 0,
              "st_ino": 1152921500312575884,
              "st_mode": 33261,
              "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 233312,
              "st_uid": 0
            }
          },
          "group_id": 1,
          "is_es_client": false,
          "is_platform_binary": true,
          "original_ppid": 1,
          "parent_audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 1,
            "pidversion": 721,
            "rgid": 0,
            "ruid": 0
          },
          "ppid": 1,
          "responsible_audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 94047,
            "pidversion": 300768,
            "rgid": 0,
            "ruid": 0
          },
          "session_id": 1,
          "signing_id": "com.apple.xpc.proxy",
          "start_time": "2026-06-22T23:21:32.842747Z",
          "team_id": null,
          "tty": null
        }
      }
    },
    "event_type": 9,
    "global_seq_num": 0,
    "mach_time": 8833777452940,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 94047,
        "pidversion": 300767,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "D0795D8BCA8F0892188E582BC30A4361228FED4F",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/sbin/launchd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 1096,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312571497,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 1239616,
          "st_uid": 0
        }
      },
      "group_id": 1,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 94047,
        "pidversion": 300767,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 1,
      "signing_id": "com.apple.xpc.launchd",
      "start_time": "2026-06-22T23:21:32.842747Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3668926
    },
    "time": "2026-06-22T23:21:32.844361216Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_SIGNAL: Signal Delivery (Auth)

#
Source
Endpoint Security (ESF)
Section
Process Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before a signal is delivered to a process and requires an active ESF client to respond before the kernel sends it. The payload identifies the signal number and the target process, enabling a client to block signals such as SIGKILL used in process-termination attacks.

Fields #

NameDescription
sigThe signal number to be delivered (e.g. SIGKILL, SIGTERM, SIGSTOP).
targetThe es_process_t for the process that will receive the signal.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_SIGNAL), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "signal": {
        "instigator": null,
        "sig": 28,
        "target": {
          "audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 0,
            "euid": 0,
            "pid": 92127,
            "pidversion": 296965,
            "rgid": 0,
            "ruid": 0
          },
          "cdhash": "3109741DA6031130F46B8481F48B2E877DE291CC",
          "codesigning_flags": 637623057,
          "cs_validation_category": 1,
          "executable": {
            "path": "/usr/bin/su",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-05-21T08:57:02.000000000Z",
              "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_blksize": 4096,
              "st_blocks": 48,
              "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
              "st_dev": 16777232,
              "st_flags": 524320,
              "st_gen": 0,
              "st_gid": 0,
              "st_ino": 1152921500312572873,
              "st_mode": 35309,
              "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 121904,
              "st_uid": 0
            }
          },
          "group_id": 92127,
          "is_es_client": false,
          "is_platform_binary": true,
          "original_ppid": 92126,
          "parent_audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 0,
            "euid": 0,
            "pid": 92126,
            "pidversion": 296963,
            "rgid": 0,
            "ruid": 501
          },
          "ppid": 92126,
          "responsible_audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 20,
            "euid": 501,
            "pid": 92091,
            "pidversion": 296896,
            "rgid": 20,
            "ruid": 501
          },
          "session_id": 92126,
          "signing_id": "com.apple.su",
          "start_time": "2026-06-22T22:35:16.129389Z",
          "team_id": null,
          "tty": {
            "path": "/dev/ttys004",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-06-22T23:36:04.975739000Z",
              "st_birthtimespec": "1970-01-01T00:00:00.000000000Z",
              "st_blksize": 65536,
              "st_blocks": 0,
              "st_ctimespec": "2026-06-22T23:36:49.937900000Z",
              "st_dev": -1278915369,
              "st_flags": 0,
              "st_gen": 0,
              "st_gid": 4,
              "st_ino": 905,
              "st_mode": 8592,
              "st_mtimespec": "2026-06-22T23:36:49.937900000Z",
              "st_nlink": 1,
              "st_rdev": 268435460,
              "st_size": 0,
              "st_uid": 0
            }
          }
        }
      }
    },
    "event_type": 31,
    "global_seq_num": 0,
    "mach_time": 8855821773392,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 0,
        "euid": 0,
        "pid": 92125,
        "pidversion": 296962,
        "rgid": 0,
        "ruid": 501
      },
      "cdhash": "38D069EDFD9BB51CCD15082DBD35F870A3885D20",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/bin/sudo",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 1472,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312572875,
          "st_mode": 35145,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 1580368,
          "st_uid": 0
        }
      },
      "group_id": 92125,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 92093,
      "parent_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 92093,
        "pidversion": 296900,
        "rgid": 20,
        "ruid": 501
      },
      "ppid": 92093,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 92091,
        "pidversion": 296896,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 92092,
      "signing_id": "com.apple.sudo",
      "start_time": "2026-06-22T22:35:16.091839Z",
      "team_id": null,
      "tty": {
        "path": "/dev/ttys003",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-06-22T23:36:04.989333000Z",
          "st_birthtimespec": "1970-01-01T00:00:00.000000000Z",
          "st_blksize": 65536,
          "st_blocks": 0,
          "st_ctimespec": "2026-06-22T23:36:49.937920000Z",
          "st_dev": -1278915369,
          "st_flags": 0,
          "st_gen": 0,
          "st_gid": 4,
          "st_ino": 901,
          "st_mode": 8592,
          "st_mtimespec": "2026-06-22T23:36:49.937920000Z",
          "st_nlink": 1,
          "st_rdev": 268435459,
          "st_size": 0,
          "st_uid": 501
        }
      }
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3637822
    },
    "time": "2026-06-22T23:36:50.646070224Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_EXEC: Process Execution (Notify)

#
Source
Endpoint Security (ESF)
Section
Process Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after execve(2) or posix_spawn(2) succeeds, delivering a post-fact record of the new process. The payload is identical to the AUTH variant and carries the target process, arguments, environment, interpreter script, working directory, and code-signing metadata.

Fields #

NameDescription
targetThe es_process_t for the newly executing process, including executable.path, audit_token, ppid, signing_id, team_id, cdhash, codesigning_flags, and is_platform_binary.
scriptThe es_file_t for the script invoked directly by an interpreter (available at message version 2+).
cwdThe es_file_t representing the working directory at exec time (message version 3+).
last_fdThe highest open file descriptor number after exec completed (message version 4+).
dyld_exec_pathThe exec path passed to dyld before symlink resolution (message version 7+, macOS 13.3+).
image_cputypeThe CPU type of the executable image being loaded (message version 6+).
image_cpusubtypeThe CPU subtype of the executable image being loaded, paired with image_cputype (message version 6+).

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "exec": {
        "args": [
          "xpcproxy",
          "com.apple.WorkflowKit.BackgroundShortcutRunner.D9274865-BE5E-4A84-B081-772EF7335057",
          "827"
        ],
        "cwd": {
          "path": "/",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-05-21T08:57:02.000000000Z",
            "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_blksize": 4096,
            "st_blocks": 0,
            "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
            "st_dev": 16777232,
            "st_flags": 1048576,
            "st_gen": 0,
            "st_gid": 0,
            "st_ino": 2,
            "st_mode": 16877,
            "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
            "st_nlink": 22,
            "st_rdev": 0,
            "st_size": 704,
            "st_uid": 0
          }
        },
        "dyld_exec_path": "/usr/libexec/xpcproxy",
        "env": [
          "XPC_FLAGS=0x100"
        ],
        "fds": [
          {
            "fd": 0,
            "fdtype": 1
          },
          {
            "fd": 1,
            "fdtype": 1
          },
          {
            "fd": 2,
            "fdtype": 1
          }
        ],
        "image_cpusubtype": -2147483646,
        "image_cputype": 16777228,
        "last_fd": 2,
        "script": null,
        "target": {
          "audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 94047,
            "pidversion": 300768,
            "rgid": 0,
            "ruid": 0
          },
          "cdhash": "CCE5A9291F9EDF6CF64C40599E481EE7BB5E2A38",
          "codesigning_flags": 637623057,
          "cs_validation_category": 1,
          "executable": {
            "path": "/usr/libexec/xpcproxy",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-05-21T08:57:02.000000000Z",
              "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_blksize": 4096,
              "st_blocks": 128,
              "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
              "st_dev": 16777232,
              "st_flags": 524320,
              "st_gen": 0,
              "st_gid": 0,
              "st_ino": 1152921500312575884,
              "st_mode": 33261,
              "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 233312,
              "st_uid": 0
            }
          },
          "group_id": 1,
          "is_es_client": false,
          "is_platform_binary": true,
          "original_ppid": 1,
          "parent_audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 1,
            "pidversion": 721,
            "rgid": 0,
            "ruid": 0
          },
          "ppid": 1,
          "responsible_audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 94047,
            "pidversion": 300768,
            "rgid": 0,
            "ruid": 0
          },
          "session_id": 1,
          "signing_id": "com.apple.xpc.proxy",
          "start_time": "2026-06-22T23:21:32.842747Z",
          "team_id": null,
          "tty": null
        }
      }
    },
    "event_type": 9,
    "global_seq_num": 0,
    "mach_time": 8833777452940,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 94047,
        "pidversion": 300767,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "D0795D8BCA8F0892188E582BC30A4361228FED4F",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/sbin/launchd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 1096,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312571497,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 1239616,
          "st_uid": 0
        }
      },
      "group_id": 1,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 94047,
        "pidversion": 300767,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 1,
      "signing_id": "com.apple.xpc.launchd",
      "start_time": "2026-06-22T23:21:32.842747Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3668926
    },
    "time": "2026-06-22T23:21:32.844361216Z",
    "version": 10
  }
}

Detection Patterns #

Command & Control: Ingress Tool Transfer

1 rule

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
process_nameinbash9 ruleselastic, splunk
process_nameinsh9 ruleselastic, splunk
process_nameinzsh8 ruleselastic, splunk
process_nameincurl6 ruleselastic, splunk
process_nameindash5 ruleselastic, splunk
Imageends_with/osascript7 rulessigma
Imageends_with/bash6 rulessigma
Imageends_with/curl6 rulessigma
Imageends_with/sh6 rulessigma
Imageends_with/dscl5 rulessigma
parent_process_nameinbash6 ruleselastic
parent_process_nameinsh6 ruleselastic
parent_process_nameinzsh5 ruleselastic
CommandLinecontains -e 4 rulessigma
CommandLinecontains-d4 rulessigma, splunk

Detection Rules #

View all rules referencing this event →

Sigma #

Show 17 more (71 total)

Elastic #

  • Curl or Wget Spawned via Node.js source medium: This rule detects when Node.js, directly or via a shell, spawns the curl or wget command. This may indicate command and control behavior. Adversaries may use Node.js to download additional tools or payloads onto the system.
  • Kubectl Network Configuration Modification source low: This rule detects potential kubectl network configuration modification activity by monitoring for process events where the kubectl command is executed with arguments that suggest an attempt to modify network configurations in Kubernetes. This could indicate an adversary trying to manipulate network settings for malicious purposes, such as establishing unauthorized access or exfiltrating data.
  • Data Encrypted via OpenSSL Utility source low: Identifies the execution of the OpenSSL utility to encrypt data. Adversaries may use OpenSSL to encrypt data to disrupt the availability of their target's data and may attempt to hold the organization's data to ransom for the purposes of extortion.
Show 17 more (45 total)
  • Tampering of Shell Command-Line History source medium: Adversaries may attempt to clear or disable the Bash command-line history in an attempt to evade detection or forensic investigations.
  • Potential Impersonation Attempt via Kubectl source medium: This rule detects potential impersonation attempts via the "kubectl" command in Linux and macOS environments. It identifies process events where "kubectl" is executed with arguments that suggest an attempt to impersonate another user or group, such as using "--kubeconfig", "--token", "--as", or "--as-group". This could indicate an adversary trying to gain unauthorized access or escalate privileges within a Kubernetes cluster. If this rule is triggered, in conjunction with rules related to secret access or kubeconfig file discovery, it may indicate a potential impersonation attempt.
  • Potential Kubectl Masquerading via Unexpected Process source medium: This rule detects potential kubectl masquerading activity by monitoring for process events where the process name is not "kubectl" but the command line arguments include kubectl-related commands. This could indicate an adversary attempting to masquerade as legitimate kubectl activity to evade detection. This rule covers evasion gaps introduced by renaming the kubectl binary, or placing it in an unusual directory.
  • Processes with Trailing Spaces source low: Identify instances where adversaries include trailing space characters to mimic regular files, disguising their activity to evade default file handling mechanisms.
  • Timestomping using Touch Command source medium: Timestomping is an anti-forensics technique which is used to modify the timestamps of a file, often to mimic files that are in the same folder.
  • Kubectl Permission Discovery source medium: This rule detects the use of the "kubectl auth --can-i" command, which is used to check permissions in Kubernetes clusters. Attackers may use this command to enumerate permissions and discover potential misconfigurations in the cluster, allowing them to gain unauthorized access or escalate privileges.
  • Kubectl Secrets Enumeration Across All Namespaces source high: This rule detects the use of the "kubectl get secrets --all-namespaces" command, which enumerates secret resources across the entire Kubernetes cluster. Attackers may use this command to identify accessible secrets in multiple namespaces, aiding credential discovery, privilege escalation, or lateral movement.
  • AWS SSM `SendCommand` with Run Shell Command Parameters source medium: Identifies the use of the AWS Systems Manager (SSM) SendCommand API with the either AWS-RunShellScript or AWS-RunPowerShellScript parameters. The SendCommand API call allows users to execute commands on EC2 instances using the SSM service. Adversaries may use this technique to execute commands on EC2 instances without the need for SSH or RDP access. This behavior may indicate an adversary attempting to execute commands on an EC2 instance for malicious purposes. This is a New Terms rule that only flags when this behavior is observed for the first time on a host in the last 7 days.
  • AWS SSM Session Manager Child Process Execution source medium: Identifies process start events where the parent process is the AWS Systems Manager (SSM) Session Manager worker. Session Manager provides interactive shell access to EC2 instances and hybrid nodes without bastion hosts or open inbound ports. Adversaries abuse it for remote execution and lateral movement using legitimate AWS credentials and IAM permissions. This rule surfaces endpoint execution occurring under that worker for visibility and hunting. Expect noise from authorized administrative sessions.
  • Potential Git CVE-2025-48384 Exploitation source high: This rule detects potential exploitation of CVE-2025-48384 via Git. This vulnerability allows attackers to execute arbitrary code by leveraging Git's recursive clone feature to fetch and execute malicious scripts from a remote repository.
  • Kubernetes Direct API Request via Curl or Wget source medium: This rule monitors for the execution of curl or wget commands that directly access Kubernetes API endpoints, which may indicate an attempt to interact with Kubernetes resources in a potentially unauthorized manner. This technique is often used by adversaries to gather information about the Kubernetes environment, such as secrets, config maps, and other sensitive data, without using the official Kubernetes client tools such as "kubectl".
  • Node.js Pre or Post-Install Script Execution source medium: This rule detects the execution of Node.js pre or post-install scripts. These scripts are executed by the Node.js package manager (npm) during the installation of packages. Adversaries may abuse this technique to execute arbitrary commands on the system and establish persistence. This activity was observed in the wild as part of the Shai-Hulud worm.
  • Privileged Container Creation with Host Directory Mount source high: This rule detects the creation of privileged containers that mount host directories into the container's filesystem. Such configurations can be exploited by attackers to escape the container isolation and gain access to the host system, potentially leading to privilege escalation and lateral movement within the environment.
  • Remote GitHub Actions Runner Registration source medium: This rule detects the configuration of a GitHub Actions self-hosted runner using the Runner.Listener binary. When a machine is registered to a remote repository, its owner gains the ability to execute arbitrary workflow commands on that host. Unexpected or unauthorized runner registration may indicate adversarial activity aimed at establishing remote code execution via malicious GitHub workflows.
  • Suspicious Python Shell Command Execution source medium: Detects the execution of suspicious shell commands via the Python interpreter. Attackers may use Python to execute shell commands to gain access to the system or to perform other malicious activities, such as credential access, data exfiltration, or lateral movement.
  • Execution via GitHub Actions Runner source medium: This rule detects potentially dangerous commands spawned by the GitHub Actions Runner.Worker process or by shell interpreters launched via a runner entrypoint script on self-hosted runner machines. Adversaries who gain the ability to modify or trigger workflows in a linked GitHub repository can execute arbitrary commands on the runner host. This behavior may indicate malicious or unexpected workflow activity, including code execution, reconnaissance, credential harvesting, or network exfiltration initiated through a compromised repository or unauthorized workflow.
  • Tampering with RUNNER_TRACKING_ID in GitHub Actions Runners source medium: This rule detects processes spawned by GitHub Actions runners where "RUNNER_TRACKING_ID" is overridden from its default "github_*" value. Such tampering has been associated with attempts to evade runner tracking/cleanup on self-hosted runners, including behavior observed in the Shai-Hulud 2.0 npm worm campaign.

References #

ES_EVENT_TYPE_NOTIFY_FORK: Process Fork (Notify)

#
Source
Endpoint Security (ESF)
Section
Process Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after fork(2) or vfork(2) creates a child process. The payload carries the child es_process_t, which includes the new PID and inherited code-signing context. This event is notify-only and does not support caching.

Fields #

NameDescription
childThe es_process_t for the child process that was created, including audit_token, ppid, executable.path, and code-signing fields.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "fork": {
        "child": {
          "audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 94059,
            "pidversion": 300790,
            "rgid": 0,
            "ruid": 0
          },
          "cdhash": "D0795D8BCA8F0892188E582BC30A4361228FED4F",
          "codesigning_flags": 637623057,
          "cs_validation_category": 1,
          "executable": {
            "path": "/sbin/launchd",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-05-21T08:57:02.000000000Z",
              "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_blksize": 4096,
              "st_blocks": 1096,
              "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
              "st_dev": 16777232,
              "st_flags": 524320,
              "st_gen": 0,
              "st_gid": 0,
              "st_ino": 1152921500312571497,
              "st_mode": 33261,
              "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 1239616,
              "st_uid": 0
            }
          },
          "group_id": 1,
          "is_es_client": false,
          "is_platform_binary": true,
          "original_ppid": 1,
          "parent_audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 1,
            "pidversion": 721,
            "rgid": 0,
            "ruid": 0
          },
          "ppid": 1,
          "responsible_audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 94059,
            "pidversion": 300790,
            "rgid": 0,
            "ruid": 0
          },
          "session_id": 1,
          "signing_id": "com.apple.xpc.launchd",
          "start_time": "2026-06-22T23:21:42.414524Z",
          "team_id": null,
          "tty": null
        }
      }
    },
    "event_type": 11,
    "global_seq_num": 0,
    "mach_time": 8834007140912,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "D0795D8BCA8F0892188E582BC30A4361228FED4F",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/sbin/launchd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 1096,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312571497,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 1239616,
          "st_uid": 0
        }
      },
      "group_id": 1,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 0,
      "parent_audit_token": {
        "asid": 0,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 0,
        "pidversion": 0,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 0,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 1,
      "signing_id": "com.apple.xpc.launchd",
      "start_time": "2026-06-17T20:19:43.602844Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3669186
    },
    "time": "2026-06-22T23:21:42.414607824Z",
    "version": 10
  }
}

Detection Patterns #

Command & Control: Ingress Tool Transfer

1 rule

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
process_nameeqbrave.exe1 ruleelastic
process_nameeqbrowser.exe1 ruleelastic
process_nameeqchrome.exe1 ruleelastic, splunk
process_nameeqcurl1 ruleelastic, splunk
process_nameeqcurl.exe1 ruleelastic, splunk
process_nameeqdragon.exe1 ruleelastic
process_nameeqfirefox.exe1 ruleelastic
process_nameeqmsedge.exe1 ruleelastic
process_nameeqvivaldi.exe1 ruleelastic
process_nameeqwget1 ruleelastic, splunk
process_nameeqwget.exe1 ruleelastic
process_nameeqwhale.exe1 ruleelastic

References #

ES_EVENT_TYPE_NOTIFY_EXIT: Process Exit (Notify)

#
Source
Endpoint Security (ESF)
Section
Process Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a process terminates. The payload carries the exit status in the same format as wait(2), allowing subscribers to distinguish clean exits, signal-induced terminations, and abnormal terminations. This event is notify-only and does not support caching.

Fields #

NameDescription
statThe exit status of the process in wait(2) format; use WIFEXITED, WIFSIGNALED, and related macros to decode exit code versus terminating signal.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "exit": {
        "stat": 19968
      }
    },
    "event_type": 15,
    "global_seq_num": 13,
    "mach_time": 8854990725493,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 95196,
        "pidversion": 302953,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "CCE5A9291F9EDF6CF64C40599E481EE7BB5E2A38",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/xpcproxy",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 128,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575884,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 233312,
          "st_uid": 0
        }
      },
      "group_id": 1,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 95196,
        "pidversion": 302953,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 1,
      "signing_id": "com.apple.xpc.proxy",
      "start_time": "2026-06-22T23:36:15.999883Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 13,
    "thread": {
      "thread_id": 3686432
    },
    "time": "2026-06-22T23:36:16.019384006Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_SIGNAL: Signal Delivery (Notify)

#
Source
Endpoint Security (ESF)
Section
Process Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a signal is delivered to a process. The payload carries the signal number and the target process, providing a post-fact record of inter-process signalling that can reveal process-tampering or kill-chain activity.

Fields #

NameDescription
sigThe signal number that was delivered (e.g. SIGKILL, SIGTERM, SIGSTOP).
targetThe es_process_t for the process that received the signal.
instigatorThe es_process_t for the process that sent the signal, if applicable (available at message version 9+, macOS 15.4+).

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "signal": {
        "instigator": null,
        "sig": 28,
        "target": {
          "audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 0,
            "euid": 0,
            "pid": 92127,
            "pidversion": 296965,
            "rgid": 0,
            "ruid": 0
          },
          "cdhash": "3109741DA6031130F46B8481F48B2E877DE291CC",
          "codesigning_flags": 637623057,
          "cs_validation_category": 1,
          "executable": {
            "path": "/usr/bin/su",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-05-21T08:57:02.000000000Z",
              "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_blksize": 4096,
              "st_blocks": 48,
              "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
              "st_dev": 16777232,
              "st_flags": 524320,
              "st_gen": 0,
              "st_gid": 0,
              "st_ino": 1152921500312572873,
              "st_mode": 35309,
              "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 121904,
              "st_uid": 0
            }
          },
          "group_id": 92127,
          "is_es_client": false,
          "is_platform_binary": true,
          "original_ppid": 92126,
          "parent_audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 0,
            "euid": 0,
            "pid": 92126,
            "pidversion": 296963,
            "rgid": 0,
            "ruid": 501
          },
          "ppid": 92126,
          "responsible_audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 20,
            "euid": 501,
            "pid": 92091,
            "pidversion": 296896,
            "rgid": 20,
            "ruid": 501
          },
          "session_id": 92126,
          "signing_id": "com.apple.su",
          "start_time": "2026-06-22T22:35:16.129389Z",
          "team_id": null,
          "tty": {
            "path": "/dev/ttys004",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-06-22T23:36:04.975739000Z",
              "st_birthtimespec": "1970-01-01T00:00:00.000000000Z",
              "st_blksize": 65536,
              "st_blocks": 0,
              "st_ctimespec": "2026-06-22T23:36:49.937900000Z",
              "st_dev": -1278915369,
              "st_flags": 0,
              "st_gen": 0,
              "st_gid": 4,
              "st_ino": 905,
              "st_mode": 8592,
              "st_mtimespec": "2026-06-22T23:36:49.937900000Z",
              "st_nlink": 1,
              "st_rdev": 268435460,
              "st_size": 0,
              "st_uid": 0
            }
          }
        }
      }
    },
    "event_type": 31,
    "global_seq_num": 0,
    "mach_time": 8855821773392,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 0,
        "euid": 0,
        "pid": 92125,
        "pidversion": 296962,
        "rgid": 0,
        "ruid": 501
      },
      "cdhash": "38D069EDFD9BB51CCD15082DBD35F870A3885D20",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/bin/sudo",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 1472,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312572875,
          "st_mode": 35145,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 1580368,
          "st_uid": 0
        }
      },
      "group_id": 92125,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 92093,
      "parent_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 92093,
        "pidversion": 296900,
        "rgid": 20,
        "ruid": 501
      },
      "ppid": 92093,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 92091,
        "pidversion": 296896,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 92092,
      "signing_id": "com.apple.sudo",
      "start_time": "2026-06-22T22:35:16.091839Z",
      "team_id": null,
      "tty": {
        "path": "/dev/ttys003",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-06-22T23:36:04.989333000Z",
          "st_birthtimespec": "1970-01-01T00:00:00.000000000Z",
          "st_blksize": 65536,
          "st_blocks": 0,
          "st_ctimespec": "2026-06-22T23:36:49.937920000Z",
          "st_dev": -1278915369,
          "st_flags": 0,
          "st_gen": 0,
          "st_gid": 4,
          "st_ino": 901,
          "st_mode": 8592,
          "st_mtimespec": "2026-06-22T23:36:49.937920000Z",
          "st_nlink": 1,
          "st_rdev": 268435459,
          "st_size": 0,
          "st_uid": 501
        }
      }
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3637822
    },
    "time": "2026-06-22T23:36:50.646070224Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_PROC_CHECK: Process Info Access Check (Auth)

#
Source
Endpoint Security (ESF)
Section
Process Events
Action
AUTH (blocking)
Introduced
macOS 10.15.4

Description

Fires before a process retrieves information about another process via proc_info(2) or related calls, and requires an active ESF client to respond before the kernel proceeds. The payload identifies the target process and the specific call type and flavor, enabling policy enforcement on process enumeration.

Fields #

NameDescription
targetThe es_process_t for the process whose information is being queried.
typeAn es_proc_check_type_t value identifying the call used to check access (e.g. PROC_CHECK_TYPE_PIDINFO, PROC_CHECK_TYPE_PIDFDINFO).
flavorThe flavor argument passed to the proc_info call, specifying which subset of process information is requested.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_PROC_CHECK), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "proc_check": {
        "flavor": 2,
        "target": {
          "audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 391,
            "pidversion": 1021,
            "rgid": 0,
            "ruid": 0
          },
          "cdhash": "FA63DE333AA28550138FB1ADAA1178B79503E032",
          "codesigning_flags": 637631233,
          "cs_validation_category": 1,
          "executable": {
            "path": "/usr/libexec/endpointsecurityd",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-05-21T08:57:02.000000000Z",
              "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_blksize": 4096,
              "st_blocks": 168,
              "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
              "st_dev": 16777232,
              "st_flags": 524320,
              "st_gen": 0,
              "st_gid": 0,
              "st_ino": 1152921500312575149,
              "st_mode": 33261,
              "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 264384,
              "st_uid": 0
            }
          },
          "group_id": 391,
          "is_es_client": false,
          "is_platform_binary": true,
          "original_ppid": 1,
          "parent_audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 1,
            "pidversion": 721,
            "rgid": 0,
            "ruid": 0
          },
          "ppid": 1,
          "responsible_audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 391,
            "pidversion": 1021,
            "rgid": 0,
            "ruid": 0
          },
          "session_id": 391,
          "signing_id": "com.apple.endpointsecurityd",
          "start_time": "2026-06-17T20:22:01.680633Z",
          "team_id": null,
          "tty": null
        },
        "type": 8
      }
    },
    "event_type": 86,
    "global_seq_num": 0,
    "mach_time": 8834785148317,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "FA63DE333AA28550138FB1ADAA1178B79503E032",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/endpointsecurityd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 168,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575149,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 264384,
          "st_uid": 0
        }
      },
      "group_id": 391,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 391,
      "signing_id": "com.apple.endpointsecurityd",
      "start_time": "2026-06-17T20:22:01.680633Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3669176
    },
    "time": "2026-06-22T23:22:14.831293042Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_PROC_CHECK: Process Info Access Check (Notify)

#
Source
Endpoint Security (ESF)
Section
Process Events
Action
NOTIFY
Introduced
macOS 10.15.4

Description

Fires after a process info access check completes. The payload is identical to the AUTH variant and carries the target process, call type, and flavor, providing a post-fact record of process enumeration or interrogation activity.

Fields #

NameDescription
targetThe es_process_t for the process whose information was queried.
typeAn es_proc_check_type_t value identifying the call type used.
flavorThe flavor argument specifying which subset of process information was requested.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "proc_check": {
        "flavor": 2,
        "target": {
          "audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 391,
            "pidversion": 1021,
            "rgid": 0,
            "ruid": 0
          },
          "cdhash": "FA63DE333AA28550138FB1ADAA1178B79503E032",
          "codesigning_flags": 637631233,
          "cs_validation_category": 1,
          "executable": {
            "path": "/usr/libexec/endpointsecurityd",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-05-21T08:57:02.000000000Z",
              "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_blksize": 4096,
              "st_blocks": 168,
              "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
              "st_dev": 16777232,
              "st_flags": 524320,
              "st_gen": 0,
              "st_gid": 0,
              "st_ino": 1152921500312575149,
              "st_mode": 33261,
              "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 264384,
              "st_uid": 0
            }
          },
          "group_id": 391,
          "is_es_client": false,
          "is_platform_binary": true,
          "original_ppid": 1,
          "parent_audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 1,
            "pidversion": 721,
            "rgid": 0,
            "ruid": 0
          },
          "ppid": 1,
          "responsible_audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 391,
            "pidversion": 1021,
            "rgid": 0,
            "ruid": 0
          },
          "session_id": 391,
          "signing_id": "com.apple.endpointsecurityd",
          "start_time": "2026-06-17T20:22:01.680633Z",
          "team_id": null,
          "tty": null
        },
        "type": 8
      }
    },
    "event_type": 86,
    "global_seq_num": 0,
    "mach_time": 8834785148317,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "FA63DE333AA28550138FB1ADAA1178B79503E032",
      "codesigning_flags": 637631233,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/endpointsecurityd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 168,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575149,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 264384,
          "st_uid": 0
        }
      },
      "group_id": 391,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 391,
        "pidversion": 1021,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 391,
      "signing_id": "com.apple.endpointsecurityd",
      "start_time": "2026-06-17T20:22:01.680633Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3669176
    },
    "time": "2026-06-22T23:22:14.831293042Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_CHDIR: Change Directory (AUTH)

#
Source
Endpoint Security (ESF)
Section
Process Events
Action
AUTH (blocking)
Introduced
macOS 10.15.1

Description

Fires before the kernel allows a process to change its working directory via chdir(2) or fchdir(2). An active ESF client must respond before the kernel proceeds.

Fields #

NameDescription
targetPointer to the es_file_t for the directory that the process intends to make its new working directory.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_CHDIR), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "chdir": {
        "target": {
          "path": "/System/Volumes/Data/.Spotlight-V100/Store-V2/AC773A71-1C76-4BD0-B095-18E94FEA572A",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-06-22T19:42:42.683554174Z",
            "st_birthtimespec": "2026-05-12T02:23:32.825214800Z",
            "st_blksize": 4096,
            "st_blocks": 0,
            "st_ctimespec": "2026-06-22T23:13:39.475851120Z",
            "st_dev": 16777232,
            "st_flags": 0,
            "st_gen": 0,
            "st_gid": 308,
            "st_ino": 50519419,
            "st_mode": 16888,
            "st_mtimespec": "2026-06-22T23:13:39.475851120Z",
            "st_nlink": 572,
            "st_rdev": 0,
            "st_size": 18304,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 51,
    "global_seq_num": 0,
    "mach_time": 8838569374357,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 308,
        "euid": 308,
        "pid": 619,
        "pidversion": 1496,
        "rgid": 308,
        "ruid": 308
      },
      "cdhash": "5C2FC71535C9CED26F9E312FA5AC0C119840E1DE",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mds_stores",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 648,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312153710,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 837488,
          "st_uid": 0
        }
      },
      "group_id": 619,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 308,
        "euid": 308,
        "pid": 619,
        "pidversion": 1496,
        "rgid": 308,
        "ruid": 308
      },
      "session_id": 619,
      "signing_id": "com.apple.mds_stores",
      "start_time": "2026-06-17T20:22:03.847334Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3672437
    },
    "time": "2026-06-22T23:24:52.505967739Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_CHDIR: Change Directory (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
Process Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a process successfully changes its working directory. The payload identifies the new working directory.

Fields #

NameDescription
targetPointer to the es_file_t for the directory that became the new working directory.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "chdir": {
        "target": {
          "path": "/System/Volumes/Data/.Spotlight-V100/Store-V2/AC773A71-1C76-4BD0-B095-18E94FEA572A",
          "path_truncated": false,
          "stat": {
            "st_atimespec": "2026-06-22T19:42:42.683554174Z",
            "st_birthtimespec": "2026-05-12T02:23:32.825214800Z",
            "st_blksize": 4096,
            "st_blocks": 0,
            "st_ctimespec": "2026-06-22T23:13:39.475851120Z",
            "st_dev": 16777232,
            "st_flags": 0,
            "st_gen": 0,
            "st_gid": 308,
            "st_ino": 50519419,
            "st_mode": 16888,
            "st_mtimespec": "2026-06-22T23:13:39.475851120Z",
            "st_nlink": 572,
            "st_rdev": 0,
            "st_size": 18304,
            "st_uid": 0
          }
        }
      }
    },
    "event_type": 51,
    "global_seq_num": 0,
    "mach_time": 8838569374357,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 308,
        "euid": 308,
        "pid": 619,
        "pidversion": 1496,
        "rgid": 308,
        "ruid": 308
      },
      "cdhash": "5C2FC71535C9CED26F9E312FA5AC0C119840E1DE",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mds_stores",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 648,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312153710,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 837488,
          "st_uid": 0
        }
      },
      "group_id": 619,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 308,
        "euid": 308,
        "pid": 619,
        "pidversion": 1496,
        "rgid": 308,
        "ruid": 308
      },
      "session_id": 619,
      "signing_id": "com.apple.mds_stores",
      "start_time": "2026-06-17T20:22:03.847334Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3672437
    },
    "time": "2026-06-22T23:24:52.505967739Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_AUTH_CHROOT: Change Root Directory (AUTH)

#
Source
Endpoint Security (ESF)
Section
Process Events
Action
AUTH (blocking)
Introduced
macOS 10.15.1

Description

Fires before the kernel allows a process to change its root directory via chroot(2). An active ESF client must respond before the kernel proceeds. Attackers use chroot escapes to break out of jailed environments.

Fields #

NameDescription
targetPointer to the es_file_t for the directory that will become the new root.

References #

ES_EVENT_TYPE_NOTIFY_CHROOT: Change Root Directory (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
Process Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a process changes its root directory via chroot(2). The payload identifies the directory that became the new root.

Fields #

NameDescription
targetPointer to the es_file_t for the directory that became the new root.

References #

ES_EVENT_TYPE_AUTH_PROC_SUSPEND_RESUME: Process Suspend / Resume (Auth)

#
Source
Endpoint Security (ESF)
Section
Interprocess Events
Action
AUTH (blocking)
Introduced
macOS 11.0

Description

Fires before pid_suspend(3), pid_resume(3), or pid_shutdown_sockets(3) is applied to a target process and requires an active ESF client to respond before the kernel proceeds. Blocking these calls can prevent attackers from suspending security tooling or shutting down network connections of targeted processes.

Fields #

NameDescription
targetThe es_process_t for the process being suspended, resumed, or having its sockets shut down.
typeAn es_proc_suspend_resume_type_t value indicating the specific operation: suspend, resume, or pid_shutdown_sockets.

Example Event #

Captured live on macOS build 25F80. eslogger records only NOTIFY messages, so this AUTH event shows the payload of its NOTIFY sibling (ES_EVENT_TYPE_NOTIFY_PROC_SUSPEND_RESUME), which carries the same event struct.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "proc_suspend_resume": {
        "target": {
          "audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 20,
            "euid": 501,
            "pid": 863,
            "pidversion": 2226,
            "rgid": 20,
            "ruid": 501
          },
          "cdhash": "E9D05C9400F1B8879E57B640B614CE918EF2627C",
          "codesigning_flags": 637623057,
          "cs_validation_category": 1,
          "executable": {
            "path": "/System/Library/CoreServices/Batteries.app/Contents/PlugIns/BatteriesAvocadoWidgetExtension.appex/Contents/MacOS/BatteriesAvocadoWidgetExtension",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-05-21T08:57:02.000000000Z",
              "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_blksize": 4096,
              "st_blocks": 80,
              "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
              "st_dev": 16777232,
              "st_flags": 524320,
              "st_gen": 0,
              "st_gid": 0,
              "st_ino": 1152921500312080087,
              "st_mode": 33261,
              "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 178496,
              "st_uid": 0
            }
          },
          "group_id": 863,
          "is_es_client": false,
          "is_platform_binary": true,
          "original_ppid": 1,
          "parent_audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 1,
            "pidversion": 721,
            "rgid": 0,
            "ruid": 0
          },
          "ppid": 1,
          "responsible_audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 20,
            "euid": 501,
            "pid": 863,
            "pidversion": 2226,
            "rgid": 20,
            "ruid": 501
          },
          "session_id": 863,
          "signing_id": "com.apple.Batteries.BatteriesAvocadoWidgetExtension",
          "start_time": "2026-06-17T20:22:08.952396Z",
          "team_id": null,
          "tty": null
        },
        "type": 1
      }
    },
    "event_type": 93,
    "global_seq_num": 0,
    "mach_time": 8855770055153,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 465,
        "pidversion": 1077,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "BB1B177A5814927F34A8239ABE35A03E395CE26C",
      "codesigning_flags": 2785106705,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/runningboardd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 32,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575590,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 139952,
          "st_uid": 0
        }
      },
      "group_id": 465,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 465,
        "pidversion": 1077,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 465,
      "signing_id": "com.apple.runningboardd",
      "start_time": "2026-06-17T20:22:02.418356Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3686804
    },
    "time": "2026-06-22T23:36:48.491162831Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_PROC_SUSPEND_RESUME: Process Suspend / Resume (Notify)

#
Source
Endpoint Security (ESF)
Section
Interprocess Events
Action
NOTIFY
Introduced
macOS 11.0

Description

Fires after pid_suspend(3), pid_resume(3), or pid_shutdown_sockets(3) completes on a target process. The payload is identical to the AUTH variant and records which process was affected and which operation was called.

Fields #

NameDescription
targetThe es_process_t for the process that was suspended, resumed, or had its sockets shut down.
typeAn es_proc_suspend_resume_type_t value identifying the operation that was performed.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "proc_suspend_resume": {
        "target": {
          "audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 20,
            "euid": 501,
            "pid": 863,
            "pidversion": 2226,
            "rgid": 20,
            "ruid": 501
          },
          "cdhash": "E9D05C9400F1B8879E57B640B614CE918EF2627C",
          "codesigning_flags": 637623057,
          "cs_validation_category": 1,
          "executable": {
            "path": "/System/Library/CoreServices/Batteries.app/Contents/PlugIns/BatteriesAvocadoWidgetExtension.appex/Contents/MacOS/BatteriesAvocadoWidgetExtension",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-05-21T08:57:02.000000000Z",
              "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_blksize": 4096,
              "st_blocks": 80,
              "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
              "st_dev": 16777232,
              "st_flags": 524320,
              "st_gen": 0,
              "st_gid": 0,
              "st_ino": 1152921500312080087,
              "st_mode": 33261,
              "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 178496,
              "st_uid": 0
            }
          },
          "group_id": 863,
          "is_es_client": false,
          "is_platform_binary": true,
          "original_ppid": 1,
          "parent_audit_token": {
            "asid": 100025,
            "auid": 4294967295,
            "egid": 0,
            "euid": 0,
            "pid": 1,
            "pidversion": 721,
            "rgid": 0,
            "ruid": 0
          },
          "ppid": 1,
          "responsible_audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 20,
            "euid": 501,
            "pid": 863,
            "pidversion": 2226,
            "rgid": 20,
            "ruid": 501
          },
          "session_id": 863,
          "signing_id": "com.apple.Batteries.BatteriesAvocadoWidgetExtension",
          "start_time": "2026-06-17T20:22:08.952396Z",
          "team_id": null,
          "tty": null
        },
        "type": 1
      }
    },
    "event_type": 93,
    "global_seq_num": 0,
    "mach_time": 8855770055153,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 465,
        "pidversion": 1077,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "BB1B177A5814927F34A8239ABE35A03E395CE26C",
      "codesigning_flags": 2785106705,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/runningboardd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 32,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575590,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 139952,
          "st_uid": 0
        }
      },
      "group_id": 465,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 465,
        "pidversion": 1077,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 465,
      "signing_id": "com.apple.runningboardd",
      "start_time": "2026-06-17T20:22:02.418356Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3686804
    },
    "time": "2026-06-22T23:36:48.491162831Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_TRACE: Process Tracing Attach (Notify)

#
Source
Endpoint Security (ESF)
Section
Interprocess Events
Action
NOTIFY
Introduced
macOS 11.0

Description

Fires when a process requests to attach to another process via ptrace(2) or a similar tracing mechanism. The payload identifies the process that will be traced. This event may fire multiple times for a single trace attempt and does not support caching.

Fields #

NameDescription
targetThe es_process_t for the process that will be attached to (traced) by the initiating process.

References #

ES_EVENT_TYPE_NOTIFY_REMOTE_THREAD_CREATE: Remote Thread Creation (Notify)

#
Source
Endpoint Security (ESF)
Section
Interprocess Events
Action
NOTIFY
Introduced
macOS 11.0

Description

Fires when a process creates a thread inside another process's task via thread_create(2) or thread_create_running(2). The payload identifies the target process and, when the thread starts immediately, the initial thread state. This event does not support caching.

Fields #

NameDescription
targetThe es_process_t for the process in which the new thread is being created.
thread_stateThe es_thread_state_t carrying the initial register state for the new thread, present when the thread is created via thread_create_running; NULL when created via thread_create.

References #

ES_EVENT_TYPE_NOTIFY_GET_TASK: Task Control Port Retrieval (Notify)

#
Source
Endpoint Security (ESF)
Section
Task Port Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a process obtains another process's Mach task control port, typically via task_for_pid(2) or a host-special-port lookup. The task control port grants full read/write access to the target process's address space, making this event a key indicator of process injection. This event is notify-only.

Fields #

NameDescription
targetThe es_process_t for the process whose task control port is being retrieved.
typeAn es_get_task_type_t value indicating how the port was obtained (e.g. task_for_pid, expose_task_port); available at message version 5+.

References #

ES_EVENT_TYPE_AUTH_GET_TASK: Task Control Port Retrieval (Auth)

#
Source
Endpoint Security (ESF)
Section
Task Port Events
Action
AUTH (blocking)
Introduced
macOS 10.15.4

Description

Fires before a process obtains another process's Mach task control port and requires an active ESF client to respond before the kernel grants access. A task control port gives the requesting process full read/write capability over the target's address space, making this a critical gate for blocking process injection.

Fields #

NameDescription
targetThe es_process_t for the process whose task control port is being requested.
typeAn es_get_task_type_t value indicating the mechanism used to obtain the port (e.g. task_for_pid, expose_task_port); available at message version 5+.

References #

ES_EVENT_TYPE_NOTIFY_GET_TASK_NAME: Task Name Port Retrieval (Notify)

#
Source
Endpoint Security (ESF)
Section
Task Port Events
Action
NOTIFY
Introduced
macOS 11.0

Description

Fires after a process obtains another process's Mach task name port. The task name port allows the holder to query the target's port namespace and basic task information without granting write access, and its retrieval can indicate reconnaissance activity.

Fields #

NameDescription
targetThe es_process_t for the process whose task name port was retrieved.
typeAn es_get_task_type_t value indicating the mechanism used to obtain the task name port (available at message version 5+).

References #

ES_EVENT_TYPE_AUTH_GET_TASK_READ: Task Read Port Retrieval (Auth)

#
Source
Endpoint Security (ESF)
Section
Task Port Events
Action
AUTH (blocking)
Introduced
macOS 11.3

Description

Fires before a process obtains another process's Mach task read port and requires an active ESF client to respond before the kernel grants access. The task read port allows read-only inspection of the target's address space, and blocking it prevents memory-scraping attacks.

Fields #

NameDescription
targetThe es_process_t for the process whose task read port is being requested.
typeAn es_get_task_type_t value indicating how the port is being obtained (available at message version 5+).

References #

ES_EVENT_TYPE_NOTIFY_GET_TASK_READ: Task Read Port Retrieval (Notify)

#
Source
Endpoint Security (ESF)
Section
Task Port Events
Action
NOTIFY
Introduced
macOS 11.3

Description

Fires after a process obtains another process's Mach task read port. The payload is identical to the AUTH variant and records the target process and acquisition method, providing a post-fact record of read-only process memory access.

Fields #

NameDescription
targetThe es_process_t for the process whose task read port was retrieved.
typeAn es_get_task_type_t value indicating how the port was obtained (available at message version 5+).

References #

ES_EVENT_TYPE_NOTIFY_GET_TASK_INSPECT: Task Inspect Port Retrieval (Notify)

#
Source
Endpoint Security (ESF)
Section
Task Port Events
Action
NOTIFY
Introduced
macOS 11.3

Description

Fires after a process obtains another process's Mach task inspect port. The inspect port grants read-only, non-privileged introspection of a task and cannot be used to modify memory, making it lower-risk than the control or read ports but still a signal of process enumeration.

Fields #

NameDescription
targetThe es_process_t for the process whose task inspect port was retrieved.
typeAn es_get_task_type_t value indicating how the port was obtained (available at message version 5+).

References #

ES_EVENT_TYPE_NOTIFY_SETUID: Process Set Real User ID (setuid)

#
Source
Endpoint Security (ESF)
Section
User and Group ID Events
Action
NOTIFY
Introduced
macOS 12.0

Description

Fires after a process calls setuid(2) to change its real user ID. The event carries the uid argument passed to the syscall. This is a notify-only event and does not support caching.

Fields #

NameDescription
uidThe uid argument passed to the setuid() syscall.

References #

ES_EVENT_TYPE_NOTIFY_SETGID: Process Set Real Group ID (setgid)

#
Source
Endpoint Security (ESF)
Section
User and Group ID Events
Action
NOTIFY
Introduced
macOS 12.0

Description

Fires after a process calls setgid(2) to change its real group ID. The event carries the gid argument passed to the syscall. This is a notify-only event and does not support caching.

Fields #

NameDescription
gidThe gid argument passed to the setgid() syscall.

References #

ES_EVENT_TYPE_NOTIFY_SETEUID: Process Set Effective User ID (seteuid)

#
Source
Endpoint Security (ESF)
Section
User and Group ID Events
Action
NOTIFY
Introduced
macOS 12.0

Description

Fires after a process calls seteuid(2) to change its effective user ID. The event carries the euid argument passed to the syscall. This is a notify-only event and does not support caching.

Fields #

NameDescription
euidThe euid argument passed to the seteuid() syscall.

References #

ES_EVENT_TYPE_NOTIFY_SETEGID: Process Set Effective Group ID (setegid)

#
Source
Endpoint Security (ESF)
Section
User and Group ID Events
Action
NOTIFY
Introduced
macOS 12.0

Description

Fires after a process calls setegid(2) to change its effective group ID. The event carries the egid argument passed to the syscall. This is a notify-only event and does not support caching.

Fields #

NameDescription
egidThe egid argument passed to the setegid() syscall.

References #

ES_EVENT_TYPE_NOTIFY_SETREUID: Process Set Real and Effective User IDs (setreuid)

#
Source
Endpoint Security (ESF)
Section
User and Group ID Events
Action
NOTIFY
Introduced
macOS 12.0

Description

Fires after a process calls setreuid(2), which atomically sets both the real and effective user IDs. The event carries both the ruid and euid arguments. This is a notify-only event and does not support caching.

Fields #

NameDescription
ruidThe ruid argument (target real user ID) passed to the setreuid() syscall.
euidThe euid argument (target effective user ID) passed to the setreuid() syscall.

References #

ES_EVENT_TYPE_NOTIFY_SETREGID: Process Set Real and Effective Group IDs (setregid)

#
Source
Endpoint Security (ESF)
Section
User and Group ID Events
Action
NOTIFY
Introduced
macOS 12.0

Description

Fires after a process calls setregid(2), which atomically sets both the real and effective group IDs. The event carries both the rgid and egid arguments. This is a notify-only event and does not support caching.

Fields #

NameDescription
rgidThe rgid argument (target real group ID) passed to the setregid() syscall.
egidThe egid argument (target effective group ID) passed to the setregid() syscall.

References #

ES_EVENT_TYPE_NOTIFY_CS_INVALIDATED: Code Signature Invalidated

#
Source
Endpoint Security (ESF)
Section
Code Signing Events
Action
NOTIFY
Introduced
macOS 11.0

Description

Fires when the CS_VALID flag is cleared from a process, which happens when the first invalid page is paged in for a process with an otherwise valid code signature or when a process is explicitly invalidated via the csops(CS_OPS_MARKINVALID) syscall. This event does not fire if CS_HARD was set, because CS_HARD prevents the process from going invalid. The struct carries no payload fields beyond the standard message context.

References #

ES_EVENT_TYPE_NOTIFY_UIPC_BIND: UNIX Domain Socket Bind

#
Source
Endpoint Security (ESF)
Section
Socket Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a process binds a UNIX-domain socket to a filesystem path, creating the socket file. The payload identifies the target directory, the socket filename, and the file-creation mode.

Fields #

NameDescription
dirThe directory in which the socket file is created (es_file_t).
filenameThe name of the socket file being created (es_string_token_t).
modeThe mode bits applied to the new socket file (mode_t).

References #

ES_EVENT_TYPE_AUTH_UIPC_BIND: UNIX Domain Socket Bind (Authorization)

#
Source
Endpoint Security (ESF)
Section
Socket Events
Action
AUTH (blocking)
Introduced
macOS 10.15.1

Description

Fires before a process binds a UNIX-domain socket to a filesystem path, giving an active ESF client the opportunity to allow or deny the operation before the kernel creates the socket file. The payload carries the same directory, filename, and mode fields as the NOTIFY variant.

Fields #

NameDescription
dirThe directory in which the socket file would be created (es_file_t).
filenameThe name of the socket file to be created (es_string_token_t).
modeThe mode bits that would be applied to the socket file (mode_t).

References #

ES_EVENT_TYPE_NOTIFY_UIPC_CONNECT: UNIX Domain Socket Connect

#
Source
Endpoint Security (ESF)
Section
Socket Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a process connects to a UNIX-domain socket. The payload identifies the socket file being connected to along with the socket's communications domain, type, and protocol.

Fields #

NameDescription
fileThe socket file that the socket is bound to (es_file_t).
domainThe communications domain of the socket, corresponding to the first argument of socket(2) (e.g. AF_UNIX).
type_The type of the socket, corresponding to the second argument of socket(2) (e.g. SOCK_STREAM or SOCK_DGRAM).
protocolThe protocol of the socket, corresponding to the third argument of socket(2).

References #

ES_EVENT_TYPE_AUTH_UIPC_CONNECT: UNIX Domain Socket Connect (Authorization)

#
Source
Endpoint Security (ESF)
Section
Socket Events
Action
AUTH (blocking)
Introduced
macOS 10.15.1

Description

Fires before a process connects to a UNIX-domain socket, allowing an active ESF client to allow or deny the connection before the kernel proceeds. The payload carries the socket file, domain, type, and protocol fields identical to the NOTIFY variant.

Fields #

NameDescription
fileThe socket file the process is attempting to connect to (es_file_t).
domainThe communications domain of the socket, corresponding to the first argument of socket(2).
type_The type of the socket, corresponding to the second argument of socket(2).
protocolThe protocol of the socket, corresponding to the third argument of socket(2).

References #

ES_EVENT_TYPE_AUTH_SETTIME: Set System Time (AUTH)

#
Source
Endpoint Security (ESF)
Section
Clock Events
Action
AUTH (blocking)
Introduced
macOS 10.15.1

Description

Fires before the kernel allows a process to modify the system clock. An active ESF client must respond before the kernel proceeds. This event is not emitted for processes holding the com.apple.private.settime entitlement.

References #

ES_EVENT_TYPE_NOTIFY_SETTIME: Set System Time (NOTIFY)

#
Source
Endpoint Security (ESF)
Section
Clock Events
Action
NOTIFY
Introduced
macOS 10.15.1

Description

Fires after a process modifies the system clock. This event is not emitted for processes holding the com.apple.private.settime entitlement. System time changes can be used to manipulate log timestamps.

References #

ES_EVENT_TYPE_AUTH_KEXTLOAD: Kernel Extension Load (Auth)

#
Source
Endpoint Security (ESF)
Section
Kernel Events
Action
AUTH (blocking)
Introduced
macOS 10.15

Description

Fires before the kernel loads a kernel extension (kext), giving an active ESF client the opportunity to allow or deny the operation before the kernel proceeds. The event carries the signing identifier of the kext being loaded. Because kexts run in kernel space, this authorization point is a critical control surface for preventing unsigned or malicious kernel modules from loading.

Fields #

NameDescription
identifierThe signing identifier (bundle identifier) of the kernel extension being loaded.

References #

ES_EVENT_TYPE_NOTIFY_KEXTLOAD: Kernel Extension Load (Notify)

#
Source
Endpoint Security (ESF)
Section
Kernel Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after the kernel successfully loads a kernel extension. The event carries the signing identifier of the loaded kext. Subscribers receive this notification after the load has completed and cannot block the operation.

Fields #

NameDescription
identifierThe signing identifier (bundle identifier) of the kernel extension that was loaded.

References #

ES_EVENT_TYPE_NOTIFY_KEXTUNLOAD: Kernel Extension Unload (Notify)

#
Source
Endpoint Security (ESF)
Section
Kernel Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a kernel extension is successfully unloaded from the kernel. The event carries the signing identifier of the kext that was removed. Monitoring this event alongside kextload provides a complete lifecycle view of kernel module presence.

Fields #

NameDescription
identifierThe signing identifier (bundle identifier) of the kernel extension that was unloaded.

References #

ES_EVENT_TYPE_NOTIFY_IOKIT_OPEN: IOKit User Client Opened

#
Source
Endpoint Security (ESF)
Section
Kernel Events
Action
NOTIFY
Introduced
macOS 10.15

Description

Fires after a process calls IOServiceOpen() to open a communications channel with an I/O Kit driver. The event carries the user client class name and connection type but does not expose the underlying physical device name or vendor.

Fields #

NameDescription
user_client_typeA uint32 constant specifying the type of connection to create, passed directly to IOServiceOpen() and interpreted only by the target IOService family.
user_client_classes_string_token_t holding the Objective-C meta class name of the user client instance being opened (e.g. IOHIDUserClient).
parent_registry_iduint64 IOKit registry entry ID of the parent service in the I/O Registry. Present only when message version is 10 or higher.
parent_pathes_string_token_t path to the parent class in the IOKit device tree (e.g. IOService:/AppleACPIPlatformExpert/...). Present only when message version is 10 or higher.

References #

ES_EVENT_TYPE_AUTH_IOKIT_OPEN: IOKit User Client Open (Auth)

#
Source
Endpoint Security (ESF)
Section
Kernel Events
Action
AUTH (blocking)
Introduced
macOS 11.0

Description

Fires before a process opens a communications channel with an I/O Kit driver via IOServiceOpen(). An active ESF client must respond with ES_AUTH_RESULT_ALLOW or ES_AUTH_RESULT_DENY before the kernel proceeds; denying blocks the channel from opening and is the primary mechanism for preventing unauthorized hardware access (for example, blocking keylogger drivers).

Fields #

NameDescription
user_client_typeA uint32 constant specifying the type of connection to create, passed directly to IOServiceOpen() and interpreted only by the target IOService family.
user_client_classes_string_token_t holding the Objective-C meta class name of the user client instance to be opened (e.g. IOHIDUserClient).
parent_registry_iduint64 IOKit registry entry ID of the parent service in the I/O Registry. Present only when message version is 10 or higher.
parent_pathes_string_token_t path to the parent class in the IOKit device tree. Present only when message version is 10 or higher.

References #

ES_EVENT_TYPE_NOTIFY_PTY_GRANT: Pseudoterminal Device Granted

#
Source
Endpoint Security (ESF)
Section
PTY Events
Action
NOTIFY
Introduced
macOS 10.15.4

Description

Fires when the kernel grants a pseudoterminal (PTY) control device to a process, which occurs at the start of every local terminal session, SSH connection, or remote shell spawned by post-exploitation tooling. The event carries the device number of the granted PTY master device.

Fields #

NameDescription
devdev_t encoding the major and minor device numbers that identify the pseudoterminal master device being granted.

References #

ES_EVENT_TYPE_NOTIFY_PTY_CLOSE: Pseudoterminal Device Closed

#
Source
Endpoint Security (ESF)
Section
PTY Events
Action
NOTIFY
Introduced
macOS 10.15.4

Description

Fires when a pseudoterminal control device is closed, marking the end of a terminal session or remote shell. Pairing this event with the corresponding PTY_GRANT event via the device number lets a client track the full lifetime of each PTY session.

Fields #

NameDescription
devdev_t encoding the major and minor device numbers of the pseudoterminal master device being closed. Matches the dev value from the corresponding PTY_GRANT event.

References #

ES_EVENT_TYPE_NOTIFY_OPENSSH_LOGIN: OpenSSH Login

#
Source
Endpoint Security (ESF)
Section
OpenSSH Events
Action
NOTIFY
Introduced
macOS 13.0

Description

Fires when an SSH connection is authenticated via OpenSSH, reporting whether the login succeeded and the reason if it did not. A single SSH connection that hosts multiple sessions emits only one event. This event does not support caching and cannot be used for authorization.

Fields #

NameDescription
successTrue if the login attempt was successful, false otherwise.
result_typeThe specific result type for the login attempt (es_openssh_login_result_type_t), distinguishing reasons for success or failure.
source_address_typeThe address family of the source address (es_address_type_t), indicating whether the address is IPv4 or IPv6.
source_addressThe source IP address of the incoming SSH connection (es_string_token_t).
usernameThe username supplied during the login attempt (es_string_token_t).
has_uidTrue when the uid field contains a valid value; false if the user does not exist locally or the uid could not be resolved.
uidThe uid of the user that logged in, valid only when has_uid is true (anonymous union member, uid_t).

References #

ES_EVENT_TYPE_NOTIFY_OPENSSH_LOGOUT: OpenSSH Logout

#
Source
Endpoint Security (ESF)
Section
OpenSSH Events
Action
NOTIFY
Introduced
macOS 13.0

Description

Fires when an SSH session terminates via OpenSSH, reporting the user and source address of the connection that ended. This event does not support caching and cannot be used for authorization.

Fields #

NameDescription
source_address_typeThe address family of the source address (es_address_type_t), indicating whether the address is IPv4 or IPv6.
source_addressThe source IP address of the SSH connection that terminated (es_string_token_t).
usernameThe username of the user who logged out (es_string_token_t).
uidThe uid of the user who was logged out (uid_t).

References #

ES_EVENT_TYPE_NOTIFY_XPC_CONNECT: XPC Service Connection

#
Source
Endpoint Security (ESF)
Section
XPC Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires when a process establishes a connection to a named XPC service, reporting the service name and the domain type in which that service resides. This event generates high volume and does not support caching.

Fields #

NameDescription
service_nameThe name of the XPC service being connected to (es_string_token_t).
service_domain_typeThe type of XPC domain in which the service resides (es_xpc_domain_type_t). Values include ES_XPC_DOMAIN_TYPE_SYSTEM, ES_XPC_DOMAIN_TYPE_USER, ES_XPC_DOMAIN_TYPE_USER_LOGIN, ES_XPC_DOMAIN_TYPE_SESSION, ES_XPC_DOMAIN_TYPE_PID, ES_XPC_DOMAIN_TYPE_MANAGER, ES_XPC_DOMAIN_TYPE_PORT, and ES_XPC_DOMAIN_TYPE_GUI.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "xpc_connect": {
        "service_domain_type": 1,
        "service_name": "com.apple.system.opendirectoryd.libinfo"
      }
    },
    "event_type": 145,
    "global_seq_num": 0,
    "mach_time": 8860281854848,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 95793,
        "pidversion": 304080,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "CCE5A9291F9EDF6CF64C40599E481EE7BB5E2A38",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/xpcproxy",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 128,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575884,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 233312,
          "st_uid": 0
        }
      },
      "group_id": 1,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 95793,
        "pidversion": 304080,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 1,
      "signing_id": "com.apple.xpc.proxy",
      "start_time": "2026-06-22T23:39:54.308117Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3689432
    },
    "time": "2026-06-22T23:39:54.320888339Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_AUTHENTICATION: Authentication Attempt

#
Source
Endpoint Security (ESF)
Section
Authentication Events
Action
NOTIFY
Introduced
macOS 13.0

Description

Fires when an authentication attempt is made via OpenDirectory, TouchID, token, or Auto Unlock (Apple Watch). The event records whether the attempt succeeded and carries type-specific data in a union describing the authenticating party and credentials used.

Fields #

NameDescription
successTrue if authentication was successful.
typeThe authentication mechanism: one of od (OpenDirectory), touchid, token, or auto_unlock.
data.od.instigatorFor od type: pointer to the process that initiated the OD authentication (XPC caller).
data.od.record_typeFor od type: OD record type being authenticated against, typically 'Users'.
data.od.record_nameFor od type: OD record name, which is the username when record_type is 'Users'.
data.od.node_nameFor od type: OD node path, typically '/Local/Default', '/LDAPv3/<server>', or '/Active Directory/<domain>'.
data.touchid.instigatorFor touchid type: the XPC caller requesting TouchID authentication.
data.touchid.touchid_modeFor touchid type: the TouchID authentication mode (e.g., verification or identification).

References #

ES_EVENT_TYPE_NOTIFY_SU: su Command Execution

#
Source
Endpoint Security (ESF)
Section
Authentication Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires when the su(1) command makes a policy decision. The event records the outcome, the initiating user and their UID, the target username and optional UID on success, and the shell and arguments that su would invoke. Because su is a user-space binary, an attacker could substitute a different binary to evade this event.

Fields #

NameDescription
successTrue if su succeeded in switching the user context.
failure_messageOptional string describing the reason su was rejected; present when success is false.
from_uidUID of the user who invoked su.
from_usernameUsername of the user who invoked su.
has_to_uidTrue if the to_uid field is populated (set on success).
to_uidUID of the target user context; valid only when has_to_uid is true.
to_usernameUsername of the target account su is switching to.
shellPath to the shell that su will execute on success.
argcThe number of argument tokens in the argv array.
argvArguments passed to the shell; argc holds the element count.
env_countThe number of environment-variable tokens in the env array.
envThe environment variables su passes to the invoked shell on success; env_count holds the element count.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "su": {
        "argc": 3,
        "argv": [
          "zsh",
          "-c",
          "true"
        ],
        "env": [
          "SHELL=/bin/zsh",
          "COLORTERM=truecolor",
          "SUDO_GID=0",
          "HVPOST=0.6",
          "SSH_AUTH_SOCK=/var/run/com.apple.launchd.9d7dSGoiJl/Listeners",
          "SUDO_COMMAND=./run_capture.sh",
          "SUDO_USER=admin",
          "PRE=5",
          "SUDO_TTY=/dev/ttys004",
          "PWD=/Users/admin/Claude Code/macos_validation",
          "LOGNAME=root",
          "_=/usr/bin/su",
          "SUDO_HOME=/var/root",
          "HOME=/Users/admin",
          "LANG=en_US.UTF-8",
          "TERM=xterm-256color",
          "USER=admin",
          "POST=2",
          "SHLVL=2",
          "PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/pkg/env/global/bin:/Applications/VMware Fusion.app/Contents/Public:/Users/admin/.local/bin:/Users/admin/.cache/lm-studio/bin:/Applications/010 Editor.app/Contents/CmdLine:/Users/admin/.local/bin",
          "SUDO_UID=0",
          "MAIL=/var/mail/root",
          "__CF_USER_TEXT_ENCODING=0x0:0:0"
        ],
        "env_count": 23,
        "failure_message": null,
        "from_uid": 0,
        "from_username": "root",
        "shell": "/bin/zsh",
        "success": true,
        "to_uid": 501,
        "to_username": "admin"
      }
    },
    "event_type": 128,
    "global_seq_num": 0,
    "mach_time": 8844244256372,
    "process": {
      "audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 94798,
        "pidversion": 302183,
        "rgid": 20,
        "ruid": 501
      },
      "cdhash": "3109741DA6031130F46B8481F48B2E877DE291CC",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/bin/su",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 48,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312572873,
          "st_mode": 35309,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 121904,
          "st_uid": 0
        }
      },
      "group_id": 94798,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 94797,
      "parent_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 0,
        "pid": 94797,
        "pidversion": 302182,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 94797,
      "responsible_audit_token": {
        "asid": 100026,
        "auid": 501,
        "egid": 20,
        "euid": 501,
        "pid": 92091,
        "pidversion": 296896,
        "rgid": 20,
        "ruid": 501
      },
      "session_id": 94036,
      "signing_id": "com.apple.su",
      "start_time": "2026-06-22T23:28:48.250668Z",
      "team_id": null,
      "tty": {
        "path": "/dev/ttys005",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-06-22T23:21:30.000000000Z",
          "st_birthtimespec": "1970-01-01T00:00:00.000000000Z",
          "st_blksize": 65536,
          "st_blocks": 0,
          "st_ctimespec": "2026-06-22T23:28:43.168698000Z",
          "st_dev": -1278915369,
          "st_flags": 0,
          "st_gen": 0,
          "st_gid": 4,
          "st_ino": 1053,
          "st_mode": 8592,
          "st_mtimespec": "2026-06-22T23:28:43.168698000Z",
          "st_nlink": 1,
          "st_rdev": 268435461,
          "st_size": 0,
          "st_uid": 0
        }
      }
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3676186
    },
    "time": "2026-06-22T23:28:48.253842202Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_SUDO: sudo Command Execution

#
Source
Endpoint Security (ESF)
Section
Authentication Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires when sudo(8) makes a policy decision to allow or deny privilege elevation. The event records the outcome, optional rejection information on failure, the initiating user, the target user context, and the command to be executed. Because sudo is a user-space binary, an attacker could substitute it to evade this event.

Fields #

NameDescription
successTrue if sudo granted the elevation request.
reject_infoOptional pointer to rejection detail (plugin, reason, and URL); present when success is false.
from_usernameUsername of the user who invoked sudo.
has_from_uidTrue if the from_uid field is populated.
to_usernameUsername of the target account sudo will run the command as.
has_to_uidTrue if the to_uid field is populated.
commandThe command string sudo will execute on success.

References #

ES_EVENT_TYPE_NOTIFY_LW_SESSION_LOGIN: LoginWindow Session Login

#
Source
Endpoint Security (ESF)
Section
Login Window Events
Action
NOTIFY
Introduced
macOS 13.0

Description

Fires when the LoginWindow daemon logs a user into a graphical session. The event carries the short username and a graphical session identifier that correlates subsequent session events.

Fields #

NameDescription
usernameShort username of the user who logged in.
graphical_session_idOpaque integer identifying the graphical session; use it to correlate login, logout, lock, and unlock events for the same session.

References #

ES_EVENT_TYPE_NOTIFY_LW_SESSION_LOGOUT: LoginWindow Session Logout

#
Source
Endpoint Security (ESF)
Section
Login Window Events
Action
NOTIFY
Introduced
macOS 13.0

Description

Fires when the LoginWindow daemon logs a user out of a graphical session. The event carries the short username and the graphical session identifier matching the corresponding login event.

Fields #

NameDescription
usernameShort username of the user who logged out.
graphical_session_idOpaque integer identifying the graphical session being terminated.

References #

ES_EVENT_TYPE_NOTIFY_LW_SESSION_LOCK: LoginWindow Session Lock

#
Source
Endpoint Security (ESF)
Section
Login Window Events
Action
NOTIFY
Introduced
macOS 13.0

Description

Fires when the LoginWindow daemon locks a graphical session (screen lock). The event carries the short username and graphical session identifier for the session being locked.

Fields #

NameDescription
usernameShort username of the user whose session is being locked.
graphical_session_idOpaque integer identifying the graphical session being locked.

References #

ES_EVENT_TYPE_NOTIFY_LW_SESSION_UNLOCK: LoginWindow Session Unlock

#
Source
Endpoint Security (ESF)
Section
Login Window Events
Action
NOTIFY
Introduced
macOS 13.0

Description

Fires when the LoginWindow daemon unlocks a graphical session. The event carries the short username and graphical session identifier for the session being unlocked.

Fields #

NameDescription
usernameShort username of the user whose session is being unlocked.
graphical_session_idOpaque integer identifying the graphical session being unlocked.

References #

ES_EVENT_TYPE_NOTIFY_SCREENSHARING_ATTACH: Screen Sharing Session Attached

#
Source
Endpoint Security (ESF)
Section
Screen Sharing Events
Action
NOTIFY
Introduced
macOS 13.0

Description

Fires when the screensharingd daemon attaches a remote viewer to a graphical session. The event records whether the attach succeeded, the source address and type, the authentication method and username, and whether a user session was already active on the target.

Fields #

NameDescription
successTrue if Screen Sharing successfully attached to the session.
source_address_typeAddress family of the incoming connection (e.g., IPv4, IPv6).
source_addressOptional source address of the connection; may be NULL if the transport does not expose it.
viewer_appleidOptional Apple ID of the viewer when the session was initiated via Messages or FaceTime; NULL otherwise.
authentication_typeAuthentication method used to connect (e.g., 'Password', 'Apple ID').
authentication_usernameOptional username supplied during authentication; NULL when the method does not use a username.
session_usernameOptional username of the LoginWindow session being shared; NULL when unavailable.
existing_sessionTrue if a user session already existed on the target machine when the viewer attached.
graphical_session_idOpaque identifier for the graphical session being shared.

References #

ES_EVENT_TYPE_NOTIFY_SCREENSHARING_DETACH: Screen Sharing Session Detached

#
Source
Endpoint Security (ESF)
Section
Screen Sharing Events
Action
NOTIFY
Introduced
macOS 13.0

Description

Fires when the screensharingd daemon terminates a remote viewer connection. The event records the source address, optional Apple ID of the viewer, and the graphical session identifier matching the earlier attach event.

Fields #

NameDescription
source_address_typeAddress family of the disconnected connection.
source_addressOptional source address of the disconnected connection; may be NULL.
viewer_appleidOptional Apple ID of the viewer if the session was Apple-ID-initiated; NULL otherwise.
graphical_session_idOpaque identifier for the graphical session that was shared.

References #

ES_EVENT_TYPE_NOTIFY_LOGIN_LOGIN: Login Utility Authentication Attempt

#
Source
Endpoint Security (ESF)
Section
Login Events
Action
NOTIFY
Introduced
macOS 13.0

Description

Fires when /usr/bin/login completes an authentication attempt. The event records whether the login succeeded, a failure message on failure, the username, and the UID of the user on success.

Fields #

NameDescription
successTrue if the login attempt succeeded.
failure_messageOptional string describing the reason for failure; present only when success is false.
usernameThe username supplied during the login attempt.
has_uidTrue if the uid field is populated (set on successful logins).
uidUID of the user who logged in; valid only when has_uid is true.

References #

ES_EVENT_TYPE_NOTIFY_LOGIN_LOGOUT: Login Utility Session Logout

#
Source
Endpoint Security (ESF)
Section
Login Events
Action
NOTIFY
Introduced
macOS 13.0

Description

Fires when /usr/bin/login logs a user out. The event carries the username and UID of the user whose session ended.

Fields #

NameDescription
usernameUsername of the user who logged out.
uidUID of the user who logged out.

References #

ES_EVENT_TYPE_NOTIFY_AUTHORIZATION_PETITION: Authorization Rights Petition

#
Source
Endpoint Security (ESF)
Section
Authorization Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires when a process petitions the Authorization Services framework to acquire one or more named rights. The event identifies both the XPC caller and the petitioning process, the authorization flags, and the array of right names being requested.

Fields #

NameDescription
instigatorProcess that submitted the petition via XPC.
petitionerProcess that created the authorization petition.
flagsAuthorization flags passed to the petition call.
right_countNumber of rights in the rights array.
rightsArray of right name strings being petitioned.

References #

ES_EVENT_TYPE_NOTIFY_AUTHORIZATION_JUDGEMENT: Authorization Rights Judgement

#
Source
Endpoint Security (ESF)
Section
Authorization Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires after the Authorization Services framework evaluates a petition and issues a judgement on each requested right. The event records the overall return code and a per-right result array indicating which rights were granted or denied.

Fields #

NameDescription
instigatorProcess that submitted the petition (XPC caller).
petitionerProcess that created the petition being judged.
return_codeOverall result of the petition; 0 indicates all requested rights were granted.
result_countNumber of elements in the results array.
resultsArray of per-right judgement results, one entry per right petitioned.

References #

ES_EVENT_TYPE_NOTIFY_OD_GROUP_ADD: OpenDirectory Group Member Added

#
Source
Endpoint Security (ESF)
Section
Open Directory Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires after a member is added to an OpenDirectory group. The event identifies the instigating process, the group receiving the new member, the member identity, the OD node, and the result code of the operation.

Fields #

NameDescription
instigatorProcess that instigated the operation via XPC.
instigator_tokenAudit token of the process that instigated the operation (the XPC caller); the audit-token companion to instigator (message version 8+, macOS 15+).
error_codeResult code for the operation; non-zero values indicate failure (see odconstants.h).
group_nameName of the group receiving the new member.
memberIdentity of the member being added (es_od_member_id_t, which may be a UUID or name).
node_nameOD node being modified, typically '/Local/Default', '/LDAPv3/<server>', or '/Active Directory/<domain>'.
db_pathOptional path to the local database when node_name is '/Local/Default'.

References #

ES_EVENT_TYPE_NOTIFY_OD_GROUP_REMOVE: OpenDirectory Group Member Removed

#
Source
Endpoint Security (ESF)
Section
Open Directory Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires after a member is removed from an OpenDirectory group. The event identifies the instigating process, the affected group, the removed member's identity, the OD node, and the result code.

Fields #

NameDescription
instigatorProcess that instigated the operation via XPC.
instigator_tokenAudit token of the process that instigated the operation (the XPC caller); the audit-token companion to instigator (message version 8+, macOS 15+).
error_codeResult code for the operation; non-zero values indicate failure.
group_nameName of the group from which the member was removed.
memberIdentity of the member being removed (es_od_member_id_t).
node_nameOD node being modified.
db_pathOptional path to the local database when node_name is '/Local/Default'.

References #

ES_EVENT_TYPE_NOTIFY_OD_GROUP_SET: OpenDirectory Group Membership Replaced

#
Source
Endpoint Security (ESF)
Section
Open Directory Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires after the full membership list of an OpenDirectory group is initialised or replaced atomically. The event carries the group name, an array of all new member identities, the OD node, and the result code.

Fields #

NameDescription
instigatorProcess that instigated the operation via XPC.
instigator_tokenAudit token of the process that instigated the operation (the XPC caller); the audit-token companion to instigator (message version 8+, macOS 15+).
error_codeResult code for the operation; non-zero values indicate failure.
group_nameName of the group whose membership was replaced.
membersArray of all member identities after the replacement (es_od_member_id_array_t).
node_nameOD node being modified.
db_pathOptional path to the local database when node_name is '/Local/Default'.

References #

ES_EVENT_TYPE_NOTIFY_OD_MODIFY_PASSWORD: OpenDirectory Password Modified

#
Source
Endpoint Security (ESF)
Section
Open Directory Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires after a password is changed for a user or computer account in OpenDirectory. The event identifies the instigating process, the account type and name, the OD node, and the result code of the change.

Fields #

NameDescription
instigatorProcess that instigated the password change via XPC.
instigator_tokenAudit token of the process that instigated the operation (the XPC caller); the audit-token companion to instigator (message version 8+, macOS 15+).
error_codeResult code for the operation; non-zero values indicate failure.
account_typeType of the account whose password was modified (es_od_account_type_t, e.g., user or computer).
account_nameName of the account whose password was changed.
node_nameOD node being modified, typically '/Local/Default', '/LDAPv3/<server>', or '/Active Directory/<domain>'.
db_pathOptional path to the local database when node_name is '/Local/Default'.

References #

ES_EVENT_TYPE_NOTIFY_OD_DISABLE_USER: OpenDirectory User Account Disabled

#
Source
Endpoint Security (ESF)
Section
Open Directory Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires after a user account is disabled in OpenDirectory. The event identifies the instigating process, the account name, the OD node, and the result code.

Fields #

NameDescription
instigatorProcess that instigated the operation via XPC.
instigator_tokenAudit token of the process that instigated the operation (the XPC caller); the audit-token companion to instigator (message version 8+, macOS 15+).
error_codeResult code for the operation; non-zero values indicate failure.
user_nameName of the user account that was disabled.
node_nameOD node being modified.
db_pathOptional path to the local database when node_name is '/Local/Default'.

References #

ES_EVENT_TYPE_NOTIFY_OD_ENABLE_USER: OpenDirectory User Account Enabled

#
Source
Endpoint Security (ESF)
Section
Open Directory Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires after a previously disabled user account is re-enabled in OpenDirectory. The event identifies the instigating process, the account name, the OD node, and the result code.

Fields #

NameDescription
instigatorProcess that instigated the operation via XPC.
instigator_tokenAudit token of the process that instigated the operation (the XPC caller); the audit-token companion to instigator (message version 8+, macOS 15+).
error_codeResult code for the operation; non-zero values indicate failure.
user_nameName of the user account that was enabled.
node_nameOD node being modified.
db_pathOptional path to the local database when node_name is '/Local/Default'.

References #

ES_EVENT_TYPE_NOTIFY_OD_ATTRIBUTE_VALUE_ADD: OpenDirectory Attribute Value Added

#
Source
Endpoint Security (ESF)
Section
Open Directory Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires after a single value is appended to an attribute on an OpenDirectory record. The event identifies the instigating process, the record type and name, the attribute name, the new value, the OD node, and the result code.

Fields #

NameDescription
instigatorProcess that instigated the operation via XPC.
instigator_tokenAudit token of the process that instigated the operation (the XPC caller); the audit-token companion to instigator (message version 8+, macOS 15+).
error_codeResult code for the operation; non-zero values indicate failure.
record_typeOD record type being modified (es_od_record_type_t, e.g., 'Users' or 'Groups').
record_nameName of the OD record receiving the attribute value.
attribute_nameName of the attribute receiving the new value.
attribute_valueThe value being added to the attribute.
node_nameOD node being modified.
db_pathOptional path to the local database when node_name is '/Local/Default'.

References #

ES_EVENT_TYPE_NOTIFY_OD_ATTRIBUTE_VALUE_REMOVE: OpenDirectory Attribute Value Removed

#
Source
Endpoint Security (ESF)
Section
Open Directory Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires after a single value is removed from an attribute on an OpenDirectory record. The event identifies the instigating process, the record type and name, the attribute name, the removed value, the OD node, and the result code.

Fields #

NameDescription
instigatorProcess that instigated the operation via XPC.
instigator_tokenAudit token of the process that instigated the operation (the XPC caller); the audit-token companion to instigator (message version 8+, macOS 15+).
error_codeResult code for the operation; non-zero values indicate failure.
record_typeOD record type being modified.
record_nameName of the OD record from which the value was removed.
attribute_nameName of the attribute from which the value was removed.
attribute_valueThe value that was removed.
node_nameOD node being modified.
db_pathOptional path to the local database when node_name is '/Local/Default'.

References #

ES_EVENT_TYPE_NOTIFY_OD_ATTRIBUTE_SET: OpenDirectory Attribute Set (Replaced)

#
Source
Endpoint Security (ESF)
Section
Open Directory Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires after all values of an attribute on an OpenDirectory record are replaced atomically. The event carries the record type and name, the attribute name, the full new value array, the OD node, and the result code.

Fields #

NameDescription
instigatorProcess that instigated the operation via XPC.
instigator_tokenAudit token of the process that instigated the operation (the XPC caller); the audit-token companion to instigator (message version 8+, macOS 15+).
error_codeResult code for the operation; non-zero values indicate failure.
record_typeOD record type being modified.
record_nameName of the OD record whose attribute was replaced.
attribute_nameName of the attribute whose values were replaced.
attribute_value_countNumber of entries in attribute_value_array.
attribute_value_arrayArray of all new attribute values after the replacement.
node_nameOD node being modified.
db_pathOptional path to the local database when node_name is '/Local/Default'.

References #

ES_EVENT_TYPE_NOTIFY_OD_CREATE_USER: OpenDirectory User Account Created

#
Source
Endpoint Security (ESF)
Section
Open Directory Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires after a new user account is created in OpenDirectory. The event identifies the instigating process, the new account name, the OD node, and the result code.

Fields #

NameDescription
instigatorProcess that instigated the account creation via XPC.
instigator_tokenAudit token of the process that instigated the operation (the XPC caller); the audit-token companion to instigator (message version 8+, macOS 15+).
error_codeResult code for the operation; non-zero values indicate failure.
user_nameName of the user account that was created.
node_nameOD node where the account was created, typically '/Local/Default', '/LDAPv3/<server>', or '/Active Directory/<domain>'.
db_pathOptional path to the local database when node_name is '/Local/Default'.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "od_create_user": {
        "db_path": "/var/db/dslocal/nodes/Default",
        "error_code": 0,
        "instigator": {
          "audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 0,
            "euid": 0,
            "pid": 94961,
            "pidversion": 302493,
            "rgid": 0,
            "ruid": 0
          },
          "cdhash": "2AC2392B8C46355FFAB5C14D2103DA3EFF5C2ACC",
          "codesigning_flags": 637623057,
          "cs_validation_category": 1,
          "executable": {
            "path": "/usr/sbin/sysadminctl",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-05-21T08:57:02.000000000Z",
              "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_blksize": 4096,
              "st_blocks": 104,
              "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
              "st_dev": 16777232,
              "st_flags": 524320,
              "st_gen": 0,
              "st_gid": 0,
              "st_ino": 1152921500312576273,
              "st_mode": 33261,
              "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 207808,
              "st_uid": 0
            }
          },
          "group_id": 94037,
          "is_es_client": false,
          "is_platform_binary": true,
          "original_ppid": 94960,
          "parent_audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 0,
            "euid": 0,
            "pid": 94960,
            "pidversion": 302491,
            "rgid": 0,
            "ruid": 0
          },
          "ppid": 94960,
          "responsible_audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 20,
            "euid": 501,
            "pid": 92091,
            "pidversion": 296896,
            "rgid": 20,
            "ruid": 501
          },
          "session_id": 94036,
          "signing_id": "com.apple.sysadminctl",
          "start_time": "2026-06-22T23:30:48.157971Z",
          "team_id": null,
          "tty": {
            "path": "/dev/ttys005",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-06-22T23:21:30.000000000Z",
              "st_birthtimespec": "1970-01-01T00:00:00.000000000Z",
              "st_blksize": 65536,
              "st_blocks": 0,
              "st_ctimespec": "2026-06-22T23:30:43.115608000Z",
              "st_dev": -1278915369,
              "st_flags": 0,
              "st_gen": 0,
              "st_gid": 4,
              "st_ino": 1053,
              "st_mode": 8592,
              "st_mtimespec": "2026-06-22T23:30:43.115608000Z",
              "st_nlink": 1,
              "st_rdev": 268435461,
              "st_size": 0,
              "st_uid": 0
            }
          }
        },
        "instigator_token": {
          "asid": 100026,
          "auid": 501,
          "egid": 0,
          "euid": 0,
          "pid": 94961,
          "pidversion": 302493,
          "rgid": 0,
          "ruid": 0
        },
        "node_name": "/Local/Default",
        "user_name": "dwtmp"
      }
    },
    "event_type": 141,
    "global_seq_num": 0,
    "mach_time": 8847126652509,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 419,
        "pidversion": 985,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "85D20BDB864F0C3913ED5363D1796EE9562ADBE8",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/opendirectoryd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 1520,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575412,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 2185152,
          "st_uid": 0
        }
      },
      "group_id": 419,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 419,
        "pidversion": 985,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 419,
      "signing_id": "com.apple.opendirectoryd",
      "start_time": "2026-06-17T20:22:01.686647Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3677737
    },
    "time": "2026-06-22T23:30:48.352607090Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_OD_CREATE_GROUP: OpenDirectory Group Created

#
Source
Endpoint Security (ESF)
Section
Open Directory Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires after a new group is created in OpenDirectory. The event identifies the instigating process, the new group name, the OD node, and the result code.

Fields #

NameDescription
instigatorProcess that instigated the group creation via XPC.
instigator_tokenAudit token of the process that instigated the operation (the XPC caller); the audit-token companion to instigator (message version 8+, macOS 15+).
error_codeResult code for the operation; non-zero values indicate failure.
group_nameName of the group account that was created.
node_nameOD node where the group was created.
db_pathOptional path to the local database when node_name is '/Local/Default'.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "od_create_group": {
        "db_path": "/var/db/dslocal/nodes/Default",
        "error_code": 0,
        "group_name": "dwtmpgrp",
        "instigator": {
          "audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 0,
            "euid": 0,
            "pid": 95032,
            "pidversion": 302635,
            "rgid": 0,
            "ruid": 0
          },
          "cdhash": "B3555330E75F3D1D825CDBBB64FF6B02F5F12C4B",
          "codesigning_flags": 637606673,
          "cs_validation_category": 1,
          "executable": {
            "path": "/usr/sbin/dseditgroup",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-05-21T08:57:02.000000000Z",
              "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_blksize": 4096,
              "st_blocks": 64,
              "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
              "st_dev": 16777232,
              "st_flags": 524320,
              "st_gen": 0,
              "st_gid": 0,
              "st_ino": 1152921500312576013,
              "st_mode": 33261,
              "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 156320,
              "st_uid": 0
            }
          },
          "group_id": 94037,
          "is_es_client": false,
          "is_platform_binary": true,
          "original_ppid": 95031,
          "parent_audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 0,
            "euid": 0,
            "pid": 95031,
            "pidversion": 302633,
            "rgid": 0,
            "ruid": 0
          },
          "ppid": 95031,
          "responsible_audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 20,
            "euid": 501,
            "pid": 92091,
            "pidversion": 296896,
            "rgid": 20,
            "ruid": 501
          },
          "session_id": 94036,
          "signing_id": "com.apple.dseditgroup",
          "start_time": "2026-06-22T23:31:25.769190Z",
          "team_id": null,
          "tty": {
            "path": "/dev/ttys005",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-06-22T23:21:30.000000000Z",
              "st_birthtimespec": "1970-01-01T00:00:00.000000000Z",
              "st_blksize": 65536,
              "st_blocks": 0,
              "st_ctimespec": "2026-06-22T23:31:20.736689000Z",
              "st_dev": -1278915369,
              "st_flags": 0,
              "st_gen": 0,
              "st_gid": 4,
              "st_ino": 1053,
              "st_mode": 8592,
              "st_mtimespec": "2026-06-22T23:31:20.736689000Z",
              "st_nlink": 1,
              "st_rdev": 268435461,
              "st_size": 0,
              "st_uid": 0
            }
          }
        },
        "instigator_token": {
          "asid": 100026,
          "auid": 501,
          "egid": 0,
          "euid": 0,
          "pid": 95032,
          "pidversion": 302635,
          "rgid": 0,
          "ruid": 0
        },
        "node_name": "/Local/Default"
      }
    },
    "event_type": 142,
    "global_seq_num": 0,
    "mach_time": 8848024882907,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 419,
        "pidversion": 985,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "85D20BDB864F0C3913ED5363D1796EE9562ADBE8",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/opendirectoryd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 1520,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575412,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 2185152,
          "st_uid": 0
        }
      },
      "group_id": 419,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 419,
        "pidversion": 985,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 419,
      "signing_id": "com.apple.opendirectoryd",
      "start_time": "2026-06-17T20:22:01.686647Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3678406
    },
    "time": "2026-06-22T23:31:25.778538980Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_OD_DELETE_USER: OpenDirectory User Account Deleted

#
Source
Endpoint Security (ESF)
Section
Open Directory Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires after a user account is deleted from OpenDirectory. The event identifies the instigating process, the deleted account name, the OD node, and the result code.

Fields #

NameDescription
instigatorProcess that instigated the account deletion via XPC.
instigator_tokenAudit token of the process that instigated the operation (the XPC caller); the audit-token companion to instigator (message version 8+, macOS 15+).
error_codeResult code for the operation; non-zero values indicate failure.
user_nameName of the user account that was deleted.
node_nameOD node from which the account was deleted.
db_pathOptional path to the local database when node_name is '/Local/Default'.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "od_delete_user": {
        "db_path": "/var/db/dslocal/nodes/Default",
        "error_code": 0,
        "instigator": {
          "audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 0,
            "euid": 0,
            "pid": 94984,
            "pidversion": 302544,
            "rgid": 0,
            "ruid": 0
          },
          "cdhash": "2AC2392B8C46355FFAB5C14D2103DA3EFF5C2ACC",
          "codesigning_flags": 637623057,
          "cs_validation_category": 1,
          "executable": {
            "path": "/usr/sbin/sysadminctl",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-05-21T08:57:02.000000000Z",
              "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_blksize": 4096,
              "st_blocks": 104,
              "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
              "st_dev": 16777232,
              "st_flags": 524320,
              "st_gen": 0,
              "st_gid": 0,
              "st_ino": 1152921500312576273,
              "st_mode": 33261,
              "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 207808,
              "st_uid": 0
            }
          },
          "group_id": 94037,
          "is_es_client": false,
          "is_platform_binary": true,
          "original_ppid": 94983,
          "parent_audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 0,
            "euid": 0,
            "pid": 94983,
            "pidversion": 302542,
            "rgid": 0,
            "ruid": 0
          },
          "ppid": 94983,
          "responsible_audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 20,
            "euid": 501,
            "pid": 92091,
            "pidversion": 296896,
            "rgid": 20,
            "ruid": 501
          },
          "session_id": 94036,
          "signing_id": "com.apple.sysadminctl",
          "start_time": "2026-06-22T23:30:57.249972Z",
          "team_id": null,
          "tty": {
            "path": "/dev/ttys005",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-06-22T23:21:30.000000000Z",
              "st_birthtimespec": "1970-01-01T00:00:00.000000000Z",
              "st_blksize": 65536,
              "st_blocks": 0,
              "st_ctimespec": "2026-06-22T23:30:52.212693000Z",
              "st_dev": -1278915369,
              "st_flags": 0,
              "st_gen": 0,
              "st_gid": 4,
              "st_ino": 1053,
              "st_mode": 8592,
              "st_mtimespec": "2026-06-22T23:30:52.212693000Z",
              "st_nlink": 1,
              "st_rdev": 268435461,
              "st_size": 0,
              "st_uid": 0
            }
          }
        },
        "instigator_token": {
          "asid": 100026,
          "auid": 501,
          "egid": 0,
          "euid": 0,
          "pid": 94984,
          "pidversion": 302544,
          "rgid": 0,
          "ruid": 0
        },
        "node_name": "/Local/Default",
        "user_name": "dwtmp"
      }
    },
    "event_type": 143,
    "global_seq_num": 0,
    "mach_time": 8847344864339,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 419,
        "pidversion": 985,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "85D20BDB864F0C3913ED5363D1796EE9562ADBE8",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/opendirectoryd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 1520,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575412,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 2185152,
          "st_uid": 0
        }
      },
      "group_id": 419,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 419,
        "pidversion": 985,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 419,
      "signing_id": "com.apple.opendirectoryd",
      "start_time": "2026-06-17T20:22:01.686647Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3677886
    },
    "time": "2026-06-22T23:30:57.444685396Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_OD_DELETE_GROUP: OpenDirectory Group Deleted

#
Source
Endpoint Security (ESF)
Section
Open Directory Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires after a group account is deleted from OpenDirectory. The event identifies the instigating process, the deleted group name, the OD node, and the result code.

Fields #

NameDescription
instigatorProcess that instigated the group deletion via XPC.
instigator_tokenAudit token of the process that instigated the operation (the XPC caller); the audit-token companion to instigator (message version 8+, macOS 15+).
error_codeResult code for the operation; non-zero values indicate failure.
group_nameName of the group account that was deleted.
node_nameOD node from which the group was deleted.
db_pathOptional path to the local database when node_name is '/Local/Default'.

Example Event #

Captured live on macOS build 25F80.

{
  "message": {
    "action": {
      "result": {
        "result": {
          "auth": 0
        },
        "result_type": 0
      }
    },
    "action_type": 1,
    "event": {
      "od_delete_group": {
        "db_path": "/var/db/dslocal/nodes/Default",
        "error_code": 0,
        "group_name": "dwtmpgrp",
        "instigator": {
          "audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 0,
            "euid": 0,
            "pid": 95043,
            "pidversion": 302657,
            "rgid": 0,
            "ruid": 0
          },
          "cdhash": "B3555330E75F3D1D825CDBBB64FF6B02F5F12C4B",
          "codesigning_flags": 637606673,
          "cs_validation_category": 1,
          "executable": {
            "path": "/usr/sbin/dseditgroup",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-05-21T08:57:02.000000000Z",
              "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_blksize": 4096,
              "st_blocks": 64,
              "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
              "st_dev": 16777232,
              "st_flags": 524320,
              "st_gen": 0,
              "st_gid": 0,
              "st_ino": 1152921500312576013,
              "st_mode": 33261,
              "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
              "st_nlink": 1,
              "st_rdev": 0,
              "st_size": 156320,
              "st_uid": 0
            }
          },
          "group_id": 94037,
          "is_es_client": false,
          "is_platform_binary": true,
          "original_ppid": 95042,
          "parent_audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 0,
            "euid": 0,
            "pid": 95042,
            "pidversion": 302655,
            "rgid": 0,
            "ruid": 0
          },
          "ppid": 95042,
          "responsible_audit_token": {
            "asid": 100026,
            "auid": 501,
            "egid": 20,
            "euid": 501,
            "pid": 92091,
            "pidversion": 296896,
            "rgid": 20,
            "ruid": 501
          },
          "session_id": 94036,
          "signing_id": "com.apple.dseditgroup",
          "start_time": "2026-06-22T23:31:32.820605Z",
          "team_id": null,
          "tty": {
            "path": "/dev/ttys005",
            "path_truncated": false,
            "stat": {
              "st_atimespec": "2026-06-22T23:21:30.000000000Z",
              "st_birthtimespec": "1970-01-01T00:00:00.000000000Z",
              "st_blksize": 65536,
              "st_blocks": 0,
              "st_ctimespec": "2026-06-22T23:31:27.800605000Z",
              "st_dev": -1278915369,
              "st_flags": 0,
              "st_gen": 0,
              "st_gid": 4,
              "st_ino": 1053,
              "st_mode": 8592,
              "st_mtimespec": "2026-06-22T23:31:27.800605000Z",
              "st_nlink": 1,
              "st_rdev": 268435461,
              "st_size": 0,
              "st_uid": 0
            }
          }
        },
        "instigator_token": {
          "asid": 100026,
          "auid": 501,
          "egid": 0,
          "euid": 0,
          "pid": 95043,
          "pidversion": 302657,
          "rgid": 0,
          "ruid": 0
        },
        "node_name": "/Local/Default"
      }
    },
    "event_type": 144,
    "global_seq_num": 0,
    "mach_time": 8848194214163,
    "process": {
      "audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 419,
        "pidversion": 985,
        "rgid": 0,
        "ruid": 0
      },
      "cdhash": "85D20BDB864F0C3913ED5363D1796EE9562ADBE8",
      "codesigning_flags": 637623057,
      "cs_validation_category": 1,
      "executable": {
        "path": "/usr/libexec/opendirectoryd",
        "path_truncated": false,
        "stat": {
          "st_atimespec": "2026-05-21T08:57:02.000000000Z",
          "st_birthtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_blksize": 4096,
          "st_blocks": 1520,
          "st_ctimespec": "2026-05-21T08:57:02.000000000Z",
          "st_dev": 16777232,
          "st_flags": 524320,
          "st_gen": 0,
          "st_gid": 0,
          "st_ino": 1152921500312575412,
          "st_mode": 33261,
          "st_mtimespec": "2026-05-21T08:57:02.000000000Z",
          "st_nlink": 1,
          "st_rdev": 0,
          "st_size": 2185152,
          "st_uid": 0
        }
      },
      "group_id": 419,
      "is_es_client": false,
      "is_platform_binary": true,
      "original_ppid": 1,
      "parent_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 1,
        "pidversion": 721,
        "rgid": 0,
        "ruid": 0
      },
      "ppid": 1,
      "responsible_audit_token": {
        "asid": 100025,
        "auid": 4294967295,
        "egid": 0,
        "euid": 0,
        "pid": 419,
        "pidversion": 985,
        "rgid": 0,
        "ruid": 0
      },
      "session_id": 419,
      "signing_id": "com.apple.opendirectoryd",
      "start_time": "2026-06-17T20:22:01.686647Z",
      "team_id": null,
      "tty": null
    },
    "schema_version": 1,
    "seq_num": 0,
    "thread": {
      "thread_id": 3678586
    },
    "time": "2026-06-22T23:31:32.833944878Z",
    "version": 10
  }
}

References #

ES_EVENT_TYPE_NOTIFY_XP_MALWARE_DETECTED: XProtect Malware Detected

#
Source
Endpoint Security (ESF)
Section
XProtect Events
Action
NOTIFY
Introduced
macOS 13.0

Description

Fires when XProtect Remediator or XprotectService detects a known malware signature on the system. The event reports the malware identifier and the path where the threat was found. Only processes holding the com.apple.private.endpoint-security.submit.xp entitlement (namely XProtect daemons) can emit this event.

Fields #

NameDescription
signature_versionThe version string of the XProtect signature set that made the detection.
malware_identifierA string identifying the specific malware variant detected (for example, the XProtect rule or threat name).
incident_identifierA unique identifier for this detection incident, used to correlate detection and remediation events for the same threat.
detected_pathThe file system path of the malicious file or artifact that triggered the detection.

References #

ES_EVENT_TYPE_NOTIFY_XP_MALWARE_REMEDIATED: XProtect Malware Remediated

#
Source
Endpoint Security (ESF)
Section
XProtect Events
Action
NOTIFY
Introduced
macOS 13.0

Description

Fires when XProtect Remediator or XprotectService completes a remediation action against previously detected malware. The event records the action taken, whether it succeeded, and optionally the path or process that was remediated. Correlate with xp_malware_detected via incident_identifier.

Fields #

NameDescription
signature_versionThe version string of the XProtect signature set that identified the threat being remediated.
malware_identifierA string identifying the specific malware variant that was remediated.
incident_identifierThe unique incident identifier shared with the corresponding xp_malware_detected event.
action_typeA string describing the type of remediation action taken (for example, quarantine or deletion).
successBoolean indicating whether the remediation action completed successfully.
result_descriptionA human-readable description of the remediation outcome or any error encountered.
remediated_pathOptional file system path of the artifact that was remediated. Present when the remediated entity was a file.
remediated_process_audit_tokenOptional audit token of the process that was remediated. Present when the remediated entity was a running process.

References #

ES_EVENT_TYPE_NOTIFY_BTM_LAUNCH_ITEM_ADD: Background Task Management Launch Item Added

#
Source
Endpoint Security (ESF)
Section
Background Task Management Events
Action
NOTIFY
Introduced
macOS 13.0

Description

Fires when backgroundtaskmanagementd registers a new launch item, including launch agents, launch daemons, and login items added by the user, by MDM, or by an app. The event identifies the instigating process, the app that owns the item, and the item itself including its type and URL.

Fields #

NameDescription
instigatorOptional process that initiated the BTM operation (the XPC caller that requested the item be added).
appOptional process representing the app that registered the launch item.
item.item_typeThe type of launch item (for example: launch agent, launch daemon, or login item).
item.legacyBoolean indicating whether this is a legacy plist-based launch item.
item.managedBoolean indicating whether the item is managed (for example, installed via MDM).
item.uidThe UID of the user account the launch item is associated with.
item.item_urlURL for the launch item. If this is a relative file URL, it is relative to item.app_url.
item.app_urlOptional URL for the app the item is attributed to. Present when the item URL is relative to an app bundle.
executable_pathOptional POSIX path of the executable from the launchd plist. If relative, it is relative to item.app_url.

References #

ES_EVENT_TYPE_NOTIFY_BTM_LAUNCH_ITEM_REMOVE: Background Task Management Launch Item Removed

#
Source
Endpoint Security (ESF)
Section
Background Task Management Events
Action
NOTIFY
Introduced
macOS 13.0

Description

Fires when backgroundtaskmanagementd removes a launch item from its registry. The event identifies the instigating process, the owning app, and the item being removed. Correlate with btm_launch_item_add to track the full lifecycle of persistent launch items.

Fields #

NameDescription
instigatorOptional process that initiated the BTM operation (the XPC caller that requested the item be removed).
appOptional process representing the app that owned the launch item.
item.item_typeThe type of launch item being removed (for example: launch agent, launch daemon, or login item).
item.legacyBoolean indicating whether the removed item was a legacy plist-based launch item.
item.uidThe UID of the user account the launch item was associated with.
item.item_urlURL identifying the launch item that was removed.

References #

ES_EVENT_TYPE_NOTIFY_PROFILE_ADD: Configuration Profile Installed

#
Source
Endpoint Security (ESF)
Section
Profile Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires when mdmclient installs a configuration profile on the system. The event reports the instigating process, whether this is an update to an existing profile, and profile metadata including its identifier, UUID, display name, organization, scope, and install source.

Fields #

NameDescription
instigatorThe process that triggered the profile installation (typically mdmclient or System Preferences/Settings).
is_updateBoolean indicating whether this installation is an update to an already-installed profile.
profile.identifierThe PayloadIdentifier string from the profile, typically a reverse-DNS name.
profile.uuidThe PayloadUUID string uniquely identifying this profile.
profile.install_sourceThe source of the installation (for example: MDM, manual, or app).
profile.organizationThe PayloadOrganization string identifying the entity that created the profile.
profile.display_nameThe PayloadDisplayName string shown to the user in System Settings.
profile.scopeThe scope of the profile (for example: system or user).

References #

ES_EVENT_TYPE_NOTIFY_PROFILE_REMOVE: Configuration Profile Removed

#
Source
Endpoint Security (ESF)
Section
Profile Events
Action
NOTIFY
Introduced
macOS 14.0

Description

Fires when mdmclient removes a configuration profile from the system. The event reports the instigating process and the metadata of the profile that was removed, allowing defenders to detect unauthorized removal of MDM enrollment or security policy profiles.

Fields #

NameDescription
instigatorThe process that triggered the profile removal (typically mdmclient or System Preferences/Settings).
profile.identifierThe PayloadIdentifier string of the removed profile.
profile.uuidThe PayloadUUID string of the removed profile.
profile.install_sourceThe source from which the removed profile was originally installed.
profile.organizationThe PayloadOrganization string of the removed profile.
profile.display_nameThe PayloadDisplayName of the removed profile.
profile.scopeThe scope of the removed profile (for example: system or user).

References #

ES_EVENT_TYPE_NOTIFY_GATEKEEPER_USER_OVERRIDE: Gatekeeper User Override

#
Source
Endpoint Security (ESF)
Section
Gatekeeper Events
Action
NOTIFY
Introduced
macOS 15.0

Description

Fires when a user explicitly overrides a Gatekeeper block to run an app or file that macOS would otherwise refuse to open. The event identifies the target file or path and, where available, its SHA-256 hash and code signing information.

Fields #

NameDescription
file_typeDiscriminator indicating whether the file field contains a resolved es_file_t (ES_GATEKEEPER_USER_OVERRIDE_FILE_TYPE_FILE) or only a path string (ES_GATEKEEPER_USER_OVERRIDE_FILE_TYPE_PATH).
file_pathPath string describing the target file when Endpoint Security could not resolve a full es_file_t at event submission time.
fileResolved file descriptor for the target when the system was able to look up the file at event submission time.
sha256SHA-256 hash of the target file. Populated when the file size is below 100 MB.
signing_infoCode signing information for the target file, if the file has been signed.

References #

ES_EVENT_TYPE_NOTIFY_TCC_MODIFY: TCC Privacy Permission Modified

#
Source
Endpoint Security (ESF)
Section
TCC Events
Action
NOTIFY
Introduced
macOS 15.4

Description

Fires when a Transparency, Consent, and Control (TCC) privacy permission is granted or revoked for an application. The event identifies the protected service, the application whose access changed, the type of change, the resulting permission right, and the reason for the update. Added in macOS 15.4 as the first native ESF hook for TCC database modifications.

Fields #

NameDescription
serviceThe TCC service whose permission was modified (for example: kTCCServiceCamera, kTCCServiceMicrophone).
identityThe identity string of the application subject to the permission change (bundle ID, executable path, or policy identifier, depending on identity_type).
identity_typeThe format of the identity field: bundle ID, executable path, policy ID, or file provider domain ID.
update_typeThe kind of TCC modification: create, modify, or delete.
instigatorOptional process information for the entity that initiated the TCC permission change.
rightThe resulting TCC authorization right after the modification (for example: allowed, denied, limited).
reasonThe reason the permission was updated (for example: user consent, MDM policy, service policy, or app entitlement).

References #