D3FEND / Source Code Hardening
D3-VTV: Variable Type Validation
Tactic: Harden. The harden tactic is used to increase the opportunity cost of computer network exploitation. Hardening differs from Detection in that it generally is conducted before a system is online and operational.
Definition
Ensuring that a variable has the correct type.
How it works
A developer should consider how the variable will be used throughout the program and choose the correct variable type. A developer should programmatically check if a variable has the correct (expected) type before using that variable.
MITRE D3FEND 1.4.0, published under the MIT License, copyright 2022 The MITRE Corporation.