[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HM1QHC8AP1HPAYZ75R8P7E":3,"skill-same:01M6HM1QHC8AP1HPAYZ75R8P7E":110},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":71,"commitSha":72,"skillDirectory":73,"forksCount":74,"repositoryHtmlUrl":75,"repositoryHomepageUrl":6,"ownerHtmlUrl":76,"ownerBlogUrl":6,"ownerDescription":77,"updatedAt":78,"install":79,"resources":92},"01M6HM1QHC8AP1HPAYZ75R8P7E","implementing-ebpf-security-monitoring",null,"Implements eBPF-based security monitoring using Cilium Tetragon for real-time process execution tracking, network connection observability, file access auditing, and runtime enforcement. Covers TracingPolicy CRD authoring with kprobe\u002Ftracepoint...","HenriqueMC17\u002Fagente-core","HenriqueMC17","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F206460478?v=4","01M6HB63HBBF18AC4H09XTB549","Henrique Monteiro Cardoso","01M6HB63NGSQXWKWCFWW2B20W0",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fimplementing-ebpf-security-monitoring\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"implementing ebpf security monitoring","implementing","monitoring","security","ebpf","access","de","authoring","time","map","cm","crd","aml","file access","t1078","runtime-security","security-monitoring","network","security-operations","cybersecurity","2026-11-10 10:12:30",false,"---\nname: implementing-ebpf-security-monitoring\ndescription: Implements eBPF-based security monitoring using Cilium Tetragon for real-time process execution tracking, network connection observability, file access auditing, and runtime enforcement. Covers TracingPolicy CRD authoring with kprobe\u002Ftracepoint...\ndomain: cybersecurity\nsubdomain: security-operations\ntags:\n- ebpf\n- tetragon\n- cilium\n- runtime-security\n- observability\n- kernel-security\n- kubernetes-security\nversion: '1.0'\nauthor: mukul975\nlicense: Apache-2.0\nnist_ai_rmf:\n- MEASURE-2.7\n- MAP-5.1\n- MANAGE-2.4\natlas_techniques:\n- AML.T0070\n- AML.T0066\n- AML.T0082\nnist_csf:\n- DE.CM-01\n- RS.MA-01\n- GV.OV-01\n- DE.AE-02\nmitre_attack:\n- T1078\n- T1190\n- T1059\n- T1685.002\n- T1685.005\ncategory: implementing-ebpf-security-monitoring\n---\n# Implementing-Ebpf-Security-Monitoring\n\n## Overview\nImplements eBPF-based security monitoring using Cilium Tetragon for real-time process execution tracking, network connection observability, file access auditing, and runtime enforcement. Covers TracingPolicy CRD authoring with kprobe\u002Ftracepoint hooks, in-kernel filtering via matchArgs\u002FmatchBinaries selectors, JSON event export, and integration with SIEM pipelines. Use when building kernel-level runtime security observability for Linux hosts or Kubernetes clusters.\n\n\n\n# Implementing eBPF Security Monitoring\n\n## When to Use\n\n- When deploying kernel-level runtime security monitoring on Linux hosts or Kubernetes clusters\n- When you need sub-millisecond visibility into process execution, network connections, and file access\n- When traditional userspace monitoring tools introduce unacceptable performance overhead\n- When building detection pipelines that require in-kernel filtering before events reach userspace\n- When enforcing runtime security policies (kill process, send signal) at the kernel level\n\n## Prerequisites\n\n- Linux kernel 5.3+ with BTF (BPF Type Format) support enabled\n- Kubernetes 1.24+ cluster (for Kubernetes deployment) or standalone Linux host\n- Helm 3.x installed (for Kubernetes deployment)\n- `kubectl` configured with cluster access\n- `tetra` CLI installed for local event streaming\n- Python 3.8+ with `requests`, `kubernetes`, `pyyaml` dependencies\n- Root or CAP_BPF\u002FCAP_SYS_ADMIN capabilities for eBPF program loading\n\n## Instructions\n\n### 1. Install Tetragon on Kubernetes\n\nDeploy Tetragon via Helm to get default process lifecycle observability:\n\n```bash\nhelm repo add cilium https:\u002F\u002Fhelm.cilium.io\nhelm repo update\nhelm install tetragon cilium\u002Ftetragon -n kube-system \\\n  --set tetragon.enableProcessCred=true \\\n  --set tetragon.enableProcessNs=true\n```\n\nVerify the installation:\n\n```bash\nkubectl get pods -n kube-system -l app.kubernetes.io\u002Fname=tetragon\nkubectl logs -n kube-system -l app.kubernetes.io\u002Fname=tetragon -c export-stdout -f | head -20\n```\n\n### 2. Install Tetragon on Standalone Linux\n\nFor non-Kubernetes Linux hosts, install from the tarball release:\n\n```bash\ncurl -LO https:\u002F\u002Fgithub.com\u002Fcilium\u002Ftetragon\u002Freleases\u002Flatest\u002Fdownload\u002Ftetragon-linux-amd64.tar.gz\ntar xzf tetragon-linux-amd64.tar.gz\nsudo cp tetragon \u002Fusr\u002Flocal\u002Fbin\u002F\nsudo cp tetra \u002Fusr\u002Flocal\u002Fbin\u002F\n\n# Start tetragon daemon\nsudo tetragon --btf \u002Fsys\u002Fkernel\u002Fbtf\u002Fvmlinux &\n\n# Stream events\ntetra getevents -o compact\n```\n\n### 3. Monitor Process Execution (Default)\n\nTetragon generates `process_exec` and `process_exit` events by default without any TracingPolicy:\n\n```bash\n# Stream process events in compact format\ntetra getevents -o compact\n\n# Stream in JSON for SIEM ingestion\ntetra getevents -o json | jq '.process_exec \u002F\u002F .process_exit'\n```\n\nExample `process_exec` JSON event:\n\n```json\n{\n  \"process_exec\": {\n    \"process\": {\n      \"binary\": \"\u002Fusr\u002Fbin\u002Fcurl\",\n      \"arguments\": \"https:\u002F\u002Fmalicious.example.com\u002Fpayload\",\n      \"cwd\": \"\u002Ftmp\",\n      \"uid\": 1000,\n      \"pod\": {\n        \"namespace\": \"default\",\n        \"name\": \"webapp-7b4d9f8c6-x2k9p\"\n      },\n      \"parent\": {\n        \"binary\": \"\u002Fbin\u002Fbash\",\n        \"pid\": 1234\n      }\n    }\n  }\n}\n```\n\n### 4. Author TracingPolicy for File Access Monitoring\n\nCreate a TracingPolicy CRD to monitor access to sensitive files via the `sys_openat` kprobe:\n\n```yaml\n# file-access-monitor.yaml\napiVersion: cilium.io\u002Fv1alpha1\nkind: TracingPolicy\nmetadata:\n  name: monitor-sensitive-file-access\nspec:\n  kprobes:\n    - call: \"fd_install\"\n      syscall: false\n      args:\n        - index: 0\n          type: \"int\"\n        - index: 1\n          type: \"file\"\n      selectors:\n        - matchArgs:\n            - index: 1\n              operator: \"Prefix\"\n              values:\n                - \"\u002Fetc\u002Fshadow\"\n                - \"\u002Fetc\u002Fpasswd\"\n                - \"\u002Fetc\u002Fsudoers\"\n                - \"\u002Froot\u002F.ssh\u002F\"\n                - \"\u002Fetc\u002Fkubernetes\u002Fpki\u002F\"\n          matchActions:\n            - action: Post\n```\n\nApply and observe:\n\n```bash\nkubectl apply -f file-access-monitor.yaml\ntetra getevents -o compact --process-filter \"event_set:PROCESS_KPROBE\"\n```\n\n### 5. Author TracingPolicy for Network Connection Monitoring\n\nMonitor outbound TCP connections using the `tcp_connect` kprobe:\n\n```yaml\n# network-monitor.yaml\napiVersion: cilium.io\u002Fv1alpha1\nkind: TracingPolicy\nmetadata:\n  name: monitor-tcp-connections\nspec:\n  kprobes:\n    - call: \"tcp_connect\"\n      syscall: false\n      args:\n        - index: 0\n          type: \"sock\"\n      selectors:\n        - matchActions:\n            - action: Post\n```\n\n### 6. Author TracingPolicy for Privilege Escalation Detection\n\nDetect setuid\u002Fsetgid calls that may indicate privilege escalation:\n\n```yaml\n# privilege-escalation-detect.yaml\napiVersion: cilium.io\u002Fv1alpha1\nkind: TracingPolicy\nmetadata:\n  name: detect-privilege-escalation\nspec:\n  kprobes:\n    - call: \"__sys_setuid\"\n      syscall: false\n      args:\n        - index: 0\n          type: \"int\"\n      selectors:\n        - matchArgs:\n            - index: 0\n              operator: \"Equal\"\n              values:\n                - \"0\"\n          matchActions:\n            - action: Post\n    - call: \"commit_creds\"\n      syscall: false\n      args:\n        - index: 0\n          type: \"cred\"\n      selectors:\n        - matchActions:\n            - action: Post\n```\n\n### 7. Runtime Enforcement with Sigkill Action\n\nBlock unauthorized binary execution by killing the process in-kernel:\n\n```yaml\n# enforce-binary-allowlist.yaml\napiVersion: cilium.io\u002Fv1alpha1\nkind: TracingPolicy\nmetadata:\n  name: enforce-no-crypto-miners\nspec:\n  kprobes:\n    - call: \"sys_execve\"\n      syscall: true\n      args:\n        - index: 0\n          type: \"string\"\n      selectors:\n        - matchArgs:\n            - index: 0\n              operator: \"Postfix\"\n              values:\n                - \"xmrig\"\n                - \"minerd\"\n                - \"cpuminer\"\n                - \"cryptonight\"\n          matchActions:\n            - action: Sigkill\n```\n\n### 8. Export Events to SIEM\n\nConfigure Tetragon to export JSON events to a file sink for Fluentd\u002FFilebeat\u002FVector ingestion:\n\n```bash\n# Helm values for file export\nhelm upgrade tetragon cilium\u002Ftetragon -n kube-system \\\n  --set tetragon.exportFilename=\u002Fvar\u002Flog\u002Ftetragon\u002Ftetragon.log \\\n  --set tetragon.exportFileMaxSizeMB=100 \\\n  --set tetragon.exportFileMaxBackups=5\n```\n\nThen configure your log shipper (e.g., Filebeat) to tail `\u002Fvar\u002Flog\u002Ftetragon\u002Ftetragon.log` and send to your SIEM.\n\n### 9. Kubernetes-Aware Namespace Filtering\n\nUse `TracingPolicyNamespaced` to scope monitoring to specific namespaces:\n\n```yaml\napiVersion: cilium.io\u002Fv1alpha1\nkind: TracingPolicyNamespaced\nmetadata:\n  name: monitor-production-file-access\n  namespace: production\nspec:\n  kprobes:\n    - call: \"fd_install\"\n      syscall: false\n      args:\n        - index: 0\n          type: \"int\"\n        - index: 1\n          type: \"file\"\n      selectors:\n        - matchArgs:\n            - index: 1\n              operator: \"Prefix\"\n              values:\n                - \"\u002Fetc\u002Fshadow\"\n                - \"\u002Fetc\u002Fpasswd\"\n```\n\n## Examples\n\n### Detect Reverse Shell Connections\n\n```yaml\n# reverse-shell-detect.yaml\napiVersion: cilium.io\u002Fv1alpha1\nkind: TracingPolicy\nmetadata:\n  name: detect-reverse-shells\nspec:\n  kprobes:\n    - call: \"tcp_connect\"\n      syscall: false\n      args:\n        - index: 0\n          type: \"sock\"\n      selectors:\n        - matchBinaries:\n            - operator: \"In\"\n              values:\n                - \"\u002Fbin\u002Fbash\"\n                - \"\u002Fbin\u002Fsh\"\n                - \"\u002Fusr\u002Fbin\u002Fpython3\"\n                - \"\u002Fusr\u002Fbin\u002Fperl\"\n                - \"\u002Fusr\u002Fbin\u002Fnc\"\n                - \"\u002Fusr\u002Fbin\u002Fncat\"\n          matchActions:\n            - action: Post\n```\n\n### Monitor Container Escape Attempts\n\n```yaml\n# container-escape-detect.yaml\napiVersion: cilium.io\u002Fv1alpha1\nkind: TracingPolicy\nmetadata:\n  name: detect-container-escape\nspec:\n  kprobes:\n    - call: \"sys_openat\"\n      syscall: true\n      args:\n        - index: 0\n          type: \"int\"\n        - index: 1\n          type: \"string\"\n      selectors:\n        - matchArgs:\n            - index: 1\n              operator: \"Prefix\"\n              values:\n                - \"\u002Fproc\u002F1\u002Froot\"\n                - \"\u002Fproc\u002F1\u002Fns\"\n                - \"\u002Fsys\u002Fkernel\u002Fsecurity\"\n                - \"\u002Fproc\u002Fsysrq-trigger\"\n          matchActions:\n            - action: Post\n    - call: \"sys_mount\"\n      syscall: true\n      args:\n        - index: 0\n          type: \"string\"\n        - index: 1\n          type: \"string\"\n        - index: 2\n          type: \"string\"\n      selectors:\n        - matchActions:\n            - action: Post\n```\n\n### Full Event Pipeline: Tetragon to Elasticsearch\n\n```bash\n# Use tetra CLI to pipe events through jq into Elasticsearch\ntetra getevents -o json | jq -c 'select(.process_kprobe != null)' | \\\n  while IFS= read -r line; do\n    curl -s -X POST \"http:\u002F\u002Felasticsearch:9200\u002Ftetragon-events\u002F_doc\" \\\n      -H \"Content-Type: application\u002Fjson\" \\\n      -d \"$line\"\n  done\n```\n","# Implementing-Ebpf-Security-Monitoring\n\n## Overview\nImplements eBPF-based security monitoring using Cilium Tetragon for real-time process execution tracking, network connection observability, file access auditing, and runtime enforcement. Covers TracingPolicy CRD authoring with kprobe\u002Ftracepoint hooks, in-kernel filtering via matchArgs\u002FmatchBinaries selectors, JSON event export, and integration with SIEM pipelines. Use when building kernel-level runtime security observability for Linux hosts or Kubernetes clusters.\n\n\n\n# Implementing eBPF Security Monitoring\n\n## When to Use\n\n- When deploying kernel-level runtime security monitoring on Linux hosts or Kubernetes clusters\n- When you need sub-millisecond visibility into process execution, network connections, and file access\n- When traditional userspace monitoring tools introduce unacceptable performance overhead\n- When building detection pipelines that require in-kernel filtering before events reach userspace\n- When enforcing runtime security policies (kill process, send signal) at the kernel level\n\n## Prerequisites\n\n- Linux kernel 5.3+ with BTF (BPF Type Format) support enabled\n- Kubernetes 1.24+ cluster (for Kubernetes deployment) or standalone Linux host\n- Helm 3.x installed (for Kubernetes deployment)\n- `kubectl` configured with cluster access\n- `tetra` CLI installed for local event streaming\n- Python 3.8+ with `requests`, `kubernetes`, `pyyaml` dependencies\n- Root or CAP_BPF\u002FCAP_SYS_ADMIN capabilities for eBPF program loading\n\n## Instructions\n\n### 1. Install Tetragon on Kubernetes\n\nDeploy Tetragon via Helm to get default process lifecycle observability:\n\n```bash\nhelm repo add cilium https:\u002F\u002Fhelm.cilium.io\nhelm repo update\nhelm install tetragon cilium\u002Ftetragon -n kube-system \\\n  --set tetragon.enableProcessCred=true \\\n  --set tetragon.enableProcessNs=true\n```\n\nVerify the installation:\n\n```bash\nkubectl get pods -n kube-system -l app.kubernetes.io\u002Fname=tetragon\nkubectl logs -n kube-system -l app.kubernetes.io\u002Fname=tetragon -c export-stdout -f | head -20\n```\n\n### 2. Install Tetragon on Standalone Linux\n\nFor non-Kubernetes Linux hosts, install from the tarball release:\n\n```bash\ncurl -LO https:\u002F\u002Fgithub.com\u002Fcilium\u002Ftetragon\u002Freleases\u002Flatest\u002Fdownload\u002Ftetragon-linux-amd64.tar.gz\ntar xzf tetragon-linux-amd64.tar.gz\nsudo cp tetragon \u002Fusr\u002Flocal\u002Fbin\u002F\nsudo cp tetra \u002Fusr\u002Flocal\u002Fbin\u002F\n\n# Start tetragon daemon\nsudo tetragon --btf \u002Fsys\u002Fkernel\u002Fbtf\u002Fvmlinux &\n\n# Stream events\ntetra getevents -o compact\n```\n\n### 3. Monitor Process Execution (Default)\n\nTetragon generates `process_exec` and `process_exit` events by default without any TracingPolicy:\n\n```bash\n# Stream process events in compact format\ntetra getevents -o compact\n\n# Stream in JSON for SIEM ingestion\ntetra getevents -o json | jq '.process_exec \u002F\u002F .process_exit'\n```\n\nExample `process_exec` JSON event:\n\n```json\n{\n  \"process_exec\": {\n    \"process\": {\n      \"binary\": \"\u002Fusr\u002Fbin\u002Fcurl\",\n      \"arguments\": \"https:\u002F\u002Fmalicious.example.com\u002Fpayload\",\n      \"cwd\": \"\u002Ftmp\",\n      \"uid\": 1000,\n      \"pod\": {\n        \"namespace\": \"default\",\n        \"name\": \"webapp-7b4d9f8c6-x2k9p\"\n      },\n      \"parent\": {\n        \"binary\": \"\u002Fbin\u002Fbash\",\n        \"pid\": 1234\n      }\n    }\n  }\n}\n```\n\n### 4. Author TracingPolicy for File Access Monitoring\n\nCreate a TracingPolicy CRD to monitor access to sensitive files via the `sys_openat` kprobe:\n\n```yaml\n# file-access-monitor.yaml\napiVersion: cilium.io\u002Fv1alpha1\nkind: TracingPolicy\nmetadata:\n  name: monitor-sensitive-file-access\nspec:\n  kprobes:\n    - call: \"fd_install\"\n      syscall: false\n      args:\n        - index: 0\n          type: \"int\"\n        - index: 1\n          type: \"file\"\n      selectors:\n        - matchArgs:\n            - index: 1\n              operator: \"Prefix\"\n              values:\n                - \"\u002Fetc\u002Fshadow\"\n                - \"\u002Fetc\u002Fpasswd\"\n                - \"\u002Fetc\u002Fsudoers\"\n                - \"\u002Froot\u002F.ssh\u002F\"\n                - \"\u002Fetc\u002Fkubernetes\u002Fpki\u002F\"\n          matchActions:\n            - action: Post\n```\n\nApply and observe:\n\n```bash\nkubectl apply -f file-access-monitor.yaml\ntetra getevents -o compact --process-filter \"event_set:PROCESS_KPROBE\"\n```\n\n### 5. Author TracingPolicy for Network Connection Monitoring\n\nMonitor outbound TCP connections using the `tcp_connect` kprobe:\n\n```yaml\n# network-monitor.yaml\napiVersion: cilium.io\u002Fv1alpha1\nkind: TracingPolicy\nmetadata:\n  name: monitor-tcp-connections\nspec:\n  kprobes:\n    - call: \"tcp_connect\"\n      syscall: false\n      args:\n        - index: 0\n          type: \"sock\"\n      selectors:\n        - matchActions:\n            - action: Post\n```\n\n### 6. Author TracingPolicy for Privilege Escalation Detection\n\nDetect setuid\u002Fsetgid calls that may indicate privilege escalation:\n\n```yaml\n# privilege-escalation-detect.yaml\napiVersion: cilium.io\u002Fv1alpha1\nkind: TracingPolicy\nmetadata:\n  name: detect-privilege-escalation\nspec:\n  kprobes:\n    - call: \"__sys_setuid\"\n      syscall: false\n      args:\n        - index: 0\n          type: \"int\"\n      selectors:\n        - matchArgs:\n            - index: 0\n              operator: \"Equal\"\n              values:\n                - \"0\"\n          matchActions:\n            - action: Post\n    - call: \"commit_creds\"\n      syscall: false\n      args:\n        - index: 0\n          type: \"cred\"\n      selectors:\n        - matchActions:\n            - action: Post\n```\n\n### 7. Runtime Enforcement with Sigkill Action\n\nBlock unauthorized binary execution by killing the process in-kernel:\n\n```yaml\n# enforce-binary-allowlist.yaml\napiVersion: cilium.io\u002Fv1alpha1\nkind: TracingPolicy\nmetadata:\n  name: enforce-no-crypto-miners\nspec:\n  kprobes:\n    - call: \"sys_execve\"\n      syscall: true\n      args:\n        - index: 0\n          type: \"string\"\n      selectors:\n        - matchArgs:\n            - index: 0\n              operator: \"Postfix\"\n              values:\n                - \"xmrig\"\n                - \"minerd\"\n                - \"cpuminer\"\n                - \"cryptonight\"\n          matchActions:\n            - action: Sigkill\n```\n\n### 8. Export Events to SIEM\n\nConfigure Tetragon to export JSON events to a file sink for Fluentd\u002FFilebeat\u002FVector ingestion:\n\n```bash\n# Helm values for file export\nhelm upgrade tetragon cilium\u002Ftetragon -n kube-system \\\n  --set tetragon.exportFilename=\u002Fvar\u002Flog\u002Ftetragon\u002Ftetragon.log \\\n  --set tetragon.exportFileMaxSizeMB=100 \\\n  --set tetragon.exportFileMaxBackups=5\n```\n\nThen configure your log shipper (e.g., Filebeat) to tail `\u002Fvar\u002Flog\u002Ftetragon\u002Ftetragon.log` and send to your SIEM.\n\n### 9. Kubernetes-Aware Namespace Filtering\n\nUse `TracingPolicyNamespaced` to scope monitoring to specific namespaces:\n\n```yaml\napiVersion: cilium.io\u002Fv1alpha1\nkind: TracingPolicyNamespaced\nmetadata:\n  name: monitor-production-file-access\n  namespace: production\nspec:\n  kprobes:\n    - call: \"fd_install\"\n      syscall: false\n      args:\n        - index: 0\n          type: \"int\"\n        - index: 1\n          type: \"file\"\n      selectors:\n        - matchArgs:\n            - index: 1\n              operator: \"Prefix\"\n              values:\n                - \"\u002Fetc\u002Fshadow\"\n                - \"\u002Fetc\u002Fpasswd\"\n```\n\n## Examples\n\n### Detect Reverse Shell Connections\n\n```yaml\n# reverse-shell-detect.yaml\napiVersion: cilium.io\u002Fv1alpha1\nkind: TracingPolicy\nmetadata:\n  name: detect-reverse-shells\nspec:\n  kprobes:\n    - call: \"tcp_connect\"\n      syscall: false\n      args:\n        - index: 0\n          type: \"sock\"\n      selectors:\n        - matchBinaries:\n            - operator: \"In\"\n              values:\n                - \"\u002Fbin\u002Fbash\"\n                - \"\u002Fbin\u002Fsh\"\n                - \"\u002Fusr\u002Fbin\u002Fpython3\"\n                - \"\u002Fusr\u002Fbin\u002Fperl\"\n                - \"\u002Fusr\u002Fbin\u002Fnc\"\n                - \"\u002Fusr\u002Fbin\u002Fncat\"\n          matchActions:\n            - action: Post\n```\n\n### Monitor Container Escape Attempts\n\n```yaml\n# container-escape-detect.yaml\napiVersion: cilium.io\u002Fv1alpha1\nkind: TracingPolicy\nmetadata:\n  name: detect-container-escape\nspec:\n  kprobes:\n    - call: \"sys_openat\"\n      syscall: true\n      args:\n        - index: 0\n          type: \"int\"\n        - index: 1\n          type: \"string\"\n      selectors:\n        - matchArgs:\n            - index: 1\n              operator: \"Prefix\"\n              values:\n                - \"\u002Fproc\u002F1\u002Froot\"\n                - \"\u002Fproc\u002F1\u002Fns\"\n                - \"\u002Fsys\u002Fkernel\u002Fsecurity\"\n                - \"\u002Fproc\u002Fsysrq-trigger\"\n          matchActions:\n            - action: Post\n    - call: \"sys_mount\"\n      syscall: true\n      args:\n        - index: 0\n          type: \"string\"\n        - index: 1\n          type: \"string\"\n        - index: 2\n          type: \"string\"\n      selectors:\n        - matchActions:\n            - action: Post\n```\n\n### Full Event Pipeline: Tetragon to Elasticsearch\n\n```bash\n# Use tetra CLI to pipe events through jq into Elasticsearch\ntetra getevents -o json | jq -c 'select(.process_kprobe != null)' | \\\n  while IFS= read -r line; do\n    curl -s -X POST \"http:\u002F\u002Felasticsearch:9200\u002Ftetragon-events\u002F_doc\" \\\n      -H \"Content-Type: application\u002Fjson\" \\\n      -d \"$line\"\n  done\n```\n",{"name":5,"tags":44,"author":50,"domain":38,"license":15,"version":51,"category":5,"nist_csf":52,"subdomain":37,"description":7,"nist_ai_rmf":57,"mitre_attack":61,"atlas_techniques":67},[23,45,46,34,47,48,49],"tetragon","cilium","observability","kernel-security","kubernetes-security","mukul975","1.0",[53,54,55,56],"DE.CM-01","RS.MA-01","GV.OV-01","DE.AE-02",[58,59,60],"MEASURE-2.7","MAP-5.1","MANAGE-2.4",[62,63,64,65,66],"T1078","T1190","T1059","T1685.002","T1685.005",[68,69,70],"AML.T0070","AML.T0066","AML.T0082","main","5eea5b3296f4673b5f481e8bcc1ba76281149f16","modules\u002Fimplementing-ebpf-security-monitoring",0,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core","https:\u002F\u002Fgithub.com\u002FHenriqueMC17","Qualquer tecnologia suficientemente avançada é indistinguível da mágica.","2026-09-28 22:40:38",{"source":8,"skillName":5,"commands":80,"prompt":90,"zipAvailable":91},[81,84,87],{"tool":82,"command":83},"npx","npx skills add HenriqueMC17\u002Fagente-core --skill implementing-ebpf-security-monitoring",{"tool":85,"command":86},"bunx","bunx skills add HenriqueMC17\u002Fagente-core --skill implementing-ebpf-security-monitoring",{"tool":88,"command":89},"pnpm","pnpm dlx skills add HenriqueMC17\u002Fagente-core --skill implementing-ebpf-security-monitoring","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fimplementing-ebpf-security-monitoring\u002FSKILL.md",true,[93,98,104],{"path":94,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":96,"sourceHtmlUrl":97},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fimplementing-ebpf-security-monitoring\u002FLICENSE",{"path":99,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fapi-reference.md","REFERENCE","参考文档",5489,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fimplementing-ebpf-security-monitoring\u002Freferences\u002Fapi-reference.md",{"path":105,"resourceType":106,"resourceTypeDesc":107,"sizeBytes":108,"sourceHtmlUrl":109},"scripts\u002Fagent.py","SCRIPT","脚本",27170,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fimplementing-ebpf-security-monitoring\u002Fscripts\u002Fagent.py",[111,136,162,184,200,219],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":39},"01M6HPFF0RCN0X6WT5EBSV71GY","validating-backup-integrity-for-recovery","Validate backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to ensure backups are reliable for disaster recovery and ransomware response scenarios.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[],[118,119,120,121,122,123,38,124,125,126,127,128,129,33,130,131,132,133,134,135],"integrity","backup","recovery","validating backup integrity for recovery","for","testing","validate","verification","hash-verification","incident-response","ransomware","detection","t1490","disaster-recovery","restore","incident","disaster recovery","ransomware response",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":39},"01M6HPFAWJVFK25Q33K3T7WQ8G","triaging-vulnerabilities-with-ssvc-framework","Triage and prioritize vulnerabilities using CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree framework to produce actionable remediation priorities.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[],[143,144,145,146,147,38,148,149,150,151,152,153,154,155,156,157,158,159,160,161],"vulnerabilities","framework","ssvc","triaging vulnerabilities with ssvc framework","with","triage and prioritize","CISA","vulnerability-management","risk-management","cvss","remediation","vulnerability","prioritization","decision-tree","prioritize","decision","priorities","actionable","tree",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":39},"01M6HPF6JS9X72WP59094H3ASQ","triaging-security-incident","Performs initial triage of security incidents to determine severity, scope, and required response actions using the NIST SP 800-61r3 and SANS PICERL frameworks. Classifies incidents by type, assigns priority based on business impact, and routes...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident\u002FSKILL.md",[],[22,169,133,38,170,171,172,33,130,173,174,175,176,177,178,179,180,181,182,183],"triaging security incident","actions","soc","NIST","analysis","severity-classification","incident-triage","SANS-PICERL","SOC-operations","picerl","conversion","isolation","scope","impact","consistency",{"skillNo":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":39},"01M6HPF2EX6ZYNYYHKBRJN7GEF","triaging-security-incident-with-ir-playbook","Classify and prioritize security incidents using structured IR playbooks to determine severity, assign response teams, and initiate appropriate response procedures.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident-with-ir-playbook\u002FSKILL.md",[],[22,191,192,169,133,147,38,193,171,127,194,195,33,130,196,174,157,197,198,199],"playbook","triaging security incident with ir playbook","teams","IR-playbook","severity","classification","classify","incidents","initiate",{"skillNo":201,"name":202,"nameZh":6,"description":203,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":204,"categories":205,"keywords":206,"publishedAt":39},"01M6HPEY9XPGE7X95AG4XJFQAW","triaging-security-alerts-in-splunk","Triages security alerts in Splunk Enterprise Security by classifying severity, investigating notable events, correlating related telemetry, and making escalation or closure decisions using SPL queries and the Incident Review dashboard. Use when...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-alerts-in-splunk\u002FSKILL.md",[],[22,207,208,209,210,211,38,212,213,214,171,215,33,216,217,218,177,29,133,25],"security alerts","splunk","triaging security alerts in splunk","alerts","review","siem","dashboard","search","correlation-search","t1566","notable-events","incident-review",{"skillNo":220,"name":221,"nameZh":6,"description":222,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":223,"categories":224,"keywords":225,"publishedAt":39},"01M6HPET6XGEPEJPN7V032JGZ0","tracking-threat-actor-infrastructure","Threat actor infrastructure tracking involves monitoring and mapping adversary-controlled assets including command-and-control (C2) servers, phishing domains, exploit kit hosts, bulletproof hosting, a","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftracking-threat-actor-infrastructure\u002FSKILL.md",[],[226,227,228,229,38,21,230,231,232,233,234,216,235,236,29,237,25,238,239,240],"infrastructure","tracking threat actor infrastructure","tracking","threat","mitre-attack","threat-actor","threat-intelligence","command-and-control","dns","command","exploit","intelligence","domains","kit","hosts"]