Poisoned Pipeline / Techniques / T0150
Runtime logic bomb
A logic bomb is a snippet of malicious code that is intentionally inserted into other software.
Logic bombs are triggered when a certain condition is met.
The code may lie dormant for a long time and remain undetected until the bomb is triggered.
When the bomb is activated, it can have devastating effects on the software, causing it to malfunction, delete data, or even grant unauthorized access to sensitive information.
The attack can also be designed to spread to other systems or cause damage to a wider network.
The malicious code is hidden within an otherwise legitimate software package.
It can be introduced at any point in the software supply chain.
Where this idea came from
Cited from a security article or vendor blog in the original YAML; not a first-party incident report.
- https://www.csoonline.com/article/2115905/logic-bomb.html
- https://threatpost.com/discord-stealing-malware-npm-packages/163265/
- https://threatpost.com/malicious-code-bombs-amazon-lyft-slack-zillow/164455/
- https://threatpost.com/php-infiltrated-backdoor-malware/165061/
- https://threatpost.com/cryptominers-python-supply-chain/167135/
Mitigations
- M1500 Verify third-party artifacts and open-source libraries
- M1501 Require SBOM from all third-party suppliers
- M1502 Define trusted package managers and repositories
- M1503 Implement SCA analysis
Detections
- D1500 Configure monitoring of used artifacts and open-source libraries
Observed in incidents (4)
- XZ Utils backdoor
- mathmain / mathsbase encrypted npm RAT (equation trigger)
- Graphalgo spreads to Terraform providers and Go modules
- Graphalgo spreads to Terraform providers and Go modules
References
- https://www.csoonline.com/article/2115905/logic-bomb.html
- https://threatpost.com/discord-stealing-malware-npm-packages/163265/
- https://threatpost.com/malicious-code-bombs-amazon-lyft-slack-zillow/164455/
- https://threatpost.com/php-infiltrated-backdoor-malware/165061/
- https://threatpost.com/cryptominers-python-supply-chain/167135/