-
Computer Security Basics
-
Chapter 1 Introduction: Some Fundamental Questions
- What Is Computer Security?
- What Is an Operating System?
- What Is a Deployment Environment?
- Summary
-
Chapter 2 Unix History and Lineage
- History of Unix
- Security and Unix
- Role of This Book
- Summary
-
Chapter 3 Policies and Guidelines
- Planning Your Security Needs
- Risk Assessment
- Cost-Benefit Analysis and Best Practices
- Policy
- Compliance Audits
- Outsourcing Options
- The Problem with Security Through Obscurity
- Summary
-
-
Security Building Blocks
-
Chapter 4 Users, Passwords, and Authentication
- Logging in with Usernames and Passwords
- The Care and Feeding of Passwords
- How Unix Implements Passwords
- Network Account and Authorization Systems
- Pluggable Authentication Modules (PAM)
- Summary
-
Chapter 5 Users, Groups, and the Superuser
- Users and Groups
- The Superuser (root)
- The su Command: Changing Who You Claim to Be
- Restrictions on the Superuser
- Summary
-
Chapter 6 Filesystems and Security
- Understanding Filesystems
- File Attributes and Permissions
- chmod: Changing a File's Permissions
- The umask
- SUID and SGID
- Device Files
- Changing a File's Owner or Group
- Summary
-
Chapter 7 Cryptography Basics
- Understanding Cryptography
- Symmetric Key Algorithms
- Public Key Algorithms
- Message Digest Functions
- Summary
-
Chapter 8 Physical Security for Servers
- Planning for the Forgotten Threats
- Protecting Computer Hardware
- Preventing Theft
- Protecting Your Data
- Story: A Failed Site Inspection
- Summary
-
Chapter 9 Personnel Security
- Background Checks
- On the Job
- Departure
- Other People
- Summary
-
-
Network and Internet Security
-
Chapter 10 Modems and Dialup Security
- Modems: Theory of Operation
- Modems and Security
- Modems and Unix
- Additional Security for Modems
- Summary
-
Chapter 11 TCP/IP Networks
- Networking
- IP: The Internet Protocol
- IP Security
- Summary
-
Chapter 12 Securing TCP and UDP Services
- Understanding Unix Internet Servers and Services
- Controlling Access to Servers
- Primary Unix Network Services
- Managing Services Securely
- Putting It All Together: An Example
- Summary
-
Chapter 13 Sun RPC
- Remote Procedure Call (RPC)
- Secure RPC (AUTH_DES)
- Summary
-
Chapter 14 Network-Based Authentication Systems
- Sun's Network Information Service (NIS)
- Sun's NIS+
- Kerberos
- LDAP
- Other Network Authentication Systems
- Summary
-
Chapter 15 Network Filesystems
- Understanding NFS
- Server-Side NFS Security
- Client-Side NFS Security
- Improving NFS Security
- Some Last Comments on NFS
- Understanding SMB
- Summary
-
Chapter 16 Secure Programming Techniques
- One Bug Can Ruin Your Whole Day . . .
- Tips on Avoiding Security-Related Bugs
- Tips on Writing Network Programs
- Tips on Writing SUID/SGID Programs
- Using chroot( )
- Tips on Using Passwords
- Tips on Generating Random Numbers
- Summary
-
-
Secure Operations
-
Chapter 17 Keeping Up to Date
- Software Management Systems
- Updating System Software
- Summary
-
Chapter 18 Backups
- Why Make Backups?
- Backing Up System Files
- Software for Backups
- Summary
-
Chapter 19 Defending Accounts
- Dangerous Accounts
- Monitoring File Format
- Restricting Logins
- Managing Dormant Accounts
- Protecting the root Account
- One-Time Passwords
- Administrative Techniques for Conventional Passwords
- Intrusion Detection Systems
- Summary
-
Chapter 20 Integrity Management
- The Need for Integrity
- Protecting Integrity
- Detecting Changes After the Fact
- Integrity-Checking Tools
- Summary
-
Chapter 21 Auditing, Logging, and Forensics
- Unix Log File Utilities
- Process Accounting: The acct/pacct File
- Program-Specific Log Files
- Designing a Site-Wide Log Policy
- Handwritten Logs
- Managing Log Files
- Unix Forensics
- Summary
-
-
Handling Security Incidents
-
Chapter 22 Discovering a Break-in
- Prelude
- Discovering an Intruder
- Cleaning Up After the Intruder
- Case Studies
- Summary
-
Chapter 23 Protecting Against Programmed Threats
- Programmed Threats: Definitions
- Damage
- Authors
- Entry
- Protecting Yourself
- Preventing Attacks
- Summary
-
Chapter 24 Denial of Service Attacks and Solutions
- Types of Attacks
- Destructive Attacks
- Overload Attacks
- Network Denial of Service Attacks
- Summary
-
Chapter 25 Computer Crime
- Your Legal Options After a Break-in
- Criminal Hazards
- Criminal Subject Matter
- Summary
-
Chapter 26 Who Do You Trust?
- Can You Trust Your Computer?
- Can You Trust Your Suppliers?
- Can You Trust People?
- Summary
-
-
Appendixes
-
Appendix A Unix Security Checklist
- Preface
- Chapter 1: Introduction: Some Fundamental Questions
- Chapter 2: Unix History and Lineage
- Chapter 3: Policies and Guidelines
- Chapter 4: Users, Passwords, and Authentication
- Chapter 5: Users, Groups, and the Superuser
- Chapter 6: Filesystems and Security
- Chapter 7: Cryptography Basics
- Chapter 8: Physical Security for Servers
- Chapter 9: Personnel Security
- Chapter 10: Modems and Dialup Security
- Chapter 11: TCP/IP Networks
- Chapter 12: Securing TCP and UDP Services
- Chapter 13: Sun RPC
- Chapter 14: Network-Based Authentication Systems
- Chapter 15: Network Filesystems
- Chapter 16: Secure Programming Techniques
- Chapter 17: Keeping Up to Date
- Chapter 18: Backups
- Chapter 19: Defending Accounts
- Chapter 20: Integrity Management
- Chapter 21: Auditing, Logging, and Forensics
- Chapter 22: Discovering a Break-In
- Chapter 23: Protecting Against Programmed Threats
- Chapter 24: Denial of Service Attacks and Solutions
- Chapter 25: Computer Crime
- Chapter 26: Who Do You Trust?
- Appendix A: Unix Security Checklist
- Appendix B: Unix Processes
- Appendixes C, D, and E: Paper Sources, Electronic Sources, and Organizations
-
Appendix B Unix Processes
- About Processes
- Signals
- Controlling and Examining Processes
- Starting Up Unix and Logging In
-
Appendix C Paper Sources
- Unix Security References
- Other Computer References
-
Appendix D Electronic Resources
- Mailing Lists
- Web Sites
- Usenet Groups
- Software Resources
-
Appendix E Organizations
- Professional Organizations
- U.S. Government Organizations
- Emergency Response Organizations
-
-
Colophon
- Title:
- Practical UNIX and Internet Security, Third Edition
- By:
- Simson Garfinkel, Gene Spafford, Alan Schwartz
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- February 2003
- Pages:
- 992
- Print ISBN:
- 978-0-596-00323-4
- | ISBN 10:
- 0-596-00323-4
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The image on the cover of Practical Unix and Internet Security, Third Edition, is a safe. The concept of a safe has been with us for a long time. Methods for keeping valuables safely have been in use since the beginning of recorded history. The first physical structures that we think of as safes were developed by the Egyptians, Greeks, and Romans. These early safes were simply wooden boxes. In the Middle Ages and Renaissance in Europe, these wooden box safes started being reinforced with metal bands, and some were equipped with locks. The first all-metal safe was developed in France in 1820. Matt Hutchinson was the production editor and proofreader for Practical Unix and Internet Security, Third Edition. Emily Quill, Jane Ellin, and Claire Cloutier provided quality control. Genevieve d'Entremont, Sue Willing, David Read, and Mary Brady provided production assistance. Angela Howard wrote the index.
Edie Freedman designed the cover of this book, using a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with Quark-XPress 4.1 using Adobe's ITC Garamond font.
Bret Kerr designed the interior layout, based on a series design by David Futato. This book was converted by Joe Wizda to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Matt Hutchinson.
