GithubHelp home page GithubHelp logo

Comments (5)

 avatar commented on July 18, 2024 1
// patch mprotect to allow RWX mapping 4.55 
	kmem = (uint8_t *)&gKernelBase[0x00396A58];
	kmem[0] = 0x90;
	kmem[1] = 0x90;
	kmem[2] = 0x90;
	kmem[3] = 0x90;
	kmem[4] = 0x90;
	kmem[5] = 0x90;
// patch mprotect to allow RWX mapping 4.74 
	kmem = (uint8_t *)&gKernelBase[0x00397878];
	kmem[0] = 0x90;
	kmem[1] = 0x90;
	kmem[2] = 0x90;
	kmem[3] = 0x90;
	kmem[4] = 0x90;
	kmem[5] = 0x90;
// patch mprotect to allow RWX mapping 5.01 
	kmem = (uint8_t *)&gKernelBase[0x001A3AF8];
	kmem[0] = 0x90;
	kmem[1] = 0x90;
	kmem[2] = 0x90;
	kmem[3] = 0x90;
	kmem[4] = 0x90;
	kmem[5] = 0x90;
// patch mprotect to allow RWX mapping 5.05 
	kmem = (uint8_t *)&gKernelBase[0x001A3C08];
	kmem[0] = 0x90;
	kmem[1] = 0x90;
	kmem[2] = 0x90;
	kmem[3] = 0x90;
	kmem[4] = 0x90;
	kmem[5] = 0x90;

Sorry, no 4.05 kern here.

from mira-project-archive.

 avatar commented on July 18, 2024

// patch mprotect to allow RWX mapping 4.05
kmem = (uint8_t *)&gKernelBase[0x004423E9];
kmem[0] = 0x90;
kmem[1] = 0x90;
kmem[2] = 0x90;
kmem[3] = 0x90;
kmem[4] = 0x90;
kmem[5] = 0x90;

Took some time, but here it is. Also here is 1.76 if ever needed.

// patch mprotect to allow RWX mapping 1.76
kmem = (uint8_t *)&gKernelBase[0x003AFB9D];
kmem[0] = 0x90;
kmem[1] = 0x90;
kmem[2] = 0x90;
kmem[3] = 0x90;
kmem[4] = 0x90;
kmem[5] = 0x90;

from mira-project-archive.

 avatar commented on July 18, 2024

isn't this patch applied in kexploit kROP ?

from mira-project-archive.

CrazyVoidProgrammer avatar CrazyVoidProgrammer commented on July 18, 2024

unsure, it wont hurt applying it twice just in case though.

from mira-project-archive.

CrazyVoidProgrammer avatar CrazyVoidProgrammer commented on July 18, 2024

Thank you @kozarovv

from mira-project-archive.

Related Issues (20)

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.