Skip to content

cxdxn1/kpf64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kpf64

Basic ARM64 patchfinder for XNU kernelcaches - supports all 64-bit kernelcaches except ARM64E (A12+).

More functionality including finding certain useful symbols on stripped kernelcaches, actual kernel patches (which can be incorparated into a jailbreak or exploit) will be added in the forseeable future.

Compiling

  1. Clone the repository
git clone https://github.com/cxdxn1/kpf64
  1. Compile the library
cd kpf64
cd libpf64
make
  1. Compile the source
cd ..
make
  1. Run the binary
./kpf64 <your-kernelcache-path-here>

Usage

The patchfinder is made up of a library called libpf64 that contains all source code and everything needed for kernel patchfinding (MachO parsing, finding XREFs, strings, etc) and the actual source code just contains an example of how that library could be used in a KPF context.

Keep in mind the source code is still pretty limited as it just opens the kernelcache and fetches kernel information using libpf64 however more functionality will be added to this soon as previously mentioned.

Credits

License

This software is licensed under the MIT license, meaning you may redistribute, modify and use it as you please.

About

ARM64 patchfinder for XNU kernelcaches

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors