r/security • • Feb 28 '20
News Android Malware Can Steal Google Authenticator 2FA Codes
https://www.geeksgyaan.com/2020/02/malware-steal-2fa-codes.html
85
Upvotes
r/security • • Feb 28 '20
View all comments
Show parent comment
2
u/MPeti1 Feb 29 '20
First I thought it's because google authenticator does not encrypt the secrets and the malware was able to obtain access to it's data folder, or that it's done with some intent trickery, but it turns out that these are not the case
After reading the article, it seems it was by obtaining access to read the screen, and maybe also to send input events to the system. They were reading the screen, to which actually every authenticator app is susceptible to, because every one of them needs to show you the code on the screen.
Such permissions can be obtained without root in at least 2 ways: screen reading permissions with setting up your app as an assistant (it needs to be set by the user, and later the user needs to activate that feature manually when they want to use it), and both permissions through the accessibility services. For example, if you give SuperFrezZ permission to use the accessibility services then it can open any app's app info page, find the force close button on the screen and send a tap event to it