Coder Social home page Coder Social logo

glslang / rootkits_subverting_the_windows_kernel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 0xbahaa/rootkits_subverting_the_windows_kernel

0.0 0.0 0.0 27.61 MB

source code for the examples and topics from the book

C++ 15.06% C 84.92% Batchfile 0.03%

rootkits_subverting_the_windows_kernel's Introduction

Rootkits Subverting The Windows Kernel book: source code examples

Still Work-in-progress..

I have arranged the code according to its order in the book.
I tested most of the code on Windows XP SP0 (no service packs installed) in a VM.
I haven't included the code for the networking from Chapter 9: Covert Channels (using TDI and NDIS).

The code includes the following:

  1. Basic driver.
  2. Creating a file handle and a symlink
  3. Loading a driver using the quick and dirty way
  4. Loading a driver the correct way (using Service Manager)
  5. Decompress a SYS file from the rsrc section
  6. Parsing the IDT table
  7. CR0-trick to disable memory protection
  8. Injecting a DLL using remote threads
  9. Hooking SSDT (using it to hide processes' names)
  10. Hooking the IDT
  11. SYSENTER hook
  12. Hooking the IRP major-functions table
  13. Hybrid hooking approach
  14. Detour patching
  15. Jump templates
  16. Sample keylogger (as a Layered driver)
  17. Grabbing OS version from the Registry
  18. Grabbing OS version from Kernel-Mode (OSVERSIONINFO structure)
  19. Hiding devices/drivers (using DKOM)
  20. Privilege elevation (using DKOM)
  21. Playing with the Keyboard LEDs (accessing the hardware directly)
  22. Keysniffer (by accessing the hardware directly)
    23-27. RootKit Detection methods.

Lessons were put in order ( + some added code) by: 0xbahaa
Forked from the original mirror by: fdiskyou
Links to the book:

rootkits_subverting_the_windows_kernel's People

Contributors

fdiskyou avatar 0xbahaa avatar shutupandhax avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.