CAPEC-691: Spoof Open-Source Software Metadata
CAPEC版本: 3.9
更新日期: 2023-01-24
攻击模式描述
前提条件
- Identification of a popular open-source component whose metadata is to be spoofed.
所需技能
后果影响
影响范围: Integrity
技术影响: Modify Data
影响范围: Accountability
技术影响: Hide Activities
影响范围: Access Control Authorization
技术影响: Execute Unauthorized Commands
缓解措施
Before downloading open-source software, perform precursory metadata checks to determine the author(s), frequency of updates, when the software was last updated, and if the software is widely leveraged.
Within package managers, look for conflicting or non-unique repository references to determine if multiple packages share the same repository reference.
Reference vulnerability databases to determine if the software contains known vulnerabilities.
Only download open-source software from reputable hosting sites or package managers.
Only download open-source software that has been adequately signed by the developer(s). For repository commits/tags, look for the "Verified" status and for developers leveraging "Vigilant Mode" (GitHub) or similar modes.
After downloading open-source software, ensure integrity values have not changed.
Before executing or incorporating the software, leverage automated testing techniques (e.g., static and dynamic analysis) to determine if the software behaves maliciously.
示例实例
An adversary provides a malicious open-source library, claiming to provide extended logging features and functionality, and spoofs the metadata with that of a widely used legitimate library. The adversary then tricks victims into including this library in their underlying application. Once the malicious software is incorporated into the application, the adversary is able to manipulate and exfiltrate log data.
分类映射
| 分类名称 | 条目ID | 条目名称 |
|---|---|---|
| ATTACK | 1195.001 | Supply Chain Compromise: Compromise Software Dependencies and Development Tools |
| ATTACK | 1195.002 | Supply Chain Compromise: Compromise Software Supply Chain |