cordova-plugin-iroot icon indicating copy to clipboard operation
cordova-plugin-iroot copied to clipboard

Frida server detection suggestion

Open SadiquaAnjum opened this issue 4 years ago • 10 comments

Looks like frida server creates a temp folder once it is started on device for the first time. This folder name and path where it gets created is fixed. I think we can include a check for this folder existance and come to a conclusion of frida server installation on the device.

Please see if this change can be incorporated in your plugin.

Details.

Folder name : re.frida.server Path : /data/local/tmp

SadiquaAnjum avatar Nov 05 '20 08:11 SadiquaAnjum

@SadiquaAnjum ok, I add this in my todo

TODO:

  • is it possible to merge/use this repos:
    • https://github.com/b-mueller/frida-detection-demo
    • https://github.com/qtfreet00/AntiFrida

WuglyakBolgoink avatar Nov 05 '20 18:11 WuglyakBolgoink

is there any date of release with frida detection ?, BTW thanks for this amazing plugin

mor12 avatar Nov 23 '20 13:11 mor12

Looks like frida server creates a temp folder once it is started on device for the first time. This folder name and path where it gets created is fixed. I think we can include a check for this folder existance and come to a conclusion of frida server installation on the device.

Please see if this change can be incorporated in your plugin.

Details.

Folder name : re.frida.server Path : /data/local/tmp

I tried this but it didn't work, i modified the constants file and added the folder and the path but it didn't work

mor12 avatar Nov 23 '20 21:11 mor12

I have added this file check inside my code itself explicitly and it works. Not sure why it does not work when this check is added inside the plugin code.

SadiquaAnjum avatar Dec 07 '20 07:12 SadiquaAnjum

@mor12 / @SadiquaAnjum I try to do a new release until christmas! Sorry, I'm currently very busy with other releases...

WuglyakBolgoink avatar Dec 07 '20 11:12 WuglyakBolgoink

thanks @WuglyakBolgoink . I am not sure if anybody else is facing below issue with iOS - Jailbreak detection is failing when it is bypassed with Liberty tool.

SadiquaAnjum avatar Dec 08 '20 10:12 SadiquaAnjum

thanks @WuglyakBolgoink . This is a great plugin

mor12 avatar Dec 09 '20 01:12 mor12

I am also facing this issue. Frida detects this plugin and changes the value at run time . Please update this plugin to detect frida server . Thanks in advance

safiUllahRai avatar Mar 29 '21 04:03 safiUllahRai

Same issue for me also. Plugin can not detect whether the device is rooted or not with Frida server. It always returns isRooted as false. can any body please help?

ForamRaiyani avatar Jun 01 '22 08:06 ForamRaiyani

@ForamRaiyani this plugin doesn't contain check for Frida/Magestic! PR welcome!

WuglyakBolgoink avatar Jun 01 '22 08:06 WuglyakBolgoink