O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Malware: Fighting Malicious Code

Book Description

  • Reveals how attackers install malicious code and how they evade detection

  • Shows how you can defeat their schemes and keep your computers and network safe!

  • Details viruses, worms, backdoors, Trojan horses, RootKits, and other threats

  • Explains how to handle today's threats, with an eye on handling the threats to come

"This is a truly outstanding book-enormous technical wealth and beautifully written."
—Warwick Ford

"Ed does it again, piercing the veil of mystery surrounding many of the more technical aspects of computer security!"
—Harlan Carvey, CISSP

"This book is entertaining and informative, while justifiably scaring you. Luckily it also tells you how to protect yourself, but makes you realize it's going to be a permanent spy-vs-spy struggle."
—Radia Perlman, Distinguished Engineer, Sun Microsystems

Keep control of your systems out of the hands of unknown attackers

Ignoring the threat of malware is one of the most reckless things you can do in today's increasingly hostile computing environment. Malware is malicious code planted on your computer, and it can give the attacker a truly alarming degree of control over your system, network, and data-all without your knowledge! Written for computer pros and savvy home users by computer security expert Edward Skoudis, Malware: Fighting Malicious Code covers everything you need to know about malware, and how to defeat it!

This book devotes a full chapter to each type of malware-viruses, worms, malicious code delivered through Web browsers and e-mail clients, backdoors, Trojan horses, user-level RootKits, and kernel-level manipulation. You'll learn about the characteristics and methods of attack, evolutionary trends, and how to defend against each type of attack. Real-world examples of malware attacks help you translate thought into action, and a special defender's toolbox chapter shows how to build your own inexpensive code analysis lab to investigate new malware specimens on your own. Throughout, Skoudis' clear, engaging style makes the material approachable and enjoyable to learn. This book includes:

  • Solutions and examples that cover both UNIX® and Windows®

  • Practical, time-tested, real-world actions you can take to secure your systems

  • Instructions for building your own inexpensive malware code analysis lab so you can get familiar with attack and defensive tools harmlessly!

Malware: Fighting Malicious Code is intended for system administrators, network personnel, security personnel, savvy home computer users, and anyone else interested in keeping their systems safe from attackers.

Table of Contents

  1. Copyright
  2. Prentice Hall PTR Series in Computer Networking and Distributed Systems
  3. About Prentice Hall Professional Technical Reference
  4. Foreword
  5. Acknowledgments
  6. Introduction
    1. Defining the Problem
    2. Why Is Malicious Code So Prevalent?
    3. Types of Malicious Code
    4. Malicious Code History
    5. Why This Book?
    6. What To Expect
    7. References
  7. Viruses
    1. The Early History of Computer Viruses
    2. Infection Mechanisms and Targets
    3. Virus Propagation Mechanisms
    4. Defending against Viruses
    5. Malware Self-Preservation Techniques
    6. Conclusions
    7. Summary
    8. References
  8. Worms
    1. Why Worms?
    2. A Brief History of Worms
    3. Worm Components
    4. Impediments to Worm Spread
    5. The Coming Superworms
    6. Bigger Isn't Always Better: The Un-Superworm
    7. Worm Defenses
    8. Conclusions
    9. Summary
    10. References
  9. Malicious Mobile Code
    1. Browser Scripts
    2. ActiveX Controls
    3. Java Applets
    4. Mobile Code in E-Mail Clients
    5. Distributed Applications and Mobile Code
    6. Additional Defenses against Malicious Mobile Code
    7. Conclusions
    8. Summary
    9. References
  10. Backdoors
    1. Different Kinds of Backdoor Access
    2. Installing Backdoors
    3. Starting Backdoors Automatically
    4. All-Purpose Network Connection Gadget: Netcat
    5. GUIs Across the Network, Starring Virtual Network Computing
    6. Backdoors without Ports
    7. Conclusions
    8. Summary
    9. References
  11. Trojan Horses
    1. What's in a Name?
    2. Wrap Stars
    3. Trojaning Software Distribution Sites
    4. Poisoning the Source
    5. Co-opting a Browser: Setiri
    6. Hiding Data in Executables: Stego and Polymorphism
    7. Conclusions
    8. Summary
    9. References
  12. User-Mode RootKits
    1. UNIX User-Mode RootKits
    2. Windows User-Mode RootKits
    3. Conclusions
    4. Summary
    5. References
  13. Kernel-Mode RootKits
    1. What Is the Kernel?
    2. Kernel Manipulation Impact
    3. The Linux Kernel
    4. The Windows Kernel
    5. Conclusions
    6. Summary
    7. References
  14. Going Deeper
    1. Setting the Stage: Different Layers of Malware
    2. Going Deeper: The Possibility of BIOS and Malware Microcode
    3. Combo Malware
    4. Conclusions
    5. Summary
    6. References
  15. Scenarios
    1. Scenario 1: A Fly in the Ointment
    2. Scenario 2: Invasion of the Kernel Snatchers
    3. Scenario 3: Silence of the Worms
    4. Conclusions
    5. Summary
  16. Malware Analysis
    1. Building a Malware Analysis Laboratory
    2. Malware Analysis Process
    3. Conclusion
    4. Summary
    5. References
  17. Conclusion
    1. Useful Web Sites for Keeping Up
    2. Parting Thoughts