Table of Contents


the oracle hacker's handbook: hacking and defending oracle
The Oracle Hacker's Handbook: Hacking and Defending Oracle
byDavid Litchfield
John Wiley & Sons 2007 (212 pages)
ISBN:9780470080221

Exploring every technique and tool used by black hat hackers to invade and compromise Oracle, this in-depth guide shows you how to find the weak spots in your databases so you can better defend them.

Table of Contents
The Oracle Hacker's Handbook-Hacking and Defending Oracle
Introduction
Chapter 1 - Overview of the Oracle RDBMS
Chapter 2 - The Oracle Network Architecture
Chapter 3 - Attacking the TNS Listener and Dispatchers
Chapter 4 - Attacking the Authentication Process
Chapter 5 - Oracle and PL/SQL
Chapter 6 - Triggers
Chapter 7 - Indirect Privilege Escalation
Chapter 8 - Defeating Virtual Private Databases
Chapter 9 - Attacking Oracle PL/SQL Web Applications
Chapter 10 - Running Operating System Commands
Chapter 11 - Accessing the File System
Chapter 12 - Accessing the Network
Appendix A - Default Usernames and Passwords
Index
List of Figures


While Oracle continues to improve the security features of its product, it still has a long way to go. David Litchfield has devoted years to relentlessly searching out the flaws in this ubiquitous database system and creating defenses against them. Now he offers you his complete arsenal to assess and defend your own Oracle systems.

Like The Shellcoder's Handbook and The Database Hacker's Handbook, this in-depth guide explores every technique and tool used by black hat hackers to invade and compromise Oracle. It shows you how to find the weak spots and defend them. Without that knowledge, you have little chance of keeping your databases truly secure.

  • Discover how to deal with the security flaws revealed in the Oracle RDBMS
  • Explore some never-before-published forays into Oracle security holes and learn to defend them from attack
  • Learn why independent security assessments are not necessarily a guarantee of safety
  • See how Oracle 10g Release 2 has improved its security features and where the flaws remain

About the Author

David Litchfield is the founder and Chief Research Scientist of NGSSoftware Ltd., a U.K.-based security solutions provider. David is known as the world's premier expert on Oracle database security, having gained that reputation when he uncovered a security hole in Oracle 9 Database Servers, which disproved Oracle's multimillion dollar "unbreakable" marketing campaign. He has lectured at both the National Security Agency in the U.S. and G.C.H.Q. in the U.K. on emerging threats and information assurance. He is a regular speaker at Blackhat Security Briefings and Microsoft Bluehat and Microsoft TechEd. Previously, he was Director of Security Architecture at @stake, since acquired by Symantec. David has designed NGSSQuirreL, a powerful tool for advanced database vulnerability and risk assessment.



The Oracle Hacker's Handbook-Hacking and Defending Oracle

David Litchfield

image from book

Published by Wiley Publishing, Inc.

10475 Crosspoint Boulevard Indianapolis, IN 46256.
www.wiley.com

Copyright © 2007 by David Litchfield

Published by Wiley Publishing, Inc., Indianapolis, Indiana

Published simultaneously in Canada

ISBN-13: 978-0-470-08022-1

ISBN-10:

0-470-08022-1

Manufactured in the United States of America

10 9 8 7 6 5 4 3 2 1

1MA/QT/QR/QX/IN

No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, or online at www.wiley.com/go/permissions.

Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the publisher nor the author shall be liable for damages arising here-from. The fact that an organization or Website is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Website may provide or recommendations it may make. Further, readers should be aware that Internet Websites listed in this work may have changed or disappeared between when this work was written and when it is read.

For general information on our other products and services or to obtain technical support, please contact our Customer Care Department within the U.S. at (800) 762-2974, outside the U.S. at (317) 572-3993 or fax (317) 572-4002.

Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books.

Library of Congress Cataloging-in-Publication Data:

Litchfield, David, 1975-
  The Oracle hacker's handbook : hacking and defending Oracle / David Litchfield.
      p. cm.
  Includes index.
 

ISBN-13: 978-0-470-08022-1 (paper/website)

ISBN-10: 0-470-08022-1 (paper/website)


1. Oracle (Computer file) 2. Database security. I. Title.

QA76.9.D314.L58 2007

005.8--dc22

2006036733

Trademarks: Wiley, the Wiley logo, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. Oracle is a registered trademark of Oracle Corporation. All other trademarks are the property of their respective owners. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book.

With love, for Sophie and our two "girls," Susie and Katie. Adopt a greyhound!

About the Author

David Litchfield is the founder and Chief Research Scientist of NGSSoftware Ltd., a U.K.-based security solutions provider. David is known as the world's premier expert on Oracle database security, having gained that reputation when he uncovered a security hole in Oracle 9 Database Servers, which disproved Oracle's multimillion dollar "unbreakable" marketing campaign. He has lectured at both the National Security Agency in the U.S. and G.C.H.Q. in the U.K. on emerging threats and information assurance. He is a regular speaker at Blackhat Security Briefings and Microsoft Bluehat and Microsoft TechEd. Previously, he was Director of Security Architecture at @stake, since acquired by Symantec. David has designed NGSSQuirreL, a powerful tool for advanced database vulnerability and risk assessment.

Credits

Executive Editor
Carol Long

Development Editor
Kenyon Brown

Production Editor
William A. Barton

Copy Editor
Luann Rouff

Editorial Manager
Mary Beth Wakefield

Production Manager
Tim Tate

Vice President & Executive Group Publisher
Richard Swadley

Vice President and Publisher
Joseph B. Wikert

Project Coordinator
Jennifer Theriot

Graphics and Production Specialists
Carrie A. Foster
Brooke Graczyk
Denny Hager
Stephanie D. Jumper
Alicia B. South

Quality Control Technician
Jessica Kramer

Proofreading and Indexing
Linda Quigley
Techbooks

Anniversary Logo Design
Richard Pacifico

Acknowledgments

Firstly, I'd like to extend my gratitude to my wife, Sophie, for her understanding and putting up with my odd sleeping times. I'd also like to thank the team at Wiley, with special thanks going to both Carol Long and Kenyon Brown for putting up with the long periods of "blackouts" followed by an avalanche of material.