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

Cannot open target process #5

Closed
d3ibis opened this issue Feb 6, 2022 · 13 comments
Closed

Cannot open target process #5

d3ibis opened this issue Feb 6, 2022 · 13 comments

Comments

@d3ibis
Copy link

d3ibis commented Feb 6, 2022

For all applications...

Any suggestion ?

Screen Shot 2022-02-06 at 10 14 14 PM

@as0ler
Copy link
Owner

as0ler commented Feb 10, 2022

Is it happening with all your applications? Please give more feedback to see what's the root cause of it.

Thank you!

@bt
Copy link

bt commented Feb 11, 2022

I'm also experiencing this issue with a new installation. I tried with a couple apps.

iPhone 7 Plus, iOS 13.4.1, jailbroken with checkra1n.

@d3ibis
Copy link
Author

d3ibis commented Feb 11, 2022

Is it happening with all your applications? Please give more feedback to see what's the root cause of it.

Thank you!

Nothing to add actually, this is happening to all of my applications along with new installed ones.

I'm also like last conment, iPhone 7 (A10) with 14.4.2 iOS with Checkra1n

@as0ler
Copy link
Owner

as0ler commented Feb 11, 2022

Have you tried to spawn the app using r2frida? r2 frida://usb/launch//

As well, verify the bundle id is correct using r2flutch -l or frida-ps -U -i -a.

@d3ibis
Copy link
Author

d3ibis commented Feb 11, 2022

r2 frida://usb/launch//

getting same for spawning

[r] Cannot open 'frida://usb/launch//com.6alabat.cuisineapp'

Or when typing app name:

[r] Cannot open 'frida://usb/launch//talabat'

Also checked bundle id, with more than 1 app.

@d3ibis
Copy link
Author

d3ibis commented Feb 12, 2022

@as0ler Issues were fixed, re-installed radare2 using:

git clone https://github.com/radareorg/radare2
radare2/sys/install.sh

Then re-installed r2flutch using:
r2pm -ci r2flutch

All working now:

Screen Shot 2022-02-12 at 8 56 18 PM

Issue closed!

@d3ibis d3ibis closed this as completed Feb 12, 2022
@d3ibis
Copy link
Author

d3ibis commented Feb 12, 2022

I noticed apps with jailbreak detection (2 apps one is crashing and the other open web browser with crash to app) are not saved or decrypted, any workaround ?

Tried with other apps, worked flawlessly!

@d3ibis d3ibis reopened this Feb 12, 2022
@as0ler
Copy link
Owner

as0ler commented Feb 12, 2022

there is no native support to bypass the controls for apps with jailbreak detection. You should analyze the app and bypass the checks with r2frida. Then, launching the app with early instrumentation using the script and attaching it to the process should be fine.

@d3ibis
Copy link
Author

d3ibis commented Feb 12, 2022

For now I'll use flexdecrypt for them on device...i thought i can decrypt them using r2flutch in order to analyze later.

Much appreciated & ThanQ.

@d3ibis d3ibis closed this as completed Feb 12, 2022
@as0ler
Copy link
Owner

as0ler commented Feb 12, 2022

is flexdecrypt having support for this?

I'm thinking in adding support to bypass basic jb detections, so perhaps is coming sooner than later :)

@as0ler as0ler reopened this Feb 12, 2022
@d3ibis
Copy link
Author

d3ibis commented Feb 12, 2022

flexdecrypt only decrypts main app binary and save it in specific folder on device, later on we can just copt it alone or do the whole process with ssh (tried it with 3 apps with jailbreak detection and decrypted the 3 of them in seconds).

For r2flutch, it is opening the app then app is crashing and process is terminated, flexdecrypt is dealing with main binary file directly.

@as0ler
Copy link
Owner

as0ler commented Feb 12, 2022

r2flutch is getting only the main app by default (without -i flag).

It's easy to add support to decrypt jb apps during early instrumentation, but you have to bypass the ios watchdog to avoid crashing the app by the os.

I will think on add this for future releases :)

Thank you for the feedback!

@as0ler as0ler closed this as completed Feb 12, 2022
@d3ibis
Copy link
Author

d3ibis commented Feb 12, 2022

Here is flexdecrypt:

Screen.Recording.2022-02-12.mov

Waiting for ur updates <3 ThanQ!

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

3 participants