Skip to content

lepras/bankingAOSP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 

Repository files navigation

Samsung Pay/Wallet - salvogiangri/KnoxPatch#43 (comment)

https://github.com/Samsung-Loki/Thor

https://grapheneos.org/articles/attestation-compatibility-guide

https://discuss.grapheneos.org/d/8330-app-compatibility-with-grapheneos

out-of-the-box ?

https://grapheneos.org/usage#sandboxed-google-play

Banking on Android Open Source Project (AOSP)

Banking apps detect unsecure environments, and here I document how to bypass them in custom ROM's

https://forum.xda-developers.com/t/info-play-integrity-api-replacement-for-safetynet.4479337/

TLDR

also install updated firmware.

install some custom rom with pixel like experience

my choice is pixelOS

strong integrety doesn't pass, momo shows init.rc, custom rom and bootloader unlocked

but payzapp and everything works. netflix has L1.

server

server

certs

strong integrety

  1. pixelOS
  2. KernelSU
  3. zygiskonKernelSU
  4. USFM by displax

Setup

  1. unlocked bootloader & orangefox recovery
  2. Install LineageOS
  3. Spoof device signature with MagiskHide Props Config
  4. hide custom rom props with this module, reset them with this
  5. install shamiko
  6. safetynet fix
  7. (optional) edit additional build.prop entries that may have rom name with this
  8. mindthegapps / microg sateynetAPI
  9. Add Google play Services, Google play store, google services framework and google play protect to denylist
  10. hide magisk, freeze the app (android 13 inbuilt), or use appmanager
  11. can use work profile using shelter

Specific hiding

Effective Root Strategy for Secure Environment

Android Modding

Can remove checks through RE though not advised.

Microg & Playstore

https://github.com/microg/GmsCore/wiki/Implementation-Status

https://gitlab.com/Nanolx/NanoDroid

Magisk Forks

Magisk Delta

Debugging

WADB

Widewine

liboemcryptodisabler module

GrapheneOS

https://privsec.dev/posts/android/banking-applications-compatibility-with-grapheneos/

https://grapheneos.org/articles/attestation-compatibility-guide

Tests

Debug & logging

logcat reader

Toast source

Developer assitant

Apps hiding

  1. Lsposed
  2. android faker
  3. hidemyapp list
  4. xprivacylua

Current Target App

Payzapp | hdfc privsec report

Payzap runs once can't verify number/(loading) then this toast.

Your device bootloader is unlocked or verified boot state is unverified. You cannot use this application.

Nothing in logs

ruru -> sees xprivacylua somehow

yasnac -> basic integrety pass

play integrety api checker -> everything is red

Momo

momo

Tricks

1. Installing and activating the app on rom with gapps
2. Backing up app+data using neobackup
3. Wiping the phone, flashing clean rom
4. Restoring the app from the backup there

News / Changelog

Hardware Attestation 2023-06-07 UTC

https://developer.android.com/training/articles/security-key-attestation

References

Other Articles

About

Run banking apps on Custom Android OS's

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published