Real Digital Forensics: Computer Security and Incident Response
Listen to a recent interview with Richard Bejtlich, author of Extrusion Detection: Security Monitoring for Internal Intrusions, Real Digital Forensics: Computer Security and Incident Response, and The Tao of Network Security Monitoring: Beyond Intrusion Detection. Listen to the podcast now.
You can't succeed in the field of computer forensics without hands-on practiceand you can't get hands-on practice without real forensic data. The solution: Real Digital Forensics. In this book, a team of world-class computer forensics experts walks you through six detailed, highly realistic investigations and provides a DVD with all the data you need to follow along and practice.
From binary memory dumps to log files, this DVD's intrusion data was generated by attacking live systems using the same tools and methods real-world attackers use. The evidence was then captured and analyzed using the same tools the authors employ in their own investigations. This book relies heavily on open source tools, so you can perform virtually every task without investing in any commercial software.
You'll investigate environments ranging from financial institutions to software companies and crimes ranging from intellectual property theft to SEC violations. As you move step by step through each investigation, you'll discover practical techniques for overcoming the challenges forensics professionals face most often.
Inside, you will find in-depth information on the following areas:
Responding to live incidents in both Windows and Unix environments
Determining whether an attack has actually occurred
Assembling a toolkit you can take to the scene of a computer-related crime
Analyzing volatile data, nonvolatile data, and files of unknown origin
Safely performing and documenting forensic duplications
Collecting and analyzing network-based evidence in Windows and Unix environments
Reconstructing Web browsing, e-mail activity, and Windows Registry changes
Tracing domain name ownership and the source of e-mails
Duplicating and analyzing the contents of PDAs and flash memory devices
The accompanying DVD contains several gigabytes of compressed data generated from actual intrusions. This data mirrors what analysts might find in real investigations and allows the reader to learn about forensic investigations in a realisticsetting.
© Copyright Pearson Education. All rights reserved.
33 of 34 people found the following review helpful
the DVD's data is crucial for you to tackle,
This review is from: Real Digital Forensics: Computer Security and Incident Response (Paperback)There have been several authoritative books on computer forensics. (Including "Tao of Network Security Monitoring" by Bejtlich.) But this "Real Digital Forensics" book breaks new ground. Not in the theoretical modelling of an attack or countermeasures against it. Instead, there are several indepth case studies, that key off data given in the book's DVD. And the latter is a DVD, not a CD. The authors needed the multigigabyte capacity to store the provided data. Even then, these are compressed. This should give you some feeling of the book's emphasis.
The authors address a serious lack in this field. How does someone [you] gain experience analysing a real attack? Without already being employed at a company experiencing such an event? In response, the authors made several scenarios that, they claim, reflect what actual attackers would likely have done.
This is an experimental book. There is no overarching elegant theory. You are meant to roll up your sleeves and... Read more
16 of 17 people found the following review helpful
An essential A-Z guide for forensic investigations,
This review is from: Real Digital Forensics: Computer Security and Incident Response (Paperback)There is a real lack of well written books in this category, and this one stands out because it is comprehensive, yet easy to digest and carefully laid out, including case studies to understand data capture and analysis techniques.
The progression of the chapters mirror an investigative process; there is discussion of how to properly handle digital evidence, how to make a duplicate of the source data, and how to make sense of what you have collected. There are many real-world type case studies in the beginning of the book that could easily read off the front of any newspaper, and the captured evidence is on the included DVD for you to search to find the "smoking gun". Very well done.
The book takes the unusual role of discussing not only the more popular commercial tools like EnCase or Forensic Tool Kit, but also all the open source tools available for free, which is a real plus if you don't have the deep pockets required for the retail products. The book also... Read more
16 of 18 people found the following review helpful
Will educate and wow!,
This review is from: Real Digital Forensics: Computer Security and Incident Response (Paperback)Bejtlich, Jones and Rose 'Real Digital Forensics' is as practical as a printed book can be. In a very methodical fashion, the authors cover live response (Unix, Windows), network-based forensics following the NSM model (Unix, Windows), forensics duplication, common forensics analysis techniques (such as file recovery and Internet history review), hostile binary analysis (Unix, Windows), creating a forensics toolkit and PDA, flash and USB drive forensics. Is that it? :-)Well, there is some other fun stuff too. In other words, the book is both comprehensive and in-depth; following the text and trying the investigations using the enclosed DVD definitely presents an effective way to learn forensic techniques. I would recommend the book to all security professionals (even those not directly involved with forensics on a daily basis).
Anton Chuvakin, Ph.D., GCIA, GCIH, GCFA is a Security Strategist with a major security company. He is an author of the book "Security Warrior" and... Read more
› See all 11 customer reviews...
Online Sample Chapter
Download the Index
file related to this title.
Our Purpose and ApproachWelcome to the book named Real Digital Forensics. When we conceived this book, we wanted to give forensic investigators more than words to learn new skills. Many people express to us in our classes and speaking engagements a simple sentence we have heard hundreds of times: "How do I get into the field of computer forensics?" In our opinion, you cannot learn forensics unless you have hands on practical experience. This brings up a more important question we usually hear next: "How do I get my hands on data to gain that experience?" This question is much more difficult to answer because the only data most people have to practice with comes from real cases. We all know that our clients do not want their data disseminated! Therefore, it is difficult for most people to find data to practice with in order to sharpen their computer forensic skills. To answer this second question, we decided to publish this book with a DVD containing realistic evidence collected from several fictitious scenarios for the sole purpose of learning the computer forensic tradecraft.
Most of the scenarios you will find throughout this book are very similar to types of cases we investigate every day. We used the same tools attackers use when establishing a foothold in your network, the same methods rogue employees make use of to steal your trade secrets, and used the same media we typically collect when we created the evidence files found on the DVD. Although we attempted to thoroughly investigate each company name we used for our scenarios, we want to state that none of this data was collected from computers within companies with coincidentally similar names or IP addresses.
The book begins by presenting methodologies used for the collection and analysis of computer forensic data. Then, the book presents methods for compiling toolkits you can take with you to the scene of a computer related crime. The book concludes by providing methodologies for deeper forensic analysis and solutions for when you run into other types of computer media such as USB memory and Palm devices.
While computer forensic software tends to be commercially dominated, which means you would have to pay a hefty licensing fee just to get your feet wet, we wholeheartedly believe in open source because of the documented methodologies and availability of the source code. Reproducibility and documentation of methodologies is the corner stone to any forensic science. Therefore, you will find most techniques we recommend utilize a freely available and publicly documented toolset. That will allow you to examine the evidence found on the DVD without having to purchase additional software. When we do talk about commercial software to help round out your knowledge base, we will point it out in the text so that you are fully aware.
You will find that this book will take a practical hands-on approach to solving problems we frequently encounter when performing computer related investigations. This book will not contain pages and pages about the theory of computer forensics. What it will contain are techniques you can employ immediately to solve your problems when performing an analysis. We hope you enjoy the Real Digital Forensics experience.
The Prerequisites and Target AudiencesSome of the techniques we discuss in this book are considered more advanced than common forensic knowledge. If you are just starting out in the computer forensic field, we suggest a basic understanding of computer forensics to more fully enjoy the content within this book. For an understanding of computer forensics that will help you work through the investigations throughout this book, we recommend you review the following publications:
- Incident Response: Investigating Computer Crime by Kevin Mandia, Chris Prosise, and Matt Pepe
- File System Forensic Analysis by Brian Carrier
- Computer Forensics by Kruse, Warren and Jay Heiser
How To Use The DVDAll of the evidence collected for each of the scenarios presented throughout the book is loaded on the DVD. If you insert the DVD into a Windows machine, you will have a new drive such as D: or E: appear. If you insert the DVD into a Unix machine, you will need to mount the file system using the "mount" command, such as:
mount /dev/cdrom /mnt/realdigitalforensics
Off of the DVD root directory you will find another directory named after the scenario. Typically this directory has the same name as the victim company's name. For example, to find the "JBR Bank's Intrusion" scenario, you would navigate to the "jbr_bank" directory on the DVD. Within the scenario directory you will find more subdirectories. Each subdirectory contains a particular type of evidence that the investigator collected. If the investigator acquired a forensic duplication, you can find the corresponding data in the "forensic_duplication" directory. If the responder performed a live response, the "live_response" directory will contain the relevant data, and so on.
Most of the data on the DVD is stored in native format. The live response data is plain text, memory dumps are binary files, and so on. When you want to examine a forensic duplication you will notice that the files are compressed. This was done because the duplications can be up to four gigabytes in size when they are uncompressed, and would not fit on a single DVD. Therefore, be warned you may want to have ten to twenty gigabytes of working room on your hard drive when you analyze this evidence. To analyze a forensic duplication, you must first copy the evidence from the DVD to your local hard drive and uncompress the duplication. The forensic duplications can be uncompressed with Winzip (www.winzip.com) in Windows or unzip/gzip in Unix.
The data on the DVD represents our best efforts to mirror the real world scenarios we encounter every day. We were forced, unfortunately, to perform some post processing so that we did not distribute copies of commercial software. Therefore, some system related files on the victim machines containing the Windows operating system had zeros written over it. The original size of the file and directory structure we kept "as is" to simulate a real machine.
With what we said in mind, please load up your DVD and follow along with our many examples. We invite you to visit our web site, http://www.realdigitialforensics.com, for updates to the text, links to forensics tools, and other information to make your incident response and forensics duties pleasurable.
AcknowledgementsWe would like to acknowledge the following individuals for pushing us to our limits: Kevin Mandia for never letting us settle with just average results, Matt Pepe for showing us it pays to constantly be inquisitive, Brian Dykstra for showing us anything is possible if we set our minds to it, Intern Ted Wilson for showing us that any type of work can be good work, and Jessica Goldstein (from Addison Wesley) for believing in us and our vision for this book even when things became tough.
We would not be where we are now if we forgot to acknowledge our families for their understanding throughout the process: Keith J. Jones: Andrea Carol (my beautiful wife), Aiden Christopher (my toddler who has already learned how to hunt big game), and Madeleine Leslie (my silent and stealthy infant); Richard Bejtlich: Amy and Elise Bejtlich; Curtis W. Rose: XXXXX.
And I, Keith J. Jones, am humbled to thank and work with the brilliant Richard Bejtlich and Curtis Rose. I want to thank both of these authors for taking time out of their personal lives to work on this project. I have learned a lot of what I know now about computer forensics from each of these individuals.
Dedications"To my father Ronald L. Jones Sr., who passed away while I was writing this book. May my children and I grow up to be just like you. You are truly missed by more than you imagine."
- Keith J. Jones
"To my wife Amy and our daughter Elise: thank you for reminding me that family is all that remains when careers and computers are put in proper perspective."
Curtis W. Rose
Table of Contents
About the Authors.
I. LIVE INCIDENT RESPONSE.
1. Windows Live Response.
2. Unix Live Response.
II. NETWORK-BASED FORENSICS.
3. Collecting Network-Based Evidence.
4. Analyzing Network-Based Evidence for a Windows Intrusion.
5. Analyzing Network-Based Evidence for a Unix Intrusion.
III. ACQUIRING A FORENSIC DUPLICATION.
6. Before You Jump Right In…
7. Commercial-Based Forensic Duplications.
8. Noncommercial-Based Forensic Duplications.
IV. FORENSIC ANALYSIS TECHNIQUES.
9. Common Forensic Analysis Techniques.
10. Web Browsing Activity Reconstruction.
11. E-Mail Activity Reconstruction.
12. Microsoft Windows Registry Reconstruction.
13. Forensic Tool Analysis: An Introduction to Using Linux for Analyzing Files of Unknown Origin.
14. Forensic Tool Analysis: A Hands-On Analysis of the Linux File aio.
15. Forensic Tool Analysis: Analyzing Files of Unknown Origin (Windows).
V. CREATING A COMPLETE FORENSIC TOOL KIT.
16. Building the Ultimate Response CD.
17. Making Your CD-ROM a Bootable Environment.
VI. MOBILE DEVICE FORENSICS.
18. Forensic Duplication and Analysis of Personal Digital Assistants.
19. Forensic Duplication of USB and Compact Flash Memory Devices.
20. Forensic Analysis of USB and Compact Flash Memory Devices.
VII. ONELINE-BASED FORENSCIS.
21. Tracing E-Mail.
22. Domain Name Ownership.
Appendix: An Introduction to Perl.
Downloadable Sample Chapter
This book includes free shipping!
Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.