| By Joshua Drake | Article Rating: |
|
| October 23, 2001 12:00 AM EDT | Reads: |
6,904 |
(LinuxWorld) -- Last week, we talked about some simple steps that a user or administrator can take to see if his or her machine had been hacked. (See How to tell if your Linux box has been cracked.) This week, I update that article and introduce you to some products I am evaluating.
First, the update. Several readers responded with feedback to the article, and I thought one of them had a great suggestion. Unfortunately, I misplaced the e-mail, but the respondent directed me to the chkrootkit Web site. (See resources below.)
The chkrootkit program is designed to check for many well-known root kits (the chkrootkit Web site lists the kits). Running chkrootkit is simple: Download the source, unpack it, and type make in the extracted directory. Voila! You have the chkrootkit program ready to go. Here is an example output from my machine:
[root@jd chkrootkit-0.34]# ./chkrootkit ROOTDIR is `/' Checking `amd'... not found Checking `basename'... not infected Checking `biff'... not found Checking `chfn'... not infected Checking `chsh'... not infected Checking `cron'... not infected Checking `date'... not infected Checking `du'... not infected Checking `dirname'... not infected Checking `echo'... not infected Checking `egrep'... not infected Checking `env'... not infected Checking `find'... not infected [...]
The chkrootkit program is a nice utility, and it confirmed what I already knew: We haven't been cracked.
Continuing in this vein, I have been looking for a good set of tools to set up network monitoring, and general network security, for some time. In the process of my investigation I came across several programs, including NetSaint, OpenNMS, nmap, Bastille Linux, and Snort.
NetSaint
NetSaint is a simple, Web-based utility for monitoring your networks. It even has a WAP (Wireless Access Protocol) interface. It supports a strong plug-in facility for adding additional options and features. As I played with NetSaint, the one thing I immediately didn't like was that it appears to be one of the side projects of the Open Source community.
A side project of the Open Source community can be spotted by matching several of the following characteristics:
- A lot of features
- Not a lot of documentation
- Sporadic release schedules
- No support
- Difficult installation
- No RPM packages
Okay, I might get some flames for No. 6, but I have been into this Open Source thing for a very long time, and outside of compiling PostgreSQL or Apache for customized parameters and optimization, I am getting tired of dealing with all this source. I want to type rpm -i so I can actually get some work done. However, I digress.
OpenNMS
Moving on, OpenNMS appears to be a great program. I downloaded and installed it in the past, but I was not able to get it working correctly. This was some time ago, and I am sure it is much improved since then.
If you are familiar with the OpenView/Network Node Manager product from HP then you will like OpenNMS. OpenNMS requires Java, SNMP, and PostgreSQL (anything else would be uncivilized). Installing OpenNMS is a no-brainer, as the developers have matured the product to a point where it rivals commercial (and sometimes better than commercial) installation software.
nmap
If you are looking to perform portscans on your network to see how well things are locked down, I suggest nmap. Below is some sample output from nmap:
Interesting ports on (192.168.1.1): (The 1545 ports scanned but not shown below are in state: closed) Port State Service 22/tcp open ssh 53/tcp open domain 2030/tcp open device2 32778/tcp filtered sometimes-rpc19Remote operating system guess: Linux 2.1.19 - 2.2.17 Uptime 10.959 days (since Sun Oct 7 16:26:15 2001)
Nmap run completed -- 1 IP address (1 host up) scanned in 3 seconds
nmap supports several different type of scans, including Stealth, Fin and Connect()-based scans. You can use it for operating system detection and different types of protocol scans, such as TCP ping versus ICMP ping.
You can also have nmap report the ident information of the machine you are scanning. A quick warning about running nmap: if you do use nmap for scanning -- you may want to make sure the machine you are scanning from is in your portsentry.ignore file. If you do not, you could find your machine blocked by the machine you are scanning.
Bastille Linux
Bastille Linux is a software package designed to secure or harden Linux. Bastille Linux supports Red Hat- and Mandrake-based systems. I have used Bastille in the past, and it works well. The one thing I enjoyed about Bastille is that it teaches you as you use it. Each step that you take with the program is explained. You are told why it is good, and what the potential side effects are. This makes Bastille not only a powerful hardening tool, but a teaching tool as well.
Snort
The last item I would like to bring up, and the one that I will be actually writing about next week, is Snort. Snort is an Open Source Network Intrusion Detection system that sports a large array of features, and is well respected within the network security community. It has customizable rulesets, the ability to log to databases, and work with other programs such as tcpdump.
Look for my column next week where we begin a series of installing and using the Snort Network Intrusion Detection System.
Published October 23, 2001 Reads 6,904
Copyright © 2001 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Joshua Drake
Joshua Drake is the co-founder of Command Prompt, Inc., a PostgreSQL and Linux custom development company. He is also the current author of the Linux Networking HOWTO, Linux PPP HOWTO, and Linux Consultants HOWTO. His most demanding project at this time is a new PostgreSQL book for O'Reilly, 'Practical PostgreSQL'
- Kindle 2 vs Nook
- Is Cloud Computing Like Teenage Sex?
- GovIT Expo Highlights Cloud Computing
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- Cloud Computing Can Revitalize Your Career as Software Developer
- Ubuntu-based Open Source Linux Mint Tests KDE Version
- Yahoo! SVP Shelton Shugar to Discuss Innovation at Cloud Computing Expo
- Virtualization Journal "Readers' Choice Awards" Voting Is Now Open
- Einstein, Sharks and Clouds: IT Security in the Cloud
- Adobe Flex Developer Earns $100K in New York City
- Virtualization Expo Call for Papers Deadline December 15
- Amazon Web Services Database in the Cloud
- Kindle 2 vs Nook
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- Is Cloud Computing Like Teenage Sex?
- 1st Annual GovIT Expo: Letter from the Technical Chair
- Ulitzer News: Search vs New Media
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Confessions of a Ulitzer Addict
- GovIT Expo Highlights Cloud Computing
- Twitter, Linked In, Ning and Ulitzer: Easy Personal Branding Strategy
- My Thoughts on Ulitzer
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- The i-Technology Right Stuff
- Linux.SYS-CON.com Exclusive: Linus Discloses *Real* Fathers of Linux
- After Ubuntu, Windows Looks Increasingly Bad, Increasingly Archaic, Increasingly Unfriendly
- Linus' Top Ten SCO Barbs
- A Closer Look at Damn Small Linux
- Netscape Co-Founder's 12 Reasons for Growth of Open Source
- Introducing "Cooperative Linux" - Linux for Windows, No Less
- *POINT - COUNTERPOINT SPECIAL* What's Wrong with the Open Source Community?
- Where Are RIA Technologies Headed in 2008?
- Linux.SYS-CON.com Exclusive: What Would UserLinux Look Like?
- i-Technology Viewpoint: The New Paradigm of IT Buying
- Is Linux Desktop-Ready Yet...or Not?


































