SITF technique T-C012: PR from Malicious Workflow
Component: CI/CDStage: Discovery and Lateral MovementID: T-C012
Workflow creates malicious pull request.
SITF technique T-C012 (PR from Malicious Workflow) 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
- Default workflow permissions set to WRITE
- Default workflow permissions set to approve PR
- No PR review requirements
Protective controls
- 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 - Require code owner approval (VCS)
OWASP SPVS: V1.5 Source Code Management Hardening; V2.3 Code Review and Analysis
Detective controls
- CICD scanning tools
OWASP SPVS: V5.4 Detection & Monitoring
Explore
- Open T-C012 in the interactive technique library
- Map an attack using T-C012 in the SITF flow builder
- Previous CI/CD technique: T-C011 Stealing Registry Tokens
- Next CI/CD technique: T-C013 Persistence on Self-Hosted Runners
How to reference
Cite as SITF technique T-C012 (PR from Malicious Workflow), SDLC Infrastructure Threat Framework (SITF), https://wiz-sec-public.github.io/SITF/techniques/T-C012.html.