Banking app (Starling) detecting Magisk

Search This thread

makeyourself

Senior Member
Aug 26, 2012
210
101
A banking app I've been using for years has always worked after putting it on the Deny List. I updated it recently and it now won't work with Magisk installed regardless of what I do.

As soon as I patch the boot image with Magisk it complains that the device is rooted and locks me out. That's without even installing the Magisk app, also without Zygisk etc.

I can pass SafetyNet and Play Protect certification with Universal Safety Net Fix and Magisk Hide Props Config modules. However that doesn't make the banking app work.

So far I've also tried:
* Magisk Delta, Zygisk off, with sulist on whitelist mode (also tried Delta's Magisk Hide)
* Shamiko
* Hide My Applist (various configs)
* Disabling root from Magisk app
* Renaming the Magisk app
* Downgrading the banking app (it no longer detects root but locks me out until I upgrade)
* Cloning the banking app to Work Profile with Shelter (this is the only thing that gets rid of the message about being rooted. But then it bizarrely claims it can't connect to the server to login!?)

I'm now at a loss as to what else to try. Any ideas please?
 
Last edited:
  • Like
Reactions: korbyhygy

spida_singh

Senior Member
Mar 3, 2011
557
198
A banking app I've been using for years has always worked after putting it on the Deny List. I updated it recently and it now won't work with Magisk installed regardless of what I do.

As soon as I patch the boot image with Magisk it complains that the device is rooted and locks me out. That's without even installing the Magisk app, also without Zygisk etc.

I can pass SafetyNet and Play Protect certification with Universal Safety Net Fix and Magisk Hide Props Config modules. However that doesn't make the banking app work.

So far I've also tried:
* Magisk Delta, Zygisk off, with sulist on whitelist mode (also tried Delta's Magisk Hide)
* Shamiko
* Hide My Applist (various configs)
* Disabling root from Magisk app
* Renaming the Magisk app
* Downgrading the banking app (it no longer detects root but locks me out until I upgrade)
* Cloning the banking app to Work Profile with Shelter (this is the only thing that gets rid of the message about being rooted. But then it bizarrely claims it can't connect to the server to login!?)

I'm now at a loss as to what else to try. Any ideas please?
I have found some banking apps are calling an external site and somehow they are detecting reporting back root. I had an issue with Halifax and Starling before.

Starling for me tripped over the last few days, and I used pcap droid to trace what hosts it was calling during app start up.

I found that when i blocked the following address:-

firebaseremoteconfig.googleapis.com

it all worked OK.

Try it if you use Adaway or a DNS provider and add this to your blacklist
 
Last edited:

giociampa

Senior Member
Feb 22, 2012
239
85
Trowbridge
Moto G5 Plus
Moto G 5G Plus
I have found some banking apps are calling an external site and somehow they are detecting reportign back root. I had an issue with Haliafx and Starling before.

Starlign for me tripped over the last few days, and i used pcap droid to trace what hosts it was calling during app start up.

I found that when i blocked the following address:-

firebaseremoteconfig.googleapis.com

it all worked OK.

Try it if you use Adaway or a DNS provider and add this to your blacklist
I was wondering why Starling suddenly started failing - thanks!
 

Prof. Yaffle

Senior Member
Mar 19, 2008
346
25
OnePlus 6T
I have found some banking apps are calling an external site and somehow they are detecting reportign back root. I had an issue with Haliafx and Starling before.

Starlign for me tripped over the last few days, and i used pcap droid to trace what hosts it was calling during app start up.

I found that when i blocked the following address:-

firebaseremoteconfig.googleapis.com

it all worked OK.

Try it if you use Adaway or a DNS provider and add this to your blacklist

Thanks. Worked for me on my 6t using LOS20 and Starling
 

makeyourself

Senior Member
Aug 26, 2012
210
101
What's the banking app name?
Starling
Also install Ruru and see what might be the problem. Make the same steps you use to hide your banking apps. Also clear data of Ruru before each test.

If I rename/repackage the Magisk app and use Deny List then the only things Ruru detects is the Magisk app itself (even though it's renamed) and TWRP. TWRP doesn't seem to be the problem because the banking app doesn't seem to care if I've got that installed so long as Magisk isn't installed to ramdisk. And the banking app is clearly detecting something other than just the Magisk app because it trips after flashing Magisk from recovery, even if the Magisk app isn't installed.

I think @spida_singh may have a solution though!
 

makeyourself

Senior Member
Aug 26, 2012
210
101
I have found some banking apps are calling an external site and somehow they are detecting reporting back root. I had an issue with Halifax and Starling before.

Starling for me tripped over the last few days, and I used pcap droid to trace what hosts it was calling during app start up.

I found that when i blocked the following address:-

firebaseremoteconfig.googleapis.com

it all worked OK.

Try it if you use Adaway or a DNS provider and add this to your blacklist
Thanks very much, yes it's Starling I'm having the problem with! Have not tried your solution yet but will do when I have time. Edit: Just tried and it works 😀!!

I did have a look at the DNS requests from the Starling app and I think I may have even noticed the domain name you mention. But wouldn't have guessed it was that causing it! I'd be interested to know how that works... Are Google apps (I have minimal amount installed) spying on my applist and reporting it to my bank!? Kind of creepy! Also quite weird seeing as Google Pay/Wallet doesn't complain!
 
Last edited:
  • Like
Reactions: pndwal

spida_singh

Senior Member
Mar 3, 2011
557
198
Thanks very much, yes it's Starling I'm having the problem with! Have not tried your solution yet but will do when I have time.

I did have a look at the DNS requests from the Starling app and I think I may have even noticed the domain name you mention. But wouldn't have guessed it was that causing it! I'd be interested to know how that works... Are Google apps (I have minimal amount installed) spying on my applist and reporting it to my bank!? Kind of creepy! Also quite weird seeing as Google Pay/Wallet doesn't complain!
Starling will manage the API in how it works for their app, only they will know, i honesltly have no idea, i know Halifax have done this in the past, and now Starling, and simply blocking it allows the app to work, but, as you, im intrigued to know what the app is 'reading' and sending back to report the device is rooted.

PCAP droid can check the payload and dump it to see what was happening with that request, and whats being sent back.
 
  • Like
Reactions: pndwal
Starling will manage the API in how it works for their app, only they will know, i honesltly have no idea, i know Halifax have done this in the past, and now Starling, and simply blocking it allows the app to work, but, as you, im intrigued to know what the app is 'reading' and sending back to report the device is rooted.

PCAP droid can check the payload and dump it to see what was happening with that request, and whats being sent back.
Id like to know too - But use my file from post #7 and it should work
 

surajpai524

Senior Member
May 5, 2014
200
53
Samsung Galaxy Pocket
Nubia Z11
I tried Starling app and at first it detected root but once I added to Deny list in Magisk. It didn't detect and went to login page.


My root detection bypass configs:-
Magisk (Not hidden/ Name unchanged / Not Frozen)
Magisk Deny List
Shamiko 0.7
Hide My AppList (LSPosed Module)
Universal SafetyNet Fix mod by Displex


I don't know other behaviour like after login and stuff, since I don't have an account.

Ruru screenshot: even with xposed modules and Magisk app not hidden
 

makeyourself

Senior Member
Aug 26, 2012
210
101
I think I spoke to soon. It's still showing up for me when I quit the Starling app.
Do you have the the domain mentioned above blacklisted in Adaway and the app on Magisk Deny List with Deny List enforcing? All working fine here now.

I also have USNF (kdrag0n) and Magisk Hide Props Config installed. Magisk 26.1

Also you have to clear the app's data before that message will go away.
 
Last edited:

Prof. Yaffle

Senior Member
Mar 19, 2008
346
25
OnePlus 6T
Yes, I've tried it added manually and also with the file. Same result both ways. I have the Magisk app hidden, Starling in the Deny list but Enforce disabled as I'm using Shamiko.

Edit

I've just cleared the Starling app data and it seems okay at the moment
 
Last edited:

spida_singh

Senior Member
Mar 3, 2011
557
198
FYI - Latest May update for Pixel and Starling latest update now break the method in this thread - Searching for workaround
I'm running the latest starling absolutely fine on my Pixel 6. Same set-up (latest linesgeos nightly)

Magisk Delta
USNF by displax
PCAP block list still contains this host

What is your setup?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Banking app was working fine with DNS workaround until last week.
    Any other workaround than disabling zygisk as this would break other apps for me.
    Yeah turning off Zygisk isn't much of a solution for me either as it breaks Google Pay.

    The subdomain we've been blocking is for Google's Firebase Remote Config. As explained here it's a service that allows for behavioural changes to be pushed to an app remotely. My guess is they were testing out the new root blocking with that service, but now it's baked into the app. Newer versions of the app don't attempt to connect to the Firebase Remote Config servers when checking for root/Zygisk.

    Unfortunately I have no idea what the solution is but am going to look into it some more.
    2
    Does HuskyDG's USNF fork for Riru help with passing Play Integrity currently?
    I believe It would (possibly in combination with his sensitive props fix module) and manually adding gms attestation/droidguard + gms main processes in hidelist as I mentioned here:
    https://forum.xda-developers.com/t/banking-app-starling-detecting-magisk.4576421/post-88577473

    The problem is:
    Despite allowing deviceIntegrity pass, this may well cause Starling Bank to fail as it can detect native bridge loaded Zygisk injection into zygote... It may well be be able to detect Riru (also NB loaded) injection/hooking too.

    Someone could test to see if Riru hooking is detected also, but I suspect NB Zygisk hooking/injection hiding will be fixed soon in any case and it is expected to roll out with 27.0 official Magisk... The LSP devs are aware or native bridge hiding issues in latest Alpha anyhow.

    🤠 PW
    1
    I just used TeMeFi. It'll stay disconnected from the market until I reconnect it
    Ta muchly... Ill take a look - Didnt know it existed...!
    1
    Look for my answer here

    These are the results to compare:



    So our options are have Starling working or have Safetynet/Attestation by forcing basic evaluation (these require Zygisk)? What a bummer of a choice.

    Edit: I disable Zygisk, reboot, clear starling data, only to run into the same issue.

    Ruru, Momo, Rootbeer all fail to detect root. YASNAC gives a CTS mismatch as expected (need zygisk and USNF for that to not use hardware backed evaluation.)

    The only modules I still have enabled in magisk are a font replacer (samsung emoji font is garbo), Safetynet Sensitive props v3, Systemless hosts for adblock, and Youtube ReVanced. I doubt any of those are causing issues here.
    Magiskhide is on with the relevant apps hidden, enforce SuList is disabled.

    Am i missing something obvious?

    Edit edit: Disabling the Safetynet Sensitive props v3 module, zygisk bootloop protection, and then rebooting again fixed it
    1
    What we appear to have at the moment is a conflict between the old and new protection mechanisms...

    ...some apps rely on SafetyNet, so the USNF module (and thus Zygisk) is needed to hide root.

    ...others like Starling have moved on from SafetyNet and/or can detect Zygisk so MagiskHide is required.

    Until such time as the SafetyNet API is removed entirely, then we're going to have some apps that only work in one case (but not the other) ... pretty much the worst of all worlds...
  • 7
    A banking app I've been using for years has always worked after putting it on the Deny List. I updated it recently and it now won't work with Magisk installed regardless of what I do.

    As soon as I patch the boot image with Magisk it complains that the device is rooted and locks me out. That's without even installing the Magisk app, also without Zygisk etc.

    I can pass SafetyNet and Play Protect certification with Universal Safety Net Fix and Magisk Hide Props Config modules. However that doesn't make the banking app work.

    So far I've also tried:
    * Magisk Delta, Zygisk off, with sulist on whitelist mode (also tried Delta's Magisk Hide)
    * Shamiko
    * Hide My Applist (various configs)
    * Disabling root from Magisk app
    * Renaming the Magisk app
    * Downgrading the banking app (it no longer detects root but locks me out until I upgrade)
    * Cloning the banking app to Work Profile with Shelter (this is the only thing that gets rid of the message about being rooted. But then it bizarrely claims it can't connect to the server to login!?)

    I'm now at a loss as to what else to try. Any ideas please?
    I have found some banking apps are calling an external site and somehow they are detecting reporting back root. I had an issue with Halifax and Starling before.

    Starling for me tripped over the last few days, and I used pcap droid to trace what hosts it was calling during app start up.

    I found that when i blocked the following address:-

    firebaseremoteconfig.googleapis.com

    it all worked OK.

    Try it if you use Adaway or a DNS provider and add this to your blacklist
    2
    Does HuskyDG's USNF fork for Riru help with passing Play Integrity currently?
    I believe It would (possibly in combination with his sensitive props fix module) and manually adding gms attestation/droidguard + gms main processes in hidelist as I mentioned here:
    https://forum.xda-developers.com/t/banking-app-starling-detecting-magisk.4576421/post-88577473

    The problem is:
    Despite allowing deviceIntegrity pass, this may well cause Starling Bank to fail as it can detect native bridge loaded Zygisk injection into zygote... It may well be be able to detect Riru (also NB loaded) injection/hooking too.

    Someone could test to see if Riru hooking is detected also, but I suspect NB Zygisk hooking/injection hiding will be fixed soon in any case and it is expected to roll out with 27.0 official Magisk... The LSP devs are aware or native bridge hiding issues in latest Alpha anyhow.

    🤠 PW
    2
    Also install Ruru and see what might be the problem. Make the same steps you use to hide your banking apps. Also clear data of Ruru before each test.

    2
    Try hide root with some google apps on deny list. (u can search "html", "webview", "feedback" then enable hide them all apps which include these words.
    2
    Banking app was working fine with DNS workaround until last week.
    Any other workaround than disabling zygisk as this would break other apps for me.
    Yeah turning off Zygisk isn't much of a solution for me either as it breaks Google Pay.

    The subdomain we've been blocking is for Google's Firebase Remote Config. As explained here it's a service that allows for behavioural changes to be pushed to an app remotely. My guess is they were testing out the new root blocking with that service, but now it's baked into the app. Newer versions of the app don't attempt to connect to the Firebase Remote Config servers when checking for root/Zygisk.

    Unfortunately I have no idea what the solution is but am going to look into it some more.