Skip to content

Easy make breakpoint when you meet frequently calling methods on MacOS

Notifications You must be signed in to change notification settings

lilang-wu/EasyBP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

EasyBP

If you are still annoyed when you want to debug a macOS PoC, but the key method is called so frequently that you can't tell which one is yours, you can use this kernel extension.

Introduction & Usage

This kext is only a simple inline hook for is_io_connect_method, and set add a selector check within it.

#define SELECTOR_MASK 0xFEFEF000

so, if you want to debug a selector which is 0x1, you can simply input the selector in the IOConnectCallMethod with

0x1 + SELECTOR_MASK

EasyBP will check this method using refine_selector function. So, you can make breakpoint in this function. If hit, it means this call is yours.

breakpoint set -n refine_selector

if you debug the syscall, you can just extent it. EasyBP

Changelogs

Add support exec_mach_imgact function hook.

About

Easy make breakpoint when you meet frequently calling methods on MacOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages