Building Secure Software
Home > Computing and Information Technology > Computer networking and communications > Network security > Building Secure Software: How to Avoid Security Problems the Right Way
Building Secure Software: How to Avoid Security Problems the Right Way

Building Secure Software: How to Avoid Security Problems the Right Way

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

Most organizations have a firewall, antivirus software, and intrusion detection systems, all of which are intended to keep attackers out. So why is computer security a bigger problem today than ever before? The answer is simple--bad software lies at the heart of all computer security problems. Traditional solutions simply treat the symptoms, not the problem, and usually do so in a reactive way. This book teaches you how to take a proactive approach to computer security. Building Secure Software cuts to the heart of computer security to help you get security right the first time. If you are serious about computer security, you need to read this book, which includes essential lessons for both security professionals who have come to realize that software is the problem, and software developers who intend to make their code behave. Written for anyone involved in software development and use—from managers to coders—this book is your first step toward building more secure software. Building Secure Software provides expert perspectives and techniques to help you ensure the security of essential software. If you consider threats and vulnerabilities early in the devel-opment cycle you can build security into your system. With this book you will learn how to determine an acceptable level of risk, develop security tests, and plug security holes before software is even shipped. Inside you'll find the ten guiding principles for software security, as well as detailed coverage of: Software risk management for security Selecting technologies to make your code more secure Security implications of open source and proprietary software How to audit software The dreaded buffer overflow Access control and password authentication Random number generation Applying cryptography Trust management and input Client-side security Dealing with firewalls Only by building secure software can you defend yourself against security breaches and gain the confidence that comes with knowing you won't have to play the "penetrate and patch" game anymore. Get it right the first time. Let these expert authors show you how to properly design your system; save time, money, and credibility; and preserve your customers' trust.

Table of Contents:
Foreword. Preface. Organization. Code Examples. Contacting Us. Acknowledgments. 1. Introduction to Software Security. It's All about the Software. Dealing with Widespread Security Failures. Bugtraq. CERT Advisories. RISKS Digest. Technical Trends Affecting Software Security. The 'ilities. What Is Security?. Isn't That Just Reliability? Penetrate and Patch Is Bad. On Art and Engineering. Security Goals. Prevention. Traceability and Auditing. Monitoring. Privacy and Confidentiality. Multilevel Security. Anonymity. Authentication. Integrity. Know Your Enemy: Common Software Security Pitfalls. Software Project Goals. Conclusion. 2. Managing Software Security Risk. An Overview of Software Risk Management for Security. The Role of Security Personnel. Software Security Personnel in the Life Cycle. Deriving Requirements. Risk Assessment. Design for Security. Implementation. Security Testing. A Dose of Reality. Getting People to Think about Security. Software Risk Management in Practice. When Development Goes Astray. When Security Analysis Goes Astray. The Common Criteria. Conclusion. 3. Selecting Technologies. Choosing a Language. Choosing a Distributed Object Platform. CORBA. DCOM. EJB and RMI. Choosing an Operating System. Authentication Technologies. Host-Based Authentication. Physical Tokens. Biometric Authentication. Cryptographic Authentication. Defense in Depth and Authentication. Conclusion. 4. On Open Source and Closed Source. Security by Obscurity. Reverse Engineering. Code Obfuscation. Security for Shrink-Wrapped Software. Security by Obscurity Is No Panacea. The Flip Side: Open-Source Software. Is the “Many-Eyeballs Phenomenon<170) Real? Why Vulnerability Detection Is Hard. Other Worries. On Publishing Cryptographic Algorithms. Two More Open-Source Fallacies. The Microsoft Fallacy. The Java Fallacy. An Example: GNU Mailman Security. More Evidence: Trojan Horses. To Open Source or Not to Open Source. Another Security Lesson from Buffer Overflows. Beating the Drum. Conclusion. 5. Guiding Principles for Software Security. Principle 1: Secure the Weakest Link. Principle 2: Practice Defense in Depth. Principle 3: Fail Securely. Principle 4: Follow the Principle of Least Privilege. Principle 5: Compartmentalize. Principle 6: Keep It Simple. Principle 7: Promote Privacy. Principle 8: Remember That Hiding Secrets Is Hard. Principle 9: Be Reluctant to Trust. Principle 10: Use Your Community Resources. Conclusion. 6. Auditing Software. Architectural Security Analysis. Attack Trees. Reporting Analysis Findings. Implementation Security Analysis. Auditing Source Code. Source-level Security Auditing Tools. Using RATS in an Analysis. The Effectiveness of Security Scanning of Software. Conclusion. 7. Buffer Overflows. What Is a Buffer Overflow? Why Are Buffer Overflows a Security Problem? Defending against Buffer Overflow. Major Gotchas. Internal Buffer Overflows. More Input Overflows. Other Risks. Tools That Can Help. Smashing Heaps and Stacks. Heap Overflows. Stack Overflows. Decoding the Stack. To Infinity and Beyond! Attack Code. A UNIX Exploit. What About Windows? Conclusion. 8. Access Control. The UNIX Access Control Model. How UNIX Permissions Work. Modifying File Attributes. Modifying Ownership. The umask. The Programmatic Interface. Setuid Programming. Access Control in Windows NT. Compartmentalization. Fine-Grained Privileges. Conclusion. 9. Race Conditions. What Is a Race Condition? Time-of-Check, Time-of-Use. Broken passwd. Avoiding TOCTOU Problems. Secure File Access. Temporary Files. File Locking. Other Race Conditions. Conclusion. 10. Randomness and Determinism. Pseudo-random Number Generators. Examples of PRNGs. The Blum-Blum-Shub PRNG. The Tiny PRNG. Attacks Against PRNGs. How to Cheat in On-line Gambling. Statistical Tests on PRNGs. Entropy Gathering and Estimation. Hardware Solutions. Software Solutions. Poor Entropy Collection: How to Read “Secret” Netscape Messages. Handling Entropy. Practical Sources of Randomness. Tiny. Random Numbers for Windows. Random Numbers for Linux. Random Numbers in Java. Conclusion. 11. Applying Cryptography. General Recommendations. Developers Are Not Cryptographers. Data Integrity. Export Laws. Common Cryptographic Libraries. Cryptlib. OpenSSL. Crypto++. BSAFE. Cryptix. Programming with Cryptography. Encryption. Hashing. Public Key Encryption. Threading. Cookie Encryption. More Uses for Cryptographic Hashes. SSL and TLS (Transport Layer Security. Stunnel. One-Time Pads. Conclusion. 12. Trust Management and Input Validation. A Few Words on Trust. Examples of Misplaced Trust. Trust Is Transitive. Protection from Hostile Callers. Invoking Other Programs Safely. Problems from the Web. Client-side Security. Perl Problems. Format String Attacks. Automatically Detecting Input Problems. Conclusion. 13. Password Authentication. Password Storage. Adding Users to a Password Database. Password Authentication. Password Selection. More Advice. Throwing Dice. Passphrases. Application-Selected Passwords. One-Time Passwords. Conclusion. 14. Database Security. The Basics. Access Control. Using Views for Access Control. Field Protection. Security against Statistical Attacks. Conclusion. 15. Client-side Security. Copy Protection Schemes. License Files. Thwarting the Casual Pirate. Other License Features. Other Copy Protection Schemes. Authenticating Untrusted Clients. Tamperproofing. Antidebugger Measures. Checksums. Responding to Misuse. Decoys. Code Obfuscation. Basic Obfuscation Techniques. Encrypting Program Parts. Conclusion. 16. Through the Firewall. Basic Strategies. Client Proxies. Server Proxies. SOCKS. Peer to Peer. Conclusions. Appendix A. Cryptography Basics. The Ultimate Goals of Cryptography. Attacks on Cryptography. Types of Cryptography. Symmetric Cryptography. Types of Symmetric Algorithms. Security of Symmetric Algorithms. Public Key Cryptography. Cryptographic Hashing Algorithms. Other Attacks on Cryptographic Hashes. What's a Good Hash Algorithm to Use? Digital Signatures. Conclusions. References. Index.


Best Sellers


Product Details
  • ISBN-13: 9780321624000
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Language: English
  • Sub Title: How to Avoid Security Problems the Right Way
  • ISBN-10: 0321624009
  • Publisher Date: 24 Sep 2001
  • Binding: Digital download
  • No of Pages: 523


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Building Secure Software: How to Avoid Security Problems the Right Way
Pearson Education (US) -
Building Secure Software: How to Avoid Security Problems the Right Way
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Building Secure Software: How to Avoid Security Problems the Right Way

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!