[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71EQXN5RWM1F84B2GQMVPXG":3,"skill-same:01M71EQXN5RWM1F84B2GQMVPXG":106},{"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":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":79,"commitSha":80,"skillDirectory":81,"forksCount":14,"repositoryHtmlUrl":82,"repositoryHomepageUrl":6,"ownerHtmlUrl":83,"ownerBlogUrl":6,"ownerDescription":84,"updatedAt":85,"install":86,"resources":99},"01M71EQXN5RWM1F84B2GQMVPXG","kernel-ebpf-monitoring-monitor",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 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.","DCx7C5\u002Fai-marketplace","DCx7C5","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42419559?v=4","01M71C01G2AZV3NTNGWAWSHJPP","DC","01M71C01GQW6G50S2BYMS7PP3E",0,"MIT","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Flinux\u002Fkernel\u002Febpf\u002Fmonitoring\u002Fmonitor\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"kernel ebpf monitoring monitor","monitor","ebpf","monitoring","kernel","hooks","when","process execution","security observability","implementing","hosts","time","map","cm","aml","access","Bash","security-operations","siem","cybersecurity","2026-11-10 10:12:30",false,"---\nname: kernel-ebpf-monitoring-monitor\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 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.\ndomain: cybersecurity\nsubdomain: security-operations\ntags:\n- implementing\n- ebpf\n- security\n- monitoring\n- tetragon\n- cilium\n- runtime\n- observability\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\nmodel: sonnet\nmaxTurns: 20\ntools: [Read, Bash, Glob, Grep]\nmitre_attack:\n- T1059\n- T1547\n- T1610\ncapec: []\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## 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":49,"capec":55,"model":56,"tools":57,"domain":43,"maxTurns":61,"nist_csf":62,"subdomain":41,"description":7,"nist_ai_rmf":67,"mitre_attack":71,"atlas_techniques":75},[33,26,50,27,51,52,53,54],"security","tetragon","cilium","runtime","observability",[],"sonnet",[58,40,59,60],"Read","Glob","Grep",20,[63,64,65,66],"DE.CM-01","RS.MA-01","GV.OV-01","DE.AE-02",[68,69,70],"MEASURE-2.7","MAP-5.1","MANAGE-2.4",[72,73,74],"T1059","T1547","T1610",[76,77,78],"AML.T0070","AML.T0066","AML.T0082","main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Flinux\u002Fkernel\u002Febpf\u002Fmonitoring\u002Fmonitor","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":87,"prompt":97,"zipAvailable":98},[88,91,94],{"tool":89,"command":90},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill kernel-ebpf-monitoring-monitor",{"tool":92,"command":93},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill kernel-ebpf-monitoring-monitor",{"tool":95,"command":96},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill kernel-ebpf-monitoring-monitor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Flinux\u002Fkernel\u002Febpf\u002Fmonitoring\u002Fmonitor\u002FSKILL.md",true,[100],{"path":101,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":104,"sourceHtmlUrl":105},"index.json","REFERENCE","参考文档",701,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Flinux\u002Fkernel\u002Febpf\u002Fmonitoring\u002Fmonitor\u002Findex.json",[107,117,141,163,184,206],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":111,"licenseFileUrl":112,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":116},"01M73MDK3NT5XHNYTQ5P5172V9","devel-jb-algorithmic-art","- Embed algorithms inline in the HTML artifact (don't create separate .","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":44},"01M71HAPZ01KQ30RKTB0FFSQ05","services-wmi-persistence-detect","Detect WMI event subscription persistence by enumerating ActiveScriptEventConsumer, CommandLineEventConsumer, and permanent subscriptions in the WMI repository.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fpersistence\u002Fdetect\u002FSKILL.md",[],[124,125,126,127,128,129,130,43,131,132,133,134,135,136,137,138,139,37,140],"services","detect","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript","de",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":44},"01M71HAK6JTTTS229T17WJMMCG","services-wmi-exec-exploit","Perform lateral movement across Windows networks using WMI-based remote execution techniques including Impacket wmiexec.py, CrackMapExec, and native WMI commands for stealthy post-exploitation during red team engagements.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fexec\u002Fexploit\u002FSKILL.md",[],[148,127,149,124,150,151,40,152,153,43,154,155,156,157,158,159,160,161,140,162],"exec","services wmi exec exploit","exploit","across","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":44},"01M71HAG6MHKNQV8KDZKMT4886","registry-artifact-extract","Extract and analyze Windows Registry hives to uncover user activity, installed software, autostart entries, and evidence of system compromise.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fregistry\u002Fartifact\u002Fextract\u002FSKILL.md",[],[170,171,172,173,174,56,175,176,177,178,159,140,179,180,152,181,40,43,182,183],"extract","registry artifact extract","registry","artifact","digital-forensics","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"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":44},"01M71HACR4A8XTWTTSXK4124AA","processes-token-impersonate-detect","Detect Windows token impersonation and privilege abuse including SeImpersonatePrivilege exploitation via Potato attacks and token stealing techniques.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Ftoken\u002Fimpersonate\u002Fdetect\u002FSKILL.md",[],[191,192,193,125,43,194,37,195,196,197,129,140,198,199,200,201,202,203,204,205],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":207,"name":208,"nameZh":6,"description":209,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":210,"categories":211,"keywords":212,"publishedAt":44},"01M71HAABSB4Z6QFSXEG00R4RK","processes-thread-injection-detect","Detect Windows thread injection techniques including CreateRemoteThread, QueueUserAPC, NtCreateThreadEx, and thread hijacking via process memory analysis.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fthread\u002Finjection\u002Fdetect\u002FSKILL.md",[],[213,191,214,125,215,216,130,140,198,217,218,219,152,129,43,194,220,37,221,196],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]