lkml.org 
[lkml]   [2004]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Question about /dev/mem and /dev/kmem
Wichert Akkerman wrote:
> Previously Jim Nelson wrote:
>
>>I was looking at some articles about rootkits on monolithic kernels, and
>>had a thought. Would a kernel config option to disable write access to
>>/dev/mem and /dev/kmem be a workable idea?
>
>
> Yes, but not a very useful one since it is an incomplete solution. You
> can easily do something better using /proc/kernel/cap-bound

Isn't that /proc/sys/kernel/cap-bound?

> (like writing 0xFFFCFFFF into it).
>

And what stops an attacker who's already gained root from doing a "cat "0" >
/proc/sys/kernel/cap-bound" ?

> Wichert.
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.041 / U:0.976 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site