Home > Store

SQL Server Forensic Analysis, Rough Cuts

Rough Cuts

  • Available to Safari Subscribers
  • About Rough Cuts
  • Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.

Not for Sale

Description

  • Copyright 2009
  • Dimensions: 7 X 9-1/4
  • Pages: 512
  • Edition: 1st
  • Rough Cuts
  • ISBN-10: 0-321-54437-4
  • ISBN-13: 978-0-321-54437-7

This is a working draft of a pre-release book. It is available before the published date as part of the Rough Cuts service.

“What Kevvie Fowler has done here is truly amazing: He has defined, established, and documented SQL server forensic methods and techniques, exposing readers to an entirely new area of forensics along the way. This fantastic book is a much needed and incredible contribution to the incident response and forensic communities.”

—Curtis W. Rose, founder of Curtis W. Rose and Associates and coauthor of Real Digital Forensics

The Authoritative, Step-by-Step Guide to Investigating SQL Server Database Intrusions

Many forensics investigations lead to the discovery that an SQL Server database might have been breached. If investigators cannot assess and qualify the scope of an intrusion, they may be forced to report it publicly–a disclosure that is painful for companies and customers alike. There is only one way to avoid this problem: Master the specific skills needed to fully investigate SQL Server intrusions.

In SQL Server Forensic Analysis, author Kevvie Fowler shows how to collect and preserve database artifacts safely and non-disruptively; analyze them to confirm or rule out database intrusions; and retrace the actions of an intruder within a database server. A chapter-length case study reinforces Fowler’s techniques as he guides you through a real-world investigation from start to finish.

The techniques described in SQL Server Forensic Analysis can be used both to identify unauthorized data access and modifications and to gather the information needed to recover from an intrusion by restoring the pre-incident database state.

Coverage includes

  • Determining whether data was actually compromised during a database intrusion and, if so, which data
  • Real-world forensic techniques that can be applied on all SQL Server instances, including those with default logging
  • Identifying, extracting, and analyzing database evidence from both published and unpublished areas of SQL Server
  • Building a complete SQL Server incident response toolkit
  • Detecting and circumventing SQL Server rootkits
  • Identifying and recovering previously deleted database data using native SQL Server commands

SQL Server Forensic Analysis is the first book of its kind to focus on the unique area of SQL Server incident response and forensics. Whether you’re a digital forensics specialist, incident response team member, law enforcement officer, corporate security specialist, auditor, or database professional, you’ll find this book an indispensable resource.

Sample Content

Table of Contents

Preface xiii

Acknowledgments xvii

About the Author xix

Chapter 1: Introduction to Databases 1

Running Chapter 1 Sample Scripts 2

Databases Explained 2

How Databases Are Used 3

Databases and COTS Applications 5

Database Structure 6

Structured Query Language (SQL) 7

Database Transactions 11

The ACID Model 11

Referential Integrity 12

Summary 15

Chapter 2: SQL Server Fundamentals 17

History of SQL Server 17

SQL Server Versions and Editions 18

Architecture 20

SQL Server Connections 24

Context Switching 25

SQL Server Databases 26

Data Storage 27

Memory Management 34

Security 34

Permissions 39

Encryption 40

Dynamic Management and Database Console Commands 42

Logging 44

SQL Server Agent 44

Summary 44

Chapter 3: SQL Server Forensics 47

The Road to SQL Server Forensics 47

SQL Server Forensics 48

SQL Server Forensic Methodology 59

Summary 61

Chapter 4: SQL Server Artifacts 63

SQL Server Artifacts 63

Resident SQL Server Artifacts 67

Nonresident SQL Server Artifacts 90

Artifact Summary 93

Summary 95

Chapter 5: SQL Server Investigation Preparedness 97

SQL Server Investigation Preparedness Overview 98

Configuring Your Forensics Workstation for a SQL Server Investigation 98

Creating a SQL Server Forensics Incident Response Toolkit 108

Summary 137

Chapter 6: Incident Verification 139

Running Chapter 6 Sample Scripts 139

Incident Verification Explained 140

What Not to Do When Investigating a Live SQL Server 141

Responding to an Incident 142

Identifying the SQL Server Instance Name 146

Connecting to a Victim System 150

Disconnecting from the Victim System 155

Identifying Signs of an Intrusion 156

Submitting Preliminary Findings 171

Summary 172

Chapter 7: Artifact Collection 173

Focus on Ad Hoc Collection 174

Running the Sample Scripts 175

Maintaining the Integrity of Collected Data 175

Automated Artifact Collection via Windows Forensic Toolchest 179

Identifying the Victim’s SQL Server Version 180

Updates

Submit Errata

More Information