Intel CET
What is Intel CET?
Intel CETIntel CET (Control-flow Enforcement Technology) is a CPU feature combining a hardware shadow stack and Indirect Branch Tracking (IBT) to block ROP, JOP and COP exploits.
Intel CET, introduced with Tiger Lake (11th Gen Core) and Ice Lake Xeon, pairs two complementary protections against control-flow hijacking. The shadow stack keeps a second, CPU-protected copy of every return address in memory that user code cannot write through normal stores; on each RET the hardware compares the two, and a mismatch raises a #CP (control-protection) fault. This defeats return-oriented programming (ROP), where attackers chain ret-terminated gadgets to bypass DEP/NX. Indirect Branch Tracking (IBT) addresses jump- and call-oriented programming (JOP/COP): every legal indirect-branch target must begin with an ENDBR32/ENDBR64 instruction, so an attacker can no longer land in the middle of a function or a borrowed gadget.
CET is a hardware backstop that complements, rather than replaces, ASLR, DEP, stack canaries and compiler software-CFI — all of which can be bypassed on their own. Software must opt in: toolchains emit ENDBR markers and shadow-stack prologues under GCC/Clang -fcf-protection=full, and the OS enables the feature per process. Windows ships it as Hardware-enforced Stack Protection, while Linux merged user-mode shadow stack (X86_USER_SHADOW_STACK, runtime flag user_shstk, disable with nousershstk) in kernel 6.6 (2023) after an earlier 6.4 attempt was rejected. AMD provides an equivalent shadow stack under its "Shadow Stack" / CET branding on Zen 3 and later.
flowchart TD
CALL[Function call] --> PUSH[Return addr pushed to<br/>normal stack AND shadow stack]
PUSH --> RUN[Function executes]
RUN --> RET{RET: compare<br/>normal vs shadow}
RET -->|match| OK[Return proceeds]
RET -->|mismatch ROP| CP[#CP fault -> process killed]
IND[Indirect call / jmp] --> IBT{Target starts<br/>with ENDBR?}
IBT -->|yes| OK
IBT -->|no JOP/COP| CP● Examples
- 01
Windows 11 hardware-enforced stack protection using CET on 11th-gen Intel Core.
- 02
Linux user-mode shadow stack (USER_SHSTK) enabled for hardened binaries.
● Frequently asked questions
What is Intel CET?
Intel CET (Control-flow Enforcement Technology) is a CPU feature combining a hardware shadow stack and Indirect Branch Tracking (IBT) to block ROP, JOP and COP exploits. It belongs to the Application Security category of cybersecurity.
What does Intel CET mean?
Intel CET (Control-flow Enforcement Technology) is a CPU feature combining a hardware shadow stack and Indirect Branch Tracking (IBT) to block ROP, JOP and COP exploits.
How do you defend against Intel CET?
Defences for Intel CET typically combine technical controls and operational practices, as detailed in the full definition above.
What are other names for Intel CET?
Common alternative names include: CET, Indirect Branch Tracking, IBT.