Designing BSD Rootkits
An Introduction to Kernel Hacking
Publisher: No Starch Press
Final Release Date: April 2007
Pages: 152

Though rootkits have a fairly negative image, they can be used for both good and evil. Designing BSD Rootkits arms you with the knowledge you need to write offensive rootkits, to defend against malicious ones, and to explore the FreeBSD kernel and operating system in the process.

Organized as a tutorial, Designing BSD Rootkits will teach you the fundamentals of programming and developing rootkits under the FreeBSD operating system. Author Joseph Kong's goal is to make you smarter, not to teach you how to write exploits or launch attacks. You'll learn how to maintain root access long after gaining access to a computer and how to hack FreeBSD.

Kongs liberal use of examples assumes no prior kernel-hacking experience but doesn't water down the information. All code is thoroughly described and analyzed, and each chapter contains at least one real-world application.


  • The fundamentals of FreeBSD kernel module programming
  • Using call hooking to subvert the FreeBSD kernel
  • Directly manipulating the objects the kernel depends upon for its internal record-keeping
  • Patching kernel code resident in main memory; in other words, altering the kernel's logic while it's still running
  • How to defend against the attacks described

    Hack the FreeBSD kernel for yourself!

  • Product Details
    About the Author
    Recommended for You
    Customer Reviews


    by PowerReviews
    oreillyDesigning BSD Rootkits

    (based on 1 review)

    Ratings Distribution

    • 5 Stars



    • 4 Stars



    • 3 Stars



    • 2 Stars



    • 1 Stars



    Reviewed by 1 customer

    Displaying review 1

    Back to top

    (2 of 4 customers found this review helpful)


    Staggering Book!

    By Paul M

    from Nairobi, Kenya

    About Me Hobbyist

    Verified Reviewer


    • Accurate
    • Helpful examples
    • Well-written


      Best Uses

      • Expert
      • Student

      Comments about oreilly Designing BSD Rootkits:

      Joseph Kong has written a sterling book with limpid and descriptive programming examples for BSD enthusiasts and kernel hackers. GET IT!!

      Displaying review 1

      Back to top

      Buy 2 Get 1 Free Free Shipping Guarantee
      Buying Options
      Immediate Access - Go Digital what's this?
      Ebook:  $23.95
      Formats:  ePub, Mobi, PDF
      Print & Ebook:  $32.95
      Print:  $29.95