启用双因素身份验证 (2FA) 还是不启用?
2FA or Not 2FA

原始链接: http://mikhailian.mova.org/node/295

比利时网络安全中心提倡使用双因素认证(2FA),声称其可以防止80%的攻击。然而,仅仅依赖2FA过于简化了安全问题。虽然人们经常使用弱密码,但这对于那些不经常使用的服务来说,往往是一种理性的选择,因为记住复杂的密码并不实际。密码强度只有在经常使用的账户上才至关重要。 虽然承认弱密码可能是一个问题,但用户认为一个强大且易于记忆的密码可能比2FA更安全。2FA 引入了对外部因素(例如手机)的依赖,从而造成了单点故障。丢失对第二个因素的访问权限可能导致账户锁定,这可能会超过安全优势带来的好处。根据用户的经验,在Github上添加2FA实际上降低了他们的整体安全性,因为它增加了复杂性和潜在的故障点。其论点是,一个强大的、安全记忆的密码足以提供足够的保护,而无需2FA带来的额外风险和麻烦。

Hacker News 的讨论围绕着在线账户安全以及不同身份验证方法的有效性展开。最初的评论指出密码重用是一个主要漏洞,强调即使是强密码,如果从其他服务泄露,也会变得毫无用处。它提倡使用独特的密码、密码管理器或双因素身份验证 (2FA)作为解决方案。随后的评论批评了依赖电话号码或专有应用程序进行 2FA 的做法,更倾向于使用 TOTP 以获得更大的用户控制权和隐私。讨论随后转向密钥,承认它们有可能消除与密码相关的各种问题,但也对单点故障、供应商锁定以及对不太懂技术的用户的可访问性表示担忧。最后,一位用户指出,即使是记住的复杂密码,如果没有启用 2FA,仍然容易受到键盘记录器的攻击。
相关文章
  • (评论) 2024-06-10
  • (评论) 2025-03-18
  • 第二因素短信:比它的声誉更糟糕 2024-07-12
  • (评论) 2024-08-19
  • (评论) 2024-03-26

  • 原文

    A few weeks ago I received an unsolicited email from the Belgian Center for Cyber Security. It starts with the statement that 80% of cyber attacks could be avoided if 2FA was active and then says literally that If you only use a username and password for your remote logins, you're a sitting duck.

    This is not true, username and password are no less secure than 2FA. In a way, they are more secure. I know this is controversial, but please bear with me, and I will explain CCB assumptions, my assumptions, and how it all makes sense.

    CCB assumes that people can not be trusted with passwords. Over the years, the most popular passwords have been 123456 and password, closely followed by 12345678 and qwerty. Research has proven time and again that we use weak passwords whenever possible.

    But hold on. These same people behave reasonably and optimally. Whenever they start using a new website or app, its value is close to zero, so it it an optimal strategy to use a weak password. More often than not, the interaction is unique or spaced in time so much that it makes no sense to save the password at all. When I visit a website I have not visited for years, my old password usually does not work anymore, and I have to reset it.

    I have a workflow for auto-generating passwords and storing them in a password manager, but it is totally reasonable to expect other strategies for occasional users:

    • Type in a weak password or a weak password with a trick, e.g including the name of the service in it so that the password is easy to remember.
    • Monkey-type random text from keyboard until the password is accepted and immediately forget it, knowing that you will be able to recover access via email.

    Weak passwords become problematic when users start relying on a service where they initially configured a weak password. Big Tech has already foud subtle but effective strategies for such cases, but smaller country-specific businesses did not.

    One of the passwords that I know by heart is a famous classic quote clumsily translated in a mix of French and Dutch. It is long, it can not be brute-forced because of its length and I am pretty sure it is not present in any of the rainbow tables. I never spell it out, let alone write it down, but it is in my muscle memory as I haven't changed it for years.

    There is no way someone on the internet can break into my ssh account or gmail account protected by such a password. This password is unbreakable for all practical purposes, see XKCD 538 Security and XKCD 936 Password Strength.

    Lately some services started requiring 2FA. One of them is Github. Once I added 2FA to my Github account, it became less secure for me. Because security is not only about being protected from intrusion, but also about being able to securely access data at any time and in any circumstances.

    Now, my Github access depends on the second factor, which I have chosen to be Microsoft Authenticator running on my phone. I genuinely do not know what will happen if my phone breaks down, so I downloaded TOTP codes from Github and even tried one to see if it works, and so far it does, but now I have one less TOTP code to use in case something happens. Moreover, since Github is now a special case for my password management routine, I am afraid I may loose those TOTP codes and be totally locked out of my account.

    And, the worst of all, I have to think all that through, which is a waste of time, to start with.

    联系我们 contact @ memedata.com