GJDuck / e9patch

A powerful static binary rewriting tool
GNU General Public License v3.0
986 stars 67 forks source link

E9Patch and Intel Control-Flow Enforcement Technology (CET) #55

Open GJDuck opened 2 years ago

GJDuck commented 2 years ago

Currently, E9Patch will disable all Intel Control-Flow Enforcement Technology (CET) features in the rewritten binary. This is because there are several problems with the interaction of E9Tool/E9Patch and Intel CET, specifically:

Indirect Branch Tracking (IBT):

Shadow Stack (SHSTK):

Possible Solutions


Intel CET Opportunities

Intel CET also helps the E9Tool/E9Patch toolchain:


Update (18/06/22): I had overlooked the optional NOTRACK prefix for indirect calls/jumps, so the comment is updated accordingly.