Protocol Documentation
Table of Contents
proto/config.proto
FileMonConfig
Configuration file for FileMon detector.
| Field | Type | Label | Description |
|---|---|---|---|
| file_open | HookConfig | security_file_open config. | |
| path_truncate | HookConfig | security_path_truncate config. | |
| path_unlink | HookConfig | security_path_unlink config. | |
| path_symlink | HookConfig | security_path_symlink config. | |
| path_chmod | HookConfig | security_path_chmod config. | |
| path_chown | HookConfig | security_path_chown config. | |
| sb_mount | HookConfig | security_sb_mount config. | |
| mmap_file | HookConfig | security_mmap_file config. | |
| file_ioctl | HookConfig | security_file_ioctl config. |
GTFOBinsConfig
Configuration file for GTFOBinsDetector.
| Field | Type | Label | Description |
|---|---|---|---|
| enforce | bool | Block execution of GTFOBins binaries. | |
| gtfobins | string | repeated | GTFOBins executables names. |
HookConfig
Hook or group of hooks configuration
| Field | Type | Label | Description |
|---|---|---|---|
| enabled | bool | Load eBPF programs | |
| sandbox | SandboxMode | Sandbox capabilities. | |
| rules | Rule | repeated | Filtering rules |
NetMonConfig
Configuration file for NetMon detector.
| Field | Type | Label | Description |
|---|---|---|---|
| ingress | HookConfig | Ingress traffic connections | |
| egress | HookConfig | Egress traffic connections |
ProcMonConfig
Configuration file for ProcMon detector
| Field | Type | Label | Description |
|---|---|---|---|
| setuid | HookConfig | setuid hook config. | |
| capset | HookConfig | capset hook config. | |
| prctl | HookConfig | prctl hook config. | |
| create_user_ns | HookConfig | create_user_ns hook config. | |
| ptrace_access_check | HookConfig | ptrace_attach hook config. | |
| setgid | HookConfig | setgid hook config. | |
| bprm_check | HookConfig | bprm_check hook config. | |
| ima_hash | bool | optional | Collect IMA hashes for executed binaries. |
| gc_period | uint64 | optional | GC period for PROCMON_PROC_MAP default 30 sec. |
Rule
Rule definition. Scope and event predicates are used as logical conjunction.
| Field | Type | Label | Description |
|---|---|---|---|
| name | string | Name of the rule. | |
| scope | string | Logical predicate describes scope this rule will be applied, e.g. process, container. | |
| event | string | Logical predicate for describes event rule will be applied |
SandboxMode
Sandbox parameters.