CodeBreach: attack mapped to SITF techniques
Incident6 SITF techniques
This page maps the CodeBreach attack to the SDLC Infrastructure Threat Framework (SITF), step by step, from initial access to impact.
Entry points
- Producer entry point
- Consumer entry point
Attack path
- SITF T-C020: CI/CD Misconfiguration Exploitation — Non-anchored usernames · in AWS CodeBuild project
- SITF T-C005: Secret Exfiltration from Workflow — aws-sdk-js-automation PAT · in AWS CodeBuild project
- SITF T-V001: Abuse Credentials for VCS Access — in aws/aws-sdk-js-v3
- SITF T-V010: Malicious Code Modification in Repository — in aws/aws-sdk-js-v3
- SITF T-R004: Publishing Malicious Package — aws-sdk-js-v3 · in GitHub and NPM registries
- SITF T-E001: Malicious Execution on Endpoint — in Dev endpoints with AWS Console
Outcomes
- Custom
Techniques and controls
| Technique | Key protective controls |
|---|---|
| T-C005 Secret Exfiltration from Workflow | OIDC setup in workflows; Minimal workflow permissions; Log sanitization |
| T-C020 CI/CD Misconfiguration Exploitation | CSPM/CNAPP |
| T-E001 Malicious Execution on Endpoint | Local registry proxy with filtering; IDE sandboxing; Mandating signed extensions |
| T-R004 Publishing Malicious Package | Trusted publishing; Provenance attestation; MFA for registry account |
| T-V001 Abuse Credentials for VCS Access | Mandatory MFA; IDP / SSO setup; Enforcing fine-grained PATs |
| T-V010 Malicious Code Modification in Repository | Branch protection rules (VCS); Require code owner approval; Mandatory code review by multiple reviewers |
Source flow: flows/incidents/codebreach.json. Load it in the SITF flow builder to view the diagram.