For the problem that I am facing is actually that I am working on a project which is about checking the integrity of the kernel image "vmlinuz" that is in the hard disk!
To do so, am trying to add a code that will be loaded by grub before the kernel started! So this code is going to compute the HMAC of the kernel image to see if it's well authenticated or not! Then load it.

The problem is, I don't know how to charge the image from the hard disk so I can check it! I looked in the grub manual to see how does grub do things, but it was kinda complicated and I got lost!

So please if you can help I would be so grateful.

What I have tried:

Build the linux kernel, Implementing the program that is going to compute the HMAC of the image.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.