Torna al catalogo
Revisione staticaSviluppo

Dossier della skill

detecting-privilege-escalation-in-kubernetes-pods

Dichiarazione di fonte

Detects and prevents privilege escalation inside Kubernetes pods by combining admission control (OPA policies), runtime monitoring (Falco), and audit log analysis of security contexts, Linux capabilities, and syscall patterns. Use when investigating a pod running as root or privileged, hardening workloads against in-pod escalation, or hunting for containers exceeding their intended scope. Keywords: allowPrivilegeEscalation, runAsRoot, capabilities, securityContext, OPA, Falco, audit log. Do not use for escalation through RBAC and service-account permissions - use auditing-kubernetes-rbac-privilege-escalation.

La descrizione originale dell'autore, conservata in inglese. Descrive l'intento, non prestazioni verificate.

Detects and prevents privilege escalation inside Kubernetes pods by combining admission control (OPA policies), runtime monitoring (Falco), and audit log analysis of security contexts, Linux capabilities, and syscall patterns. Use when investigating a pod running as root or privileged, hardening workloads against in-pod escalation, or hunting for containers exceeding their intended scope. Keywords: allowPrivilegeEscalation, runAsRoot, capabilities, securityContext, OPA, Falco, audit log. Do not use for escalation through RBAC and service-account permissions - use auditing-kubernetes-rbac-privilege-escalation.

developmentreferencesscripts

I contenuti di ricerca di questo sito sono pubblicati in inglese e cinese e qui sono mostrati in inglese.

Sintesi della ricerca

Temi correlati
Analisi statica

Queste osservazioni derivano dall'analisi deterministica del sorgente. Non sono una valutazione controllata delle attività.

Detects and prevents privilege escalation inside Kubernetes pods by combining admission control (OPA policies), runtime monitoring (Falco), and audit log analysis of security contexts, Linux capabilities, and syscall patterns. Use when investigating a pod running as root or privileged, hardening workloads against in-pod escalation, or hunting for containers exceeding their intended scope. Keywords: allowPrivilegeEscalation, runAsRoot, capabilities, securityContext, OPA, Falco, audit log. Do not use for escalation through RBAC and service-account permissions - use auditing-kubernetes-rbac-privilege-escalation. This bilingual summary is generated deterministically from collected source text and file structure; it is from static parsing.

Ambito della revisione

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacità osservabili

  • Source-declared purpose: Detects and prevents privilege escalation inside Kubernetes pods by combining admission control (OPA policies), runtime monitoring (Falco), and audit log analysis of security contexts, Linux capabilities, and syscall patterns. Use when investigating a pod running as root or privileged, hardening workloads against in-pod escalation, or hunting for containers exceeding their intended scope. Keywords: allowPrivilegeEscalation, runAsRoot, capabilities, securityContext, OPA, Falco, audit log. Do not use for escalation through RBAC and service-account permissions - use auditing-kubernetes-rbac-privilege-escalation. [Evidence: skills/detecting-privilege-escalation-in-kubernetes-pods/SKILL.md:L1-L40]
  • Provisional classification: category and tags are inferred from names, descriptions, and file paths, not verified outcomes. [Evidence: skills/detecting-privilege-escalation-in-kubernetes-pods/SKILL.md:L1-L40]

Limiti e ambito

  • Static analysis cannot assess runtime behavior, command success, network reachability, or model output quality.
  • No commands, scripts, network requests, model calls, or controlled skill executions were performed.
  • Category, tags, capabilities, workflows, and bilingual editorial summaries are deterministic candidates from static parsing, not verified outcomes.
  • Exact token counts are unavailable until a later pipeline performs and records an official model-specific count.

Utile per

  • Practitioners evaluating whether to inspect and install the source skill; this audience is inferred from the product context, not measured usage. [Evidence: skills/detecting-privilege-escalation-in-kubernetes-pods/SKILL.md:L1-L40]

Cosa contiene la skill

L'inventario dei file proviene dal sorgente raccolto al commit registrato. Percorsi e dimensioni sono osservazioni strutturali, non una misura di qualità.

file
8
File Markdown
5
script
2
riferimenti
4
Dimensione
34,1 KB
Complessità strutturale
Bassa

Inventario dei file

PercorsoTipoByte
skills/detecting-privilege-escalation-in-kubernetes-pods/assets/template.mdRiferimento1 KB
skills/detecting-privilege-escalation-in-kubernetes-pods/LICENSEAltro11 KB
skills/detecting-privilege-escalation-in-kubernetes-pods/references/api-reference.mdRiferimento1,2 KB
skills/detecting-privilege-escalation-in-kubernetes-pods/references/standards.mdRiferimento1 KB
skills/detecting-privilege-escalation-in-kubernetes-pods/references/workflows.mdRiferimento1,2 KB
skills/detecting-privilege-escalation-in-kubernetes-pods/scripts/agent.pyScript4,2 KB
skills/detecting-privilege-escalation-in-kubernetes-pods/scripts/process.pyScript5,3 KB
skills/detecting-privilege-escalation-in-kubernetes-pods/SKILL.mdIstruzione9,2 KB

Frontmatter di SKILL.md

{
  "name": "detecting-privilege-escalation-in-kubernetes-pods",
  "description": "Detects and prevents privilege escalation inside Kubernetes pods by combining admission control (OPA policies), runtime monitoring (Falco), and audit log analysis of security contexts, Linux capabilities, and syscall patterns. Use when investigating a pod running as root or privileged, hardening workloads against in-pod escalation, or hunting for containers exceeding their intended scope. Keywords: allowPrivilegeEscalation, runAsRoot, capabilities, securityContext, OPA, Falco, audit log. Do not use for escalation through RBAC and service-account permissions - use auditing-kubernetes-rbac-privilege-escalation.",
  "domain": "cybersecurity",
  "subdomain": "container-security",
  "tags": [
    "kubernetes",
    "privilege-escalation",
    "security-context",
    "capabilities",
    "detection",
    "pod-security"
  ],
  "version": "1.0",
  "author": "mahipal",
  "license": "Apache-2.0",
  "d3fend_techniques": [
    "Executable Denylisting",
    "Execution Isolation",
    "File Metadata Consistency Validation",
    "Restore Access",
    "Password Authentication"
  ],
  "nist_csf": [
    "PR.PS-01",
    "PR.IR-01",
    "ID.AM-08",
    "DE.CM-01"
  ],
  "mitre_attack": [
    "T1610",
    "T1611",
    "T1609",
    "T1525",
    "T1068"
  ]
}

Una lettura della sequenza operativa

Questo workflow ricostruisce la sequenza apparente a partire dal materiale sorgente. A meno che sia registrata esplicitamente una valutazione controllata, è provvisorio e non una traccia osservata.

  1. 01
    Azione

    Overview

    Source-described action candidate under “Overview”; not verified execution.

  2. 02
    Decisione

    When to Use

    Source-described decision candidate under “When to Use”; not verified execution.

  3. 03
    Azione

    Privilege Escalation Vectors in Kubernetes

    Source-described action candidate under “Privilege Escalation Vectors in Kubernetes”; not verified execution.

  4. 04
    Azione

    Detection with Admission Control

    Source-described action candidate under “Detection with Admission Control”; not verified execution.

  5. 05
    Azione

    Runtime Detection with Falco

    Source-described action candidate under “Runtime Detection with Falco”; not verified execution.

  6. 06
    Azione

    Kubernetes Audit Log Detection

    Source-described action candidate under “Kubernetes Audit Log Detection”; not verified execution.

Esamina tutti i passaggi di workflow candidati (16 passaggi candidati)
  1. 07
    Azione

    Investigation Playbook

    Source-described action candidate under “Investigation Playbook”; not verified execution.

  2. 08
    Azione

    Best Practices

    Source-described action candidate under “Best Practices”; not verified execution.

  3. 09
    Azione

    Enable Pod Security Admission at `restricted` level for production namespaces

    Source-described action candidate under “Best Practices”; not verified execution.

  4. 10
    Azione

    Drop ALL capabilities and add back only what is needed

    Source-described action candidate under “Best Practices”; not verified execution.

  5. 11
    Azione

    Set allowPrivilegeEscalation: false on all containers

    Source-described action candidate under “Best Practices”; not verified execution.

  6. 12
    Azione

    Run as non-root (runAsNonRoot: true, runAsUser > 0)

    Source-described action candidate under “Best Practices”; not verified execution.

  7. 13
    Azione

    Disable automountServiceAccountToken unless API access is needed

    Source-described action candidate under “Best Practices”; not verified execution.

  8. 14
    Azione

    Monitor with Falco for runtime privilege escalation attempts

    Source-described action candidate under “Best Practices”; not verified execution.

  9. 15
    Azione

    Audit RBAC changes with Kubernetes audit logging

    Source-described action candidate under “Best Practices”; not verified execution.

  10. 16
    Azione

    Use seccomp profiles to restrict syscalls

    Source-described action candidate under “Best Practices”; not verified execution.

Possibili superfici di rischio

I rilievi statici indicano i punti da esaminare prima dell'installazione. Non stabiliscono che una skill sia sicura, dannosa o efficace.

Attenzione consigliata

12 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Accesso alla reteOsservato
Scritture su fileOsservato
Uso di credenzialiNon osservato
Medio

Network access is mentioned

2 occorrenze

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 2 location(s) in the collected text; 2 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota

File modification is described or implemented

9 occorrenze

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 9 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Alto

Elevated privileges are referenced

Privilege-elevation syntax is present. Confirm whether elevation is necessary and inspect every operation performed under it; static analysis cannot prove that elevation succeeded. This rule matched 1 location(s) in the collected text; 1 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Dove può essere consumato il contesto

I livelli di individuazione, attivazione e risorse hanno significati diversi. I valori esatti compaiono solo quando il metodo ufficiale di conteggio è stato eseguito con un modello indicato.

Conteggio esatto dei token non disponibile

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

Non è stata registrata alcuna misura dei token con il metodo ufficiale richiesto. Questo dossier non la sostituisce con conteggi di caratteri, dimensioni dei file o stime.

Valutazione controllata

Nessuna valutazione controllata

Questa skill dispone solo delle evidenze indicate sopra. Non si afferma alcun tasso di successo, efficienza in token, latenza o vantaggio di qualità.

Non testato

Usare tenendo il sorgente in vista

Comando di installazione
Inspect the pinned source at https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/54a798831d2266a3ca61ce68a7acb80b81160d57/skills/detecting-privilege-escalation-in-kubernetes-pods/SKILL.md and follow the source repository's installation instructions. No installation was performed or verified by this static analyzer. Source license: Apache-2.0.

Prerequisiti

  • Static analysis cannot assess runtime behavior, command success, network reachability, or model output quality.
  • No commands, scripts, network requests, model calls, or controlled skill executions were performed.
  • Category, tags, capabilities, workflows, and bilingual editorial summaries are deterministic candidates from static parsing, not verified outcomes.
  • Exact token counts are unavailable until a later pipeline performs and records an official model-specific count.

Prompt di esempio

Non fornito

Un giudizio, con i suoi limiti

Punti di forza

  • The snapshot contains 8 collected file(s), 5 Markdown file(s), and 2 script file(s), enabling source-level inspection. [Evidence: skills/detecting-privilege-escalation-in-kubernetes-pods/SKILL.md:L1]

Aspetti da valutare

  • No functional, security, or model-quality result has been established. Inspect source context and all cited findings before installation or publication.
Conclusione della ricerca

Provisional deterministic static inventory only; from static parsing and, separately, controlled evaluation. No install recommendation, security assurance, or effectiveness claim is made.

Tracciabile per costruzione

Il dossier è una lettura circoscritta nel tempo di un artefatto pubblico, non un'approvazione. Usa il link al sorgente per esaminare il materiale upstream esatto.

mukul975Anthropic-Cybersecurity-Skillsskills/detecting-privilege-escalation-in-kubernetes-pods
Tipo di fonte
Community
Commit
54a798831d2266a3ca61ce68a7acb80b81160d57
Raccolta
20 nov 2026
Ultimo controllo
20 nov 2026
Licenza upstream
Apache-2.0
Stelle del repository
36.446
Base dei contenuti

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.