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

Make use of Strong-Frida #16

Open
Azulath opened this issue Jul 29, 2021 · 8 comments
Open

Make use of Strong-Frida #16

Azulath opened this issue Jul 29, 2021 · 8 comments
Labels
enhancement New feature or request

Comments

@Azulath
Copy link

Azulath commented Jul 29, 2021

In order to avoid Frida being detected by various applications it would be beneficial if the following could be integrated:
https://github.com/feicong/strong-frida

I didn't want to create a separate, maybe related issue but I cloned the repository and wanted to adjust the URLs to point to strong-frida but now I'm getting the following error:

Last frida tag: v1.13
Last project tag: 15.0.10-1
Last commit tag: 15.0.10-1
Update needed to v1.13-1
MainThread : Creating module
arm : Filling module for arch 'arm'
arm : Downloading 'frida-server-v1.13-android-arm.xz' to '/Users/user/magisk-frida/downloads/frida-server-v1.13-android-arm.xz'
arm : Extracting 'frida-server-v1.13-android-arm.xz' to 'frida-server-arm'
arm64 : Filling module for arch 'arm64'
arm64 : Downloading 'frida-server-v1.13-android-arm64.xz' to '/Users/user/magisk-frida/downloads/frida-server-v1.13-android-arm64.xz'
arm64 : Extracting 'frida-server-v1.13-android-arm64.xz' to 'frida-server-arm64'
x86 : Filling module for arch 'x86'
x86 : Downloading 'frida-server-v1.13-android-x86.xz' to '/Users/user/magisk-frida/downloads/frida-server-v1.13-android-x86.xz'
x86 : Extracting 'frida-server-v1.13-android-x86.xz' to 'frida-server-x86'
concurrent.futures.process._RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/Users/user/homebrew/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/concurrent/futures/process.py", line 243, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/Users/user/magisk-frida/build.py", line 87, in fill_module
    extract_file(frida_server_path, files_dir.joinpath(f"frida-server-{arch}"))
  File "/Users/user/magisk-frida/build.py", line 45, in extract_file
    file_content = f.read()
  File "/Users/user/homebrew/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/lzma.py", line 200, in read
    return self._buffer.read(size)
  File "/Users/user/homebrew/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/_compression.py", line 103, in read
    data = self._decompressor.decompress(rawblock, size)
_lzma.LZMAError: Input format not supported by decoder
"""

The above exception was the direct cause of the following exception:

x86_64 : Filling module for arch 'x86_64'
x86_64 : Downloading 'frida-server-v1.13-android-x86_64.xz' to '/Users/user/magisk-frida/downloads/frida-server-v1.13-android-x86_64.xz'
Traceback (most recent call last):
  File "/Users/user/magisk-frida/main.py", line 45, in <module>
x86_64 : Extracting 'frida-server-v1.13-android-x86_64.xz' to 'frida-server-x86_64'
    main()
  File "/Users/user/magisk-frida/main.py", line 41, in main
    build.do_build(last_frida_tag, new_project_tag)
  File "/Users/user/magisk-frida/build.py", line 118, in do_build
    raise future.exception()
_lzma.LZMAError: Input format not supported by decoder
@ViRb3
Copy link
Owner

ViRb3 commented Jul 30, 2021

That's a very interesting project, thanks for linking it. I don't know why the build script is failing for you, I will have to look into it. I am a bit busy now, but I will try to incorporate the project you referenced in a Magisk module somehow.

@ViRb3 ViRb3 added the enhancement New feature or request label Jul 30, 2021
@enovella
Copy link
Contributor

In any case, I would create another module magisk-strong-frida to avoid more problems

@ViRb3
Copy link
Owner

ViRb3 commented Jan 29, 2022

I was more considering to release two zips every update, especially since the Magisk repo is discontinued and this will the the official module channel. Should be trivial. The link to strong Frida is dead btw.

@lindoalex577
Copy link

There's another repo that uses Actions to patch and compile "strong" Frida: https://github.com/hzzheyang/strongR-frida-android

@zixing131
Copy link

Here is another repo : https://github.com/zixing131/strongR-frida/releases/tag/15.1.17

@forty875

This comment was marked as off-topic.

@h3x4n1um
Copy link

h3x4n1um commented Jul 1, 2023

I also had the same issue but I couldn't find solution for it :(

@MicroCBer
Copy link

There's another repo that uses Actions to patch and compile "strong" Frida: hzzheyang/strongR-frida-android

I've created a fork for it.
https://github.com/MicroCBer/magisk-strongR-frida

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

No branches or pull requests

8 participants