| { |
| "_meta": { |
| "schema_version": "1.1", |
| "source_modules": [ |
| "mamba-edge/src/features/v0_2_features.py", |
| "mamba-edge/src/processing/v0_2_behavior_builder.py", |
| "mamba-edge/src/core/v0_2_event_encoder.py" |
| ], |
| "note": "Schema 1.1 reflects the 3a' encoder revisions (4 promoted categoricals — f_path_category / f_dst_ip_category / f_dst_port_category / f_object_category — plus hash right-sizing on f_proc_name_hash and f_proc_cwd_hash, cwd depth 2 -> 4) and the v0.2.1 deep-aliasing anonymizer (basename allowlist + custom_tool_NNN, salted-HMAC exec_ids). Integer-coded categorical/bucket columns map an integer to a label + semantic description. String-coded categorical columns (path_category, object_category, dst_ip_category, dst_port_category) map the string value directly. Hash columns list bucket count and the raw-parquet column the parser hashed." |
| }, |
| "categorical_int_columns": { |
| "f_event_type": { |
| "0": { |
| "label": "process_exec", |
| "desc": "Process execution event (Tetragon process_exec)" |
| }, |
| "1": { |
| "label": "process_exit", |
| "desc": "Process termination event" |
| }, |
| "2": { |
| "label": "process_kprobe", |
| "desc": "Kernel-probe event hooked by Tetragon (file/net/cred/mem)" |
| }, |
| "3": { |
| "label": "OOV", |
| "desc": "Unknown event type — should not appear; sentinel for parser drift" |
| } |
| }, |
| "f_kprobe_function": { |
| "0": { |
| "label": "fd_install", |
| "desc": "File descriptor install (file open in the kernel)" |
| }, |
| "1": { |
| "label": "security_mmap_file", |
| "desc": "LSM hook for mmap() of a file" |
| }, |
| "2": { |
| "label": "commit_creds", |
| "desc": "Credential change (setuid/setgid/capset)" |
| }, |
| "3": { |
| "label": "tcp_connect", |
| "desc": "Outbound TCP connect()" |
| }, |
| "4": { |
| "label": "tcp_close", |
| "desc": "TCP socket close" |
| }, |
| "5": { |
| "label": "udp_sendmsg", |
| "desc": "UDP send (port 53 = DNS resolves)" |
| }, |
| "6": { |
| "label": "inet_csk_accept", |
| "desc": "Inbound TCP accept (server-side)" |
| }, |
| "7": { |
| "label": "do_unlinkat", |
| "desc": "File unlink (delete)" |
| }, |
| "8": { |
| "label": "chmod_common", |
| "desc": "File permission change" |
| }, |
| "9": { |
| "label": "security_file_mprotect", |
| "desc": "LSM hook for mprotect() (memory permission change)" |
| }, |
| "10": { |
| "label": "sys_ptrace", |
| "desc": "ptrace() syscall (process injection / debugger attach)" |
| }, |
| "11": { |
| "label": "sys_process_vm_writev", |
| "desc": "process_vm_writev() (cross-process memory write)" |
| }, |
| "12": { |
| "label": "NOT_KPROBE", |
| "desc": "Row is process_exec / process_exit, not a kprobe event" |
| }, |
| "13": { |
| "label": "OOV", |
| "desc": "Kprobe function not in the v0.2 vocabulary" |
| } |
| }, |
| "f_kprobe_policy": { |
| "0": { |
| "label": "file-monitor", |
| "desc": "Tracing policy for file-system kprobes" |
| }, |
| "1": { |
| "label": "memory-monitor", |
| "desc": "Tracing policy for memory-related kprobes" |
| }, |
| "2": { |
| "label": "privilege-monitor", |
| "desc": "Tracing policy for credential / privilege kprobes" |
| }, |
| "3": { |
| "label": "network-monitor", |
| "desc": "Tracing policy for network kprobes" |
| }, |
| "4": { |
| "label": "injection-monitor", |
| "desc": "Tracing policy for process-injection kprobes" |
| }, |
| "5": { |
| "label": "attribute-monitor", |
| "desc": "Tracing policy for file-attribute kprobes" |
| }, |
| "6": { |
| "label": "NONE", |
| "desc": "Row is not a kprobe (process_exec / process_exit)" |
| }, |
| "7": { |
| "label": "OOV", |
| "desc": "Tracing policy not in the v0.2 vocabulary" |
| } |
| }, |
| "f_kprobe_action": { |
| "0": { |
| "label": "KPROBE_ACTION_POST", |
| "desc": "Tetragon emitted the event without taking action" |
| }, |
| "1": { |
| "label": "NONE", |
| "desc": "Row is not a kprobe" |
| }, |
| "2": { |
| "label": "OOV", |
| "desc": "Action not seen in v0.2 (e.g. KILL/OVERRIDE in future Tetragon)" |
| } |
| }, |
| "f_proc_uid_bucket": { |
| "0": { |
| "label": "ROOT", |
| "desc": "uid == 0 (container root)" |
| }, |
| "1": { |
| "label": "RESEARCH_USER", |
| "desc": "uid == 1000 (primary research user in container)" |
| }, |
| "2": { |
| "label": "SYSTEM_LOW", |
| "desc": "1 <= uid <= 99 (historical Unix system accounts)" |
| }, |
| "3": { |
| "label": "DAEMON_HIGH", |
| "desc": "100 <= uid <= 999 (modern Linux service accounts)" |
| }, |
| "4": { |
| "label": "OTHER", |
| "desc": "everything else (incl. uid >= 1001, nobody/65534)" |
| } |
| }, |
| "f_dst_port_bucket": { |
| "0": { |
| "label": "NONE", |
| "desc": "row has no dst port (non-network event)" |
| }, |
| "1": { |
| "label": "LOOPBACK", |
| "desc": "dport == 0 (Tetragon's loopback / unset sentinel)" |
| }, |
| "2": { |
| "label": "SSH", |
| "desc": "dport == 22" |
| }, |
| "3": { |
| "label": "DNS", |
| "desc": "dport == 53" |
| }, |
| "4": { |
| "label": "WEB", |
| "desc": "dport in {80, 443, 8080, 8443}" |
| }, |
| "5": { |
| "label": "PRIV", |
| "desc": "1 <= dport <= 1023 (reserved/privileged ports)" |
| }, |
| "6": { |
| "label": "HIGH", |
| "desc": "dport >= 1024 (ephemeral / non-standard high ports)" |
| } |
| }, |
| "f_args_length_bucket": { |
| "0": { |
| "label": "ZERO", |
| "desc": "no arguments" |
| }, |
| "1": { |
| "label": "LT50", |
| "desc": "1 <= len(args) < 50 chars" |
| }, |
| "2": { |
| "label": "RANGE_50_200", |
| "desc": "50 <= len(args) < 200 chars" |
| }, |
| "3": { |
| "label": "RANGE_200_1K", |
| "desc": "200 <= len(args) < 1000 chars" |
| }, |
| "4": { |
| "label": "RANGE_1K_5K", |
| "desc": "1000 <= len(args) < 5000 chars" |
| }, |
| "5": { |
| "label": "GT5K", |
| "desc": "len(args) >= 5000 chars (suspect / oversize cmdlines)" |
| } |
| }, |
| "f_cap_count_bucket": { |
| "0": { |
| "label": "ZERO", |
| "desc": "no Linux capabilities held" |
| }, |
| "1": { |
| "label": "RANGE_1_2", |
| "desc": "1 or 2 capabilities" |
| }, |
| "2": { |
| "label": "RANGE_3_5", |
| "desc": "3 to 5 capabilities" |
| }, |
| "3": { |
| "label": "RANGE_6_15", |
| "desc": "6 to 15 capabilities" |
| }, |
| "4": { |
| "label": "GE16", |
| "desc": "16 or more capabilities (essentially full root)" |
| } |
| }, |
| "f_path_sens_cwd": { |
| "0": { |
| "label": "SENSITIVE_SYS", |
| "desc": "/etc/, /root/, /boot/, /usr/sbin/, /sbin/" |
| }, |
| "1": { |
| "label": "STAGING", |
| "desc": "/tmp/, /var/tmp/, /dev/shm/" |
| }, |
| "2": { |
| "label": "RUNTIME", |
| "desc": "/var/run/, /run/" |
| }, |
| "3": { |
| "label": "USER_HOME", |
| "desc": "/home/, /Users/" |
| }, |
| "4": { |
| "label": "PROC_SELF", |
| "desc": "/proc/self/ (own-process introspection)" |
| }, |
| "5": { |
| "label": "VSCODE_DEV", |
| "desc": "developer-tooling paths: .vscode-server/, node_modules/, .git/" |
| }, |
| "6": { |
| "label": "OTHER", |
| "desc": "anything else" |
| }, |
| "7": { |
| "label": "NONE", |
| "desc": "row has no path (non-file event)" |
| } |
| }, |
| "f_path_sens_binary": { |
| "0": { |
| "label": "SENSITIVE_SYS", |
| "desc": "/etc/, /root/, /boot/, /usr/sbin/, /sbin/" |
| }, |
| "1": { |
| "label": "STAGING", |
| "desc": "/tmp/, /var/tmp/, /dev/shm/" |
| }, |
| "2": { |
| "label": "RUNTIME", |
| "desc": "/var/run/, /run/" |
| }, |
| "3": { |
| "label": "USER_HOME", |
| "desc": "/home/, /Users/" |
| }, |
| "4": { |
| "label": "PROC_SELF", |
| "desc": "/proc/self/ (own-process introspection)" |
| }, |
| "5": { |
| "label": "VSCODE_DEV", |
| "desc": "developer-tooling paths: .vscode-server/, node_modules/, .git/" |
| }, |
| "6": { |
| "label": "OTHER", |
| "desc": "anything else" |
| }, |
| "7": { |
| "label": "NONE", |
| "desc": "row has no path (non-file event)" |
| } |
| }, |
| "f_path_sens_kp": { |
| "0": { |
| "label": "SENSITIVE_SYS", |
| "desc": "/etc/, /root/, /boot/, /usr/sbin/, /sbin/" |
| }, |
| "1": { |
| "label": "STAGING", |
| "desc": "/tmp/, /var/tmp/, /dev/shm/" |
| }, |
| "2": { |
| "label": "RUNTIME", |
| "desc": "/var/run/, /run/" |
| }, |
| "3": { |
| "label": "USER_HOME", |
| "desc": "/home/, /Users/" |
| }, |
| "4": { |
| "label": "PROC_SELF", |
| "desc": "/proc/self/ (own-process introspection)" |
| }, |
| "5": { |
| "label": "VSCODE_DEV", |
| "desc": "developer-tooling paths: .vscode-server/, node_modules/, .git/" |
| }, |
| "6": { |
| "label": "OTHER", |
| "desc": "anything else" |
| }, |
| "7": { |
| "label": "NONE", |
| "desc": "row has no path (non-file event)" |
| } |
| }, |
| "f_kp_fd_install_path_sensitivity": { |
| "0": { |
| "label": "SENSITIVE_SYS", |
| "desc": "/etc/, /root/, /boot/, /usr/sbin/, /sbin/" |
| }, |
| "1": { |
| "label": "STAGING", |
| "desc": "/tmp/, /var/tmp/, /dev/shm/" |
| }, |
| "2": { |
| "label": "RUNTIME", |
| "desc": "/var/run/, /run/" |
| }, |
| "3": { |
| "label": "USER_HOME", |
| "desc": "/home/, /Users/" |
| }, |
| "4": { |
| "label": "PROC_SELF", |
| "desc": "/proc/self/ (own-process introspection)" |
| }, |
| "5": { |
| "label": "VSCODE_DEV", |
| "desc": "developer-tooling paths: .vscode-server/, node_modules/, .git/" |
| }, |
| "6": { |
| "label": "OTHER", |
| "desc": "anything else" |
| }, |
| "7": { |
| "label": "NONE", |
| "desc": "row has no path (non-file event)" |
| } |
| }, |
| "f_kp_mmap_path_sensitivity": { |
| "0": { |
| "label": "SENSITIVE_SYS", |
| "desc": "/etc/, /root/, /boot/, /usr/sbin/, /sbin/" |
| }, |
| "1": { |
| "label": "STAGING", |
| "desc": "/tmp/, /var/tmp/, /dev/shm/" |
| }, |
| "2": { |
| "label": "RUNTIME", |
| "desc": "/var/run/, /run/" |
| }, |
| "3": { |
| "label": "USER_HOME", |
| "desc": "/home/, /Users/" |
| }, |
| "4": { |
| "label": "PROC_SELF", |
| "desc": "/proc/self/ (own-process introspection)" |
| }, |
| "5": { |
| "label": "VSCODE_DEV", |
| "desc": "developer-tooling paths: .vscode-server/, node_modules/, .git/" |
| }, |
| "6": { |
| "label": "OTHER", |
| "desc": "anything else" |
| }, |
| "7": { |
| "label": "NONE", |
| "desc": "row has no path (non-file event)" |
| } |
| }, |
| "f_cmdline_entropy": { |
| "0": { |
| "label": "NULL", |
| "desc": "row has no cmdline (non-exec event)" |
| }, |
| "1": { |
| "label": "LOW", |
| "desc": "Shannon entropy < 2.0 (very repetitive / short)" |
| }, |
| "2": { |
| "label": "MID_LOW", |
| "desc": "2.0 <= entropy < 3.5" |
| }, |
| "3": { |
| "label": "MID", |
| "desc": "3.5 <= entropy < 4.5" |
| }, |
| "4": { |
| "label": "MID_HIGH", |
| "desc": "4.5 <= entropy < 5.5" |
| }, |
| "5": { |
| "label": "HIGH", |
| "desc": "entropy >= 5.5 (random-looking / encoded payloads)" |
| } |
| }, |
| "f_cmdline_compress": { |
| "0": { |
| "label": "NULL", |
| "desc": "row has no cmdline" |
| }, |
| "1": { |
| "label": "VERY_COMPRESSIBLE", |
| "desc": "ratio < 0.3" |
| }, |
| "2": { |
| "label": "COMPRESSIBLE", |
| "desc": "0.3 <= ratio < 0.5" |
| }, |
| "3": { |
| "label": "MODERATE", |
| "desc": "0.5 <= ratio < 0.7" |
| }, |
| "4": { |
| "label": "WEAK", |
| "desc": "0.7 <= ratio < 0.9" |
| }, |
| "5": { |
| "label": "INCOMPRESSIBLE", |
| "desc": "ratio >= 0.9 (random / pre-encrypted)" |
| } |
| }, |
| "f_time_since_parent_exec": { |
| "0": { |
| "label": "NULL", |
| "desc": "no parent exec_time available" |
| }, |
| "1": { |
| "label": "SUB_MS", |
| "desc": "< 1 ms since parent exec" |
| }, |
| "2": { |
| "label": "MS", |
| "desc": "1 ms .. 1 s" |
| }, |
| "3": { |
| "label": "SEC", |
| "desc": "1 s .. 1 min" |
| }, |
| "4": { |
| "label": "MIN", |
| "desc": "1 min .. 1 h" |
| }, |
| "5": { |
| "label": "HR", |
| "desc": ">= 1 h" |
| } |
| }, |
| "f_kp_tcp_connect_sock_family": { |
| "0": { |
| "label": "AF_INET", |
| "desc": "IPv4" |
| }, |
| "1": { |
| "label": "AF_INET6", |
| "desc": "IPv6" |
| }, |
| "2": { |
| "label": "NONE", |
| "desc": "row is not a network event" |
| }, |
| "3": { |
| "label": "OOV", |
| "desc": "Socket family outside {AF_INET, AF_INET6}" |
| } |
| }, |
| "f_action_family": { |
| "0": { |
| "label": "PROC_EXEC", |
| "desc": "Process execution" |
| }, |
| "1": { |
| "label": "PROC_EXIT", |
| "desc": "Process termination" |
| }, |
| "2": { |
| "label": "NET_CONNECT", |
| "desc": "Outbound TCP connect()" |
| }, |
| "3": { |
| "label": "NET_CLOSE", |
| "desc": "TCP socket close" |
| }, |
| "4": { |
| "label": "NET_ACCEPT", |
| "desc": "Inbound TCP accept()" |
| }, |
| "5": { |
| "label": "NET_SEND", |
| "desc": "UDP send (e.g. DNS at dport=53)" |
| }, |
| "6": { |
| "label": "FILE_OPEN", |
| "desc": "File descriptor install (file open)" |
| }, |
| "7": { |
| "label": "FILE_DELETE", |
| "desc": "File unlink" |
| }, |
| "8": { |
| "label": "FILE_CHMOD", |
| "desc": "File permission change" |
| }, |
| "9": { |
| "label": "PRIV_CHANGE", |
| "desc": "Credential change (setuid / setgid / capset)" |
| }, |
| "10": { |
| "label": "PROC_INJECT_PTRACE", |
| "desc": "ptrace() — process injection / debugger" |
| }, |
| "11": { |
| "label": "PROC_INJECT_VMWRITE", |
| "desc": "process_vm_writev() — cross-process memory write" |
| }, |
| "12": { |
| "label": "MEM_MAP", |
| "desc": "mmap() of a file" |
| }, |
| "13": { |
| "label": "MEM_PROTECT", |
| "desc": "mprotect() — memory permission change" |
| }, |
| "14": { |
| "label": "OTHER", |
| "desc": "Catch-all (unknown kprobe in v0.2 corpus)" |
| } |
| }, |
| "f_path_category": { |
| "0": { |
| "label": "VSCODE_DEV", |
| "desc": "developer-tooling paths (.vscode-server/, node_modules/, .git/)" |
| }, |
| "1": { |
| "label": "SENSITIVE_SYS", |
| "desc": "/etc/, /root/, /boot/, /usr/sbin/, /sbin/" |
| }, |
| "2": { |
| "label": "TEMP_STAGING", |
| "desc": "/tmp/, /var/tmp/, /dev/shm/" |
| }, |
| "3": { |
| "label": "RUNTIME", |
| "desc": "/var/run/, /run/, /proc/" |
| }, |
| "4": { |
| "label": "LIBRARY", |
| "desc": "/usr/lib/, /usr/lib32/, /usr/lib64/, /usr/local/lib/, /lib/, /lib32/, /lib64/ — NEW in 3a'" |
| }, |
| "5": { |
| "label": "USR_BIN", |
| "desc": "/usr/bin/, /usr/local/bin/, /usr/local/sbin/ — NEW in 3a'" |
| }, |
| "6": { |
| "label": "OPT", |
| "desc": "/opt/ — NEW in 3a'" |
| }, |
| "7": { |
| "label": "USER_HOME", |
| "desc": "/home/, /Users/" |
| }, |
| "8": { |
| "label": "PROC_SELF", |
| "desc": "/proc/self/" |
| }, |
| "9": { |
| "label": "OTHER", |
| "desc": "anything else" |
| }, |
| "10": { |
| "label": "NONE", |
| "desc": "row has no path" |
| } |
| }, |
| "f_dst_ip_category": { |
| "0": { |
| "label": "LOOPBACK", |
| "desc": "127.0.0.0/8 or ::1" |
| }, |
| "1": { |
| "label": "LINK_LOCAL", |
| "desc": "169.254.0.0/16 or fe80::/10" |
| }, |
| "2": { |
| "label": "PRIVATE", |
| "desc": "RFC1918: 10/8, 172.16/12, 192.168/16" |
| }, |
| "3": { |
| "label": "MULTICAST", |
| "desc": "224.0.0.0/4 or ff00::/8" |
| }, |
| "4": { |
| "label": "PUBLIC", |
| "desc": "publicly-routable IP (anonymized at parser; only category survives)" |
| }, |
| "5": { |
| "label": "NONE", |
| "desc": "row has no dst IP" |
| } |
| }, |
| "f_dst_port_category": { |
| "0": { |
| "label": "DNS", |
| "desc": "dport == 53" |
| }, |
| "1": { |
| "label": "WEB", |
| "desc": "dport in {80, 443, 8080, 8443}" |
| }, |
| "2": { |
| "label": "SSH", |
| "desc": "dport == 22" |
| }, |
| "3": { |
| "label": "WELL_KNOWN", |
| "desc": "1 <= dport < 1024 (other reserved/privileged ports)" |
| }, |
| "4": { |
| "label": "REGISTERED", |
| "desc": "1024 <= dport < 49152" |
| }, |
| "5": { |
| "label": "HIGH", |
| "desc": "dport >= 49152 (ephemeral)" |
| }, |
| "6": { |
| "label": "NONE", |
| "desc": "row has no dst port (non-network event)" |
| } |
| }, |
| "f_object_category": { |
| "0": { |
| "label": "PROCESS", |
| "desc": "process_exec / process_exit" |
| }, |
| "1": { |
| "label": "FILE", |
| "desc": "file-system kprobe (open/delete/chmod)" |
| }, |
| "2": { |
| "label": "NETWORK", |
| "desc": "TCP/UDP socket kprobe" |
| }, |
| "3": { |
| "label": "MEMORY", |
| "desc": "mmap / mprotect" |
| }, |
| "4": { |
| "label": "CREDENTIAL", |
| "desc": "commit_creds (setuid/setgid/capset)" |
| }, |
| "5": { |
| "label": "INJECT", |
| "desc": "ptrace / process_vm_writev" |
| }, |
| "6": { |
| "label": "OTHER", |
| "desc": "kprobe outside the v0.2 vocabulary" |
| }, |
| "7": { |
| "label": "NONE", |
| "desc": "row has no event_type" |
| } |
| } |
| }, |
| "categorical_string_columns": { |
| "path_category": { |
| "VSCODE_DEV": "developer-tooling paths (.vscode-server/, node_modules/, .git/)", |
| "SENSITIVE_SYS": "/etc/, /root/, /boot/, /usr/sbin/, /sbin/", |
| "TEMP_STAGING": "/tmp/, /var/tmp/, /dev/shm/", |
| "RUNTIME": "/var/run/, /run/, /proc/", |
| "LIBRARY": "/usr/lib/, /usr/lib32/, /usr/lib64/, /usr/local/lib/, /lib/, /lib32/, /lib64/ (new in 3a')", |
| "USR_BIN": "/usr/bin/, /usr/local/bin/, /usr/local/sbin/ (new in 3a')", |
| "OPT": "/opt/ (new in 3a')", |
| "USER_HOME": "/home/, /Users/", |
| "PROC_SELF": "/proc/self/", |
| "OTHER": "anything else", |
| "NONE": "row has no path" |
| }, |
| "object_category": { |
| "PROCESS": "process_exec / process_exit", |
| "FILE": "file-system kprobe (open/delete/chmod)", |
| "NETWORK": "TCP/UDP socket kprobe", |
| "CREDENTIAL": "commit_creds (setuid/setgid/capset)", |
| "INJECT": "ptrace / process_vm_writev", |
| "MEMORY": "mmap / mprotect", |
| "OTHER": "kprobe outside the v0.2 vocabulary", |
| "NONE": "row has no event_type" |
| }, |
| "dst_ip_category": { |
| "LOOPBACK": "127.0.0.0/8 or ::1", |
| "LINK_LOCAL": "169.254.0.0/16 or fe80::/10", |
| "PRIVATE": "RFC1918: 10/8, 172.16/12, 192.168/16", |
| "MULTICAST": "224.0.0.0/4 or ff00::/8", |
| "PUBLIC": "publicly-routable IP (anonymized at parser; only category survives)", |
| "NONE": "row has no dst IP" |
| }, |
| "dst_port_category": { |
| "DNS": "dport == 53", |
| "WEB": "dport in {80, 443, 8080, 8443}", |
| "SSH": "dport == 22", |
| "WELL_KNOWN": "1 <= dport < 1024 (other reserved/privileged ports)", |
| "REGISTERED": "1024 <= dport < 49152", |
| "HIGH": "dport >= 49152 (ephemeral)", |
| "NONE": "row has no dst port (non-network event)" |
| } |
| }, |
| "boolean_flag_columns": { |
| "f_is_procfs_walk": "1 if the parser flagged this process_exec as a procfs-walk synthetic event; tag-not-drop policy means these flow through with the flag preserved (1,250 train + 96 test events have value=1).", |
| "f_uid_eq_parent": "1 if the process and its parent share the same uid.", |
| "f_is_setuid_exec": "1 if the exec was a setuid (uid != parent uid AND was a process_exec).", |
| "f_kp_commit_creds_uid_change": "1 on commit_creds events where the uid changed.", |
| "f_kp_commit_creds_cap_change": "1 on commit_creds events where the capability set changed.", |
| "f_kp_udp_sendmsg_dport_eq_53": "1 on udp_sendmsg events with dport=53 (DNS)." |
| }, |
| "numeric_columns": { |
| "f_kp_fd_install_fd_int32": "Raw fd integer from fd_install (int32).", |
| "f_kp_mmap_prot_uint": "mmap prot bitmask (uint32).", |
| "f_kp_mprotect_prot_uint": "mprotect prot bitmask (uint64).", |
| "delta_t_prev_ns": "Nanoseconds since the previous event for the same proc_exec_id (per-process keying landed in the 2026-04-29 rebuild; previously global, which produced 44,947 train + 1,643 test negative residuals — now zero).", |
| "process_age_ns": "Nanoseconds since the process started (event_time - proc_start_time)." |
| }, |
| "bucketed_int_columns": { |
| "f_delta_t_log_bucket": "Half-decade bucket of log10(delta_t_prev_ns + 1).", |
| "f_process_age_log_bucket": "Half-decade bucket of log10(process_age_ns + 1).", |
| "f_lineage_depth": "Walked-ancestors depth at parser time (capped per Plan G)." |
| }, |
| "hash_columns": [ |
| { |
| "column": "f_proc_name_hash", |
| "buckets": 2048, |
| "source_in_raw": "proc_binary (basename)", |
| "desc": "Hash of the executable basename (e.g. 'bash', 'curl'). Bumped 1024 -> 2048 in 3a' (audit cell 43 showed 27.7% collision on the old size)." |
| }, |
| { |
| "column": "f_parent_proc_hash", |
| "buckets": 1024, |
| "source_in_raw": "parent_binary (basename)", |
| "desc": "Hash of the parent process basename." |
| }, |
| { |
| "column": "f_proc_cwd_hash", |
| "buckets": 4096, |
| "source_in_raw": "proc_cwd (sanitized at release; see anonymization log)", |
| "desc": "Hash of the first FOUR path components of proc_cwd. Capacity bumped 256 -> 4096 AND depth 2 -> 4 in 3a' (audit cell 43 showed 90.2% collision on the old depth-2 / 256-bucket sizing). Depth-4 captures per-project granularity." |
| }, |
| { |
| "column": "f_lineage_bag_hash", |
| "buckets": 256, |
| "source_in_raw": "(composite — sorted set of lineage basenames)", |
| "desc": "Hash of the bag-of-ancestors basename set; order-invariant." |
| }, |
| { |
| "column": "f_parent_child_pair_hash", |
| "buckets": 1024, |
| "source_in_raw": "(derived: parent_binary_basename + ' -> ' + proc_binary_basename)", |
| "desc": "Hash of the (parent_basename, child_basename) pair string." |
| }, |
| { |
| "column": "f_root_ancestor_basename_hash", |
| "buckets": 1024, |
| "source_in_raw": "(derived: lineage walk to the process tree root)", |
| "desc": "Hash of the root-of-tree basename (typically systemd / sshd)." |
| }, |
| { |
| "column": "f_process_tree_id_hash", |
| "buckets": 4096, |
| "source_in_raw": "(derived: stable hash of the root proc_exec_id)", |
| "desc": "Identifier for the process subtree this event belongs to." |
| } |
| ], |
| "identifier_columns": { |
| "event_time": "RFC3339 nanosecond timestamp (timestamp[ns, tz=UTC]).", |
| "proc_exec_id": "Salted-HMAC pseudonym of the original Tetragon exec_id (format 'exec_<32hex>'). Equality joins are preserved — lineage walks still work — but the original 'host:ts:pid' payload is erased.", |
| "proc_pid": "OS process id at the time of the event (uint32). Container-internal." |
| }, |
| "side_string_columns": { |
| "proc_binary_basename": "Basename of the executable. Aliased per the v0.2.1 anonymizer: allowlisted distro / dev-tool basenames pass through verbatim; everything else becomes 'custom_tool_NNN' (lex-sorted) or the fixed 'vscode_server_bin' alias for VSCode commit-hash binaries. See reproduction/alias_map.json.", |
| "parent_binary_basename": "Basename of the parent executable. Same alias map as proc_binary_basename.", |
| "proc_cwd_normalized": "Sanitized current working directory: '/home/<user>' -> '/home/_user_', '/mnt/projects/<X>' -> '/workspace/_project_', etc. See anonymization log for the full rule set.", |
| "root_ancestor_basename": "Basename of the process-tree root. Same alias map as the other basename columns.", |
| "process_tree_root_exec_id": "Salted-HMAC pseudonym of the original Tetragon exec_id of the process-tree root (format 'exec_<32hex>').", |
| "parent_child_pair": "Parent->child basename pair, re-composed from the aliased basenames after Step B of the anonymizer (component-first guarantee — aliased value flows through).", |
| "token": "Composite event identifier of shape '<action_family>:<basename>[:<category>...]'. Re-generated via the canonical format_token() from the aliased basenames + already-bucketed categories, so the original (unaliased) basename never re-enters the token." |
| } |
| } |
|
|