|
Detailed
Description:
A) Enhancing server integrity:
1.)
Updating the server with all the latest patches
Upon
installation of the Security Package we will check for
any missing SUN/Cobalt patches ans will install all
of them before proceeding. This makes sure that most
known vulnerabilities are fixed.
2.)
Installation of OpenSSH
OpenSSH
is a Telnet replacement and does away with the unencrypted
transmission of usernames, passwords and data. So when
you use SSH to connect to the server, then nobody can
eavesdrop on your communication
to gather valuable information.
OpenSSH is already installed
on a RaQ550, but the software is slightly outdated.
Therefore we install the latest version of OpenSSH on
your RaQ during the Security Package installation.
B) Perimeter Defense:
3.)
Installation of our custom built Firewall for SUN/Cobalt
RaQs
We
adapted Godots gShield-2.8
to the specific requirements needed for securing a SUN/Cobalt
RaQ. Our
adapted version of gShield includes many Iptables specific
optimizations and is as easy to configure as the old
gShield-1.8 which was part of the Security Package for
the RaQ3 and RaQ4.
The
firewall determines the network settings all by itself,
even when you change your network settings. The server
administrator can enable and disable services from one
single configuration file. If you ever want to block
certain IP-addresses or IP-address ranges, then just
add them to the "blacklist" to ban them permanently.
Any
strict Firewall contains the risk that you lock yourself
out of the server if you make the wrong modifications.
We tried to keep this risk down to the minimum by a
straightforward set-up and configuration process.
If
ever something goes wrong and you lock yourself out,
then you can reboot your server from the front panel.
The Firewall will be started five minutes after the
server is up and running. During that period of time
you can log in and disable the start-up procedure of
the firewall by setting a switch in the configuration
file from YES to NO. This allows you to fix any problems
you might encounter.
The
time remaining until firewall initialization will be
shown on the LCD display on the RaQs front panel, which
will also give you a reminder if you forgot to enable
the Firewall by accident.
4.)
Portsentry operates in “Honeypot”-mode
This
is part of the Intrusion Detection Process. A Portscan
is a very nice way for a system administrator to check
the health and status of his server. However, nobody
else except the system administrator has a legitimate
reason to run a Portscan on your server to probe it
for open ports and services. In fact a Portscan is often
the first stage of an intrusion attempt.
So
we not only make sure that the alarm goes off when a
burglar rattles your fence, but we also pull in the
drawbridge to block his access to the server.
We
achieve this through carefully crafted holes in the
Firewall behind which Portsentry is listening for connections.
Portsentry only listens on about half a dozen ports
which are usually not used by any services.
Chances
that a legitimate user locks himself out are less than
zero.
Any
Portscan on ports between 1-1023 will run into at least
one of the honeypots we laid out. When that happens,
Ipchains kicks in and adds a rule to the Firewall which
will deny access to the burglar which triggered your
defenses.
Once
that happens an alert email is sent out to the Admin
email account of the server.
C) Inner Defense Layer
If
ever someone manages to get through the outer layer
of defenses (by exploiting a yet unknown vulnerability
in a running service), then we sure want to know about
it. Therefore our Security Package closely monitors
the file system for changes and limits the damage which
a hacker can do to the system. We achieve this through
the following steps:
5.)
Installation of LCAP to prevent loading of kernel modules
(LKMs)
Linux
kernel versions 2.2.11 and greater include the idea
that you can load modules with additional capability
into the kernel. Like network drivers or SCSI support.
Generally
this is a good idea. However, a couple of root-kits
available in the Internet allow intruders to load Linux
Kernel Modules (so called LKMs) into the kernel, which
will then effectively hide all hacker processes and
files which the intruder unleashes. Even user "root"
will then be unable to do anything against this.
So
we install LCAP to effectively removed the ability to
load further kernel modules once all legitimate kernel
modules have been loaded upon start-up of the server.
Any
attacker which wants to load a kernel module will have
to delete the LCAP and has to reboot the server forcefully
for the change to take effect. Any such reboot and system
change will not go unnoticed.
6.)
Installation of Logwatch
Logwatch
checks your servers logfiles for unusual system events.
If it detects something worthy of interest it sends
an email to a specified email address. Usually the admin
email account of a RaQ.
Logwatch
will report to you who logs into your machine by SSH
(or Telnet, if enabled) and by FTP. It will also report
failed login attempts, unusual system events (like when
the server or an individual service reboots).
Logwatch
is able to distinguish between intrusion alerts, normal
system events and unusual system events.
Based
on this emailed reports you will always be up to date
about everything going on at the server, without having
to sort through hundreds of megabytes of logfiles.
7.)
Installation of FCheck (similar to Tripwire)
FCheck
and has been written by Michael A. Gumienny and is an
integrity checker written in Perl. Upon server start-up
and twice per day it will check vital directories and
system files for modifications, additions and deletions.
Any modifications will be reported in a detailed email
to the server administrator.
Nobody
will be able to install (or modify) system files without
the system administrators knowledge.
8.)
Installation of automated CHKROOTKIT
Chkrootkit
is a diagnostic tool which will scan all vital system
binaries to check if they have been replaced with tampered
versions. Many rootkits the hackers use will do just
that. Additionally this tool will check if your network
card(s) are in promiscuous mode (aka.: sniffing the
network), it will check if your logfiles have been manipulated
and it will check for hidden processes.
However,
the hidden process check can and will sometimes report
hidden processes when there are none. Please be aware
of these *false* alarms which will happen mostly when
you are running many dynamic processes. Like Apache
or MySQL. Why does it happen? Chkrootkit compares the
processes in the /proc/ directory with those shown by
the command "ps". If both outputs don not match, then
it will sound an alert. However, the comparison takes
a few moments and if a process ends (naturally) during
the comparison, then that will cause an false alarm.
The
diagnostic output of Chkrootkit will be emailed to the
admin account of your RaQ.
Please
note: Security is not a software
which you buy, install and then never again have to
care about. Security is a state of mind in which requires proper
procedures and your vigilance to stay ahead of
events.
Our
Security Package can help you to stay on top of events
and will aide you in the detection of attacks and
compromises.
|