Service users are encouraged to use two-factor authentication? Yes / No
Two-factor authentication, a.k.a. multifactor authentication, a.k.a. secure login, is a method to ask for a one-time token from the user when logging in. The primary purpose of two-factor authentication is to protect the user from password compromise.
End users may lose their passwords through multiple threats like:
- The user device is compromised by malware and the password is keylogged or extracted from the running password manager
- The password is reused across multiple sites and one of the sites gets compromised. You can buy stock email and password lists on the black market.
- The password is given out on a phishing site (see Trademark protection)
- The password is extracted through a man-in-the-middle attack (see HTTPS / TLS only)
Two-factor authentication stops the attacker, equipped with a mere password, from accessing the victim’s account.
Having two-factor authentication as an option is not enough. Users should be educated about two-factor authentication. Often users are not aware of threat models and the harm they may face because of lax security. Incentives, like reduced fees, should be applied to encourage the enabling of the two-factor authentication. From a business perspective, this can be justified as a reduced support cost of dealing with hacked account cases.
Popular two-factor authentication methods include:
- Mobile apps: Time-Based One Time Password (TOTP), Google Authenticator
- Paper codes: One time pad, HOTP, popular with European banks
- SMS and other phone-based methods
- Hardware devices: YubiKey, others
External services like Authy and Clef provide two-factor-as-a-service.
Google Authenticator is a popular two-factor mobile app. Despite the fact that the name says Google, you can use it on your own site. The application can be used offline independently from Google services. Google Authenticator is based on RFC 6238. There are multiple open-source implementations for all desktop and mobile operating systems.
SMS is not deemed secure in the large scale. SMS messages are intercepted by mobile malware. SMS may travel in plain text, and various parties in the operator business chain can read them. Mobile number portability opens a vector for the attacker to gain access to the victim’s phone number. SMS may not be reliable in third-world countries, thus making it not a viable option for global business.
Applies for: Everyone