SITF technique T-P002: Malicious Deployment via Compromised Pipeline
Component: Production/CloudStage: Discovery and Lateral MovementID: T-P002
Attacker modifies CI/CD pipeline to deploy malicious code to production.
SITF technique T-P002 (Malicious Deployment via Compromised Pipeline) is a Discovery and Lateral Movement technique in the SDLC Infrastructure Threat Framework (SITF). It targets the Production/Cloud component (Production infrastructure of the producer organization).
Risks that enable this technique
- No deployment approval gates
- Overprivileged deployment credentials
- No code signing verification
- Insufficient workflow permissions review
Protective controls
- Deployment approval gates
OWASP SPVS: V4.3 Secure Deployment Practices - Code signing and verification
OWASP SPVS: V3.4 Integrity of Artifacts - Minimal workflow permissions
OWASP SPVS: V3.1 Security of Pipeline Environment; V5.1 Access Audit - Branch protection rules (VCS)
OWASP SPVS: V1.5 Source Code Management Hardening
Detective controls
- Deployment monitoring
OWASP SPVS: V5.4 Detection & Monitoring
Explore
- Open T-P002 in the interactive technique library
- Map an attack using T-P002 in the SITF flow builder
- Previous Production/Cloud technique: T-P001 Abuse Production Credentials from CI/CD
- Next Production/Cloud technique: T-P003 Pivot from Self-Hosted Runner to Production Network
How to reference
Cite as SITF technique T-P002 (Malicious Deployment via Compromised Pipeline), SDLC Infrastructure Threat Framework (SITF), https://wiz-sec-public.github.io/SITF/techniques/T-P002.html.