First We discuss about what is passcode and Why it is Implemented in Mobile Applications.
PASSCODE Implemented in Mobile Application to protect Applications from an Unauthorized Access.like for example your cliq or any application account is logged in mobile phone .any your friend ask you to give phone , your friend try to open cliq application to see your message, but your friend cant open the application without entering passcode . he have to enter passcode for open, so it is an extra layer security in applications.
Passcode protection implemented in Android Application is an extra layer security to protect an unauthorized access.
How Passcode Protection is bypassed by Bruteforcing?
You know that passcode protection or pin protection in mobile
applications have some attempt to enter passcode , if you enter wrong
passcode more than 5 times or 10 times based on application security , User
logged out automatically and redirected to login page.but due to some loop
holes some application not automatically logged out but it give a
warning message., and an attacker can easily brute forcing passcode .
HOW I BYPASSED PASSCODE PROTECTION ON CLIQ?
Open cliq Application , apply passcode protection.
Open application , application asked to enter passcode.now enter
passcode three or four times, a prompt shown like > maximum attempt ,
account will be logout.
IF I click on ok i logged out an redirected to login
,and now i kill the application from background without clicking on
ok button , Reopen the application at this time the warning message not showing
and i can attempt passcode for 1 time again
for seeing this i got an idea? can i automate this task?
1.I
Decompile the application and open AndroidMainfest.xml file and searching for a
activity that can directly call by adb. like an activity have intent filter or
having exported attribute set to true are launched directly by adb .
2. I
found an activity lib.zoho.videolib.AudioMessageActivity that
can be directly called.
3 .I
connect phone to pc and enter command
adb shell -> am start -n com.zoho.chat/lib.zoho.videolib.AudioMessageActivity
Repeat this many times. on hitting this passcode activity opened again, enter passcode again .
for performing this task automate i created an application
that launched after every 5 seconds with this activity.
Timeline :
Mar 25, 2020 - Bug Reported to ZOHO
Mar 26, 2020 - Status changes to Triaged | Explained how to
reproduce the bug
Mar 26, 2020 - Nice Catch! from ZOHO❤
Apr 9, 2020- Bounty Awarded $$$ +Hof
Comments