Poisoned Pipeline

Poisoned Pipeline / Techniques / T0140

T0140 · Credential Access · TA08 · observed in 39 incident(s)

Harvest tokens from environment variables

CI/CD Posture Cloud Security Container Security Infrastructure as code Secrets Hygiene

This type of attack involves searching for environment variables that may contain sensitive information and dumping their values to gain access to the associated resources.
In cloud and container environments, environment variables are often used to store configuration data, including sensitive information such as passwords, tokens and API keys.
Attackers can exploit this by searching through the environment variables of running containers or cloud instances to find any sensitive information that has been inadvertently exposed.
Once the sensitive information has been obtained, attackers can use it to access and compromise the associated resources.

Where this idea came from

Security article

Cited from a security article or vendor blog in the original YAML; not a first-party incident report.

Mitigations

Detections

Observed in incidents (39)

References