You are not logged in.

#1 2022-10-03 17:47:17

abc12345
Member
Registered: 2022-03-30
Posts: 57

[SOLVED] Kernel in memory realtime checksumming

When kernel is in memory does anything monitor its checksum in realtime? To make sure no one with access to memory can flip bits or against corruption?

Last edited by abc12345 (2022-10-05 02:58:46)

Offline

#2 2022-10-03 18:01:31

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: [SOLVED] Kernel in memory realtime checksumming

I highly doubt it as such a process would not actually provide any real securty.  How would such a process know what the checksum is supposed to be?  There'd have to be a reference stored in memory and / or on disk; adjusting that reference would be even easier than modifying the kernel code space, so if one can do the latter, they could certainly do the former, at which point the check would be meaningless.

Last edited by Trilby (2022-10-03 18:02:19)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2022-10-04 08:28:54

abc12345
Member
Registered: 2022-03-30
Posts: 57

Re: [SOLVED] Kernel in memory realtime checksumming

But you would know the reference checksum because you would run it right post compilation time and store it.

Offline

#4 2022-10-04 13:00:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: [SOLVED] Kernel in memory realtime checksumming

You would know it?  As in you are going to memorize a checksum?  And then are you manually looking at the realtime checksum periodically to see it is correct?  You say it could be "stored"... but where?  Again, if it's stored on disk or in memory this was exactly what my previous post was addressing.  Please read past the first sentence.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2022-10-04 13:16:05

seth
Member
Registered: 2012-09-03
Posts: 49,957

Online

#6 2022-10-05 02:58:24

abc12345
Member
Registered: 2022-03-30
Posts: 57

Re: [SOLVED] Kernel in memory realtime checksumming

Wow, thank you.

Offline

Board footer

Powered by FluxBB