Home > Store

Honeypots: Tracking Hackers

Register your product to gain access to bonus material or receive a coupon.

Honeypots: Tracking Hackers

Book

  • Sorry, this book is no longer in print.
Not for Sale

Description

  • Copyright 2003
  • Dimensions: 7-3/8" x 9-1/4"
  • Pages: 488
  • Edition: 1st
  • Book
  • ISBN-10: 0-321-10895-7
  • ISBN-13: 978-0-321-10895-1

Honeypots are highly sophisticated technologies used to observe and learn about hackers. Practical and commercial interest in these new forms of hacker defense is now hitting the mainstream. There are many successful commercial honeypots, including ManTrap and Specter. Security expert Marcus Ranum notes in his Foreword, "Right now there are about a half-dozen commercial honeypot products on the market. Within a year, I predict there will be dozens. Within two years, there will be a hundred." Spitzner also covers legal issues, one of the most controversial subjects concerning honeypots, receiving extensive guidance from the Department of Justice in writing the legal material. The book, Know Your Enemy was written by a team of authors, and focuses on a special type of honeypot via a research project called The Honeynet Project. This new book is written by the acknowledged honeypot expert and discusses many different types of honeypot technologies. They are perfect companion books. Get a strong foundation with "Honeypots" and explore more details of honeypot deployment with Know Your Enemy.

Downloads

CD Contents

Untitled Document Download the CD Contents from the book Honeypots: Tracking Hackers

Sample Content

Online Sample Chapter

The Value of Honeypots

Downloadable Sample Chapter

Click below for Sample Chapter(s) related to this title:
Sample Chapter 4

Table of Contents



Foreword: Giving the Hackers a Kick Where It Hurts.


Preface.


1. The Sting: My Fascination with Honeypots.

The Lure of Honeypots.

How I Got Started with Honeypots.

Perceptions and Misconceptions of Honeypots.

Summary.

References.



2. The Threat: Tools, Tactics, and Motives of Attackers.

Script Kiddies and Advanced Blackhats.

Everyone Is a Target.

Methods of Attackers.

Targets of Opportunity.

Targets of Choice.

Motives of Attackers.

Adapting and Changing Threats.

Summary.

References.



3. History and Definition of Honeypots.

The History of Honeypots.

Early Publications.

Early Products.

Recent History: Honeypots in Action.

Definitions of Honeypots.

How Honeypots Work.

Two Examples of Honeypots.

Types of Honeypots.

Summmary.

References.



4. The Value of Honeypots.

Advantages of Honeypots.

Data Value.

Resources.

Simplicity.

Return on Investment.

Disadvantages of Honeypots.

Narrow Field of View.

Fingerprinting.

Risk.

The Role of Honeypots in Overall Security.

Production Honeypots.

Research Honeypots.

Honeypot Policies.

Summary.

References.



5. Classifying Honeypots by Level of Interaction.

Tradeoffs Between Levels of Interaction.

Low-Interaction Honeypots.

Medium-Interaction Honeypots.

High-Interaction Honeypots.

An Overview of Six Honeypots.

BackOfficer Friendly.

Specter.

Honeyd.

Homemade.

ManTrap.

Honeynets.

Summary.

Reference.



6. BackOfficer Friendly.

Overview of BOF.

The Value of BOF.

How BOF Works.

Installing, Configuring, and Deploying BOF.

Information Gathering and Alerting Capabilities.

Risk Associated with BOF.

Summary.

Tutorial.

Step 1—Installation.

Step 2—Configure.

Step 3—Netstat.

Step 4—Attack System.

Step 5—Review Alerts.

Step 6—Save Alerts.

References.



7. Specter.

Overview of Specter.

The Value of Specter.

How Specter Works.

Installing and Configuring Specter.

Operating System.

Character.

Services.

Intelligence, Traps, Password Types, and Notification.

Additional Options.

Starting the Honeypot.

Deploying and Maintaining Specter.

Information-Gathering and Alerting Capabilities.

Short Mail.

Alert Mail.

Log Analyzer.

Event Log.

Syslog.

Intelligence Gathering.

Risk Associated with Specter.

Summary.

References.



8. Honeyd.

Overview of Honeyd.

Value of Honeyd.

How Honeyd Works.

Blackholing.

ARP Spoofing.

ARP Proxy.

Responding to Attacks.

Installing and Configuring Honeyd.

Deploying and Maintaining Honeyd.

Information Gathering.

Risk Associated with Honeyd.

Summary.

References.



9. Homemade Honeypots.

An Overview of Homemade Honeypots.

Port Monitoring Honeypots.

The Value of Port Monitoring.

How Homemade Port Monitors Work.

Risk Associated with Homemade Port Monitors.

Jailed Environments.

The Value of Jails.

How Jails Work.

Installing and Configuring Jails.

Deploying and Maintaining Jails.

Information Gathering with Jails.

Risk Associated with Jails.

Summary.

References.



10. ManTrap.

Overview of ManTrap.

The Value of ManTrap.

Prevention.

Detection.

Response.

Research.

Nontraditional Applications.

Limitations.

How ManTrap Works.

Adjustments to the Kernel.

How ManTrap Handles the File System.

The Resulting Cages and Their Limitations.

Installing and Configuring ManTrap.

Building the Host System.

iButton and Configuration Options.

Client Administration.

Customizing the Cages.

Deploying and Maintaining ManTrap.

Information Gathering.

Data Capture in Practice: An Example Attack.

Viewing Captured Data

Data Capture at the Application Level.

File Recovery.

Using a Sniffer with ManTrap.

Using iButton for Data Integrity.

Risk Associated with ManTrap.

Summary.

References.



11. Honeynets.

Overview of Honeynets.

The Value of Honeynets.

Methods, Motives, and Evolving Tools.

Trend Analysis.

Incident Response.

Test Beds.

How Honeynets Work.

Controlling Data.

Capturing Data.

Collecting Data.

Honeynet Architectures.

GenI.

GenII.

Virtual Honeynets.

Sweetening the Honeynet.

Deploying and Maintaining Honeynets.

Information Gathering: An Example Attack.

Risk Associated with Honeynets.

Summary.

References.



12. Implementing Your Honeypot.

Specifying Honeypot Goals.

Selecting a Honeypot.

Interaction Level.

Commercial Versus Homemade Solutions.

Platform.

Determining the Number of Honeypots.

Selecting Locations for Deployment.

Placement for Prevention.

Placement for Detection.

Placement for Response

Placement for Research.

Implementing Data Capture.

Maximizing the Amount of Data.

Adding Redundancy to Data Capture.

IP Addresses Versus Resolved Names.

Logging and Managing Data.

Using NAT.

NAT and Private Addressing.

The Role of NAT with Honeypots.

Mitigating Risk.

Mitigating Fingerprinting.

Summary.

References.



13. Maintaining Your Honeypot.

Alert Detection.

Reliability of Alerts.

Critical Content.

Prioritizing Alerts.

Archiving.

Response.

Determining Reaction Practices and Roles.

Documenting Reaction Practices.

Remote Access and Data Control.

Data Analysis.

A Simple Scenario: Low-Interaction Honeypots.

A Complex Scenario: High-Interaction Honeypots.

Updates.

Summary.

References.



14. Putting It All Together.

Honeyp.com.

Matching Goals to Honeypot Solutions.

Deploying the Honeypots.

Maintaining the Honeypots.

Surviving and Responding to an Attack.

Honeyp.edu.

Matching Goals to Honeypot Solutions.

Deploying the Honeynet.

Maintaining the Honeynet.

Analyzing Attacks.

Summary.

References.



15. Legal Issues.

Are Honeypots Illegal?

Precedents.

Privacy.

The Fourth Amendment.

Stored Information: The Electronic Communications Privacy Act.

Real-Time Interception of Information: The Wiretap Act and the Pen/Trap Statute.

Entrapment.

Liability.

Summary.

References.

Resourcess.



16. Future of Honeypots.

From Misunderstanding to Acceptance.

Improving Ease of Use.

Easier Administration.

Prepackaged Solutions.

Closer Integration with Technologies.

Targeting Honeypots for Specific Purposes.

Expanding Research Applications.

Early Warning and Prediction.

Studying Advanced Attackers.

Identifying New Threats.

Deploying in Distributed Environments.

A Final Caveat.

Summary.

References.



Appendix A. BackOfficer Friendly ASCII File of Scans.


Appendix B. Snort Configuration File.


Appendix C. IP Protocols.


Appendix D. Definitions, Requirements, and Standards Document.


Appendix E. Honeynet Logs.


Index. 0321108957T09172002

Preface

It began as an innocent probe. A strange IP address was examining an unused service on my system. In this case, a computer based in Korea was attempting to connect to an RPC service on my computer. There is no reason why anyone would want to access this service, especially someone in Korea. Something was definitely up. Immediately following the probe, my Intrusion Detection System screamed an alert, an exploit had just been launched, my system was under assault! Seconds after the attack an intruder broke into my computer, executed several commands, then took total control of the system. My computer had just been hacked! I was elated, I could not have been happier.

Welcome to the exciting world of honeypots where we turn the tables on the badguys. Most of the security books you read today cover a variety of concepts and technologies, almost all are about keeping blackhats out. This book is different. It is about keeping the badguys in. It's about building computers that you want to be hacked. Traditionally, security has been purely defensive. There has been little an organization could do to take the initiative, to take the battle to the bad guys. Honeypots change the rules, they are a technology that allows organizations to take the offensive.

Honeypots come in a variety of shapes and sizes. Everything from a simple Windows system emulating a few services, to an entire network of productions systems waiting to be hacked. Honeypots also have a variety of values. Everything from a burglar alarm that detects an intruder, to a research tool that can be used to study the motives of the blackhat community. Honeypots are unique in that they are not a single tool to solve a specific problem. Instead, they are a highly flexible technology that can fulfill a variety of different roles. It is up to you how you want to use and deploy these technologies.

In this book, we explain what a honeypot is, how they work, and the different values this unique technology can have. We then go into detail on six different honeypot technologies. We take you through step-by-step how these honeypot solutions work, their advantages and disadvantages, and what a real attack looks like to each honeypot. Finally, we cover deployment and maintenance issues of honeypots. The goal of this book is to not just give you an understanding of honeypot concepts and architecture, but to give you the skills and experience to deploy the best honeypot solutions for your environment. Throughout the book are examples based on real world experiences, almost all the attacks discussed are based on real world incidents. You will see the blackhat community at their best, and some at their worst. Best of all, you will arm yourself with the skills and knowledge to track these attackers and learn about them on your own.

I have been actively using honeypots for many years. I find them to be absolutely fascinating. They are an exciting technology that not only teaches you a great deal about blackhats, but also a great deal about yourself and security in general. I hope you enjoy this book as much as I have enjoyed writing and learning about honeypot technologies.

Audience

This book is intended for the security professional. Anyone involved in protecting or securing computer resources will find this resource valuable. It is the first publication dedicated to honeypot technologies, a tool that more and more computer security professionals will want to take advantage of once they understand its power and flexibility.

Due to honeypots' unique capabilities, other individuals and organizations will be extremely interested in this book. Military organizations can apply these technologies to Cyberwarfare. Universities and security research organizations will find tremendous value in the material concerning research honeypots. Intelligence organizations can apply this book to intelligence and counter-intelligence activities. Members of law enforcement can use this material for capturing of criminal activities. Legal professionals will find chapter fifteen to be one of the first definitive resources concerning the legal issues of honeypots.

CD-ROM

This book has a CD-ROM accompanying it. The purpose of the CD-ROM is to give you additional information discussed in the book. It includes everything from whitepapers and source code to actual evaluation copies of software and data captures of real attacks. This will give you the hands on opportunity to develop your skills with honeypot technologies. Also included with the CD-ROM are all the URLs referenced in the book, so you can learn more about the technologies discussed.

Web site

This book will have a Web site dedicated to it. The purpose of the Web site is to keep this material updated. If any discrepancies or mistakes are identified in the book, the Web site will have updates and correction. For example, if any of the URLs mentioned in the book have changed or been removed, the Web site will have the latest links. Also, new technologies are always being developed and deployed. Visit the Web site to stay current with the latest in honeypot technologies.

References

Each chapter ends with a references section. The purpose is to provide you with resources to gain additional information about topics discussed in the book. Examples of references include Web sites that focus on securing operating systems and books that specialize in forensic analysis.



0321108957P05172002

Foreword

Giving the Hackers a Kick Where It Hurts

I'm an unabashed Lance Spitzner fan. This is the guy whose cell phone voice message says, "I'm busy geeking out right now, but leave a message, and I'll get back to you as soon as I can." I don't know when he actually stops geeking out long enough to sleep. I sometimes wonder if there are actually two of him. His enthusiasm for what he's doing bleeds over into all aspects of his life. Ideas for cool stuff erupt from him like a volcano and swirl around him, sucking in casual bystanders and students alike. It's somewhat intimidating to share a stage with him at a conference. He makes just about everyone else look uninteresting and tepid by comparison. Lance is a man who loves what he's doing, and what he loves doing is tracking hackers, sharing that information, and making a difference.

A lot of people like to reserve the term "hacker" for the techno-elite computer hobbyist--those media darlings often described as "misunderstood whiz-kids" or similar nonsense. One of the great by-products of Lance's work with honeypots and honeynets is that he's helped give us a much clearer picture of the hacker in action: often technically unsophisticated kids playing around with technologies they barely understand. In Know Your Enemy the Honeynet Project demonstrated just how active and unskilled most hackers are. What's that--you don't believe it? Set up your own honeypot or honeynet and see for yourself. This book gives you the necessary tools and concepts to do it!

I think it's a great thing for the security community that Lance has written this book. In the past, the hackers roamed our networks with supreme confidence in their anonymity. They take advantage of systems they've compromised to chat with their buddies safely or to launch attacks against other systems and sites without fear of detection. Now, however, they may pause to wonder if their bases of operation are safe--whether they're actually planning their attacks and deploying their tricks under a microscope.

Honeypots are going to become a critical weapon in the good guys' arsenals. They don't catch only the lame hackers. Sometimes they catch the new tools and are able to reduce their effectiveness in the wild by letting security practitioners quickly react before they become widespread. They don't catch just the script kiddies outside your firewall but the hackers who work for your own company. They don't catch just unimportant stuff; sometimes they catch industrial spies. They can be time- and effort-consuming to set up and operate, but they're fun, instructive, and a terrific way for a good guy to gain an education on computer forensics in a real-world, low-risk environment.

Right now there are about a half-dozen commercial honeypot products on the market. Lance covers several of them in this book, as well as "homemade" honeypots and honeynets, focusing on how they operate, their value, how to implement them, and their respective advantages. I predict that within one year, there will be dozens of commercial honeypots. Within two years, there will be a hundred. This is all good news for the good guys because it'll make it easier for us to deploy honeypots and harder for the bad guys to recognize and avoid them all. When you're trying to defend against an unknown new form of attack, the best defense is an unknown new form of defense. Honeypots will keep the hackers on their toes and, I predict, will do a lot to shatter their sense of invulnerability. This book is a great place to start learning about the currently available solutions.

In this book Lance also tackles the confusion surrounding the legality of honeypots. Lots of practitioners I've talked to are scared to dabble in honeypots because they're afraid it may be considered entrapment or somehow illegal. It's probably a good idea to read the chapter on legal issues twice. It may suprise you. Welcome to the cutting edge of technology, where innovation happens and the law is slow to catch up to new concepts. Meanwhile, you can bet that with renewed concerns about state-sponsored industrial espionage and terrorism the "big boys" will be setting up honeypots of their own. I'd hate to be a script kiddy who chose to launch his next attack from a CIA honeypot system! When the big boys come into the honeypot arena, you can bet that they'll make sure it's legal.

The sheer variety and options for mischief with honeypots are staggering. (There is even a honeypot for spam e-mails.) You can use the concepts in this book to deploy just about any kind of honeypot you can imagine. Would you like to build a honeypot for collecting software pirates? I don't think that's been done yet. How about a honeypot that measures which hacking tools are most popular by tracking hits against an index page? I don't think that's been done yet, either. The possibilities are endless, and I found it difficult to read this book without thinking, "What if . . . ?" over and over again.

I hope you enjoy this book and I hope it inspires you to exercise your own creativity and learn what the bad guys are up to and then share it with the security community. Then follow Lance's lead, and make a difference.

--Marcus J. Ranum
Woodbine, MD
April 2002

Index

Click below to download the Index file related to this title:
Index

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020