Home > Store

Know Your Enemy: Revealing the Security Tools, Tactics, and Motives of the Blackhat Community

Know Your Enemy: Revealing the Security Tools, Tactics, and Motives of the Blackhat Community

Book

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

Also available in other formats.

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

Description

  • Copyright 2002
  • Edition: 1st
  • Book
  • ISBN-10: 0-201-74613-1
  • ISBN-13: 978-0-201-74613-6

For centuries, military organizations have relied on scouts to gather intelligence about the enemy. The scouts' mission was to find out who the enemy was, what they were doing, how they might attack, the weapons they use, and their ultimate objectives. Time and again this kind of data has proven critical in defending against, and defeating, the enemy.

In the field of information security, scouts have never existed. Very few organizations today know who their enemy is or how they might attack; when they might attack; what the enemy does once they compromise a system; and, perhaps most important, why they attack.

The Honeynet Project is changing this. A research organization of thirty security professionals, the group is dedicated to learning the tools, tactics, and motives of the blackhat community. As with military scouts, the mission is to gather valuable information about the enemy.

The primary weapon of the Honeynet Project is the Honeynet, a unique solution designed to capture and study the blackhat's every move. In this book you will learn in detail not only what the Honeynet Project has discovered about adversaries, but also how Honeynets are used to gather critical information.

Know Your Enemy includes extensive information about

  • The Honeynet: A description of a Honeynet; information on how to plan, build, and maintain one; and coverage of risks and other related issues.
  • The Analysis: Step-by-step instructions on how to capture and analyze data from a Honeynet.
  • The Enemy: A presentation of what the project learned about the blackhat community, including documented compromised systems.

Aimed at both security professionals and those with a nontechnical background, this book teaches the technical skills needed to study a blackhat attack and learn from it. The CD includes examples of network traces, code, system binaries, and logs used by intruders from the blackhat community, collected and used by the Honeynet Project.



0201746131B09252001

Extras

Related Article

The Enemy: Protecting Your Organization from Blackhats

Author's Site

Click below for Author's Site related to this title:
The Honeynet Project
Supporting Web Site

Sample Content

Online Sample Chapters

Honeynet Project: The Battleground

Honeynet Project: What a Honeynet Is

Downloadable Sample Chapter

Click below for Sample Chapter related to this title:
honeynetch01.pdf

honeynetch02.pdf

honeynetch09.pdf

Table of Contents



Preface.


Foreword.


1. The Battleground.

I: THE HONEYNET.

2. What a Honeynet Is.

Honeypots.

Honeynets.

Value of a Honeynet.

The Honeypots in the Honeynet.

Summary.

3. How a Honeynet Works.

Data Control.

Data Capture.

Access Control Layer.

Network Layer.

System Layer.

Off-Line Layer.

Social Engineering.

Risk.

Summary.

4. Building a Honeynet.

Overall Architecture.

Data Control.

Data Capture.

Maintaining a Honeynet and Reacting to Attacks.

Summary.

II: THE ANALYSIS.

5. Data Analysis.

Firewall Logs.

IDS Analysis.

System Logs.

Summary.

6. Analyzing a Compromised System.

The Attack.

The Probe.

The Exploit.

Gaining Access.

The Return.

Analysis Review.

Summary.

7. Advanced Data Analysis.

Passive Fingerprinting.

The Signatures.

The ICMP Example.

Forensics.

Summary.

8. Forensic Challenge.

Images.

The Coroner's Toolkit.

MAC Times.

Deleted Inodes.

Data Recovery.

Summary.

III: THE ENEMY.

9. The Enemy.

The Threat.

The Tactics.

The Tools.

The Motives.

Changing Trends.

Summary.

10. Worms at War.

The Setup.

The First Worm.

The Second Worm.

The Day After.

Summary.

11. In Their Own Words.

The Compromise.

Reading the IRC Chat Sessions.

Day 1, June 4.

Day 2, June 5.

Day 3, June 6.

Day 4, June 7.

Day 5, June 8.

Day 6, June 9.

Day 7, June 10.

Analyzing the IRC Chat Sessions.

Profiling Review.

Psychological Review.

Summary.

12. The Future of the Honeynet.

Future Developments.

Conclusion.

Appendix A. Snort Configuration.

Snort Start-Up Script.

Snort Configuration File, snort.conf..

Appendix B. Swatch Configuration File.
Appendix C. Named NXT HOWTO.
Appendix D. NetBIOS Scans.
Appendix E. Source Code for bj.c.
Appendix F. TCP Passive Fingerprint Database.
Appendix G. ICMP Passive Fingerprint Database.
Appendix H. Honeynet Project Members.
Index. 0201746131T08302001

Preface

Have you ever wondered what motivates blackhats, often called hackers, to attack, compromise, and exploit systems or what hackers do once they own them? Well, the purpose of this book is to teach you about this enemy, aka the blackhat. These individuals are attempting to use Internet technology to carry out illegal, destructive, or unauthorized activities. This activity could be as simple as a teenager attempting to vandalize Web sites, a sophisticated attempt at compromising credit card companies, or terrorist attacks against a country's infrastructure. Regardless of who you are--a homeowner with a cable modem connection, a security administrator for a large organization, or an information warfare officer for the military--these threats are for real. This book will teach you the tools, tactics, and motives of these threats: to know your enemy.

This book is the result of a 2-year project known as the Honeynet Project. What makes our research unique is that we let the blackhat community teach us how they operate. Instead of trying to guess who the enemy is and to develop theories on how blackhats think and operate, we have them teach us their tools, tactics, and motives. Our primary method for learning is the Honeynet, a collection of production systems designed to be compromised. When the bad guys probe, attack, and compromise our systems, we watch and learn from their every step. In the past two years, we have learned a great deal from having had numerous systems probed, attacked, and compromised. This book is an attempt to share those lessons. In addition, we have created the Web site http://project.honeynet.org/book/. This site will contain any additional information relative to this book, such as corrections or updates, and unabridged text of the chat sessions in Chapter 11.

For those of you without a technical background, this book will show you in simple terms how the bad guys accomplish what they do. You do not have to understand all the technical details to learn how the enemy operates and thinks. We will also teach you some of the technical skills necessary to study an attack and to learn from it. For those of you with technical backgrounds, we will develop your skill sets in capturing and analyzing data, such as forensic analysis. However, the end goal is the same regardless of your skill set: to teach you what we have learned about the blackhat community and how we learned it. We hope that by better understanding the enemy, you can better defend against attack.

This book has three parts. In Part I, we cover step-by-step how we plan, build, and maintain a Honeynet and the risk/issues involved. In Part II, we show you step-by-step how we use a Honeynet and how we learn from it, specifically, data analysis. In Part III, we cover what we have learned about the blackhat community, including several specific examples of compromised honeypots. We discuss as little theory as possible, instead focusing on the actions of the blackhats we have witnessed and the lessons we have learned. We hope that you learn as much from this book as we have learned from the blackhat community.



0201746131P08212001

Index

Page references in italics refer to figures. An "n" after a page number refers to a footnote.

A access control layer, 31-35
access control list (ACL), 51
accounts, user, 154-155
ACL (access control list), 51
ADM Crew, 43
Administrative networks, 21, 21-22, 25, 26, 30, 271
administrative rights, 133
Adore, 136
Advanced Reference Archive of Current Heuristics for Network Intrusion Detection Systems (arachNIDS), 91, 311
AFWIC, 311
Air Force, U.S., 309
alerts, 25-26, 32-35, 34, 38
     firewall, 50, 52, 58-60, 62-63, 73, 76, 92
     IDS (intrusion detection system), 52, 58, 60-61, 66
     reference numbers, 77
     Snort, 275
     suspicious signature, 35
analyzing
     binary logs, 69, 78, 81, 121, 153
     compromised system example, 75-93
     data, 55-73, 95-109
     IDS (intrusion detection system), 60
     IRC (Internet relay chat), 69, 260-265
     keystrokes, 83
     NetBIOS protocol, 141
     packets, 64, 64n, 67
     signatures, 95
     timeline, 261
     traffic, 261
     trends, 60
"An Evening with Berferd" (Bellovin and Cheswick), 9
anti-IDS, 43
antispoofing, 29, 49, 50
The Anti-Virus Book (Shah), 313
Anzen Computing, 305
arachNIDS (Advanced Reference Archive of Current Heuristics for Network Intrusion Detection Systems), 91, 311
Arbor Networks, 305
architecture, Honeynet, 21, 45-47
archives
     database, 129
     firewall, 34-35, 52, 59, 73
     log files, 271, 275
A record, 280
Arkin, Ofir, 303, 311-312
     "ICMP Usage in Scanning," 96
     "Identifying ICMP Hackery Tools," 103
     passive fingerprint database table, 301n
Army, U.S., 309
ASCII files, 37-38, 60, 64-65, 69, 73, 81, 83, 121
assembler, 130
ath0, 172, 220
attacks. See also denial-of-service attacks
     compromised system example, 75-93, 83
     DDOS (distributed denial of service), 132-133
     IDS (intrusion detection system) role in, 54, 63
     NOP, 75
     NT, 66
     predicting future, 268
     probing, 77-78, 125-126, 129-130
     reacting to, 54
     trends in, 59
     Unicode, 66n68
     worms, 139-150, 149
Australian Unix Users Group, 305
automated blocking, 25, 26, 27
automated programs, 129, 130-131, 133, 136, 139, 146, 149, 156
autorooter, 127, 131
B backdoors, 31, 63, 65, 66, 121, 125, 129, 136, 297-298
     compromised system example and, 78, 84-88, 89, 90, 92
     HOWTO and, 283
     Solaris example and, 153, 154, 161, 197
bash, 40
B2B (business-to-business) sites, 269
Bellovin, Steve, and Bill Cheswick ("An Evening with Berferd"), 9
binaries, Trojan, 161
binary logs, 36-37, 38, 60, 63, 67, 73
     analyzing, 69, 78, 81, 121, 153
/bin/bash, 53, 54
bind, 202, 281, 283
bj.c, 85, 88, 92, 197, 297-298
Black Hat Briefings, 305, 312
BlackHat 2000 Conferences, 307
blackhats, 1-8, 123, 125-126
     bragging by, 134, 250
     cohesiveness of, 264
     communication among, 14, 151, 162, 163-260
     controlling activity of, 22-23
     definition of, 5
     derogatory statements used by, 263-264
     "eliteness" among, 223, 225, 263
     "entrapment" of, 16-17
     interwarfare (feuds/warfare) among, 186, 205, 257
     leader, determining, 165
     motives of, 132-134, 137, 151, 180-181, 191, 206, 261, 265
     process example, 156
     profiling of, 261, 262, 264
     sharing of skills and techniques, 188
     skill sets, 230, 261-262
     social structure of, 262-263
     status of, 263-264
     tactics of, 126-130, 137, 163, 265, 270
     tools used by, 130-132, 137, 163, 265
     tracing, 133, 142
     trends of, 134-137
blists (broadcast amplifier networks), 171
blocking, automated, 25, 26, 27
BNC, 133, 162
bots, 133
broadcast amplifier networks (blists), 171
Brumley, David ("Tracking Hackers on IRC"), 134
buffer overflows, 38, 61, 63, 75, 152, 281
Bugtraq, 38, 132
building Honeynets, 45-54
     architecture, 45-47
     attacks, reacting to, 53-54
     data capture, 51-53
     data control, 47-51
     maintenance, 53-54
business-to-business (B2B) sites, 269
C cable, risk in using, 140
caching, 153
Canonical Name (CNAME), 280
CanSecWest, 305, 306
Carnegie Mellon University Software Engineering Institute, 307
CCNA (Cisco Certified Network Associate), 306
CCSE, 313
Center for Information Technology Integration, University of Michigan, 305
Central Intelligence Agency, 306
CERT, 152, 305
Certified Information Systems Security Professional (CISSP), 306, 312, 313
chat network (Undernet), 228
CheckPoint FireWall-1, 24, 26, 27, 33, 49
checksum, MD5, 105n106, 113-114, 142-143
Cheswick, Bill, and Steve Bellovin ("An Evening with Berferd"), 9
CIA, 309, 311
Cisco, 309
     routers, 46, 99
     system logs, 70
Cisco Certified Network Associate (CCNA), 306
Cisco Information Security, 307
CISSP (Certified Information Systems Security Professional), 306, 312, 313
Clarkson University, 310
cleartext, 37, 54, 65, 69, 81, 83, 155

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