Closed sangcx5 closed 2 months ago
Hi, this is a known issue and will be updated as soon as possible.
Hi, this is a known issue and will be updated as soon as possible.
ah okay, thank you
@aimardcr Does false positive in detectSuBinaries function is fixed as i am using the code but it is saying a non rooted device as rooted , can you confirm one more thing that this rooted check will work when app is in Zygisk denylist?
HI, the false positive is WIP. I haven't tried myself on the Zygisk denylist.
Can you please let me know how I could detect that my app is in zygisk denylist.
On Fri, 6 Sept, 2024, 1:01 am Aimar Adhitya, @.***> wrote:
HI, the false positive is WIP. I haven't tried myself on the Zygisk denylist.
— Reply to this email directly, view it on GitHub https://github.com/aimardcr/AndroidNativeGuard/issues/10#issuecomment-2332487208, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKFL6JOLZSENN2L6UY7NXLDZVCWRTAVCNFSM6AAAAABLHNORL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZSGQ4DOMRQHA . You are receiving this because you commented.Message ID: @.***>
Fixed in ef5c80a0a7f80380c3befa5581af361c3871d06e.
Thank you so much @aimar so you have added check for zygisk denylist also?
On Wed, 11 Sept, 2024, 11:02 am Aimar Adhitya, @.***> wrote:
Fixed in ef5c80a https://github.com/aimardcr/AndroidNativeGuard/commit/ef5c80a0a7f80380c3befa5581af361c3871d06e .
— Reply to this email directly, view it on GitHub https://github.com/aimardcr/AndroidNativeGuard/issues/10#issuecomment-2342658783, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKFL6JLDW32UCPTWZPZ6AULZV7IXLAVCNFSM6AAAAABLHNORL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBSGY2TQNZYGM . You are receiving this because you commented.Message ID: @.***>
The detectSuBinaries function check a binary exists by make a call to SecureAPI::openat(AT_FDCWD, suBinary, O_RDONLY, 0)
But with a file that not exist,
SecureAPI::openat(AT_FDCWD, suBinary, O_RDONLY, 0)
return -2 so if device doesn't have any file in this list, your code will indicate that the device is rootedSo please recheck and update root detection logic POC: