Re-tooling?

October 17, 2001, 04:46 PM —  Unix Insider — 

Consider your to-do list, based on your
security plan. It should include one or more of the following steps:


  1. Scan the system for known OS holes and fix them



  2. Check for generic Unix problems and fix them



  3. Check directory structure for proper permissions



  4. Check for network-attack vulnerabilities



  5. Check for bad user (and root) passwords



  6. Determine who has the root password and if it isn't
    needed, take it away from them




  7. Install tools to monitor the system and generate
    alerts when the system file is altered



  8. Log all network connections



  9. Limit access to network daemons



  10. Prevent users from choosing easy-to-guess passwords

We'll address the first half of that list this month, and the rest next
month.


Scan the system for known OS holes and fix them

There are some holes that the available tools do not check for. These
include recent problems, under-publicized problems, and problems
specific to your site. For these, you need to keep alert to current
problems. Methods include the bug list in this
column, CERT advisories, and mailing lists like
"sneakers."


Check for generic Unix problems and fix them;


Check directory structure for proper permissions

The second and third step can be accomplished by two worthy and free
tools.
The tools are Tiger
and COPS.
Tiger is more up-to-date and more inclusive than COPS, so
it's the one I recommend.
(Note: the TAMU ftp server does not seem to respond well to WWW browser
HTML links, so you may need to step back in time and use ol'
ftp to grab Tiger.)

Running tiger (the executable for the Tiger package)
produces an extensive system scan. Depending on the size and speed of
the system, the check can take from 15 minutes to several hours. Also
note that it is CPU and disk intensive. Here is a snippet from the
beginning of its report:

# ./tiger     
Configuring...

Will try to check using config for 'sun4m' running SunOS 5.3...
--CONFIG-- [con004c] Using configuration files for SunOS 5.3.
Tiger security scripts *** 2.2.3, 1994.0309.2038 ***
12:20> Beginning security report for tanis.
12:20> Starting file systems scans in background...
12:20> Checking password files...
12:20> Checking group files...
12:20> Checking user accounts...
12:20> Checking .rhosts files...
12:20> Checking .netrc files...
12:20> Checking PATH settings...
12:23> Checking anonymous ftp setup...
12:23> Checking mail aliases...
12:23> Checking cron entries...
12:24> Checking 'inetd' configuration...
./scripts/sub/check_devs: bad substitution
12:25> Checking NFS export entries...
12:25> Checking permissions and ownership of system files...
12:26> Checking for altered or out of date binaries...
12:27> Checking for indications of breakin...
12:27> Performing system specific checks...
12:27> Performing check of embedded pathnames...
12:44> Waiting for filesystems scans to complete...
12:44> Filesystems scans completed...
12:44> Security report completed for tanis.
Security report is in `./security.report.tanis.950907-12:20'.

One problem with Tiger is that in some ways it is too
complete. The output from the above run, on a standard-installation
SPARCstation 5, was 782 KB. The output can be even more voluminous if
you install the appropriate signatures for your system. These
are secure checksums of system files based on the original release
of the operating system. Tiger compares the signatures to the current
checksums of your system files, and reports any differences. Files
that are different from the standard release may have

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
Resources
White Paper

Symantec Backup Exec 12 and Backup Exec System Recovery 8 deliver industry leading Windows data protection and system recovery. Download this whitepaper to find out the top reasons to upgrade and how to get continuous data protection and complete system recovery.

Webcast

Data and system loss — from a hard drive failure, malicious attack, natural disaster, or simple human error — can happen anytime. Don’t leave your business vulnerable. Make sure you have a secure recovery strategy in place. Symantec's latest backup and system recovery technology can efficiently restore critical applications, individual emails and documents and even restore your entire system in minutes in the event of a loss.

White Paper

Businesses face a growing challenge to ensure that the IT environment is properly protected. Backup Exec 12 integrates with other applications in the Symantec family of products, to complement your current data protection strategy, keep your data securely backed up and make it recoverable when you need it most.

Free stuff

VMware ESX Server in the Enterprise
By Edward L. Haletky
Published Dec 29, 2007 by Prentice Hall.
Enter now! | Official rules | Sample chapter

Green IT
By Toby Velte, Anthony Velte, Robert C. Elsenpeter
To be published Oct. 10, 2008 by McGraw Hill Professional
Enter now! | Official rules | About the book

Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

More Resources