Skip to content

Files

Latest commit

9a0ebf2 · May 21, 2020

History

History

hashcheck

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 29, 2017
Jun 29, 2017
May 21, 2020
May 11, 2019

hashcheck

This is a LSM in which the kernel denies the execution of binaries to non-root users, unless:

  • There is a security.hash extended-attribute upon the binary.
  • The contents of that label match the SHA1 hash of the binary contents.

There is some back-story in the following blog-post:

This builds upon the learning I made writing the whitelist LSM.