SITF technique T-C011: Stealing Registry Tokens
Component: CI/CDStage: Discovery and Lateral MovementID: T-C011
Attacker extracts registry publishing tokens from workflow.
SITF technique T-C011 (Stealing Registry Tokens) is a Discovery and Lateral Movement technique in the SDLC Infrastructure Threat Framework (SITF). It targets the CI/CD component (Continuous Integration/Deployment systems).
Risks that enable this technique
- Workflow with access to secrets
- Overprivileged registry tokens
- Long-lived credentials
Protective controls
- OIDC setup in workflows
OWASP SPVS: V1.1 Identity and Access Management; V3.2 Credential Hygiene - Trusted publishing (registry)
OWASP SPVS: V3.2 Credential Hygiene
Detective controls
- Runtime agent on runner
OWASP SPVS: V5.4 Detection & Monitoring - Secret scanning
OWASP SPVS: V5.4 Detection & Monitoring
Observed in
- Aqua Trivy VS Code Extension (incident)
- Clinejection (incident)
- Miasma (Red Hat) (incident)
- s1ngularity (incident)
- TeamPCP Campaign (incident)
- Trivy Act II (incident)
- Ultralytics (incident)
Explore
- Open T-C011 in the interactive technique library
- Map an attack using T-C011 in the SITF flow builder
- Previous CI/CD technique: T-C010 Runner Executing Malicious Package
- Next CI/CD technique: T-C012 PR from Malicious Workflow
How to reference
Cite as SITF technique T-C011 (Stealing Registry Tokens), SDLC Infrastructure Threat Framework (SITF), https://wiz-sec-public.github.io/SITF/techniques/T-C011.html.