Improving the Security of Your Unix System
July 27, 2026 · 618 KB
Out of the box, UNIX shipped in 1990 with little or no security turned on. This SRI International report, written after the 1988 Internet worm, tells administrators how to lock down accounts, networks and files.
Overview
UNIX was built by programmers for programmers, in labs where sharing files was the point. By 1990 it ran payroll, bookkeeping and sensitive government work, yet vendors still installed it much as they had 15 years earlier, with little or no security turned on. This April 1990 final report by David A. Curry, a systems programmer at SRI International in Menlo Park, California, sets out to fix that.
Recent Attacks
The report opens with recent attacks. On November 2, 1988, a self-copying worm spread across the Internet overnight, swamping machines with load. It infected only two kinds of computers and destroyed no files, but sites including parts of MIT, NASA centers and the Jet Propulsion Laboratory cut their links to avoid reinfection. The Defense Communications Agency shut the connections between MILNET and ARPANET for nearly 24 hours, which the report calls perhaps the worst choice, since the first fixes were sent over the network. The worm's author was convicted by a federal jury in January 1990.
A second case began in 1986 at Lawrence Berkeley Laboratory. Its administrator watched an intruder for 10 months as he attacked more than 400 computers and got into about 30, many at military bases and defense contractors. The intruder sought files on the Strategic Defense Initiative and other military topics. Five men in West Germany were charged with espionage in 1989 for selling such material to the KGB, and three were convicted in 1990.
Core Areas
The core of the report covers three areas, using Sun's SunOS 4.x as the main example. Account security comes first, since the password is the most vital defense. Curry explains how UNIX one-way password encryption works and warns against easy passwords, unused or guest accounts and accounts with no password at all. Network security covers the risks of "trusted host" files that allow logins without a password, the file transfer service tftp, electronic mail and the Network File System, which as shipped by Sun let any Internet host reach shared files. He describes firewalls, then a newer idea, as hosts that hide an internal network from the outside. File system security covers permissions, default settings for new files and privileged programs.
Monitoring
Later sections cover watching log files and the system itself for intrusions, and free tools such as COPS, a set of scripts that checks for common holes. The report describes Sun's optional security features, including shadow password files, and the Kerberos authentication system. It points readers to the Computer Emergency Response Team, set up by DARPA in December 1988 and run by Carnegie Mellon's Software Engineering Institute, and to mailing lists that report new security flaws.
Limits
Curry admits no system can be made fully secure short of locking it in a room and turning it off. He argues that most crackers attack any vulnerable machine rather than a chosen target. Closing the well-known holes and monitoring for others will stop all but the most determined.
He uses "cracker" rather than "hacker" throughout, out of respect for the original, honorable meaning of the word.
Why It Matters
It is an early, practical guide to securing networked computers, written as the Internet first faced large-scale attacks.
