Structural testing, also referred to as white-box or glass-box testing, evaluates software based on knowledge of its internal implementation, architecture, control structures and execution paths. During component testing, this approach enables security testers to examine individual software modules and identify vulnerabilities that may remain undetected through external functional testing.
The ISTQB Security Tester syllabus explicitly identifies malicious code inserted by an internal employee or contractor as a vulnerability that can be identified and corrected through structural testing. Such code may introduce unauthorized functionality, undocumented access mechanisms, deliberate security-control bypasses or hidden manipulation of sensitive information.
Structural testing enables testers to investigate executable statements, decision outcomes, logical branches and internal control mechanisms. Static analysis and code reviews can complement dynamic white-box testing by identifying suspicious implementation patterns.
Option A primarily concerns component integration and system-level security testing. Option C relates to validating compliance with specified security requirements, which is principally addressed through functional security testing. Option D describes a form of fuzz testing, although conventional fuzz testing commonly involves random or malformed input.
Structural security testing is particularly valuable because malicious functionality may not produce observable anomalies during ordinary application usage.
Official Reference: ISTQB CT-SEC Syllabus 2016, Section 4.4.1.1 – White-box/Glass-box Testing Considerations, pages 53–54.