csu333 / Surrogate

This is the repository for the Surrogate Xposed module
25 stars 7 forks source link

enbd.mobilebanking #4

Open Vano3408 opened 7 years ago

Vano3408 commented 7 years ago

Dears, I am not Android developer, but need help with enbd.mobilebanking whereas certain functions do not work if detects root on the phone. So far no any tricks (rootcloack, etc.) didn't work. I decompilled it and found attached code. Please advise.

Evaluator$IsRoot.txt

csu333 commented 7 years ago

Well, this is a well hidden one. I'm not sure all the places where the check for root might happen but I did find something for the "Smart Pass" feature. With the rule I've added, it doesn't complain anymore.

Just download the definition from internet (you should see the package name appear), enable the package and let me know if this is enough.

Vano3408 commented 7 years ago

Thank you very much. Tried to find via google search unsuccessfully.. Please advise what exact search should i perform to find this rule definition? And sorry for stupid q.

csu333 commented 7 years ago

My bad, it wasn't really clear.

From the Surrogate application, click on the button "Download from fnternet". It's the cloud shaped icon on this screenshot, between the sharing buttons and the menu button: image

By the way, I'm not sure which version you are running so the order of the icon might differ and you might find it in the drop down menu (the 3 vertical dots). I would advise you to go for the beta version if it's not the case so you have the latest improvements of the GUI.

Vano3408 commented 7 years ago

You are the best!! Smart pass working fine.. If also you could make NBD Pay function work, it would be Great!!

Thank you again.

csu333 commented 7 years ago

I'll have a look but I can't promise that I'll have the time before next weekend :(

csu333 commented 7 years ago

I just posted an update. I don't have an NFC phone myself so I really can't try this time but I found a second root detection method so hopefully, this was the one.

You have to remove the package definition from Surrogate then download the definition from internet like before. You should have a second rule in the package definition.

Vano3408 commented 7 years ago

Thank you. Tried, but didn't work unfortunately.

csu333 commented 7 years ago

Third attempt. If it doesn't work:

Vano3408 commented 7 years ago

Unfortunately still no go. Screenshot attached.

With best regards, Ivan Kardash

On Feb 4, 2017 08:31, "csu333" notifications@github.com wrote:

Third attempt. If it doesn't work:

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/csu333/Surrogate/issues/4#issuecomment-277423228, or mute the thread https://github.com/notifications/unsubscribe-auth/AYPJ_1qwce9aEft-hYdjXcAk-ReqP5Oiks5rZBtfgaJpZM4LwweA .

csu333 commented 7 years ago

Unfortunately, the screenshot has not been attached to the issue :-(

Vano3408 commented 7 years ago

Here it is

screenshot_20170204-103833

csu333 commented 7 years ago

I'm just completely lost in this obfuscated code. I just spent a few hours trying to figure out where the hell this root test was. It's usually pretty easy to figure out: when you get the message, you look for it in the code and the test is just before. The thing is that the message you have is never shown by the code !

I also tried to find the home screen definition to follow the flow once you click on the "NBD Pay" button but the view is split in so many fragments that I can't find the right one :-/

Vano3408 commented 7 years ago

First It check if NFC enabled in smartphone when click NBD Pay and after it check if it is rooted. Maybe this info will help.

With best regards, Ivan Kardash

On Feb 5, 2017 14:50, csu333 notifications@github.com wrote:

I'm just completely lost in this obfuscated code. I just spent a few hours trying to figure out where the hell this root test was. It's usually pretty easy to figure out: when you get the message, you look for it in the code and the test is just before. The thing is that the message you have is never shown by the code !

I also tried to find the home screen definition to follow the flow once you click on the "NBD Pay" button but the view is split in so many fragments that I can't find the right one :-/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/csu333/Surrogate/issues/4#issuecomment-277517755, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYPJ_1MN5Y-vemEn3df97HNC6IC_Wgerks5rZcV8gaJpZM4LwweA.


Please note: Privileged and confidential information may be contained in this message and protected from disclosure. If you are not addressee indicated in this message (or responsible for delivery of the message to such person), you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. In such case, you should destroy this message and kindly notify the sender by reply email. Thank you.

Vano3408 commented 6 years ago

Dear, they made update of Emirates NBD mobile banking application and now surrogate rule not working in regards to root check for "Smart pass" feature. Can you please have a look and modify surrogate rule in regards to root detection for "Smart pass" feature to work with new version. New apk version is here: https://1drv.ms/u/s!AsVBBjOO9deqg4kXDEH-sHOxAWsL7w

Thank you very much in advance.

csu333 commented 6 years ago

Unfortunately, I don't have much time currently to ensure support. I would advise you to have a look at Magisk which have been able to avoid detection by all the applications I use (and which completely replace SuperSU or the application you currently use).