UNIX Security Presentation - Fall 2000

Agenda - status.lsu.edu/security/

This page is a working document and will be updated as time and events require and permit.

The agenda for today's talk is:

Return to the Top of Page





Introduction

"Security" is not a single act, but rather a process and a method of thinking. There needs to be a continual cycle of analysis, implementation, testing, and re-evaluation for security to function properly within an organization.

Possibly the most important aspect of security is education. It's essential that Managers, Directors and other Executives in the organization understand the security process and know its implications so they can justify the time spent on security measures, and so that a security policy can be developed for your organization. A well written and thought out security policy, written by Managers and Information Technology workers alike, and with authority and cooperation behind it, provides a vehicle for all other security functions within the organization.

Information Technology workers, like Systems Administrators, need education to make them aware of security threats as well as to provide them the knowledge to protect their systems. The security policy helps to define expectations of these workers as well as justifies time spent on security measures. To aid in this education, the Security Focus site has an excellent Security Basics section for the beginner who is earnestly interested in learning about the field.

We've segmented the topic of UNIX Security into the following categories:

Return to the Top of Page





Developing a Security Policy

A security policy is a living document that indicates the events requiring a response and guides the actions you take. In other words, it should make clear what securing a system means, what an intrusion is, and what the appropriate authorized response to an event is. Don't attempt to have your policy cover every possiblility, it just makes it easier for an intruder to leverage the legal system in their favor to get out of trouble due to a "loophole" in your policy. Rather, keep the policy at a higher level, but technically current, generalizing unauthorized behavior and the warrented response.

The policy should be the result of collaboration between the Managers and the IT workers. There should be a scheduled review cycle, and each intrusion should be viewed as an "opportunity" to refine the policy.

Return to the Top of Page





Locking Down

Perhaps the best starting point in securing systems, after a policy statement has been created, is to prevent intruders from being able to get into your systems. Below are a few topics to consider when "locking the doors" to your UNIX machines. This list is not comprehensive, but should serve as a good beginning.

Return to the Top of Page





Logging

Logging provides invaluable clues as to what's going on in your system as well as to what others are attempting to do with your system - so make sure you make the most of it. Take the time to understand each service on your machines and it's logging capabilities. Know where your logs are and learn how to analyze them.

Here are several logging issues to consider:

Return to the Top of Page





Detecting

Hopefully monitoring your logs will tip you off to suspicious activity. But, how do you go from suspicion to confirmatoin? There are several tools available that can "automagically" alert you to changes in the system, like TripWire. These, used along with some other by-hand techniques will more often than not tell you if a system has been compromised.

The most recent types of compromises involve root-kits. root-kits are a package that provides a set of replacement programs for all the standard utilities, like ps, ls, find, etc. The root-kit tools are designed to hide all traces of the intruder being in your system (see rootshell for more info on root-kits).

root-kits exist primarily for GNU/Linux and Sun environments, but almost any system can have their standard utilities replaced. Most intruders place the root-kit configuration files in the /dev structure, but due to replacement of ls and find, it can be very hard to detect the new entries.

Return to the Top of Page





Testing

If you don't check the security of your systems, intruders will be glad to do it for you. It's imperative for a Systems Administrator to routinely check the external security of their machines. Several tools exist to check / probe your machines for openings.

It's also very important to update your testing software or add the latest modules to the testing suite.

If you are responsible for an entire network (subnet) worth of machines, you should announce that you are going to scan / test the entire network before you actually do it-- you might be surprised how many other people are watching and will detect your scans!

Return to the Top of Page





Recovering

Many (if not all) systems will be compromised. The first step to recovery is admitting you've been "taken". The best solution is to reinstall the system and recover known-good data. Quite often, however, it's necessary to recover in-place a compromised system.

The first rule of recovery is to not trust any of the data you see. Initially, it's impossible to tell what parts of the system the intruder has modified (including logs, applications, data, etc.)

Return to the Top of Page





LSU Specifics

Return to the Top of Page





Conclusion

Dr. Emilio A. Icaza, Director of High Performance Computing for the Office of Computing Services at LSU.
Isaac W. Traxler, Systems Administrator with High Performance Computing.
Brian D. Ropers-Huilman, Systems Administrator with High Performance Computing.

Special thanks to:

Return to the Top of Page









The statements and opinions included in these pages are those of Isaac W. Traxler, Brian D. Ropers-Huilman only. Any statements and opinions included in these pages are NOT those of Louisiana State University or the LSU Board of Supervisors.
© 1999-2001 Isaac W. Traxler, Brian D. Ropers-Huilman

This page last updated 2001/05/17 10:40:54.