Giter VIP home page Giter VIP logo

readwritedriver's Introduction

ReadWriteDriver

A kernel driver for reading and writing memory. Contains a test that writes to notepad.exe's memory, and classes to read/write to two games (Halo: MCC & Apex Legends) which are protected by EAC. I also created a modified version of ReClass.NET that utilizes the driver for its read/write operations, but the laptop I had it on sustained water damage and was destroyed. I will recreate it when I have the time.

Please note that the function addresses are currently hardcoded for Windows 11 kernel 10.0.22000.376. A signature scanner can (and should) be added in the future to avoid this.

image

Technical information

  • The usermode module (ReadWriteUser.exe) loads ReadWriteDriverMapper.sys, which then manually maps ReadWriteDriver.sys
  • ReadWriteDriverMapper.sys allocates non-paged memory with MmAllocateIndependentPages(), and then sets its page protection to make it executable memory with MmSetPageProtection()
  • ReadWriteDriver.sys attaches to a usermode process that loads user32.dll (in this case, ReadWriteUser.exe) to gain access to win32kbase.sys;NtUserSetSysColors and overwrites a global pointer in NtUserSetSysColors() for its hook

Credits

• JD96 for answering questions, of course! ☺️

Frostiest for his physmem class, since I had to add it in at the last minute after I found out that the Apex version of EAC supposedly detects KeStackAttach().

readwritedriver's People

Contributors

ryan-weil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

readwritedriver's Issues

i have some question for the hook code

The first figure is a physical machine test, the function address pointer before the selected line of unhook is 00000, and the output statement corresponds to line 12 of the source code
ATFTM64L)3VAHYF@(U)SE
NO$NX82V{~N@BP{A7D2R1X3
CE~3DUJ$WT09__PFRMR B
The third figure is a virtual machine, the hook is successful, and the unhook address value is normal.
0x2b3c90 is also not an offset from NtUserSetSysColors.
HQ 9GJOMXAEB2O7UC9)6JDD
RCV}D WAA)12B5X$PLOK$%T
I was very confused by the piece of code, I wanted to know how 0x2b3c90 this offset was found and what it was for, I tried to change its value to 0x2b3c91, and not surprisingly, bosd

Win10

Can you also add a branch for win10 kerne. Thank you!

bsdos when loading the driver

i compiled it as x64 debug
windows 10 19045

when i load the driver i got blue screen
do you mind upload x64 release version of the drivers ?

Hi, how do I configure the assembly.asm

seriousness code explain project file that 's ok Disable display status
error MSB3721 The command "ml64.exe / C / nologo / Zi / fo" x64 \ release \ assembly. Obj "/ W3 / errorreport: prompt / Ta.. \ x64 \ debug \ assembly. ASM" exited with a return code of 1. ReadWriteDriver C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\BuildCustomizations\masm. targets seventy
error A1000 cannot open file : .. \x64\Debug\assembly. asm ReadWriteDriver E:\ReadWriteDriver-master\ReadWriteDriver-master\ReadWriteDriver\MASM one
20220117003634

Hi, how do I configure the assembly asm
I can't find rel
20220117004806
evant information on the Internet

Question regarding detectability

I've been active in the cheating scene for a while now, but this would be my introduction to kernel level cheating.
I've already done some research, data pointer hooked functions are mostly detected in the assembly code.
Are there any other detection vectors I need to look out for?

Updating

Hello, I am trying to update the program. I changed the following offsets for my version of windows:
ntoskrnl!MmAllocateIndependentPages
ntoskrnl!MmSetPageProtection
win32kbase!NtUserSetSysColors
Also changed the userdir offset in physmem.

After that i build it all and tried to load the driver, however it gave me the following response:
NSTATUS 0xc0000034

Which after some research i found out that it is some kind of error. Program stops responding, other functions don't work.
I am not getting a BSOD or any other type of trouble.
What am i doing wrong?

I calculated the offsets by: functionstartaddress - imagebaseaddress

image
image

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.