nerdexam
CompTIA

CAS-005 · Question #317

An attacker infiltrated the code base of a hardware manufacturer and inserted malware before the code was compiled. The malicious code is now running at the hardware level across a number of…

The correct answer is D. Supply chain attack. This scenario describes a supply chain attack, where an attacker compromises a vendor's code during development or distribution, leading to the deployment of malicious software through legitimate channels.

Submitted by brentm· Mar 6, 2026Governance, Risk, and Compliance

Question

An attacker infiltrated the code base of a hardware manufacturer and inserted malware before the code was compiled. The malicious code is now running at the hardware level across a number of industries and sectors. Which of the following categories best describes this type of vendor risk?

Options

  • ASDLC attack
  • BSide-load attack
  • CRemote code signing
  • DSupply chain attack

How the community answered

(44 responses)
  • A
    2% (1)
  • B
    5% (2)
  • C
    2% (1)
  • D
    91% (40)

Why each option

This scenario describes a supply chain attack, where an attacker compromises a vendor's code during development or distribution, leading to the deployment of malicious software through legitimate channels.

ASDLC attack

An SDLC (Software Development Life Cycle) attack is too broad; while this scenario involves the SDLC, "supply chain attack" is a more specific and accurate description of the overall risk from a vendor perspective.

BSide-load attack

A side-load attack typically refers to installing unauthorized applications onto a device outside of official app stores, which is not what happened here with the compromise occurring before compilation and distribution.

CRemote code signing

Remote code signing involves signing code, but this choice describes a specific technique rather than the broader category of an attack compromising a vendor's product distributed to many customers.

DSupply chain attackCorrect

A supply chain attack occurs when an adversary infiltrates a legitimate software or hardware development process, injecting malicious code or components before the product reaches the end-user. In this case, compromising the hardware manufacturer's code base and distributing malware at the hardware level through their products is a classic example of a sophisticated supply chain attack.

Concept tested: Supply chain attacks, vendor risk management

Source: https://learn.microsoft.com/en-us/azure/security/fundamentals/supply-chain

Community Discussion

No community discussion yet for this question.

Full CAS-005 Practice