-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add x86 CET status to checksec output (#2293)
* Add x86 CET status to checksec output The ELF class now features two properties: - ibt for indirect branch tracking `-fcf-protection=branch` - shstk for shadow stack `-fcf-protection=return` Both checking the presence of the respective feature bit in the note property x86 feature segment. * Check if user shadowstack is enabled on SSH target Look for "user_shstk" in /proc/cpuinfo for ssh.checksec() * Add ELF.iter_notes and ELF.iter_properties helpers Allows to easily iterate the PT_NOTE segment and the properties in "GNU" notes. * Check for ibt on remote ssh machine * Update CHANGELOG * Suppress error when /proc/cpuinfo cannot be read
- Loading branch information
1 parent
0bf914e
commit b53d476
Showing
4 changed files
with
123 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters