No matter what field you work in, you cannot help but notice the impact that the Internet has had on society. It has opened up opportunities and markets that people only dreamed of before. As with any new technology, there is always a positive and negative aspect. The positive side is the tremendous business opportunities. The negative side is the huge security risk that is now posed to so many companies, yet few companies are truly aware of the potential danger. It’s like getting in a brand new car and driving down the road at 80mph, only to realize that the engineers did not equip the car. | ERIC COLE k i Am C C N -WM Ir M 9 9 Qrwv IM 0 Oi M M f jRHt V rMNt -Uro Mr MMar TlN WrMI WM HACKERS BEWARE DEFENDING YOUR NETWORK FROM THE WILEY HACKER He j Riders FRIt EÜLE HACKERS BEWARE Hackers Beware Eric Cole Publisher New Riders Publishing First Edition August 13 2001 ISBN 0-7357-1009-0 800 pages A good defense starts with a thorough understanding of your opponent s offense. Hackers Beware teaches you how hackers think what tools they use and the techniques they utilize to compromise a machine. Eric Cole a leading expert in information security shows you not only how to detect these attacks but what you can do to protect yourself against them. When it comes to securing your site knowledge is power. This book gives you the knowledge to build a proper defense against attackers. Copyright 2002 by New Riders Publishing FIRST EDITION August 2001 All rights reserved. No part of this book may be reproduced or transmitted in any form or by any means electronic or mechanical including photocopying recording or by any information storage and retrieval system without written permission from the publisher except for the inclusion of brief quotations in a review. Library of Congress Catalog Card Number 00102952 06 05 04 03 02 7 6 5 4 3 2 1 Interpretation of the printing code The rightmost double-digit number is the year of the book s printing the right-most single-digit number is the number of the book s printing. For example the printing code 02-1 shows that the first printing of the book occurred in 2002. Composed in Bembo and MCPdigital by New Riders Publishing Printed in the United States of America Trademarks All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. New Riders Publishing cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark. Hackers Beware New Riders Publishing 1 Warning and Disclaimer