D3-SSC: Shadow Stack Comparisons
Tactic: Detect. The detect tactic is used to identify adversary access to or unauthorized activity on computer networks.
Definition
Comparing a call stack in system memory with a shadow call stack maintained by the processor to determine unauthorized shellcode activity.
How it works
This technique compares the call stack stored in system memory with the shadow call stack maintained in the cache memory of the processor. Mismatches between the two are compared since a return oriented programming attack may only be able to control or spoof the call stack and not the shadow call stack. Mismatches are counted and if the number of mismatches exceeds a certain threshold it is an indication of unauthorized activity and a security response action is performed.
ATT&CK techniques it counters
- T1068: Exploitation for Privilege Escalation
- T1203: Exploitation for Client Execution
- T1210: Exploitation of Remote Services
- T1211: Exploitation for Stealth
- T1212: Exploitation for Credential Access
MITRE D3FEND 1.4.0, published under the MIT License, copyright 2022 The MITRE Corporation.