ランキングに戻る

Now You See Me, Now You Don't

driverkernelmalware-developmentrootkitmalware-researchwindows
スター成長
スター
1.1k
フォーク
162
週間成長
Issue
0
5001k
2023年3月2024年4月2025年6月2026年7月
README

Chaos-Rootkit

Image Description

  • Chaos-Rootkit is an x64 Ring 0 rootkit i wrote to better understand kernel internals and rootkit techniques.

  • Gui version

image

Buy Me A Coffee

Features

  • Hide process: This feature allows you to hide processes from listing tools via DKOM.

  • Elevate specific process privileges : This feature enables you to elevate specific processes privilege .

  • Swap the driver on disk and in memory with a Microsoft driver: All credit for this implementation goes to IDontCode Back Engineering for his exceptional work, I've also handled the unload and shutdown routines for this feature so that the rootkits driver doesn’t get corrupted or crash at some point.

  • Restrict file access for user-mode applications except for the provided process ID

  • Spawn elevated process: launch command prompt with elevated privileges .

  • Bypass the file integrity check and protect it against anti-malware : this work by redirecting file operations to a legitimate file, making our file appear authentic and signed with a valid certificate also if an anti-malware attempting to scan it, the rootkit will immediately kill the anti-malware process.

  • Unprotect all processes

  • Protect a specific process with any given protection level (WinSystem, WinTcb, Windows, Authenticode, Lsa, Antimalware) .

  • Protect a specific file against anti-malware, when an anti malware tries to scan it the rootkit will shut it down this done by checking the caller EPROCESS protection member .

Contribution

  • Contributions are welcome, but when contributing, please pay attention to the implementation details of how the rootkit is designed. For example, see this code. Ignoring this logic will break the driver. The last contribution did not follow this design, and I had to push several updates to fix it :(

Writeup

CREDITS

  • Yassine Jerroudi : Helped significantly with the early version of the rootkit client GUI, since I was a complete noob with IMGUI. Deserves all the credit.
  • IDontCode BackEngineerLab: All credit for the implementation of swapping the driver on disk and in memory.
  • sixtyvividtails : Thanks to him for recommending probing ObjectAttributes->ObjectName->Buffer at all three levels, since we are hooking NtCreateFile and receive user-controlled pointers.
  • Pavel Yosifovich : the author of Windows Kernel Programming, this book remains the single most valuable resource I rely on, without a solid understanding of kernel internals, you can’t just vibe-code drivers. real knowledge is the only thing that keeps you from getting completely cooked bsod ..
  • To contributors: Special thanks to UncleJ4ck, the first contributor, for implementing error handling, and to staarblitz for adding Windows 11 24H2 offsets and GUI protection.
関連リポジトリ
ExistentialAudio/BlackHole

BlackHole is a modern macOS audio loopback driver that allows applications to pass audio to other applications with zero additional latency.

COtheraudiodriver
19.4k828
lostindark/DriverStoreExplorer

Driver Store Explorer

C#GNU General Public License v2.0driver-storedriver
11.2k543
imbushuo/mac-precision-touchpad

Windows Precision Touchpad Driver Implementation for Apple MacBook / Magic Trackpad

COtherwindows-precision-touchpaddriver
10.4k656
winfsp/winfsp

Windows File System Proxy - FUSE for Windows

COtherfusefilesystem
winfsp.dev
8.8k612
porsager/postgres

Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare

JavaScriptnpmThe Unlicensepostgresqlpostgres
8.7k356
mongodb/mongo-go-driver

The Official Golang driver for MongoDB

GoGo ModulesApache License 2.0databasedriver
mongodb.com/docs/drivers/go/current/
8.5k936
dokan-dev/dokany

User mode file system library for windows with FUSE Wrapper

Cdokandokan-library
dokan-dev.github.io
5.9k704
Davidobot/BetterJoy

Allows the Nintendo Switch Pro Controller, Joycons and SNES controller to be used with CEMU, Citra, Dolphin, Yuzu and as generic XInput

C#Othercemu-emulatornintendo-switch
4.7k388
openrazer/openrazer

Open source driver and user-space daemon to control Razer lighting and other features on GNU/Linux

CGNU General Public License v2.0razerdriver
openrazer.github.io
4.4k695
joeyism/linkedin_scraper

A library that scrapes Linkedin for user data

PythonPyPIGNU General Public License v3.0linkedinlinkedin-scraper
4.3k959
nefarius/ViGEmBus

Windows kernel-mode driver emulating well-known USB game controllers.

C++BSD 3-Clause "New" or "Revised" Licensexbox360-controllerdualshock4
docs.nefarius.at/projects/ViGEm/
4.2k397
xiaowenxia/embedded-notes

嵌入式linux软件开发、嵌入式linux驱动开发、c语言、单片机开发、IOT开发等面试要点记录

MIT Licenseembeddedlinux
4.1k582