kevmap

TechniquesT1677 › AN1473

AN1473 Analytic 1473

SaaS · attack.mitre.org · ATT&CK Enterprise v19.2

<p>Detects anomalous CI/CD workflow execution originating from forked repositories, with pull request (PR) metadata or commit messages containing suspicious patterns (e.g., encoded payloads), coupled with the use of insecure pipeline triggers like pull_request_target or excessive API usage of CI/CD secrets. Correlation with unusual artifact generation or secret exfiltration via encoded or external network destination URLs confirms suspicious behavior.</p>
Detects
T1677 Poisoned Pipeline Execution
Part of
DET0533 Detection Strategy for Poisoned Pipeline Execution via SaaS CI/CD Workflows

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
saas:githubWorkflow triggered via pull_request_target from forked repoDC0069 Cloud Service Modification
saas:githubCI/CD secret accessed or exportedDC0070 Cloud Service Metadata
saas:githubArtifact generated includes base64/encoded exfil payload or URLDC0025 Cloud Storage Access
saas:RepoEventsNew file added or modified in PR targeting CI/CD or build config (e.g., `gitlab-ci.yml`, `build.gradle`, `pom.xml`, `.github/workflows/*.yml`)DC0059 File Metadata
saas:PRMetadataCommit message or branch name contains encoded strings or payload indicatorsDC0064 Command Execution

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
TimeWindowTime delta between PR creation and workflow execution to flag rapid attempts
UserContextForked or external user accounts triggering workflows; may differ across orgs
TriggerTypeAllowlistCI trigger types (e.g., `pull_request_target`) that should or shouldn't be used for forks
ArtifactEntropyThresholdEntropy threshold for detecting encoded payloads in artifacts
SecretAccessRateThresholdRate of secret access in a single workflow run that might indicate abuse