Ethical Hacking and Countermeasures: Threats and Defense Mechanisms
Total Page:16
File Type:pdf, Size:1020Kb
EC-Council | Press The Experts: EC-Council EC-Council’s mission is to address the need for well educated and certifi ed information security and e-business practitioners. EC-Council is a global, member based organization comprised of hundreds of industry and subject matter experts all working together to set the standards and raise the bar in Information Security certifi cation and education. EC-Council certifi cations are viewed as the essential certifi cations needed where standard confi guration and security policy courses fall short. Providing a true, hands-on, tactical approach to security, individuals armed with the knowledge disseminated by EC-Council programs are securing networks around the world and beating the hackers at their own game. The Solution: EC-Council Press The EC-Council | Press marks an innovation in academic text books and courses of study in information security, computer forensics, disaster recovery, and end-user security. By repurposing the essential content of EC-Council’s world class professional certifi cation programs to fi t academic programs, the EC-Council | Press was formed. With 8 Full Series, comprised of 27 different books, the EC-Council | Press is set to revolutionize global information security programs and ultimately create a new breed of practitioners capable of combating this growing epidemic of cybercrime and the rising threat of cyber war. This Certifi cation: C|EH – Certifi ed Ethical Hacker Certifi ed Ethical Hacker is a certifi cation designed to immerse the learner in an interactive environment where they will learn how to scan, test, hack and secure information systems. Ideal candidates for the C|EH program are security professionals, site administrators, security offi cers, auditors or anyone who is concerned with the integrity of a network infrastructure. The goal of the Ethical Hacker is to help the organization take preemptive measures against malicious attacks by attacking the system himself; all the while staying within legal limits. Additional Certifi cations Covered By EC-Council Press: Security|5 C|HFI - Computer Hacking Forensic Investigator E|NSA – EC-Council Security|5 is an entry level certifi cation for Computer Hacking Forensic Investigation is the Network Security Administrator anyone interested in learning computer process of detecting hacking attacks and properly The E|NSA program is designed to provide networking and security basics. Security|5 extracting evidence to report the crime and fundamental skills needed to analyze the internal means 5 components of IT security: fi rewalls, conduct audits to prevent future attacks. The C|HFI and external security threats against a network, anti-virus, IDS, networking, and web security. materials will give participants the necessary skills and to develop security policies that will protect Wireless|5 to identify an intruder’s footprints and to properly an organization’s information. gather the necessary evidence to prosecute. Wireless|5 introduces learners to the basics E|CSA - EC-Council Certifi ed Security Analyst of wireless technologies and their practical E|DRP – EC-Council Disaster Recovery Professional The objective of E|CSA is to add value to experienced adaptation. Learners are exposed to various E|DRP covers disaster recovery topics, including security professionals by helping them analyze wireless technologies; current and emerging identifying vulnerabilities, establishing policies and the outcomes of their tests. It is the only in-depth standards; and a variety of devices. roles to prevent and mitigate risks, and develop- Advanced Hacking and Penetration Testing Network|5 ing disaster recovery plans. certifi cation available that covers testing in all modern infrastructures, operating systems, and Network|5 covers the ‘Alphabet Soup of application environments. Networking’ – the basic core knowledge to know how infrastructure enables a work environment, to help students and employees succeed in an integrated work environment. Threats and Defense Mechanisms EC-Council | Press Volume 2 of 5 mapping to ™ C E H Certified Ethical Hacker Certification Australia • Brazil • Japan • Korea • Mexico • Singapore • Spain • United Kingdom • United States Threats and Defense Mechanisms: © 2010 EC-Council EC-Council Press ALL RIGHTS RESERVED. No part of this work covered by the copyright herein may be Course Technology/Cengage Learning reproduced, transmitted, stored, or used in any form or by any means graphic, electronic, Staff : or mechanical, including but not limited to photocopying, recording, scanning, digitizing, taping, Web distribution, information networks, or information storage and retrieval Vice President, Career and Professional systems, except as permitted under Section 107 or 108 of the 1976 United States Editorial: Dave Garza Copyright Act, without the prior written permission of the publisher. Director of Learning Solutions: Matthew Kane Executive Editor: Stephen Helba For product information and technology assistance, contact us at Managing Editor: Marah Bellegarde Cengage Learning Customer & Sales Support, 1-800-354-9706 Editorial Assistant: Meghan Orvis For permission to use material from this text or product, Vice President, Career and Professional submit all requests online at www.cengage.com/permissions. Marketing: Jennifer Ann Baker Further permissions questions can be e-mailed to Marketing Director: Deborah Yarnell [email protected] Marketing Manager: Erin Coffi n Marketing Coordinator: Shanna Gibbs Production Director: Carolyn Miller Library of Congress Control Number: 2009933521 Production Manager: Andrew Crouth ISBN- 13 978-1-4354-8361-3 Content Project Manager: ISBN-10: 1-4354-8361-8 Brooke Greenhouse Senior Art Director: Jack Pendleton Cengage Learning EC-Council: 5 Maxwell Drive Clifton Park, NY 12065-2919 President | EC-Council: Sanjay Bavisi USA Sr. Director US | EC-Council: Steven Graham Cengage Learning is a leading provider of customized learning solutions with offi ce locations around the globe, including Singapore, the United Kingdom, Australia, Mexico, Brazil, and Japan. Locate your local offi ce at: international.cengage.com/region Cengage Learning products are represented in Canada by Nelson Education, Ltd. For more learning solutions, please visit our corporate website at www.cengage.com NOTICE TO THE READER Cengage Learning and EC-Council do not warrant or guarantee any of the products described herein or perform any independent analysis in connection with any of the product information contained herein. Cengage Learning and EC-Council do not assume, and expressly disclaim, any obligation to obtain and include information other than that provided to it by the manufacturer. The reader is expressly warned to consider and adopt all safety precautions that might be indicated by the activities described herein and to avoid all potential hazards. By following the instructions contained herein, the reader willingly assumes all risks in connection with such instructions. Cengage Learning and EC-Council make no representations or warranties of any kind, including but not limited to, the warranties of fi tness for particular purpose or merchantability, nor are any such representations implied with respect to the material set forth herein, and Cengage Learning and EC-Council take no responsibility with respect to such material. Cengage Learning and EC-Council shall not be liable for any special, consequential, or exemplary damages resulting, in whole or part, from the readers’ use of, or reliance upon, this material. Printed in the United States of America 1 2 3 4 5 6 7 12 11 10 09 Brief Table of Contents TABLE OF CONTENTS . .v PREFACE . xi ACKNOWLEDGEMENT . xvii CHAPTER 1 Trojans and Backdoors . .1-1 CHAPTER 2 Viruses and Worms . .2-1 CHAPTER 3 Sniffers . .3-1 CHAPTER 4 Social Engineering . .4-1 CHAPTER 5 Phishing . .5-1 CHAPTER 6 Denial of Service . .6-1 CHAPTER 7 Buffer Overflows . .7-1 INDEX . I-1 iii This page intentionally left blank Table of Contents PREFACE . xi CHAPTER 1 Trojans and Backdoors . 1-1 Objectives . .1-1 Key Terms . .1-1 Case Example . .1-2 Introduction to Trojans and Backdoors . .1-2 What Is a Trojan? . .1-2 Reasons for Creating Trojans . 1-3 Overt and Covert Channels . 1-3 Trojan Functions . 1-4 Different Ways a Trojan Can Get into a System . 1-5 Different Types of Trojans . 1-9 Tools Used by Trojan Creators . .1-11 Famous Trojans . 1-26 Trojan Countermeasures . 1-44 Security Risks . 1-60 Microsoft Windows System Process Files . 1-61 Microsoft Windows Application Files . ..