# 密码管理器

密码管理器是一种软件，它将用户众多账户的凭据存储在一个称为保险库的加密数据库中，通常由主密码解锁，从而让每个账户都能使用各不相同且强度足够的密码，而无需用户全部记住。密码管理器可以生成密码、将其填入登录表单，并且越来越多地存储通行密钥和其他机密信息；欧盟《网络韧性法案》现已将其视为一个独立受监管的产品类别，涵盖在本地或远程服务器上存储密码的产品，包括生成、共享以及与其他应用程序的集成。<sup>[1](https://etsi.org/deliver/etsi_en/304600_304699/304618/00.02.02_20/en_304618v000202ev.pdf)</sup> NIST的数字身份指南指出，密码管理器已被证明能提高用户选择更强密码的可能性，并要求验证方允许密码管理器和自动填充。<sup>[2](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-63B-4.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 核心模型 | 一个加密保险库，通常由主密码解锁；在基于密码的设计中，PBKDF2或Argon2等密钥派生函数将主密码和盐值转换为加密密钥<sup>[3](https://eprint.iacr.org/2025/1278.pdf)</sup> |
| 提供商架构 | A类：无客户端加密（默认情况下的Google密码管理器）；B类：基于密码的客户端加密（LastPass、Bitwarden、Firefox、Dashlane）；C类：基于密钥的加密，增加一个本地生成的秘密密钥（1Password）<sup>[3](https://eprint.iacr.org/2025/1278.pdf)</sup> |
| 生成密码强度 | ETSI的CRA标准草案要求生成的密码默认具有80位或以上的熵，若用户降低该强度则发出警告<sup>[1](https://etsi.org/deliver/etsi_en/304600_304699/304618/00.02.02_20/en_304618v000202ev.pdf)</sup> |
| 重用问题 | 研究参与者平均重用了70.56%的密码；在2025年Verizon DBIR中，被盗凭据是22%的数据泄露事件中的初始访问途径<sup>[4](https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-lyastani.pdf)</sup><sup> • </sup><sup>[5](https://www.verizon.com/business/resources/articles/credential-stuffing-attacks-2025-dbir-research/)</sup> |
| 2026年研究 | 苏黎世联邦理工学院和USI的研究人员演示了针对Bitwarden的12种攻击、针对LastPass的7种攻击和针对Dashlane的6种攻击，这三家提供商服务约6000万用户，占据23%的市场份额<sup>[6](https://www.usenix.org/system/files/usenixsecurity26-scarlata.pdf)</sup><sup> • </sup><sup>[7](https://ethz.ch/en/news-and-events/eth-news/news/2026/02/password-managers-less-secure-than-promised.html)</sup> |
| 典型定价（2026年） | 个人方案从每年20美元（Bitwarden高级版）到每年60美元（Dashlane高级版）；家庭方案从每年48美元（Bitwarden，最多六人）到每年90美元（Dashlane，最多10人）<sup>[8](https://www.nytimes.com/wirecutter/reviews/best-password-managers/)</sup> |
| 标准状态 | 通行密钥支持被规定为可发现的WebAuthn凭据和FIDO客户端到认证器协议2（CTAP2）<sup>[1](https://etsi.org/deliver/etsi_en/304600_304699/304618/00.02.02_20/en_304618v000202ev.pdf)</sup> |

## 工作原理

保险库是一个凭据数据库，使用用户控制的密钥进行加密。在主流的设​​计中，用户的主密码和盐值（通常是电子邮件地址）被输入密钥派生函数（KDF），如PBKDF2或Argon2，该函数生成包括独立认证密钥和密钥加密密钥在内的加密材料；密钥加密密钥加密一个随机生成的密钥，该密钥再加密保险库本身。<sup>[3](https://eprint.iacr.org/2025/1278.pdf)</sup> KDF的工作因子使得对弱主密码进行离线猜测变得代价高昂：典型的PBKDF2配置使用600,000次迭代。<sup>[3](https://eprint.iacr.org/2025/1278.pdf)</sup> 这与NIST指导验证方对普通密码所做的操作相呼应，即存储加盐并迭代哈希的验证秘密，以提高从哈希值恢复密码的计算成本。<sup>[9](https://pages.nist.gov/800-63-4/sp800-63b/passwords/)</sup>

**实践中的密钥层次结构。** 2026年对[Bitwarden](https://www.edgepedia.org/zh/bitwarden)的一项分析详细描述了这条链：主密码和电子邮件作为KDF（PBKDF2或Argon2id）的密钥和盐值，生成一个32字节的主密钥，该密钥用于认证用户，并通过HKDF-Expand扩展为一个64字节的扩展主密钥，带有独立的“enc”和“mac”标签。<sup>[6](https://www.usenix.org/system/files/usenixsecurity26-scarlata.pdf)</sup> C类管理器增加了第二个秘密：[1Password](https://www.edgepedia.org/zh/1password)在账户设置时本地生成一个随机的128位秘密密钥，将其与账户密码结合，且从不与服务器共享，因此攻击者需要两个值才能解密保险库；该密钥必须手动转移到任何新设备。<sup>[10](https://1password.com/blog/how-password-managers-work)</sup><sup> • </sup><sup>[3](https://eprint.iacr.org/2025/1278.pdf)</sup>

**零知识同步。** 云同步管理器宣传一种零知识模型，即供应商仅存储密文，无法读取保险库内容。Bitwarden声明所有加密和解密均在客户端进行，因此没有任何敏感数据以未加密形式到达其服务器，且其团队成员无法查看保险库数据，包括其他管理器不加密的URL。<sup>[11](https://bitwarden.com/help/password-manager-overview/)</sup> 1Password和Bitwarden均使用256位AES加密，并声称采用零知识安全模型。<sup>[8](https://www.nytimes.com/wirecutter/reviews/best-password-managers/)</sup>

## 密码管理器的类型

一项同行评审的调查将管理器分为集成在浏览器（Chrome、Firefox）或手机系统（如Apple钥匙串）中的本地管理器——它们将密码直接存储在设备上以实现离线可用性，但若设备被攻破则存在风险——以及云同步类型。<sup>[12](https://dl.acm.org/doi/10.1145/3711117)</sup> ETSI的标准草案将本地类型定义为一种独立应用程序，在单一设备上存储加密保险库，无网络连接或云同步，提供完整的数据所有权和离线操作。<sup>[1](https://etsi.org/deliver/etsi_en/304600_304699/304618/00.02.02_20/en_304618v000202ev.pdf)</sup>

提供商架构与存储位置同样重要。在A类管理器中，例如默认情况下的Google密码管理器，用户数据以明文传输给提供商，由提供商在服务器端执行所有加密；在B类中，认证和加密完全依赖于用户定义的主密码；C类则增加了本地生成的秘密密钥。<sup>[3](https://eprint.iacr.org/2025/1278.pdf)</sup> 由于保险库数据库存储在USB驱动器、云端或移动设备上以便于访问，潜在攻击者可以获取数据库本身，这使得存储格式的加密设计成为安全的核心。<sup>[13](https://www.cs.ox.ac.uk/files/6487/pwvault.pdf)</sup>

**企业集成。** 商业管理器连接到企业身份系统。1Password支持SSO解锁，通过Azure AD、Google Workspace、Okta、OneLogin、Rippling和JumpCloud进行配置，以及向Splunk、Elastic、Sumo Logic和Panther进行SIEM事件流传输。<sup>[10](https://1password.com/blog/how-password-managers-work)</sup> Bitwarden支持SCIM配置、通过[SAML 2.0](https://www.edgepedia.org/zh/saml-2-0)或OIDC身份提供商进行SSO登录，以及管理员账户恢复策略。<sup>[11](https://bitwarden.com/help/password-manager-overview/)</sup>

## 数据一览

人们需要管理多少个密码，其估计值因方法和人群而异，差异很大。[苏黎世联邦理工学院](https://www.edgepedia.org/zh/eth-zurich)报告称，经常使用在线服务的人拥有100到200个密码。<sup>[7](https://ethz.ch/en/news-and-events/eth-news/news/2026/02/password-managers-less-secure-than-promised.html)</sup> 较早的估计认为典型用户有16到26个活跃使用的受密码保护账户，而工作场所的密码管理器用户可能拥有数百个账户，<sup>[14](https://www.usenix.org/system/files/soups2019-pearman.pdf)</sup> 2025年一项研究中未采用管理器的参与者报告平均有36个密码。<sup>[15](https://www.usenix.org/system/files/soups2025-cabarcos.pdf)</sup> 一份Dashlane供应商报告发现，小型企业每用户平均有122个凭据，中型企业76个，大型企业53个。<sup>[16](https://www.businesswire.com/news/home/20241001415160/en/New-Dashlane-Report-Finds-Pervasive-Password-Reuse-in-Enterprise-Environments)</sup>

**重用是可衡量的危害。** 在一项涉及170名参与者、产生1,045个唯一密码和1,767条记录的研究中，参与者平均向10.39个不同域输入密码，平均重用了70.56%的密码。<sup>[4](https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-lyastani.pdf)</sup> 手动输入或通过Chrome自动填充输入的密码仅在20%到25%的情况下是唯一的，而通过LastPass或复制粘贴输入则将非重用比例提高到53%到78%。<sup>[4](https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-lyastani.pdf)</sup> 在感染了信息窃取恶意软件的用户中，用户密码在不同服务间互不相同的比例中位数仅为49%。<sup>[5](https://www.verizon.com/business/resources/articles/credential-stuffing-attacks-2025-dbir-research/)</sup> 在SSO提供商日志中，撞库攻击占每日认证尝试的中位数为19%，在企业规模公司升至25%，小型企业为12%，单日最高占比达44%。<sup>[5](https://www.verizon.com/business/resources/articles/credential-stuffing-attacks-2025-dbir-research/)</sup>

**采用障碍与定价。** 在2025年新手用户研究的非用户中，不采用管理器的主要原因是没有感知到有用性（35.2%）、安全顾虑（23.8%）和认为使用起来费力（12.3%）。<sup>[15](https://www.usenix.org/system/files/soups2025-cabarcos.pdf)</sup> 截至2026年，Wirecutter列出的个人年费为：1Password 48美元、Bitwarden高级版20美元、Dashlane高级版60美元、Keeper 40美元、NordPass高级版36美元、[Proton Pass](https://www.edgepedia.org/zh/proton-pass) 36美元、RoboForm高级版30美元。<sup>[8](https://www.nytimes.com/wirecutter/reviews/best-password-managers/)</sup> 个人产品价格通常从免费到每年60美元不等，免费版可能缺少部分付费功能。<sup>[17](https://1password.com/blog/password-manager)</sup>

## 安全记录与已知弱点

2022年LastPass泄露事件是最著名的事件：未经授权访问该公司的开发环境引发了对密码管理器安全性的质疑，尽管供应商保证客户数据仍然安全。<sup>[12](https://dl.acm.org/doi/10.1145/3711117)</sup> 一家专业审计网站报告称，2022年11月，攻击者利用2022年8月LastPass源代码被盗期间获取的密钥访问了该公司的云存储，复制了覆盖超过2500万用户的加密保险库数据，以及未加密的元数据（如URL和公司名称）；同一网站还记录了从保险库中窃取的超过3500万美元加密货币，这些保险库由迭代次数较低的PBKDF2保护（旧账户为5,000次）。<sup>[18](https://stealthcloud.ai/data/password-manager-security-audit/)</sup> 同一网站记录了[KeePass](https://www.edgepedia.org/zh/keepass) CVE-2023-32784漏洞，其中可从内存转储中提取主密码，已在KeePass 2.54中修补；以及2023年Norton LifeLock撞库攻击，可能暴露了约6,500个账户的保险库内容，这些账户的用户重用了已在其他地方泄露的主密码。<sup>[18](https://stealthcloud.ai/data/password-manager-security-audit/)</sup>

**2026年零知识攻击。** 来自苏黎世联邦理工学院和意大利瑞士大学的研究人员提出了针对Bitwarden的12种不同攻击、针对[LastPass](https://www.edgepedia.org/zh/lastpass)的7种和针对Dashlane的6种，严重程度从破坏目标保险库的完整性到完全攻破组织内所有保险库不等，其中大多数允许恢复密码；研究结果已披露给供应商，修复工作正在进行中。<sup>[6](https://www.usenix.org/system/files/usenixsecurity26-scarlata.pdf)</sup> 最严重的攻击针对Bitwarden和LastPass，允许内部人员或恶意服务器读取或写入整个保险库的内容，某些情况下利用了用于账户恢复的密钥托管机制。<sup>[19](https://arstechnica.com/security/2026/02/password-managers-promise-that-they-cant-see-your-vaults-isnt-always-true/)</sup> 行业媒体报道称，在Bitwarden、LastPass、Dashlane和1Password中共有27个成功的攻击场景，部分允许攻击者更改用户密码；同行评审论文本身则统计前三家供应商共25种攻击。<sup>[20](https://www.infosecurity-magazine.com/news/vulnerabilities-password-managers/)</sup><sup> • </sup><sup>[6](https://www.usenix.org/system/files/usenixsecurity26-scarlata.pdf)</sup>

供应商做出了回应。1Password表示其使用安全远程密码（SRP）认证用户，不向服务器传输加密密钥，从而缓解了整类服务器端攻击，<sup>[21](https://www.securityweek.com/password-managers-vulnerable-to-vault-compromise-under-malicious-server/)</sup> 并且该研究未详细描述超出其自身安全设计白皮书中已记录的攻击，该白皮书指出目前没有稳健的方法让用户验证其收到的公钥。<sup>[22](https://www.govinfosecurity.com/exploitable-flaws-found-in-cloud-based-password-managers-a-30770)</sup>

## 零知识承诺受到审视

零知识声明是指提供商仅存储加密数据，无法查看保险库内容。2026年ETH/USI的分析得出结论，这些声明可能比宣传的要弱。<sup>[6](https://www.usenix.org/system/files/usenixsecurity26-scarlata.pdf)</sup> 安全研究员、伯克曼·克莱因中心研究员[布鲁斯·施奈尔](https://www.edgepedia.org/zh/bruce-schneier)（Bruce Schneier）在2026年2月评论称，这些声明并非在所有情况下都成立，特别是当存在账户恢复机制、保险库被共享或用户被组织成组时。<sup>[23](https://www.schneier.com/blog/archives/2026/02/on-the-security-of-password-managers.html)</sup> 论文作者指出，他们所有的攻击都可以通过认证加密、密钥分离、明文认证、公钥认证和密文认证的组合来缓解，并勾勒了一个安全的端到端加密密码管理器设计。<sup>[6](https://www.usenix.org/system/files/usenixsecurity26-scarlata.pdf)</sup>

这些发现背后存在一种结构性张力：使保险库可恢复和可共享的功能，如密钥托管和组共享，可能创建严格零知识设计所不会有的服务器端路径。一些在攻击中被利用的恢复机制，本是为了拯救忘记主密码的用户。<sup>[19](https://arstechnica.com/security/2026/02/password-managers-promise-that-they-cant-see-your-vaults-isnt-always-true/)</sup>

## 与通行密钥和硬件密钥的比较

通行密钥是一种无需记忆或输入的加密凭据，密码管理器已成为其存储层：ETSI的标准草案将通行密钥支持规定为可发现的WebAuthn凭据和FIDO客户端到认证器协议2（CTAP2）。<sup>[1](https://etsi.org/deliver/etsi_en/304600_304699/304618/00.02.02_20/en_304618v000202ev.pdf)</sup> 消费者采用仍处于早期：将通行密钥作为密码管理策略的使用率在2024年稳定在10%，在30岁以下人群中达到15%。<sup>[24](https://www.security.org/digital-safety/password-manager-annual-report/)</sup>

## 最新发展

三大转变尤为突出。第一，正式监管与标准化：欧盟《网络韧性法案》实施条例（EU）2025/2392将密码管理器定义为一个产品类别，ETSI的标准草案设定了具体要求，包括生成密码的最低80位熵。<sup>[1](https://etsi.org/deliver/etsi_en/304600_304699/304618/00.02.02_20/en_304618v000202ev.pdf)</sup> 第二，KDF强化：Bitwarden自2023年起默认使用600,000次PBKDF2迭代，并提供Argon2id选项（3次迭代，64 MB内存），1Password使用650,000次PBKDF2迭代加上其128位秘密密钥，Keeper使用1,000,000次PBKDF2迭代，而LastPass的旧账户直到2023年仍保持5,000次迭代。<sup>[18](https://stealthcloud.ai/data/password-manager-security-audit/)</sup> 第三，2026年ETH/USI的研究将安全讨论从供应商是否可信转移到其零知识架构在所提供的恢复和共享功能下是否成立。<sup>[6](https://www.usenix.org/system/files/usenixsecurity26-scarlata.pdf)</sup><sup> • </sup><sup>[7](https://ethz.ch/en/news-and-events/eth-news/news/2026/02/password-managers-less-secure-than-promised.html)</sup>

## 安全地选择和使用密码管理器

NIST的指南支持使用管理器：验证方必须允许密码管理器和自动填充，在自动填充API不可用时应允许粘贴密码，并指出管理器能提高用户选择更强密码的可能性。<sup>[2](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-63B-4.pdf)</sup> 从记录中可以得出若干防御性做法。选择一个强且唯一的主密码，因为在基于密码的设计中，仅凭它就能派生保险库密钥。<sup>[3](https://eprint.iacr.org/2025/1278.pdf)</sup> 重复使用主密码是一种已知的失败模式：重用主密码的保险库用户比例在一年内从28%降至14%，仍有七分之一的人在重复使用。<sup>[24](https://www.security.org/digital-safety/password-manager-annual-report/)</sup> 优先选择其完整工作流程（从生成到存储再到输入）都能产生强密码的管理器；在研究中，仅用于自动填充的管理器被发现对重用问题有负面影响。<sup>[4](https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-lyastani.pdf)</sup> 留意凭据审计标记：在一项为期三个月、涉及37名新手用户的试验中，用户倾向于忽略这些标记，从而削弱了安全效益。<sup>[15](https://www.usenix.org/system/files/soups2025-cabarcos.pdf)</sup> 最后，在依赖恢复模型之前要理解它，因为账户恢复和共享功能正是零知识保证已被证明会减弱的地方。<sup>[23](https://www.schneier.com/blog/archives/2026/02/on-the-security-of-password-managers.html)</sup>

## References

1. [ETSI EN 304 618 V0.2.2 — Cyber Security (CYBER); CRA; Cybersecurity requirements for password managers](https://etsi.org/deliver/etsi_en/304600_304699/304618/00.02.02_20/en_304618v000202ev.pdf)
2. [NIST SP 800-63B-4: Digital Identity Guidelines — Authentication and Authenticator Management](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-63B-4.pdf)
3. [On the Security Risks of Covert Password Manager Providers (IACR eprint 2025/1278)](https://eprint.iacr.org/2025/1278.pdf)
4. [Better managed than memorized? Studying the Impact of Managers on Password Strength and Reuse (USENIX Security 2018)](https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-lyastani.pdf)
5. [Additional 2025 DBIR research on credential stuffing (Verizon)](https://www.verizon.com/business/resources/articles/credential-stuffing-attacks-2025-dbir-research/)
6. [Zero Knowledge (About) Encryption: A Comparative Security Analysis of Three Cloud-based Password Managers (USENIX Security 2026)](https://www.usenix.org/system/files/usenixsecurity26-scarlata.pdf)
7. [Password managers less secure than promised (ETH Zurich, February 2026)](https://ethz.ch/en/news-and-events/eth-news/news/2026/02/password-managers-less-secure-than-promised.html)
8. [The 2 Best Password Managers of 2026 (Wirecutter)](https://www.nytimes.com/wirecutter/reviews/best-password-managers/)
9. [NIST SP 800-63B-4 (web edition) — Passwords](https://pages.nist.gov/800-63-4/sp800-63b/passwords/)
10. [How password managers work (1Password)](https://1password.com/blog/how-password-managers-work)
11. [Password Manager Overview (Bitwarden)](https://bitwarden.com/help/password-manager-overview/)
12. [An In-Depth Analysis of Password Managers and Two-Factor Authentication Tools (ACM Computing Surveys)](https://dl.acm.org/doi/10.1145/3711117)
13. [On The Security of Password Manager Database Formats (University of Oxford)](https://www.cs.ox.ac.uk/files/6487/pwvault.pdf)
14. [Why people (don't) use password managers effectively (USENIX SOUPS 2019)](https://www.usenix.org/system/files/soups2019-pearman.pdf)
15. ['The more accounts I use, the less I have to think': A Longitudinal Study on the Usability of Password Managers for Novice Users (USENIX SOUPS 2025)](https://www.usenix.org/system/files/soups2025-cabarcos.pdf)
16. [New Dashlane Report Finds Pervasive Password Reuse in Enterprise Environments (Business Wire)](https://www.businesswire.com/news/home/20241001415160/en/New-Dashlane-Report-Finds-Pervasive-Password-Reuse-in-Enterprise-Environments)
17. [What is a password manager? How it works, and other FAQs (1Password)](https://1password.com/blog/password-manager)
18. [Password Manager Security Audit: Architecture, Breaches (stealthcloud.ai)](https://stealthcloud.ai/data/password-manager-security-audit/)
19. [Password managers' promise that they can't see your vaults isn't always true (Ars Technica, February 2026)](https://arstechnica.com/security/2026/02/password-managers-promise-that-they-cant-see-your-vaults-isnt-always-true/)
20. [Vulnerabilities in Password Managers Allow Hackers to Change Passwords (Infosecurity Magazine)](https://www.infosecurity-magazine.com/news/vulnerabilities-password-managers/)
21. [Password Managers Vulnerable to Vault Compromise Under Malicious Server (SecurityWeek)](https://www.securityweek.com/password-managers-vulnerable-to-vault-compromise-under-malicious-server/)
22. [Exploitable Flaws Found in Cloud-Based Password Managers (GovInfoSecurity)](https://www.govinfosecurity.com/exploitable-flaws-found-in-cloud-based-password-managers-a-30770)
23. [On the Security of Password Managers (Schneier on Security, February 2026)](https://www.schneier.com/blog/archives/2026/02/on-the-security-of-password-managers.html)
24. [2024 Password Manager Industry Report and Statistics (Security.org)](https://www.security.org/digital-safety/password-manager-annual-report/)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Application software by domain

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/password-manager

English original: https://www.edgepedia.org/password-manager
