Re: How do I protect against rootkits
- From: Ertugrul Soeylemez <never@xxxxxxxxxxxxxx>
- Date: Fri, 7 Jul 2006 02:05:08 +0200
"Allison" <fireflyblue@xxxxxxxxx> (06-07-04 08:19:19):
So, if I protect my services using grsecurity and pax, the attacker
cannot compromise any services running on my machine. If I am careful
not to visit shady websites and not download email attachments, what
are the other ways the attacker can compromise my system? I am mostly
looking at random attacks here (discovering my ip through a portscan
and finds my machine is vulnerable)
Wrong. As Unruh pointed out already, PaX protects your services from
being compromised by exploiting most well-known bugs (including
buffer/heap overflows and some similar bugs). Grsecurity (which PaX is
part of) provides you with options to strengthen system security (mostly
local), e.g. role-based access control, trusted path execution, chroot
jail restrictions for root jails, and so on. Very handy, even for
desktops and workstations, where multiple users have access to (maybe
simultaneously, as in my case).
Could OS vulnerabilities can be one way ? Can people think of other
ways and how to protect against those ?
I don't understand your question, but I guess you are talking about
system vulnerabilities like kernel bugs. You can protect against
compromisation of certain bugs in user-space (like 'su', 'sudo' or
'cron' bugs), by establishing a well organized access control system
(where grsecurity or SELinux enter the game). Some bugs become
meaningless, when PaX is active. The particular program still crashes,
but does not lead to system compromisation or even information
disclosure.
The story changes for kernel bugs. Some distributions have shown to be
immune against some bugs in the past (like the mremap() bug), but mostly
your system will become insecure, if there are known kernel bugs.
Unfortunately, most severe kernel bugs lead to privilege escalation,
even beyond root level access. You can protect against them by giving
users only as much access as they really need to do their work --
including yourself.
Last, but not least: Keep your system up to date. This includes
utilizing your distribution's package manager as much as possible. Many
people rent a root server, and then install programs by downloading
their source and compiling it by hand. That's a security hazard, as
those programs don't get updated by the package manager. Don't do
this.
Regards,
E.S.
.
- References:
- How do I protect against rootkits
- From: Allison
- Re: How do I protect against rootkits
- From: Ertugrul Soeylemez
- Re: How do I protect against rootkits
- From: Allison
- How do I protect against rootkits
- Prev by Date: Re: permission wrt different types of files
- Next by Date: All new exams added in Testking.co.uk with latest updates and passing guarantee
- Previous by thread: Re: How do I protect against rootkits
- Next by thread: permission wrt different types of files
- Index(es):
Relevant Pages
|