Visits

[+/-]
Today:
Yesterday:
Day before yesterday:
29
389
372

+17
This week:
Last week:
Week before last week:
1515
2427
2483

-56

Last month:
Month before last month:
10693
9885
8946

+939

Visitor Data

IP ADDRESS
38.107.191.89
-
Location
United States
-
Browser
Unknown Browser
-
Operating System
Unknown Operating System

Most Downloaded


No Documents
Add to: JBookmarks Add to: Bookmarks.cc Add to: Digg Add to: Reddit Add to: Upchuckr Add to: StumbleUpon Add to: Slashdot Add to: Blogmarks Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Smarking Add to: Spurl Add to: Google Information

22

Oct

Disabling miscellaneous security tools.

Linux Security: Disabling misc tools

The most common modus operandi for the bulk of the system
crackers out there is to gain access to your system, often
through a regular user account, and then use that access to
compile exploits against your system or other systems, or use
your network tools for DoS attacks against other systems.
Disabling the compiler on your system will slow these crackers
down,and may even prevent some attacks entirely.

Note: This only covers basic compiling/system/network tools

First we'll start with compiling tools. A cracker can always
upload his/her own compilers to compile exploits to gain
root access to your box, but by disabling these tools. We slow
the cracker down and also show not only crackers but other users
on the box that you mean business when it comes to system
security.

If you wish to disable compiling tools to everyone but root do
these chmod's
(also please see the chmod manual page)

chmod 0700 /usr/bin/gcc
chmod 0700 /usr/bin/g++
chmod 0700 /usr/bin/cc
chmod 0700 /usr/bin/colorgcc

Next system tools and network tools:

These system tools can be used to gain knowledge about other
users on the system
by disabling these we can slow down or possibly prevent a cracker
from gaining
such knowledge

If you wish to disable these system tools do these chmods, and
also see the man pages for the ones that you don't know what they
do.

chmod 0700 /usr/bin/w
chmod 0700 /usr/bin/who
chmod 0700 /usr/bin/finger

Now the network tools:
Only you the system admin of your box should have access to the
network tools of the system, hence I would recommend disabling
these tools to everyone except root. To do so, do these
chmods...

chmod 0700 /bin/ping
chmod 0700 /usr/bin/telnet (or possibly /bin/telnet)
chmod 0700 /usr/bin/ssh (if you have ssh installed)
chmod 0700 /usr/sbin/traceroute

Please dig deeper into this subject!
And please see manual page for chmod!