-
Notifications
You must be signed in to change notification settings - Fork 616
Recommendations and Mitigations
Our top recommendation is to just stop using Login with QR code except when it is necessary also there is a lot of ways to mitigate such issue and here is some ways to be used together or standalone:
-
Session Confirmation, We recommend implementing a confirmation message/notification displaying characteristic information about the session made by the client/server.
-
IP Restrictions, Restricting any authentication process on different networks (WANs) will minimize the attack window.
-
Location-based Restrictions, Restricting any authentication process based on different locations will minimize the attack window.
-
Sound-based Authentication, One of the techniques to mitigate this kind of attack [And maintain the same usability level as to not require any additional interaction from the user other than scanning the QR ] is to add sound-based authentication step to the process , we have seen this kind of technology where it is possible to generate unique data and convert it to audio that can be recognized back into its original form [SlickLogin and Sound-Proof] so it is possible to include this technology in the process .
The purposes of this added step is to make sure that scanned QR code is generated in the same physical location as the mobile device that is doing the scan and therefore eliminating the possibility of a remote attacker deceiving the user into scanning his qr code.
Figure(5) An illustration of the login process [QR code login + Sound authentication]
- Attacker visits the website and opens a session.
- The Website Generates QR Code which holds a session key.
- Attacker crafts a phishing website with the received QR Code and sends it to the user.
- User scans the attacker's QR Code in the phishing website.
- The mobile App generates the authentication sound and play it to the phishing website.
- The phishing website fails to process and capture the authentication audio as it requires additional browser permissions.
- Even if the attacker tries to generate the authentication sound based on the (User ID) he still lacks the private key.
Figure(6) An illustration of the login process [QR code login + Sound authentication] attacks & mitigation