Coder Social home page Coder Social logo

thecruz / efi_driver_access Goto Github PK

View Code? Open in Web Editor NEW
341.0 10.0 65.0 29 KB

Efi Driver Access is a simply project to load a driver during system boot with the idea to give the user kernel access for read/write memory without restrictions

Makefile 3.40% C++ 43.58% C 53.02%

efi_driver_access's Introduction

EFI Driver Access

Efi Driver Access is a simply project to load a driver during system boot with the idea to give the user kernel access for read/write memory without restrictions

CRZEFI

CRZEFI is the EFI Driver itself and is based on other publications like https://github.com/SamuelTulach/efi-memory

The difference of this one basically is that is prepared to call some windows kernel function directly for the user access

EFIClient

EFIClient is a simply Console example for the usage of EFI Driver

One of the main examples where i use this driver is in: https://www.unknowncheats.me/forum/apex-legends/405983-direct-efi-aimbot-glow-hack.html

Compilling

To compile EFIClient is easiest as you only need to install Visual Studio, open the project, and compile it

For the CRZEFI is very simple too but you must have a gcc compiler with gnu-efi, the easiest method to have this enviroment is install an ubuntu desktop/server somewhere and run the next commands:

sudo apt install gnu-efi build-essential
git clone https://github.com/TheCruZ/EFI_Driver_Access
cd EFI_Driver_Access
cd CRZEFI
make

And it should generate a memory.efi file

How To Use

You have to put in a USB Driver the edk2 efi shell: https://github.com/tianocore/edk2/releases in the path

/EFI/Boot/bootx64.efi

and then leave the memory.efi somethere in the USB Driver for example in

/memory.efi

Now you can bootup with you usb and load the efi file with the "load memory.efi" command (going first to the USB folder that can be FS0, FS1, FS2...) and then come back to your boot menu/bios to run windows normally, you will know that the memory.efi is working because will set blue background while windows system is loading

Have a fun and keep learning!

efi_driver_access's People

Contributors

decimaldreamer avatar thecruz 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  avatar

efi_driver_access's Issues

windows bluescreen

When I load memory.efi on EFI shell then exit it, it loads my bootmgr for my computer then bluescreens saying "system thread exception not handled", if you could help I would appreciate that a lot thanks!

different approach

cant we just use GetVariable instead of SetVariable to avoid memory leak?

Windows wont start

System Information
Windows 10 Pro 21H1

I boot via my usb stick, the shell starts, i go into FS1 and type load memory.efi, everything works fine, when i type exit and select the Windows Boot Manager i get the blue screen where it says "Driver seems to be working as expected! Windows is booting now...", but after that my Windows boot screen looks like this
WhatsApp Image 2021-06-21 at 20 58 39
and after a few seconds the PC reboots.

error: incompatible type for argument 5 of ‘BS->CreateEventEx’ 369 | ExitGuid,

I am having this error while compiling the driver in lunix .

main.c: In function ‘efi_main’:
main.c:354:65: error: incompatible type for argument 5 of ‘BS->CreateEventEx’
354 | VirtualGuid,
| ^~~~~~~~~~~
| |
| EFI_GUID
main.c:354:65: note: expected ‘const EFI_GUID *’ but argument is of type ‘EFI_GUID’
main.c:369:65: error: incompatible type for argument 5 of ‘BS->CreateEventEx’
369 | ExitGuid,
| ^~~~~~~~
| |
| EFI_GUID
main.c:369:65: note: expected ‘const EFI_GUID *’ but argument is of type ‘EFI_GUID’
make: *** [: main.o] Error 1

BSOD (Amd?)

Hi, i have a problem with amd cpu's - Always if i try to laod the driver with a amd board (many different tried) it give me a bluescreen (0x000009c) on win 10 1809. Does it only work on Intel?

Slow operations

Hey thank you for this release
im having im problem with the efi driver rpms , its too slow compared to my other driver that uses ioctl
is there anyway to accelerate it?
Thank you

hard crash

hard crashing on 2 different computers
all running windows 10 2004, clean windows install
cheat will run and crash in a few minutes
minidump

the more i read - the faster it crashes
ram is good. only 10gb of 32 gb used

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.