Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mach_inject causes the injected process to crash after installing Mojave security update 2020-005 #24

Open
briankendall opened this issue Sep 29, 2020 · 2 comments

Comments

@briankendall
Copy link

briankendall commented Sep 29, 2020

It seemed that after installing Mojave security update 2020-005 mach_inject no longer works. Whichever process gets a payload injected into it will crash. I can reproduce it with mach_inject_example, and it doesn't seem to matter which process I have it inject into.

At this point I'm not sure if any recent updates to macOS 10.15 or one of the Big Sur betas are also affected.

The crash report doesn't seem to be particularly revealing, but it does usually look like this for the crashing thread:

Thread 12 Crashed:
0   ???                           	0x000000010f735fc3 0 + 4554186691
1   libsystem_pthread.dylib       	0x00007fff5b49f2eb _pthread_body + 126
2   libsystem_pthread.dylib       	0x00007fff5b4a2249 _pthread_start + 66
3   libsystem_pthread.dylib       	0x00007fff5b49e40d thread_start + 13

edit: should add this still occurs when SIP is disabled

@saagarjha
Copy link

Not seeing any issues on Big Sur, FWIW.

@briankendall
Copy link
Author

Doesn't seem to affect Catalina either. Strangely just Mojave 10.14.6 with the latest security update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants