OSG10 · Chapter 14 · Controlling and Monitoring Access · 全文覆盖 + 小白精读 + 画报

第 14 章:控制和监控访问

这不是提炼版。本页按 PDF 第 968-1027 页连续覆盖第 14 章内容,每个学习单元都包含教材原文段落、PDF 中文直译/整理、小白解释、考点提醒和对应画报。

60个连续学习单元
4格原文 / 直译 / 解释 / 考点
60页覆盖第14章正文与章末练习
小白先讲人话,再做题
学习单元 01 / PDF P968

本章考试范围总览

先知道本章会覆盖哪些考试目标,后面每个概念才知道放在哪个知识域。

教材原文段落

Chapter 14 Controlling and Monitoring Access THE CISSP TOPICS COVERED IN THIS CHAPTER INCLUDE: Domain 3.0: Security Architecture and Engineering 3.7 Understand methods of cryptanalytic attacks 3.7.11 Pass the hash 3.7.12 Kerberos exploitation Domain 5.0: Identity and Access Management (IAM) 5.4 Implement and manage authorization mechanisms 5.4.1 Role-based access control (RBAC) 5.4.2 Rule based access control 5.4.3 Mandatory access control (MAC) 5.4.4 Discretionary access control (DAC) 5.4.5 Attribute-based access control (ABAC) 5.4.6 Risk based access control 5.4.7 Access policy enforcement (e.g., policy decision point, policy enforcement point) 5.5 Manage the identity and access provisioning lifecycle 5.5.4 Privilege escalation (e.g., use of sudo, auditing its use) 5.6 Implement authentication systems Chapter 13, “Managing Identity and Authentication,” presented several important topics related to the Identity and Access Management (IAM) domain.

This chapter builds on those topics and includes key information on common access control models. It also provides information on how to prevent or mitigate access control attacks. Be sure to read and study the

中文直译 / 整理

第14章 控制和监控访问 本章涵盖的CISSP主题包括: 领域3.0:安全架构与工程 3.7 理解密码分析攻击的方法 3.7.11 哈希传递 3.7.12 Kerberos 利用 域 5.0:身份和访问管理 (IAM) 5.4 实施和管理授权机制 5.4.1 基于角色的访问控制 (RBAC) 5.4.2 基于规则的访问控制 5.4.3 强制访问控制 (MAC) 5.4.4 自主访问控制(DAC) 5.4.5 基于属性的访问控制(ABAC) 5.4.6 基于风险的访问控制 5.4.7 访问策略执行(例如,策略决策点、策略执行点) 5.5 管理身份和访问配置生命周期 5.5.4 权限提升(例如,使用 sudo 及其使用审计) 5.6 实现身份验证系统 第13章,“身份和认证管理”介绍了与身份和访问管理(IAM)领域相关的若 干重要主题。 本章在此基础上进一步介绍了常见访问控制模型的关键信息,并 提供了如何预防或缓解访问控制攻击的说明。 请务必阅读并学习

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:先知道本章会覆盖哪些考试目标,后面每个概念才知道放在哪个知识域。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

审计:审计记录主体行为,用于追责、复盘和取证。

政策:政策是高层原则,说明必须遵守什么。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“本章考试范围总览”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

没有日志和身份绑定,就很难问责。

Policy 高层、强制、稳定;Procedure 具体步骤。

哈希本身不提供机密性;它主要用于完整性校验。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
审计 审计记录主体行为,用于追责、复盘和取证。
政策 政策是高层原则,说明必须遵守什么。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
身份 身份是主体在系统中的标识。
基于角色的访问控制 RBAC RBAC 按角色分配权限,适合岗位清晰的组织。
强制访问控制 MAC MAC 由系统根据标签和级别强制决定访问。
学习单元 02 / PDF P969

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

materials from each of these chapters to ensure complete coverage of this domain's essential material. Comparing Access Control Models Chapter 13 focused heavily on identification and authentication. After authenticating subjects, the next step is authorization. The method of authorizing subjects to access objects varies depending on the IT system's access control method. A subject is an active entity that accesses a passive object, and an object is a passive entity that provides information to active subjects. For example, when a user accesses a file, the user is the subject and the file is the object.

Comparing Permissions, Rights, and Privileges When studying access control topics, you'll often come across the terms permissions, rights, and privileges. Some people use these terms interchangeably, but they don't always mean the same thing. Permissions In general, permissions refer to the access granted for an object and determine what you can do with it. You can grant a user permission to read, write, delete, and/or execute a file on a file server. If you have read permission for a file, you'll be able to open it and read it. You may be granted read and execute permissions for an application file, which gives you permission to run the application.

Additionally, you may be granted permissions within a database, allowing you to retrieve or update information in the database. Rights A right primarily refers to the ability to take an action on an object. For example, a user might have the right to modify the system time on a computer or the right to restore backed-up data. This is a subtle distinction and not always stressed. Privileges A privilege is a combination of elevated rights and permissions. For example, an administrator for a computer will have full privileges, granting the administrator full rights and permissions on the computer. The

中文直译 / 整理

从这些章节中提取材料,以确保全面覆盖本领域的核心内容。 比较访问控制模型 第13章主要侧重于身份识别和身份验证。 在对主体进行身份验证后,下一 步是授权。 根据IT系统的访问控制方法,授权主体访问对象的方式会有所 不同。 主体是一个主动实体,用于访问被动对象,而对象是一个被动实体, 为活跃的主体提供信息。 例如,当用户访问文件时,用户是主体,文件是 对象。 比较权限、权利和特权 在学习访问控制相关主题时,您经常会遇到权限、权利和特权这些术 语。 有些人会互换使用这些术语,但它们并不总是意味着相同的内容。 权限 一般来说,权限是指对某个对象所授予的访问权限,决定了您可以对其执行 的操作。 您可以授予用户对文件服务器上的文件进行读取、写入、删除和/或执行 的权限。 如果您对某个文件具有读取权限,您就可以打开并阅读该文件。 您可能 被授予对应用程序文件的读取和执行权限,从而允许您运行该应用程序。 此外, 您还可能被授予数据库内的权限,允许您检索或更新数据库中的信息。 权利 权利主要指对某个对象执行操作的能力。 例如,用户可能具有修改计算机 系统时间的权利,或恢复备份数据的权利。 这是一个细微的差别,通常并不总 是被强调。

权限 权限是提升的权利和许可的组合。 例如,计算机的管理员将拥有完整权限, 授予管理员在计算机上的完整权利和许可。 该

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

NIST:NIST 提供美国常用安全标准、框架和指南。

程序:程序是一步一步怎么做。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

Step-by-step、SOP 常对应 procedure。

身份管理题要区分识别、认证、授权、审计。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
NIST NIST 提供美国常用安全标准、框架和指南。
程序 程序是一步一步怎么做。
身份 身份是主体在系统中的标识。
学习单元 03 / PDF P970

授权、审计与问责

认证后还要授权,之后靠审计和日志追责。

教材原文段落

administrator will be able to perform any actions and access any data on the computer. Understanding Authorization Mechanisms Access control models use many different types of authorization mechanisms, or methods to control who can access specific objects. Here's a brief introduction to some common mechanisms and concepts: Implicit Deny A fundamental principle of access control is implicit deny, and most authorization mechanisms use it. The implicit deny principle ensures that access to an object is denied unless access has been explicitly granted to a subject.

For example, imagine an administrator explicitly grants Jeff Full Control permissions to a file but does not explicitly grant permissions to anyone else. Mary doesn't have any access even though the administrator didn't explicitly deny her access. Instead, the implicit deny principle denies access to Mary and everyone else except for Jeff. You can also think of this as deny by default. Access Control Matrix Chapter 8, “Principles of Security Models, Design, and Capabilities,” covers access control lists and access control matrixes in more detail. In short, an access control matrix is a centralized table that includes subjects, objects, and assigned permissions, rights, and privileges.

When a subject attempts an action, the system checks the access control matrix to determine if the subject has the appropriate privileges to perform the action. For example, an access control matrix can include a set of files as the objects and a set of users as the subjects. It will show the exact permissions authorized for each user for each file. Note that this covers much more than a single access control list (ACL). In this example, each file listed within the matrix has a separate ACL that lists the authorized users and their assigned permissions.

Capability List Capability lists are a decentralized, distributed method of identifying permissions, rights, and privileges assigned to subjects using tokens or keys. They are different from ACLs in that a capability list is focused on individual subjects (a user or a process). A capability for a user would list the user and its various access permissions, rights, and privileges to individual objects. In contrast, ACLs are focused on individual objects. An ACL for a file would list all the users and/or groups that have authorized access to the file and the specific access granted to each.

中文直译 / 整理

管理员能够执行任何操作并访问计算机上的任何数据。 理解授权机制 访问控制模型使用多种不同的授权机制,即控制谁可以访问特定对象的方法。 以下是几种常见机制和概念的简要介绍: 隐式拒绝访问控制的一项基本原理是隐式拒绝,大多数授权机制都采用这一原 则。 隐式拒绝原则确保,除非明确授予主体对某个对象的访问权限,否则一律 拒绝访问。 例如,假设管理员明确授予杰夫对某个文件的完全控制权限,但未 明确授予其他任何人任何权限。 玛丽即使未被管理员明确拒绝访问,也没有任 何访问权限。 这是因为隐式拒绝原则会拒绝玛丽以及其他所有人的访问,仅允 许杰夫访问。 你也可以将此理解为“默认拒绝”。 访问控制矩阵 第8章“安全模型、设计与能力的原则”访问控制矩阵是一个集 中式表格,包含主体、对象以及分配的权限、权利和特权。 当主体尝试执行某项 操作时,系统会检查访问控制矩阵,以确定该主体是否具有执行该操作的适当权 限。 例如,访问控制矩阵可以将一组文件作为对象,一组用户作为主体,并显示 每个用户对每个文件的精确授权权限。 请注意,这涵盖的内容远不止单个访问控 制列表(ACL)。

在此示例中,矩阵中列出的每个文件都有一个独立的ACL,列 出了授权用户及其分配的权限。 功能列表功能列表是一种去中心化、分布式的机制,用于使用令牌或密钥标识 分配给主体的权限、权利和特权。 它们与ACL不同,因为能力列表关注的是 单个主体(用户或进程)。 一个用户的能力列表会列出该用户及其对各个对象 的访问权限、权利和特权。 相比之下,ACL关注的是单个对象。 一个文件的 ACL会列出所有被授权访问该文件的用户和/或组,以及授予每个用户的特定 访问权限。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证后还要授权,之后靠审计和日志追责。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

授权:授权是认证之后决定你能访问什么、能做什么。

NIST:NIST 提供美国常用安全标准、框架和指南。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“授权、审计与问责”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

认证成功不等于什么都能做;权限仍要单独授权。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
授权 授权是认证之后决定你能访问什么、能做什么。
NIST NIST 提供美国常用安全标准、框架和指南。
学习单元 04 / PDF P971

安全控制框架:用成熟框架组织安全

框架帮助组织系统化管理控制,而不是想到哪做到哪。

教材原文段落

The difference between an ACL and a capability list is the focus. ACLs are object-focused and identify access granted to subjects for any specific object. Capability lists are subject-focused and identify the objects that subjects can access. Constrained Interface Applications use constrained interfaces or restricted interfaces to restrict what users can do or see based on their privileges. Users with full privileges have access to all the capabilities of the application. Users with restricted privileges have limited access. Applications constrain the interface using different methods. A common method is to hide the capability if the user doesn't have permission to use it.

For example, commands might be available to administrators via a menu or by rightclicking an item, but if a regular user doesn't have permissions, the command does not appear. Other times, the application displays the menu item but shows it dimmed or disabled. A regular user can see the menu item but will not be able to use it. The Clark–Wilson model (covered in Chapter 8) discusses the technical details of how it implements a constrained interface. Content-Dependent Control Content-dependent access controls restrict access to data based on the content within an object. A database view is a content-dependent control.

A view dynamically retrieves specific columns from one or more tables, creating a virtual table. For example, a customer table in a database could include customer names, email addresses, phone numbers, and credit card data. A customer-based view might show only the customer names and email addresses and nothing else. Users granted access to the view can see the customer names and email addresses but cannot access data in the underlying table. Context-Dependent Control Context-dependent access controls require specific activity before granting users access. As an example, consider the data flow for a transaction selling digital products online.

Users add products to a shopping cart and begin the checkout process. The first page in the checkout flow shows the products in the shopping cart, the next page collects credit card data, and the last page confirms the purchase and provides instructions for downloading the digital products. The system denies access to the download page if users don't go through the purchase process first. It's also possible to use date and time controls as context-dependent controls. For example, it's possible to restrict access to computers and applications based ACL

中文直译 / 整理

与能力列表之间的区别在于关注点。 ACL以对象为中心,标识对特 定对象授予主体的访问权限; 能力列表以主体为中心,标识主体可以访问的 对象。 受限接口 应用程序使用 受限接口 或受限接口来根据用户的权限限制用户可以 执行或查看的内容。 拥有完整权限的用户可以访问应用程序的所有功能。 拥有 受限权限的用户则只能访问有限的功能。 应用程序通过不同方法来约束接口。 一种常见方法是当用户没有使用某项功能的权限时,隐藏该功能。 例如,管理 员可以通过菜单或右键单击项目来使用某些命令,但如果普通用户没有相应权 限,该命令将不会显示。 有时,应用程序会显示菜单项,但将其显示为灰色或 禁用状态。 普通用户可以看到菜单项,但无法使用它。 Clark–Wilson 模型 (见 第 8 章)讨论了其如何实现受限接口的技术细节。 内容相关控制 内容相关访问控制 根据对象内的内容限制对数据的访问。 数据库 视图是一种内容相关控制。 视图动态地从一个或多个表中检索特定列,创建一个 虚拟表。 例如,数据库中的客户表可能包含客户姓名、电子邮件地址、电话号码 和信用卡数据。 基于客户的视图可能仅显示客户姓名和电子邮件地址,而不显示 其他内容。

被授予视图访问权限的用户可以查看客户姓名和电子邮件地址,但无 法访问底层表中的数据。 上下文相关控制 上下文相关访问控制 在授予用户访问权限前需要特定的活动。 例如,考虑在线销售数字产品的交易数据流。 用户将产品添加到购物车并开始结 账流程。 结账流程的第一页显示购物车中的产品,下一页收集信用卡信息,最后 一页确认购买并提供下载数字产品的说明。 如果用户未先完成购买流程,系统将 拒绝其访问下载页面。 还可以将日期和时间控制用作上下文相关控制。 例如,可 以根据

小白解释

场景先行:你是公司的安全负责人,正在读第 971 页这一组概念。老板不会问你背定义,而是问:这件事会不会影响业务、谁负责、要不要花钱、出了事能不能解释清楚。

这一页真正想让你理解的是:框架帮助组织系统化管理控制,而不是想到哪做到哪。

把它放进公司里看,关键不是背定义,而是判断:概念没放进业务场景,容易只背词,做题时不知道该选管理动作还是技术动作。

你作为负责人可以这样想:先确认业务目标和风险,再选控制措施,最后留下政策、审批、日志或证据。

本页术语用人话说:

NIST:NIST 提供美国常用安全标准、框架和指南。

程序:程序是一步一步怎么做。

常见误区:不要一看到安全题就直接选最强工具;CISSP 更常考“在这个场景下谁该负责、下一步是什么”。

读完后用一句话复述:如果我是安全负责人,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“安全控制框架:用成熟框架组织安全”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是安全负责人在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

Step-by-step、SOP 常对应 procedure。

排除法提醒:不要一看到安全题就直接选最强工具;CISSP 更常考“在这个场景下谁该负责、下一步是什么”。

本页术语拆解
NIST NIST 提供美国常用安全标准、框架和指南。
程序 程序是一步一步怎么做。
学习单元 05 / PDF P972

授权、审计与问责

认证后还要授权,之后靠审计和日志追责。

教材原文段落

on the current day and/or time within a time zone. If users attempt to access the resource outside the allowed time, the system denies them access. Need to Know This principle ensures that subjects are granted access only to what they need to know for their work tasks and job functions. Subjects may have clearance to access classified or restricted data but are not granted authorization to the data unless they actually need it to perform a job. Least Privilege The principle of least privilege ensures that subjects are granted only the privileges they need to perform their work tasks and job functions. This is sometimes lumped together with need to know.

The only difference is that least privilege will also include rights to take action on a system. Separation of Duties and Responsibilities The separation of duties and responsibilities principle ensures that sensitive functions are split into tasks performed by two or more employees. It helps prevent fraud and errors by creating a system of checks and balances. Chapter 16, “Managing Security Operations,” covers several related access control topics in more depth. These include need to know, least privilege, and separation of duties. Defining Requirements with a Security Policy A security policy is a document that defines the security requirements for an organization.

It identifies assets that need protection and the extent to which security solutions should go to protect them. Some organizations create a security policy as a single document, and other organizations create multiple security policies, with each one focused on a separate area. Policies are an important element of access control because they help personnel within the organization understand what security requirements are important. Senior leadership approves the security policy and, in doing so, provides a broad overview of an organization's security needs. However, a security policy usually does not go into details about how to fulfill the security needs or how to implement the policy.

For example, it may state the need to implement and enforce separation of duties and least privilege principles but not state how to do so. Professionals within the organization use the security policies as a guide to implement security requirements.

中文直译 / 整理

时区内的当前日期和/或时间限制对计算机和应用程序的访问。 如果用户在允许的 时间之外尝试访问资源,系统将拒绝其访问。 需要知道 这一原则确保主体仅被授予执行其工作任务和职责所需的需要知道的信 息。 主体可能具有访问机密或受限数据的权限,但除非其确实需要这些数据来完 成工作,否则不会被授权访问这些数据。 最小权限 最小权限原则 确保主体仅被授予执行其工作任务和职责所需的权限。 这一原则有时与需要知道原则合并使用。 唯一的区别是,最小权限还包含对系 统执行操作的权利。 职责与权限分离 职责与权限分离 原则确保敏感职能被拆分为由两名或多名员工 分别执行的任务。 它通过建立制衡机制来防止欺诈和错误。 第16章“管理安全运营” 更深入地探讨了几个相关的访问控制主题,包括需要 知道、最小权限和职责分离。 通过安全策略定义需求 安全策略 是一份定义组织安全需求的文档。 它识别需要保护的资产,以及安全 解决方案应如何程度地保护这些资产。 一些组织将安全策略创建为单一文档, 而其他组织则创建多个安全策略,每个策略专注于一个独立领域。 策略是访问控制的重要组成部分,因为它们有助于组织内部人员了解哪些安全 要求至关重要。

高级管理层批准安全策略,从而提供组织安全需求的总体概览。 然而,安全策略通常不会详细说明如何满足安全需求或如何实施策略。 例如, 它可能指出需要实施和强制执行职责分离和最小权限原则,但不会说明具体如 何操作。 组织内的专业人员将安全策略作为实施安全要求的指南。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证后还要授权,之后靠审计和日志追责。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

授权:授权是认证之后决定你能访问什么、能做什么。

政策:政策是高层原则,说明必须遵守什么。

指南:指南是建议做法,不一定强制。

程序:程序是一步一步怎么做。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“授权、审计与问责”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

认证成功不等于什么都能做;权限仍要单独授权。

Policy 高层、强制、稳定;Procedure 具体步骤。

Recommended、not compulsory 常对应 guideline。

Step-by-step、SOP 常对应 procedure。

资产安全题先问资产是谁拥有、如何分类、谁负责保护。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
授权 授权是认证之后决定你能访问什么、能做什么。
政策 政策是高层原则,说明必须遵守什么。
指南 指南是建议做法,不一定强制。
程序 程序是一步一步怎么做。
资产 资产是组织认为有价值、需要保护的东西,可以是数据、系统、人员、设施或声誉。
学习单元 06 / PDF P973

安全治理:定方向、定责任、定监督

治理负责让安全和组织目标对齐,并形成可监督的体系。

教材原文段落

Chapter 1, “Security Governance Through Principles and Policies,” covers security policies in more depth. It includes detailed information on standards, procedures, and guidelines. Introducing Access Control Models The following sections describe several access control models that you should understand. As an introduction, these access control models are summarized in the following list.

The first item in the list introduces a discretionary access control and the rest of the items on the list are nondiscretionary access controls: Discretionary Access Control A key characteristic of the discretionary access control (DAC) model is that every object has an owner and the owner can grant or deny access to any other subjects. For example, if you create a file, you are the owner and can grant permissions to any other user to access the file. The New Technology File System (NTFS), used on Microsoft Windows operating systems, uses the DAC model. Role-Based Access Control A key characteristic of the role-based access control (RBAC) model is the use of roles or groups.

Instead of assigning permissions directly to users, user accounts are placed in roles and administrators assign privileges to the roles. These roles are typically identified by job functions. If a user account is assigned a role, the user is granted all the privileges assigned to that role. Microsoft Windows operating systems implement RBAC with the use of groups. Rule-Based Access Control A key characteristic of the rule-based access control model is that it applies predefined global rules to all subjects. As an example, a firewall uses rules that allow or block traffic to all users equally.

Rules within the rule-based access control model are sometimes referred to as restrictions or filters. Attribute-Based Access Control A key characteristic of the attributebased access control (ABAC) model is its use of rules that can include multiple attributes. This allows it to be much more flexible than a rule-based access control model that applies the rules to all subjects equally. Many software-defined networks (SDNs) use the ABAC model. Additionally, ABAC allows administrators to create rules within a policy using plain language

中文直译 / 整理

第1章“通过原则和策略进行安全治理”更深入地介绍了安全策略, 包括关于标准、程序和指南的详细信息。 引入访问控制模型 以下部分介绍了您应了解的几种访问控制模型。 作为入门,这些访问控制模型 总结在以下列表中。 列表中的第一项介绍的是自主访问控制,其余项均为非自 主访问控制: 自主访问控制 自主访问控制(DAC)模型的一个关键特征是每个对象都有一个 所有者,所有者可以授予或拒绝其他主体的访问权限。 例如,如果您创建了一 个文件,您就是该文件的所有者,可以授予任何其他用户访问该文件的权限。 Microsoft Windows 操作系统使用的新技术文件系统(NTFS)即采用 DAC 模型。 基于角色的访问控制 基于角色的访问控制(RBAC)模型的一个关键特征是使 用角色或组。 不是直接将权限分配给用户,而是将用户账户放入角色中,由管 理员为角色分配权限。 这些角色通常根据工作职能来标识。 如果某个用户账户 被分配了一个角色,则该用户将获得分配给该角色的所有权限。 Microsoft Windows 操作系统通过使用组来实现 RBAC。

基于规则的访问控制 基于规则的访问控制模型的一个关键特征是,它将预定义 的全局规则应用于所有主体。 例如,防火墙使用规则对所有用户同等允许或阻 止流量。 基于规则的访问控制模型中的规则有时被称为限制或过滤器。 基于属性的访问控制 基于属性的访问控制(ABAC)模型的一个关键特征是其 使用可包含多个属性的规则。 这使其比对所有主体一视同仁的基于规则的访问 控制模型更加灵活。 许多软件定义网络(SDN)使用 ABAC 模型。 此外, ABAC 允许管理员使用自然语言在策略中创建规则

小白解释

场景先行:公司准备上线一个新业务系统,技术团队说可以买设备,法务说要合规,业务说不能影响上线。安全治理就是让高层定方向:安全要服务业务目标,风险由谁接受,预算花在哪里。

这一页真正想让你理解的是:治理负责让安全和组织目标对齐,并形成可监督的体系。

把它放进公司里看,关键不是背定义,而是判断:如果没有治理,安全会变成各部门各做各的:有人只想省钱,有人只想堆工具,最后责任不清。

你作为负责人可以这样想:先定策略和责任,再把战略拆成战术计划和日常运营计划。

本页术语用人话说:

安全治理:治理负责定方向、定责任、定监督方式。它不是配置防火墙,而是决定组织为什么要做安全、由谁负责、做到什么程度。

NIST:NIST 提供美国常用安全标准、框架和指南。

政策:政策是高层原则,说明必须遵守什么。

标准:标准给出必须满足的最低要求。

常见误区:不要把治理理解成配置设备;治理是方向、责任和监督。

读完后用一句话复述:如果我是高层管理者 / CISO,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“安全治理:定方向、定责任、定监督”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是高层管理者 / CISO在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

看到 governance,优先想高层责任、业务目标、策略、监督和持续改进。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

Policy 高层、强制、稳定;Procedure 具体步骤。

Minimum level、mandatory requirement 常对应 standard。

Recommended、not compulsory 常对应 guideline。

排除法提醒:不要把治理理解成配置设备;治理是方向、责任和监督。

本页术语拆解
安全治理 治理负责定方向、定责任、定监督方式。它不是配置防火墙,而是决定组织为什么要做安全、由谁负责、做到什么程度。
NIST NIST 提供美国常用安全标准、框架和指南。
政策 政策是高层原则,说明必须遵守什么。
标准 标准给出必须满足的最低要求。
指南 指南是建议做法,不一定强制。
程序 程序是一步一步怎么做。
防火墙 防火墙根据规则控制网络流量进出。
基于角色的访问控制 RBAC RBAC 按角色分配权限,适合岗位清晰的组织。
学习单元 07 / PDF P974

角色与职责:谁最终负责,谁执行保护

CISSP 很爱考 owner、custodian、senior manager 的责任边界。

教材原文段落

statements such as “Allow Managers to access the WAN using a mobile device.” Mandatory Access Control A key characteristic of the mandatory access control (MAC) model is the use of labels applied to both subjects and objects. For example, if a user has a label of top secret, the user can be granted access to a top secret document. In this example, both the subject and the object have matching labels. When documented in a table, the MAC model sometimes resembles a lattice (such as one used for a climbing rosebush), so it is referred to as a lattice-based model. Risk-Based Access Control A risk-based access control model grants access after evaluating risk.

It evaluates the environment and the situation and makes dynamic risk-based decisions using policies embedded within software code. It uses machine learning to make predictive conclusions about current activity based on past activity. Discretionary Access Control A system that employs discretionary access controls allows the owner, creator, or data custodian of an object to control and define access to that object. All objects have owners, and access control is based on the discretion or decision of the owner. For example, if a user creates a new spreadsheet file, that user is both the creator of the file and the owner of the file.

As the owner, the user can modify the permissions of the file to grant or deny access to other users. Data owners can also delegate day-to-day tasks for handling data to data custodians, giving data custodians the ability to modify permissions. Identity-based access control is a subset of DAC because systems identify users based on their identity and assign resource ownership to identities. A DAC model is implemented using access control lists (ACLs) on objects. Each ACL defines the types of access granted or denied to subjects. It does not offer a centrally controlled management system because owners can alter the ACLs on their objects at will.

Access to objects is easy to change, especially when compared to the static nature of mandatory access controls. Microsoft Windows systems use the DAC model to manage files. Each file and folder has an ACL (also known as a DACL) identifying the permissions granted to any user or group, and the owner can modify permissions.

中文直译 / 整理

语句,例如“允许管理人员使用移动设备访问广域网。 ” 强制访问控制 强制访问控制(MAC)模型的一个关键特征是为主体和对象应用 标签。 例如,如果一个用户的标签为“绝密”,则该用户可被授予访问“绝密” 文档的权限。 在此示例中,主体和对象具有匹配的标签。 当以表格形式记录时, MAC 模型有时类似于一个格子(例如用于攀爬玫瑰丛的格子),因此被称为基 于格子的模型。 基于风险的访问控制 基于风险的访问控制模型在评估风险后授予访问权限。 它会 评估环境和情境,并使用嵌入在软件代码中的策略做出动态的风险决策。 它利用 机器学习,根据以往活动对当前活动做出预测性结论。 自主访问控制 采用 自主访问控制 的系统允许对象的所有者、创建者或数据管理员控制并定义 对该对象的访问权限。 所有对象都有所有者,访问控制基于所有者的自主决定。 例如,如果一个用户创建了一个新的电子表格文件,则该用户既是文件的创建 者,也是文件的所有者。 作为所有者,用户可以修改文件的权限,以授予或拒 绝其他用户的访问权限。 数据所有者还可以将日常数据处理任务委托给数据管 理员,赋予数据管理员修改权限的能力。

基于身份的访问控制是 DAC 的一个子 集,因为系统根据用户的身份识别用户,并将资源所有权分配给身份。 DAC 模型通过对象上的访问控制列表(ACL)实现。 每个 ACL 定义了授予或 拒绝给主体的访问类型。 由于所有者可以随意更改其对象上的 ACL,因此它不 提供集中式管理系统。 与强制访问控制的静态特性相比,更改对象的访问权限 更加容易。 Microsoft Windows 系统使用 DAC 模型来管理文件。 每个文件和文件夹都有一个 ACL(也称为 DACL),用于标识授予任何用户或组的权限,且所有者可以修改权 限。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:CISSP 很爱考 owner、custodian、senior manager 的责任边界。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

数据所有者:数据所有者决定数据分类、保护要求和访问规则。

数据保管者:数据保管者按所有者要求实施备份、访问控制等保护。

数据所有者:数据所有者负责决定数据分类、访问规则和保护要求。

身份:身份是主体在系统中的标识。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“角色与职责:谁最终负责,谁执行保护”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

Owner 定规则,Custodian 执行保护。

Custodian 常是 IT/运维角色。

Owner 决策,Custodian 执行,User 按授权使用。

身份管理题要区分识别、认证、授权、审计。

政府/军方、机密级别、标签、不可由用户随意改通常是 MAC。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
数据所有者 数据所有者决定数据分类、保护要求和访问规则。
数据保管者 数据保管者按所有者要求实施备份、访问控制等保护。
数据所有者 数据所有者负责决定数据分类、访问规则和保护要求。
身份 身份是主体在系统中的标识。
强制访问控制 MAC MAC 由系统根据标签和级别强制决定访问。
自主访问控制 DAC DAC 由对象所有者决定谁能访问。
学习单元 08 / PDF P975

安全控制框架:用成熟框架组织安全

框架帮助组织系统化管理控制,而不是想到哪做到哪。

教材原文段落

Within the DAC model, every object has an owner (or data custodian), and owners have full control over the objects they own. Permissions (such as read and modify for files) are maintained in an ACL, and owners can easily change permissions. This makes the model very flexible. Nondiscretionary Access Controls The major difference between discretionary and nondiscretionary access controls is in how they are controlled and managed. Administrators centrally administer nondiscretionary access controls and can make changes that affect the entire environment. In contrast, DAC models allow owners to make their own changes, and their changes don't affect other parts of the environment.

In a nondiscretionary access control model, access does not focus on user identity. Instead, a static set of rules governing the whole environment manages access. Non-DAC systems are centrally controlled and easier to manage (although less flexible) and audit. In general, any model that isn't a discretionary access control model is a nondiscretionary model. Role-Based Access Control Systems that employ role-based access control (RBAC) define a subject's ability to access an object based on the subject's job role. Administrators often implement role-based access control using groups or roles. As an example, a bank may have loan officers, tellers, and managers.

Administrators can create a group named Loan Officers, place the user accounts of each loan officer into this group, and then assign appropriate privileges to the group, as shown in Figure 14.1. If the organization hires a new loan officer, administrators simply add the new loan officer's account into the Loan Officers group, and the new employee automatically has all the same permissions as other loan officers in this group. Administrators would take similar steps for tellers and managers.

中文直译 / 整理

在 DAC 模型中,每个对象都有一个所有者(或数据管理员),所有者对 其拥有的对象拥有完全控制权。 权限(如文件的读取和修改权限)保存在 ACL 中,所有者可以轻松更改权限。 这使得该模型非常灵活。 非自主访问控制 自主访问控制与非自主访问控制的主要区别在于它们的控制和管理方式。 管理 员集中管理非自主访问控制,并可以做出影响整个环境的更改。 相比之下, DAC模型允许所有者自行进行更改,且其更改不会影响环境的其他部分。 在非自主访问控制模型中,访问权限不以用户身份为中心。 相反,整个环境 的访问由一组静态规则管理。 非DAC系统由中央控制,更易于管理(尽管灵 活性较低)和审计。 一般来说,任何不属于自主访问控制模型的模型都属于 非自主访问控制模型。 基于角色的访问控制 采用基于角色的访问控制(RBAC)的系统,根据主体的工作角色定义其 访问对象的能力。 管理员通常使用组或角色来实现基于角色的访问控制。 例如,银行可能有贷款专员、出纳和经理。 管理员可以创建一个名为“贷款专 员”的组,将每位贷款专员的用户账户放入该组,然后为该组分配适当的权限, 如图14.1所示。

如果组织雇佣了一名新的贷款专员,管理员只需将该新员工的 账户添加到“贷款专员”组中,该新员工便会自动获得与该组其他贷款专员相 同的全部权限。 管理员对出纳和经理也会采取类似的步骤。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:框架帮助组织系统化管理控制,而不是想到哪做到哪。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

审计:审计记录主体行为,用于追责、复盘和取证。

NIST:NIST 提供美国常用安全标准、框架和指南。

身份:身份是主体在系统中的标识。

基于角色的访问控制 RBAC:RBAC 按角色分配权限,适合岗位清晰的组织。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“安全控制框架:用成熟框架组织安全”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

没有日志和身份绑定,就很难问责。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

身份管理题要区分识别、认证、授权、审计。

角色、岗位、职责分离常对应 RBAC。

文件所有者授权、ACL 常见于 DAC。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
审计 审计记录主体行为,用于追责、复盘和取证。
NIST NIST 提供美国常用安全标准、框架和指南。
身份 身份是主体在系统中的标识。
基于角色的访问控制 RBAC RBAC 按角色分配权限,适合岗位清晰的组织。
自主访问控制 DAC DAC 由对象所有者决定谁能访问。
审计 审计检查控制是否存在、是否有效、是否符合要求。
学习单元 09 / PDF P976

安全控制框架:用成熟框架组织安全

框架帮助组织系统化管理控制,而不是想到哪做到哪。

教材原文段落

FIGURE 14.1 Role-based access control This approach helps enforce the principle of least privilege by preventing privilege creep. Privilege creep is the tendency for users to accrue privileges over time as their roles and access needs change. Ideally, administrators revoke user privileges when users change jobs within an organization. However, when privileges are assigned to users directly, it is challenging to identify and revoke all of a user's unneeded privileges. Administrators can easily revoke unneeded privileges by simply removing the user's account from a group. As soon as an administrator removes a user from a group, the user no longer has the privileges assigned to the group. As

中文直译 / 整理

图 14.1基于角色的访问控制 这种方法有助于贯彻最小权限原则,防止权限累积。 权限累积是指随着用户 角色和访问需求的变化,用户逐渐积累过多权限的现象。 理想情况下,当用 户在组织内部调岗时,管理员应撤销其不再需要的权限。 然而,当权限直接 分配给用户时,很难识别并撤销用户所有不必要的权限。 管理员只需将用户的账户从组中移除,即可轻松撤销不必要的权限。 一旦管理 员将用户从组中移除,该用户便不再拥有该组分配的权限。 作为

小白解释

场景先行:你是公司的安全负责人,正在读第 976 页这一组概念。老板不会问你背定义,而是问:这件事会不会影响业务、谁负责、要不要花钱、出了事能不能解释清楚。

这一页真正想让你理解的是:框架帮助组织系统化管理控制,而不是想到哪做到哪。

把它放进公司里看,关键不是背定义,而是判断:概念没放进业务场景,容易只背词,做题时不知道该选管理动作还是技术动作。

你作为负责人可以这样想:先确认业务目标和风险,再选控制措施,最后留下政策、审批、日志或证据。

本页术语用人话说:

NIST:NIST 提供美国常用安全标准、框架和指南。

常见误区:不要一看到安全题就直接选最强工具;CISSP 更常考“在这个场景下谁该负责、下一步是什么”。

读完后用一句话复述:如果我是安全负责人,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“安全控制框架:用成熟框架组织安全”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是安全负责人在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

排除法提醒:不要一看到安全题就直接选最强工具;CISSP 更常考“在这个场景下谁该负责、下一步是什么”。

本页术语拆解
NIST NIST 提供美国常用安全标准、框架和指南。
学习单元 10 / PDF P977

安全控制框架:用成熟框架组织安全

框架帮助组织系统化管理控制,而不是想到哪做到哪。

教材原文段落

an example, if a loan officer moves to another department, administrators can simply remove the loan officer's account from the Loan Officers group. This immediately removes all the Loan Officers group privileges from the user's account. Administrators identify roles (and groups) by job descriptions or work functions. In many cases, this follows the organization's hierarchy documented in an organizational chart. Users who occupy management positions will have greater access to resources than users in a temporary job.

RBAC is useful in dynamic environments with frequent personnel changes because administrators can easily grant multiple permissions simply by adding a new user into the appropriate role. It's worth noting that users can belong to multiple roles or groups. For example, using the same bank scenario, managers might belong to the Managers role, the Loan Officers role, and the Tellers role. This allows managers access to all of the same resources that their employees can access. Microsoft operating systems implement RBAC with the use of groups. Some groups, such as the local Administrators group, are predefined.

However, administrators can create additional groups to match the job functions or roles used in an organization. A distinguishing point about the RBAC model is that subjects have access to resources through their membership in roles or groups. Roles are based on jobs or tasks, and administrators assign privileges to the role. The RBAC model is useful for enforcing the principle of least privilege because privileges can easily be revoked by removing user accounts from a role. It's easy to confuse DAC and RBAC because they can both use groups to organize users into manageable units, but they differ in their deployment and use.

In the DAC model, objects have owners and owners determine who has access. In the RBAC model, administrators determine subject privileges and assign appropriate privileges to roles or groups. In a strict RBAC model, administrators do not assign privileges to users directly but only grant privileges by adding user accounts to roles or groups.

中文直译 / 整理

示例,如果贷款专员调往其他部门,管理员只需将其账户从“贷款专员”组中 移除即可。 这将立即从该用户的账户中移除“贷款专员”组的所有权限。 管理员通过职位描述或工作职能来识别角色(和组)。 在许多情况下,这遵循 组织结构图中记录的组织层级。 担任管理职位的用户比临时岗位的用户拥有更 多的资源访问权限。 RBAC 在人员频繁变动的动态环境中非常有用,因为管理员只需将新用户添加 到适当的角色中,即可轻松授予多个权限。 需要注意的是,用户可以属于多个 角色或组。 例如,在相同的银行场景中,经理可能同时属于“经理”角色、 “贷款专员”角色和“柜员”角色。 这使得经理能够访问其员工所能访问的所 有资源。 Microsoft 操作系统通过使用组来实现 RBAC。 某些组(如本地管理员组) 是预定义的。 然而,管理员可以创建额外的组,以匹配组织中使用的职位职 能或角色。 RBAC 模型的一个显著特点是,主体通过其在角色或组中的成员身 份访问资源。 角色基于职位或任务,管理员将权限分配给角色。 RBAC 模型有助于实施最小权限原则,因为通过将用户账户从角色中移除,可以 轻松撤销权限。

由于DAC和RBAC都可以使用组将用户组织成可管理的单元,因此很容易将它 们混淆,但它们在部署和使用上有所不同。 在DAC模型中,对象拥有所有者, 所有者决定谁具有访问权限。 在RBAC模型中,管理员决定主体的权限,并将 适当的权限分配给角色或组。 在严格的RBAC模型中,管理员不直接将权限分 配给用户,而是仅通过将用户账户添加到角色或组来授予权限。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:框架帮助组织系统化管理控制,而不是想到哪做到哪。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

NIST:NIST 提供美国常用安全标准、框架和指南。

OSI 模型:OSI 用七层结构理解网络通信,从物理层到应用层。

基于角色的访问控制 RBAC:RBAC 按角色分配权限,适合岗位清晰的组织。

自主访问控制 DAC:DAC 由对象所有者决定谁能访问。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“安全控制框架:用成熟框架组织安全”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

网络题先定位层次,再判断协议、设备或攻击位置。

角色、岗位、职责分离常对应 RBAC。

文件所有者授权、ACL 常见于 DAC。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
NIST NIST 提供美国常用安全标准、框架和指南。
OSI 模型 OSI 用七层结构理解网络通信,从物理层到应用层。
基于角色的访问控制 RBAC RBAC 按角色分配权限,适合岗位清晰的组织。
自主访问控制 DAC DAC 由对象所有者决定谁能访问。
学习单元 11 / PDF P978

安全控制框架:用成熟框架组织安全

框架帮助组织系统化管理控制,而不是想到哪做到哪。

教材原文段落

Another access control model related to RBAC is task-based access control (TBAC). TBAC is similar to RBAC, but instead of being assigned to one or more roles, each user is assigned an array of tasks. These items all relate to assigned work tasks for the person associated with a user account. Under TBAC, the focus is on controlling access by assigned tasks rather than by user identity or job roles. As an example, Microsoft Project uses TBAC. Each project has multiple tasks. The project manager assigns tasks to project team personnel. Team personnel can address their own tasks (adding comments, indicating progress, and so on), but they cannot address other tasks.

Microsoft Project handles the underlying details. Application Roles Many applications use the RBAC model because the roles reduce the overall labor cost of maintaining the application. As a simple example, WordPress is a popular web-based application used for blogging and as a content management system. WordPress includes six roles organized in a hierarchy. The roles are Subscriber, Contributor, Author, Editor, Administrator, and Super Admin. The Subscriber has the fewest privileges, and the Super Admin has the most. Each higher-level role includes all the privileges of the lower-level role(s). Subscribers can modify some elements of the look and feel of the pages within their user profiles.

Contributors can create, edit, and delete their own unpublished posts. Authors can create, edit, and publish posts. They can also edit and delete their own published posts and upload files. Editors can create, edit, and delete any posts. They can also manage website pages, including editing and deleting pages. Administrators can do anything and everything on the site, including managing underlying themes, plug-ins, and users. Rule-Based Access Control A rule-based access control model uses a set of rules, restrictions, or filters to determine what can and cannot occur on a system. It includes granting a subject access to an object, or granting the subject the ability to perform an

中文直译 / 整理

与RBAC相关的另一种访问控制模型是基于任务的访问控制(TBAC)。 TBAC类似于RBAC,但不是将用户分配给一个或多个角色,而是将每个用户分 配一组任务。 这些任务都与与用户账户关联的人员所分配的工作任务相关。 在 TBAC下,重点是通过分配的任务而非用户身份或职位角色来控制访问。 例如,Microsoft Project 使用 TBAC。 每个项目包含多个任务。 项目经理将任 务分配给项目团队成员。 团队成员可以处理自己的任务(添加评论、指示进度 等),但不能处理其他任务。 Microsoft Project 处理底层细节。 应用程序角色 许多应用程序使用 RBAC 模型,因为角色降低了维护应用程序的整体人工 成本。 一个简单的例子是 WordPress,它是一种流行的基于 Web 的应用 程序,用于博客和内容管理系统。 WordPress 包含六个按层次结构组织的角色。 这些角色分别是订阅者、贡 献者、作者、编辑、管理员和超级管理员。 订阅者的权限最少,超级管理 员的权限最多。 每个高级别角色都包含所有低级别角色的权限。 订阅者可以修改其用户个人资料中页面的某些外观和感觉元素。

贡献者可 以创建、编辑和删除自己的未发布文章。 作者可以创建、编辑和发布文章, 还可以编辑和删除自己的已发布文章并上传文件。 编辑可以创建、编辑和 删除任何文章,还可以管理网站页面,包括编辑和删除页面。 管理员可以 执行网站上的任何操作,包括管理底层主题、插件和用户。 基于规则的访问控制 一种基于规则的访问控制模型使用一组规则、限制或过滤器来确定系统上哪些操作可以 发生,哪些不可以发生。 它包括授予主体对对象的访问权限,或授予主体执行一个

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:框架帮助组织系统化管理控制,而不是想到哪做到哪。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

NIST:NIST 提供美国常用安全标准、框架和指南。

程序:程序是一步一步怎么做。

身份:身份是主体在系统中的标识。

基于角色的访问控制 RBAC:RBAC 按角色分配权限,适合岗位清晰的组织。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“安全控制框架:用成熟框架组织安全”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

Step-by-step、SOP 常对应 procedure。

身份管理题要区分识别、认证、授权、审计。

角色、岗位、职责分离常对应 RBAC。

日志要保护完整性、时间同步和访问控制。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
NIST NIST 提供美国常用安全标准、框架和指南。
程序 程序是一步一步怎么做。
身份 身份是主体在系统中的标识。
基于角色的访问控制 RBAC RBAC 按角色分配权限,适合岗位清晰的组织。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 12 / PDF P979

安全控制框架:用成熟框架组织安全

框架帮助组织系统化管理控制,而不是想到哪做到哪。

教材原文段落

action. A distinctive characteristic about rule based access control models is that they have global rules that apply to all subjects. You may see role-based access control and rule-based access control both abbreviated as RBAC in some other documents. However, the CISSP Content Outline lists them as role-based access control (RBAC) and rule-based access control. One common example of a rule-based access control model is a firewall. Firewalls include a set of rules or filters within an ACL, defined by an administrator. The firewall examines all the traffic going through it and only allows traffic that meets one of the rules.

Firewalls include a final rule (referred to as the implicit deny rule), denying or blocking all other traffic. The initial rules identify traffic that the firewall will allow. The implicit deny rule denies all other traffic. As an example, the last rule might be deny all to indicate the firewall should block all traffic in or out of the network that wasn't previously allowed by another rule. In other words, if traffic doesn't meet the condition of any previous explicitly defined rule that granted access, then the final rule ensures that the traffic is blocked. This final rule is sometimes viewable in the ACL so that you can see it.

Other times, the implicit deny rule is implied as the final rule but is not explicitly stated in the ACL. Attribute-Based Access Control Traditional rule-based access control models include global rules that apply to all subjects (such as users) equally. However, an advanced implementation of a rule-based access control is an attribute-based access control (ABAC) model. ABAC models use policies that include multiple attributes for rules. Attributes can be almost any characteristic of users, the network, and devices on the network. For example, user attributes can include group membership, the department where they work, and devices they use such as desktop PCs or mobile devices.

The network can be the local internal network, a wireless network, an intranet, or a wide area network (WAN). Devices can include firewalls, proxy servers, web servers, database servers, and more.

中文直译 / 整理

操作。 基于规则的访问控制模型的一个显著特征是,它们具有适用于所有主体的 全局规则。 在其他一些文档中,您可能会看到基于角色的访问控制和基于规则的 访问控制都缩写为 RBAC。 然而,CISSP 内容大纲将它们列为基于角色的 访问控制(RBAC)和基于规则的访问控制。 基于规则的访问控制模型的一个常见示例是防火墙。 防火墙包含一组由管理员 定义的规则或过滤器,这些规则或过滤器位于访问控制列表(ACL)中。 防火 墙会检查所有经过它的流量,仅允许满足其中任一规则的流量。 防火墙包含一条最终规则(称为隐式拒绝规则),用于拒绝或阻止所有其他 流量。 初始规则用于标识防火墙将允许的流量。 隐式拒绝规则则拒绝所有其 他流量。 例如,最后一条规则可能是 deny all,以指示防火墙应阻止所有未 被其他规则先前允许的进出网络的流量。 换句话说,如果流量不满足任何先前明确定义的授权规则的条件,则最终规则 确保该流量被阻止。 这条最终规则有时可以在 ACL 中查看到,以便您能够看 到它。 其他时候,隐式拒绝规则作为最终规则被隐含,但在 ACL 中并未明确 列出。

基于属性的访问控制 传统的基于规则的访问控制模型包括适用于所有主体(如用户)的全局规则。 然而,一种更高级的基于规则的访问控制实现是基于属性的访问控制(ABAC) 模型。 ABAC 模型使用包含多个属性的策略来定义规则。 属性可以是用户、网络和网络上设备的几乎任何特征。 例如,用户属性可以包 括组成员身份、所在部门以及使用的设备,如台式机或移动设备。 网络可以是 本地内部网络、无线网络、内网或广域网(WAN)。 设备可以包括防火墙、代 理服务器、Web服务器、数据库服务器等。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:框架帮助组织系统化管理控制,而不是想到哪做到哪。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

授权:授权是认证之后决定你能访问什么、能做什么。

NIST:NIST 提供美国常用安全标准、框架和指南。

防火墙:防火墙根据规则控制网络流量进出。

身份:身份是主体在系统中的标识。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“安全控制框架:用成熟框架组织安全”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

认证成功不等于什么都能做;权限仍要单独授权。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

防火墙不是万能;它常与 IDS/IPS、分段、日志一起使用。

身份管理题要区分识别、认证、授权、审计。

角色、岗位、职责分离常对应 RBAC。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
授权 授权是认证之后决定你能访问什么、能做什么。
NIST NIST 提供美国常用安全标准、框架和指南。
防火墙 防火墙根据规则控制网络流量进出。
身份 身份是主体在系统中的标识。
基于角色的访问控制 RBAC RBAC 按角色分配权限,适合岗位清晰的组织。
基于属性的访问控制 ABAC ABAC 根据用户、资源、环境等属性动态决策。
学习单元 13 / PDF P980

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

Many software-defined networking (SDN) applications use ABAC models. Chapter 11, “Secure Network Architecture and Components,” discusses SDN in greater depth. In short, an SDN separates the infrastructure layer (sometimes called the infrastructure plane or data plane) from the control layer (sometimes called the control plane). This separation gives an organization more freedom to purchase hardware from different sources. The ABAC model provides the organization with more flexibility when managing the SDN. As an example, a software-defined wide area network (SD-WAN) solution could implement policies to allow or block traffic.

Administrators create ABAC policies using plain language statements such as “Allow Managers to access the WAN using tablets or smartphones.” This allows users in the Managers role to access the WAN using tablet devices or smartphones. Notice how this improves the rule-based access control model. The rule-based access control applies to all users, but the ABAC can be much more specific. Mobile device management (MDM) systems, discussed in Chapter 9, “Security Vulnerabilities, Threats, and Countermeasures,” can use attributes to identify mobile devices. Chapter 13 gave some attribute examples such as somewhere you are, somewhere you aren't, and context-aware authentication.

Context-aware attributes can include the time of day, the type of device, and much more. An MDM system can use these as authentication attributes. For example, imagine an organization wants to grant users access to the network during work hours and only when using a specific Androidbased phone. The MDM system can verify these attributes and allow the user to log on when the attributes match. Mandatory Access Controls A mandatory access control (MAC) model relies on the use of classification labels, discussed in Chapter 5, “Protecting Security of Assets.” Each classification label represents a security domain, or a realm of security.

A security domain is a collection of subjects and objects that share a common security policy. For example, a security domain could have the label Secret, and the MAC model would protect all objects with the Secret label in the same manner. Subjects are only able to access objects with the Secret label when they have a matching Secret label that indicates they are cleared to access Secret information. Note that users may have more than one label if they are cleared to access multiple levels of information. Additionally, the requirement for subjects to gain the Secret label is the same for all subjects.

中文直译 / 整理

许多软件定义网络(SDN)应用程序使用ABAC模型。 第11章“安全网络架构 与组件”更深入地讨论了SDN。 简而言之,SDN将基础设施层(有时称为基础 设施平面或数据平面)与控制层(有时称为控制平面)分离。 这种分离使组织 在采购硬件时拥有更多自由度。 ABAC模型为组织在管理SDN时提供了更大的 灵活性。 例如,软件定义广域网(SD‑WAN)解决方案可以实施策略以允许或阻止流量。 管理员使用自然语言语句创建ABAC策略,例如“允许管理人员使用平板电脑 或智能手机访问广域网”。 这使得属于“管理人员”角色的用户能够使用平板 设备或智能手机访问广域网。 请注意,这改进了基于规则的访问控制模型。 基 于规则的访问控制适用于所有用户,而ABAC则可以更加具体。 移动设备管理(MDM)系统在第9章“安全漏洞、威胁与应对措施”中进行了 讨论,可以使用属性来识别移动设备。 第13章提供了一些属性示例,例如您所 在的位置、您不在的位置以及上下文感知身份验证。 上下文感知属性可包括一 天中的时间、设备类型等更多内容。 MDM系统可将这些作为身份验证属性使 用。

例如,假设一个组织希望在工作时间内仅允许用户使用特定的Android手 机访问网络。 MDM系统可以验证这些属性,并在属性匹配时允许用户登录。 强制访问控制 一个 强制访问控制(MAC) 模型依赖于分类标签的使用,该标签在 第5章 “保护资产安全”中进行了讨论。 每个分类标签代表一个安全 域,或一个安 全领域。 安全域是一组共享相同安全策略的主体和对象。 例如,一个安全域 可以具有“秘密”标签,MAC 模型将以相同的方式保护所有带有“秘密”标 签的对象。 只有当主体具有匹配的“秘密”标签,表明其有权访问秘密信息 时,才能访问带有“秘密”标签的对象。 请注意,如果用户被授权访问多个 级别的信息,则他们可能拥有多个标签。 此外,主体获得“秘密”标签的要 求对所有主体都相同。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

NIST:NIST 提供美国常用安全标准、框架和指南。

政策:政策是高层原则,说明必须遵守什么。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

Policy 高层、强制、稳定;Procedure 具体步骤。

Step-by-step、SOP 常对应 procedure。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
NIST NIST 提供美国常用安全标准、框架和指南。
政策 政策是高层原则,说明必须遵守什么。
程序 程序是一步一步怎么做。
资产 资产是组织认为有价值、需要保护的东西,可以是数据、系统、人员、设施或声誉。
身份 身份是主体在系统中的标识。
强制访问控制 MAC MAC 由系统根据标签和级别强制决定访问。
学习单元 14 / PDF P981

安全控制框架:用成熟框架组织安全

框架帮助组织系统化管理控制,而不是想到哪做到哪。

教材原文段落

Users have labels assigned to them based on their clearance level, which is a form of privilege. Similarly, objects have labels, which indicate their level of classification or sensitivity. For example, the U.S. military uses the labels Top Secret, Secret, Confidential, and Unclassified to classify data. Administrators can grant access to Top Secret data to users with Top Secret clearances. However, administrators cannot grant access to Top Secret data to users with lower-level clearances such as Secret and Confidential. Organizations in the private sector often use labels such as confidential (or proprietary), private, sensitive, and public.

Governments use labels mandated by law, but private sector organizations are free to use whatever labels they choose. The MAC model is often referred to as a lattice-based model. Figure 14.2 shows an example of a lattice-based MAC model. It is reminiscent of a lattice in a garden, such as a rose lattice used to train climbing roses. The horizontal lines labeled Confidential, Private, Sensitive, and Public mark the upper bounds of the classification levels. For example, the area between Public and Sensitive includes objects labeled Sensitive (the upper boundary). Users with the Sensitive label can access Sensitive data.

FIGURE 14.2 A representation of the boundaries provided by lattice-based access controls

中文直译 / 整理

用户的标签根据其权限级别分配,这是一种特权形式。 类似地,对象也具有标 签,用于指示其分类或敏感级别。 例如,美国军方使用“绝密”、“秘密”、 “机密”和“未分类”等标签对数据进行分类。 管理员可以授予具有“绝密” 权限的用户访问“绝密”数据的权限。 然而,管理员不能向具有较低级别权限(如秘密和机密)的用户授予对绝密数据的访问权限。 私营部门的组织通常使用诸如机密(或专有)、私有、敏感和公开等标签。 政 府使用法律规定的标签,而私营部门的组织可以自由选择任何他们希望使用的 标签。 MAC模型通常被称为基于格的模型。 图14.2展示了一个基于格的MAC模型示 例。 它让人联想到花园中的格子,例如用于培育攀援玫瑰的玫瑰格子。 水平线 上标注的“保密”、“私有”、“敏感”和“公开”标识了分类级别的上限。 例如,公开与敏感之间的区域包含标记为“敏感”的对象(上限)。 拥有“敏 感”标签的用户可以访问敏感数据。 图 14.2 基于格的访问控制所提供的边界表示

小白解释

场景先行:你是公司的安全负责人,正在读第 981 页这一组概念。老板不会问你背定义,而是问:这件事会不会影响业务、谁负责、要不要花钱、出了事能不能解释清楚。

这一页真正想让你理解的是:框架帮助组织系统化管理控制,而不是想到哪做到哪。

把它放进公司里看,关键不是背定义,而是判断:概念没放进业务场景,容易只背词,做题时不知道该选管理动作还是技术动作。

你作为负责人可以这样想:先确认业务目标和风险,再选控制措施,最后留下政策、审批、日志或证据。

本页术语用人话说:

NIST:NIST 提供美国常用安全标准、框架和指南。

强制访问控制 MAC:MAC 由系统根据标签和级别强制决定访问。

常见误区:不要一看到安全题就直接选最强工具;CISSP 更常考“在这个场景下谁该负责、下一步是什么”。

读完后用一句话复述:如果我是安全负责人,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“安全控制框架:用成熟框架组织安全”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是安全负责人在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

政府/军方、机密级别、标签、不可由用户随意改通常是 MAC。

排除法提醒:不要一看到安全题就直接选最强工具;CISSP 更常考“在这个场景下谁该负责、下一步是什么”。

本页术语拆解
NIST NIST 提供美国常用安全标准、框架和指南。
强制访问控制 MAC MAC 由系统根据标签和级别强制决定访问。
学习单元 15 / PDF P982

安全控制框架:用成熟框架组织安全

框架帮助组织系统化管理控制,而不是想到哪做到哪。

教材原文段落

The MAC model also allows labels to identify more defined security domains. Within the Confidential section (between Private and Confidential), there are four separate security domains labeled Lentil, Foil, Crimson, and Matterhorn. These all include Confidential data but are maintained in separate compartments for an added layer of protection. Users with the Confidential label also require the additional label to access data within these compartments. For example, to access Lentil data, users need to have both the Confidential label and the Lentil label. Similarly, the compartments labeled Domino, Primrose, Sleuth, and Potluck include Private data.

Users need the Private label and one of the labels in this compartment to access the data within that compartment. The labels in Figure 14.2 are names of World War II military operations, but an organization can use any names for the labels. The key is that these sections provide an added level of compartmentalization for objects such as data. Notice that Sensitive data (between the Public and Sensitive boundaries) doesn't have any additional labels. Users with the Sensitive label can be granted access to any data with the Sensitive label. Personnel within the organization identify the labels and define their meanings as well as the requirements to obtain the labels.

Administrators then assign the labels to subjects and objects. With the labels in place, the system determines access based on the assigned labels. Using compartmentalization with the MAC model enforces the need to know principle. Users with the Confidential label are not automatically granted access to compartments within the Confidential section. However, if their job requires them to have access to certain data, such as data with the Crimson label, an administrator can assign them the Crimson label to grant them access to this compartment. The MAC model is prohibitive rather than permissive, and it uses an implicit deny philosophy.

If users are not specifically granted access to data, the system denies them access to the associated data. The MAC model is more secure than the DAC model, but it isn't as flexible or scalable. Security classifications indicate a hierarchy of sensitivity. For example, if you consider the military security labels of Top Secret, Secret, Confidential, and Unclassified, the Top Secret label includes the most sensitive data and unclassified is the least sensitive. Because of this hierarchy, someone cleared for Top Secret data is cleared for Secret and less sensitive data. However, classifications don't have to include lower levels. It is possible to use MAC MAC

中文直译 / 整理

模型还允许使用标签来标识更明确的安全域。 在“保密”区域(介于“私 有”和“保密”之间)内,有四个独立的安全域,分别标记为“扁豆”、“箔”、 “深红”和“马特洪峰”。 这些区域都包含保密数据,但为了增加一层保护而 被划分在独立的隔间中。 拥有“保密”标签的用户还需要额外的标签才能访问 这些隔间中的数据。 例如,要访问“扁豆”数据,用户必须同时拥有“保密” 标签和“扁豆”标签。 类似地,标记为 Domino、Primrose、Sleuth 和 Potluck 的 compartment 包含私 有数据。 用户需要具有私有标签以及该 compartment 中的其中一个标签,才能访问 该 compartment 中的数据。 标签 图 14.2 中的名称是第二次世界大战期间军事行动的名称,但组织可以为 标签使用任何名称。 关键是,这些部分为数据等对象提供了额外的隔离层级。 请注意,敏感数据(位于公共和敏感边界之间)没有任何附加标签。 具有敏感 标签的用户可被授予访问任何具有敏感标签的数据的权限。 组织内的人员识别标签并定义其含义以及获取标签所需的要求。 管理员随 后将标签分配给主体和对象。

在标签设置完成后,系统根据分配的标签确 定访问权限。 在 MAC 模型中使用隔离机制强制执行 需要知道原则。 具有机密标签的用户不 会自动获得访问机密部分内 compartment 的权限。 但是,如果其工作需要访 问特定数据(例如具有 Crimson 标签的数据),管理员可以为其分配 Crimson 标签,以授予其访问该 compartment 的权限。 MAC模型是禁止型而非允许型的,它采用隐式拒绝原则。 如果用户未被明确 授予访问数据的权限,系统将拒绝其访问相关数据。 MAC模型比DAC模型更 安全,但灵活性和可扩展性较差。 安全分类表示敏感性的层次结构。 例如,如果您考虑军事安全标签中的绝密、 机密、秘密和非密级,绝密标签包含最敏感的数据,而非密级则最不敏感。 由 于这种层次结构,获得绝密数据权限的人也具备机密及更低敏感级别数据的权 限。 然而,分类不一定包含较低级别。 可以使用MAC

小白解释

场景先行:你是公司的安全负责人,正在读第 982 页这一组概念。老板不会问你背定义,而是问:这件事会不会影响业务、谁负责、要不要花钱、出了事能不能解释清楚。

这一页真正想让你理解的是:框架帮助组织系统化管理控制,而不是想到哪做到哪。

把它放进公司里看,关键不是背定义,而是判断:概念没放进业务场景,容易只背词,做题时不知道该选管理动作还是技术动作。

你作为负责人可以这样想:先确认业务目标和风险,再选控制措施,最后留下政策、审批、日志或证据。

本页术语用人话说:

NIST:NIST 提供美国常用安全标准、框架和指南。

强制访问控制 MAC:MAC 由系统根据标签和级别强制决定访问。

自主访问控制 DAC:DAC 由对象所有者决定谁能访问。

常见误区:不要一看到安全题就直接选最强工具;CISSP 更常考“在这个场景下谁该负责、下一步是什么”。

读完后用一句话复述:如果我是安全负责人,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“安全控制框架:用成熟框架组织安全”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是安全负责人在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

政府/军方、机密级别、标签、不可由用户随意改通常是 MAC。

文件所有者授权、ACL 常见于 DAC。

排除法提醒:不要一看到安全题就直接选最强工具;CISSP 更常考“在这个场景下谁该负责、下一步是什么”。

本页术语拆解
NIST NIST 提供美国常用安全标准、框架和指南。
强制访问控制 MAC MAC 由系统根据标签和级别强制决定访问。
自主访问控制 DAC DAC 由对象所有者决定谁能访问。
学习单元 16 / PDF P983

安全控制框架:用成熟框架组织安全

框架帮助组织系统化管理控制,而不是想到哪做到哪。

教材原文段落

labels so that a clearance for a higher-level label does not include clearance for a lower-level label. A key point about the MAC model is that every object and every subject has one or more labels. These labels are predefined, and the system determines access based on assigned labels. Classifications within a MAC model use one of the following three types of environment: Hierarchical Environment A hierarchical environment relates various classification labels in an ordered structure from low security to medium security to high security, such as Confidential, Secret, and Top Secret, respectively. Each level or classification label in the structure is related.

Clearance in one level grants the subject access to objects in that level as well as to all objects in lower levels but prohibits access to all objects in higher levels. For example, someone with a Top Secret clearance can access Top Secret data and Secret data. Compartmentalized Environment In a compartmentalized environment, there is no relationship between one security domain and another. Each domain represents a separate isolated compartment. To gain access to an object, the subject must have specific clearance for the object's security domain.

Hybrid Environment A hybrid environment combines both hierarchical and compartmentalized concepts so that each hierarchical level may contain numerous subdivisions that are isolated from the rest of the security domain. A subject must have the correct clearance and the need to know data within a specific compartment to gain access to the compartmentalized object. A hybrid MAC environment provides granular control over access but becomes increasingly difficult to manage as it grows. Figure 14.2 is an example of a hybrid environment. Risk-Based Access Control Risk-based access control is relatively new, and the implementation can be quite complex.

The model attempts to evaluate risk by considering several different elements, such as:

中文直译 / 整理

标签,使得较高级别标签的权限不包含较低级别标签的权限。 MAC模型的一个关键点是,每个对象和每个主体都具有一个或多个标 签。 这些标签是预先定义的,系统根据分配的标签来确定访问权限。 MAC模型中的分类使用以下三种环境类型之一: 分层环境 分层环境 按照从低安全到中安全再到高安全的有序结构关联各种分 类标签,例如分别为机密、秘密和绝密。 该结构中的每个级别或分类标签都是 相互关联的。 某一等级的许可使主体能够访问该等级的对象以及所有较低等级 的对象,但禁止访问所有较高等级的对象。 例如,拥有绝密许可的人可以访问 绝密数据和秘密数据。 隔离环境 在隔离环境中,一个安全域与另一个安全域之间没有关系。 每个域 代表一个独立的隔离分区。 要访问某个对象,主体必须具有该对象安全域的特 定许可。 混合环境 一个 混合环境 结合了分层和隔离两种概念,使得每个分层级别可能包 含多个与其余安全域隔离的子分区。 主体必须具有正确的许可以及对特定分区中 数据的“需要知道”权限,才能访问隔离对象。 混合MAC环境提供了对访问的 精细控制,但随着规模扩大,管理难度也不断增加。 图14.2 是混合环境的一个 示例。

基于风险的访问控制 基于风险的访问控制是相对较新的,其实现可能相当复杂。 该模型试图通过 考虑多个不同因素来评估风险,例如:

小白解释

场景先行:你是公司的安全负责人,正在读第 983 页这一组概念。老板不会问你背定义,而是问:这件事会不会影响业务、谁负责、要不要花钱、出了事能不能解释清楚。

这一页真正想让你理解的是:框架帮助组织系统化管理控制,而不是想到哪做到哪。

把它放进公司里看,关键不是背定义,而是判断:概念没放进业务场景,容易只背词,做题时不知道该选管理动作还是技术动作。

你作为负责人可以这样想:先确认业务目标和风险,再选控制措施,最后留下政策、审批、日志或证据。

本页术语用人话说:

分层:分层把控制按层排列,让攻击者必须连续突破。

ISO:ISO 是国际标准化组织,常见安全管理体系如 ISO 27001/27002。

强制访问控制 MAC:MAC 由系统根据标签和级别强制决定访问。

常见误区:不要一看到安全题就直接选最强工具;CISSP 更常考“在这个场景下谁该负责、下一步是什么”。

读完后用一句话复述:如果我是安全负责人,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“安全控制框架:用成熟框架组织安全”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是安全负责人在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

serial controls 更深,parallel controls 更宽;题目会考深度和广度。

ISO 偏标准和管理体系。

政府/军方、机密级别、标签、不可由用户随意改通常是 MAC。

排除法提醒:不要一看到安全题就直接选最强工具;CISSP 更常考“在这个场景下谁该负责、下一步是什么”。

本页术语拆解
分层 分层把控制按层排列,让攻击者必须连续突破。
ISO ISO 是国际标准化组织,常见安全管理体系如 ISO 27001/27002。
强制访问控制 MAC MAC 由系统根据标签和级别强制决定访问。
学习单元 17 / PDF P984

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

The environment The situation Security policies In this context, a security policy is software code that makes risk-based decisions based on available data. An organization would modify the choices within the software to support their needs. For example, consider an information system containing patient information and used by medical professionals. Doctors, nurses, and others working in the emergency room (ER) of a hospital need access to this data for any patient who shows up in the ER. In this scenario, the environment is the ER, and the situation is a medical emergency. Security policies will likely consider this a low risk and grant full access to patient data to doctors and nurses.

Consider the same database that is used by personnel in the pharmacy department. In this case, the environment is the pharmacy, and the situation is the dispensing of medication. Security policies will likely consider this to be medium or low risk. The risk-based model would grant some access to the patient data to identify any potential adverse drug interactions. However, the model would prevent access to the full medical history of patients. These are simplified examples of an environment. Within cybersecurity, the environment can include items such as the location using the IP address.

Some low-risk IP addresses may be internal IP addresses and Internet-based IP addresses of users who have previously signed in. High-risk IP addresses could be from foreign countries, anonymized IP addresses, users signed in from two or more IPs in different countries, and users signed in from unfamiliar locations. The situation may include what a device is doing. As an example, most Internet of Things (IoT) devices have predictable behavior. If an IoT device suddenly starts flooding a network with malicious traffic, the risk based model could determine the device is now a high risk and block its access to the network.

Two other things can be checked or required before the policy grants access: Multifactor Authentication The system will deny access to users logging on with just one factor of authentication.

中文直译 / 整理

环境 情况 安全策略 在此背景下,安全策略是一种基于可用数据做出风险评估决策的软件代码。 组 织会修改软件中的选项以满足其需求。 例如,考虑一个包含患者信息并由医疗专业人员使用的信息系统。 医院急诊室 (ER)的医生、护士和其他工作人员需要访问任何抵达急诊室的患者的该数据。 在此场景中,环境是急诊室,情况是医疗紧急事件。 安全策略可能会将此视为 低风险,并向医生和护士授予对患者数据的完全访问权限。 考虑同一个被药房人员使用的数据库。 在这种情况下,环境是药房,情况是药 物发放。 安全策略可能会将其视为中等或低风险。 基于风险的模型会授予部分 访问权限以识别潜在的药物不良相互作用,但会阻止访问患者的完整病史。 这些是环境的简化示例。 在网络安全中,环境可能包括使用IP地址的地点等项 目。 一些低风险IP地址可能是内部IP地址,或之前曾登录过的用户的基于互联 网的IP地址。 高风险IP地址可能来自外国、匿名化IP地址、从两个或更多不同 国家的IP地址登录的用户,以及从不熟悉的位置登录的用户。 情况可能包括设备正在执行的操作。 例如,大多数物联网(IoT)设备具有 可预测的行为。

如果某个物联网设备突然开始向网络发送大量恶意流量,基 于风险的模型可能会判定该设备现在属于高风险,并阻止其访问网络。 在策略授予访问权限之前,还可以检查或要求以下两项: 多因素认证 系统将拒绝仅使用单因素认证登录的用户访问。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

风险评估:风险评估是先找资产、威胁、漏洞和影响,再决定控制措施。

认证:认证是验证“你是不是你声称的那个人”。

政策:政策是高层原则,说明必须遵守什么。

入侵防御系统 IPS:IPS 可检测并主动阻断恶意流量。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

风险评估不是漏洞扫描;它更高层,服务于决策和资源分配。

密码、令牌、生物特征、多因素认证都服务认证。

Policy 高层、强制、稳定;Procedure 具体步骤。

IPS 放在线路中,误报可能影响可用性。

知道的、拥有的、固有的、所处位置、行为特征是常见因素。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
风险评估 风险评估是先找资产、威胁、漏洞和影响,再决定控制措施。
认证 认证是验证“你是不是你声称的那个人”。
政策 政策是高层原则,说明必须遵守什么。
入侵防御系统 IPS IPS 可检测并主动阻断恶意流量。
多因素认证 MFA 使用至少两类不同认证因素,提高认证可信度。
强制访问控制 MAC MAC 由系统根据标签和级别强制决定访问。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 18 / PDF P985

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

Compliant Mobile Devices The policy may require that smartphones and tablets meet specific security requirements, such as an up-to-date operating system and device encryption. A risk-based access control model can sometimes use binary rules to control access. For example, either a user logged in using multifactor authentication or they didn't. However, other policies may require the model to implement machine learning capabilities. It would then make predictive conclusions about current activity based on past actions and grant or block access based on these conclusions.

A risk-based access control model that examines mobile devices for compliance may interact with an existing mobile device management (MDM) system. Chapter 9 covers mobile device management in more depth. Implementing Authentication Systems Authentication systems simplify the management of authentication on the Internet and in internal networks. Chapter 13 discusses federated identity management (FIM) and single sign-on (SSO) concepts in more depth, but as a reminder, FIM allows different organizations to use federations for SSO. For example, after an employee logs on to Company A's network, they can then access resources on Company B's network without logging on again.

Implementing SSO on the Internet Beyond federated identity management systems, many sites support SSO to simplify the user experience. They also provide security to users by ensuring their credentials on one site are not shared with other sites. Imagine you want to transfer money from Bank A to Bank B. You could give your Bank A credentials to Bank B and have them transfer the money. Sound scary? You bet. You should never be required to give your credentials to any third party. Solutions such as SAML, OAuth, OpenID, and OIDC help solve this problem. They share authentication, authorization, or profile information about a user, and some solutions share all three.

中文直译 / 整理

合规移动设备 该策略可能要求智能手机和平板电脑满足特定的安全要求,例如保 持最新的操作系统和设备加密。 基于风险的访问控制模型有时会使用二元规则来控制访问。 例如,用户要么使 用多因素身份验证登录,要么没有登录。 然而,其他策略可能要求模型具备机 器学习能力,从而根据以往的行为对当前活动做出预测性判断,并据此授予或 阻止访问。 检查移动设备合规性的基于风险的访问控制模型可能会与现有的 移动设备管理(MDM)系统交互。 第9章更深入地介绍了移动设备管 理。 实现身份验证系统 身份验证系统简化了互联网和内部网络上的身份验证管理。 第13章更深入地讨 论了联合身份管理(FIM)和单点登录(SSO)概念,但作为提醒,FIM 允 许不同组织使用联合体实现 SSO。 例如,员工登录公司 A 的网络后,便可无 需再次登录即可访问公司 B 网络上的资源。 在互联网上实现单点登录 除了联合身份管理系统之外,许多网站还支持单点登录以简化用户体验。 它们 还通过确保用户在某个网站上的凭证不与其他网站共享来为用户提供安全性。 想象一下,你想将资金从银行A转账到银行B。 你可以将银行A的凭据提供给银 行B,让它们完成转账。 听起来很可怕吗?

确实如此。 你绝不应被要求向任何第 三方提供你的凭据。 SAML、OAuth、OpenID 和 OIDC 等解决方案有助于解 决这一问题。 它们共享用户的身份验证、授权或配置信息,有些解决方案甚至 共享全部三项信息。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

加密:加密把内容变成未授权者看不懂的形式。

政策:政策是高层原则,说明必须遵守什么。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

加密主要保护机密性,也可配合签名、哈希支持完整性和真实性。

Policy 高层、强制、稳定;Procedure 具体步骤。

身份管理题要区分识别、认证、授权、审计。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
加密 加密把内容变成未授权者看不懂的形式。
政策 政策是高层原则,说明必须遵守什么。
身份 身份是主体在系统中的标识。
强制访问控制 MAC MAC 由系统根据标签和级别强制决定访问。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 19 / PDF P986

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

XML Extensible Markup Language (XML) goes beyond describing how to display the data by actually describing the data. XML can include tags to describe data as anything desired. For example, the following tag identifies the data as the results of taking an exam: <ExamResults>Passed</ExamResults>. Databases from multiple vendors can import and export data to and from an XML format, making XML a common language used to exchange information. Many specific schemas exist, and if companies agree on what schema to use, they can easily share information. Many cloud-based providers use XML-based languages to share information for authentication and authorization.

They don't use XML as it is but instead use other languages based on XML. SAML Security Assertion Markup Language (SAML) is an open XML-based standard commonly used to exchange authentication and authorization (AA) information between federated organizations. It provides SSO capabilities for browser access. The Organization for the Advancement of Structured Information Standards (OASIS Open), a nonprofit consortium that encourages open standards development, adopted SAML 2.0 as a standard in 2005 and has maintained it since then. SAML 2.0 is a convergence of SAML 1.1, the Liberty Alliance Identity Federation Framework (ID-FF) 1.2, and Internet2's Shibboleth 1.3.

The SAML 2.0 specification utilizes three entities: the principal (or user), the service provider (SP), and the identity provider (IdP). For example, imagine Sally is accessing her investment account at ucanbeamillionaire.com. The site requires her to log on to access her account, and the site uses SAML 2.0. Principal or User Agent For simplicity, think of Sally as the principal. She's trying to access her investment account at ucanbeamillionaire.com. Service Provider (SP) or Relying Party In this scenario, the ucanbeamillionaire.com site is providing the service and is the service provider.

Identity Provider (IdP) or Asserting Party This is a third party that holds the user authentication and authorization information. XML

中文直译 / 整理

可扩展标记语言(XML)不仅描述了数据的显示方式,还实际描述了数据本身。 XML 可以包含任意自定义的标签来描述数据。 例如,以下标签将数据标识为考 试结果:<ExamResults>Passed</ExamResults>。 来自多个供应商的数据库可以将数据导入和导出为 XML 格式,使 XML 成为 交换信息的通用语言。 存在许多特定的模式,如果公司就使用哪种模式达成一 致,他们就可以轻松地共享信息。 许多基于云的提供商使用基于 XML 的语言 来共享身份验证和授权信息。 它们并不直接使用 XML,而是使用基于 X ML 的其他语言。 SAML 安全断言标记语言(SAML) 是一种开放的基于 XML 的标准,常用于在联合 组织之间交换身份验证和授权(AA)信息。 它为浏览器访问提供了单点登录 (SSO)功能。 促进结构化信息标准组织(OASIS Open)是一个非营利性联盟,致力于推动 开放标准的发展,于2005年采纳 SAML 2.0 作为标准,并自此一直维护。

SAML 2.0 是 SAML 1.1、Liberty 联盟身份联合框架(ID‑FF)1.2 以及 Internet2 的 Shibboleth 1.3 的融合。 SAML 2.0 规范使用了三个实体:主体(或用户)、服务提供商(SP)和身份 提供商(IdP)。 例如,想象 Sally 正在访问 ucanbeamillionaire.com 上的投 资账户。 该网站要求她登录才能访问账户,并且该网站使用 SAML 2.0。 主体或用户代理 为简化起见,将 Sally 视为主体。 她正试图访问 ucanbeamillionaire.com 上的投资账户。 服务提供商(SP)或依赖方 在此场景中,ucanbeamillionaire.com 网 站提供服务,是服务提供商。 身份提供商(IdP)或断言方 这是一个保存用户身份验证和授权信息的第三方。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

标准:标准给出必须满足的最低要求。

身份:身份是主体在系统中的标识。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

Minimum level、mandatory requirement 常对应 standard。

身份管理题要区分识别、认证、授权、审计。

日志要保护完整性、时间同步和访问控制。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
标准 标准给出必须满足的最低要求。
身份 身份是主体在系统中的标识。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 20 / PDF P987

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

When Sally accesses the service provider site, she identifies herself to the SP. The SP then determines the relevant identity provider and redirects Sally to the IdP where she enters her credentials. After she completes the authentication process, the IdP responds to the SP with XML messages (SAML assertions) validating or rejecting Sally's credentials. Upon a successful authentication, the IdP provides Sally's session attributes and what she is authorized to access to the SP. The SP then grants Sally access to her account. The IdP can send three types of XML messages during assertions.

The following are the statements that may be included in a SAML assertion: Authentication Statements An authentication statement provides proof that the user agent provided the proper credentials, identifies the identification method, and identifies the time the user agent logged on. Attribute Statements An attribute statement can be any information about the user agent including their entitlements. Authorization Statements An authorization statement indicates whether the user agent is authorized to access the requested service. If the message indicates access is denied, it indicates why.

Many cloud service providers include SAML in their solutions because it simplifies the services for their customers. SAML provides authentication, attribute, and authorization statements in its assertions. SAML is a popular SSO standard on the Internet. It is used to exchange authentication and authorization (AA) information. OAuth OAuth 2.0 (implying open authorization) is an authorization framework described in RFC 6749 and maintained by the Internet Engineering Task Force (IETF). Many companies on the internet use it to share account information with third-party websites.

For example, imagine you have a social media platform account, and you download an app called Acme that can interact with your social media account and schedule posts in advance. When you try to use the feature in the Acme app, it redirects you to the social media site. That site prompts you to

中文直译 / 整理

当Sally访问服务提供商网站时,她向SP标识自己。 SP随后确定相关的身份提供 商,并将Sally重定向到IdP,在那里她输入自己的凭证。 完成身份验证过程后, IdP以XML消息(SAML断言)响应SP,验证或拒绝Sally的凭证。 身份验证成 功后,IdP向SP提供Sally的会话属性以及她有权访问的内容。 SP随后授予 Sally访问其账户的权限。 身份提供者在断言期间可以发送三种类型的XML消息。 以下是可以包含在 SAML断言中的声明: 认证声明 认证声明提供证明,表明用户代理提供了正确的凭据,标识了身份验 证方法,并标识了用户代理登录的时间。 属性声明 属性声明可以是关于用户代理的任何信息,包括其权限。 授权声明 授权声明指示用户代理是否有权访问请求的服务。 如果消息指示访 问被拒绝,则会说明原因。 许多云服务提供商在其解决方案中包含SAML,因为它简化了为客户提供的 服务。 SAML在其断言中提供认证、属性和授权声明。 SAML是互联网上流行的单点登录标准,用于交换认证和授权(AA)信 息。

OAuth OAuth 2.0(代表开放授权)是由互联网工程任务组(IETF)描述并维护 的授权框架,详见RFC 6749。 许多互联网公司使用它来与第三方网站共 享账户信息。 例如,假设您有一个社交媒体平台账户,并下载了一个名为 Acme 的应用程序, 该程序可以与您的社交媒体账户交互并提前安排帖子。 当您尝试使用 Acme 应 用中的该功能时,它会将您重定向到社交媒体网站。 该网站会提示您

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

标准:标准给出必须满足的最低要求。

程序:程序是一步一步怎么做。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

Minimum level、mandatory requirement 常对应 standard。

Step-by-step、SOP 常对应 procedure。

身份管理题要区分识别、认证、授权、审计。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
标准 标准给出必须满足的最低要求。
程序 程序是一步一步怎么做。
身份 身份是主体在系统中的标识。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 21 / PDF P988

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

log on, shows you what permissions the Acme app will access, and then asks if you want to authorize the Acme app to access your social media account. If you approve, the social media platform sends the Acme app an authorization token. The app may accept and enter the authorization token directly, or you may need to enter it into the app's settings. When the app accesses the social media account, it sends an API message and includes the token. Note that this doesn't provide authentication. Instead, it authorizes access to the account. A primary benefit is that you never provide your social media account credentials to the Acme app.

Even if the Acme app is compromised, it does not expose your credentials. Many online sites support OAuth 2.0 but not OAuth 1.0, and OAuth 2.0 is not backward compatible with OAuth 1.0. OAuth is an authorization framework, not an authentication protocol. It exchanges API messages and uses a token to show that access is authorized. OpenID Connect OpenID Connect (OIDC) is an authentication layer using the OAuth 2.0 authorization framework. A key point is that it provides both authentication and authorization. OIDC is maintained by the OpenID Foundation. OIDC uses a JavaScript Object Notation (JSON) Web Token (JWT), also called an ID token. OpenID Connect uses a web service to retrieve the JWT.

In addition to providing authentication, the JWT can also include profile information about the user. Most of this occurs behind the scenes, but you can see it in action by logging onto eBay with a Google account. These processes and interfaces change over time, but the general steps are as follows: 1. If you don't have a Google account, create one first. 2. Ensure you're logged out of eBay and Google, go to http://ebay.com, and click Sign In. 3. Click Continue With Google. A dialog box opens, prompting you to enter your Google email. It also indicates what Google will share with

中文直译 / 整理

登录,显示 Acme 应用将访问的权限,然后询问您是否授权 Acme 应用访问您 的社交媒体账户。 如果您同意,社交媒体平台会向 Acme 应用发送一个授权令 牌。 该应用可能直接接受并输入该授权令牌,或者您可能需要在应用的设置中 手动输入。 当应用访问社交媒体账户时,它会发送一条 API 消息并包含该令牌。 请注意,这并不提供身份验证,而是授权访问账户。 主要优势在于,您从未向 Acme 应用提供您的社交媒体账户凭证。 即使 Acme 应用被攻破,您的凭证也 不会泄露。 许多在线网站支持 OAuth 2.0,但不支持 OAuth 1.0,且 OAuth 2.0 与 OAuth 1.0 不向后兼容。 OAuth 是一种授权框架,而非身份验证协议。 它交换 API 消息,并使 用令牌来证明访问已被授权。 OpenID Connect OpenID Connect (OIDC) 是使用 OAuth 2.0 授权框架的身份验证层。 关键 点在于它同时提供身份验证和授权。 OIDC 由 OpenID 基金会维护。 OIDC 使用 JavaScript 对象表示法 (JSON) Web 令牌 (JWT),也称为 ID 令 牌。

OpenID Connect 使用网络服务来检索 JWT。 除了提供身份验证外, JWT 还可以包含有关用户的配置文件信息。 大部分操作都在后台进行,但您可以通过使用 Google 账号登录 eBay 来查看 其实际运行过程。 这些流程和界面会随时间变化,但一般步骤如下: 1. 如果您没有 Google 账户,请先创建一个。 2. 确保您已退出 eBay 和 Google,前往 http://ebay.com,然后点击登录。 3. 点击使用 Google 继续。 将弹出一个对话框,提示您输入 Google 邮箱地址, 并说明 Google 将与

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

身份:身份是主体在系统中的标识。

日志:日志记录系统和用户活动,用于监控、审计和调查。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

身份管理题要区分识别、认证、授权、审计。

日志要保护完整性、时间同步和访问控制。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
身份 身份是主体在系统中的标识。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 22 / PDF P989

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

http://ebay.com. 4. Enter your email address and press Enter. 5. Enter your password and click Next. 6. If you've enabled 2-Step Verification on your Google account, you'll be prompted to get the code and enter it. You don't need to complete the creation of an eBay account with your Google account. However, if you choose to do so, click the Create Account button. You'll now be logged on to eBay using your Google account. If you log out of eBay and try to log on again, all you need to do is click Sign In and then click Continue with Google. As long as you're still logged on with Google, you'll be logged into eBay without any more steps.

OAuth and OIDC are used with many web-based applications to share information without sharing credentials. OAuth provides authorization. OIDC uses the OAuth framework for authorization and builds on the OpenID technologies for authentication. OIDC uses JSON Web Tokens. Comparing SAML, OAuth, and OpenID Connect It's easy to mix up the differences between SAML, OAuth, and OIDC. This section summarizes key points of each one and points out some of the differences. The following bullets outline the key points about SAML: SAML 2.0 is an open XML-based standard. OASIS adopted it as a standard in 2005.

It utilizes three entities: a principal (such as a user), a service provider (such as a website), and an identity provider (a third party that holds the authentication and authorization information). It can provide authentication, authorization, and attribute information on the principal. The following bullets outline the key points about OAuth: http://ebay.com. 4.

中文直译 / 整理

输入您的电子邮件地址,然后按 Enter 键。 5. 输入您的密码,然后点击“下一步”。 6. 如果您已在 Google 账户中启用了两步验证,系统将提示您获取验证码并输 入。 您无需使用 Google 账号完成 eBay 账号的创建。 但是,如果您选择这样做, 请点击“创建账号”按钮。 此时,您将使用 Google 账号登录 eBay。 如果您 退出 eBay 后再次尝试登录,只需点击“登录”,然后点击“使用 Google 继 续”。 只要您仍处于 Google 登录状态,您就无需额外步骤即可登录 eBay。 OAuth 和 OIDC 被广泛用于许多基于 Web 的应用程序,以在不共享 凭据的情况下共享信息。 OAuth 提供授权功能。 OIDC 在 OAuth 框架的 基础上进行授权,并基于 OpenID 技术实现身份验证。 OIDC 使用 JSON Web 令牌。 比较 SAML、OAuth 和 OpenID Connect 混淆SAML、OAuth和OIDC之间的差异很容易。 本节总结了每种技术的关 键点,并指出了其中的一些差异。 以下要点概述了SAML的关键信息: SAML 2.0是一种开放的基于XML的标准。

OASIS于2005年将其采纳为标准。 它使用三个实体:主体(如用户)、服务提供商(如网站)和身份提供商 (保存认证和授权信息的第三方)。 它可以提供关于主体的认证、授权和属性信息。 以下要点概述了有关OAuth的关键信息:

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

标准:标准给出必须满足的最低要求。

程序:程序是一步一步怎么做。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

Minimum level、mandatory requirement 常对应 standard。

Step-by-step、SOP 常对应 procedure。

身份管理题要区分识别、认证、授权、审计。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
标准 标准给出必须满足的最低要求。
程序 程序是一步一步怎么做。
身份 身份是主体在系统中的标识。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 23 / PDF P990

DAD、过度保护、真实性、不可否认性与 AAA

CIA 是目标,DAD 是失败表现,AAA 是访问控制和问责链。

教材原文段落

It's an authorization framework, not an authentication protocol. RFC 6749 describes OAuth 2.0. It exchanges information using APIs. An app obtains an access token from an identity provider. Later, the app includes the access token for authorization. The following bullets outline the key points about OpenID Connect (OIDC): OIDC is an authentication layer using OAuth 2.0. It provides both authentication and authorization. It builds on OpenID (a deprecated standard) but uses a JSON Web Token. Implementing SSO on Internal Networks SSO solutions are also used on internal networks. Kerberos is the most common.

Network access methods allow users to access internal networks from remote locations (such as at home). Two common remote access protocols are RADIUS and TACACS+. In addition to supporting SSO, RADIUS and TACACS+ provide authentication, authorization, and accounting. AAA Protocols Several protocols provide authentication, authorization, and accounting and are referred to as AAA protocols. These provide centralized access control with remote access systems such as virtual private networks (VPNs) and other types of network access servers (NASs). They help protect internal LAN authentication systems and other servers from remote attacks.

If you are using a separate system for remote access, a successful attack on the system only affects the remote access users. In other words, the attacker won't have access to internal accounts. These AAA protocols use the access control elements of identification, authentication, authorization, and accounting as described in Chapter 13. They ensure that a user has valid credentials to authenticate and verify that the user is authorized to connect to the remote access server based on the user's proven identity. Additionally, the accounting element can track the user's network resource usage, which can be used for billing purposes. Some common AAA protocols are covered next.

中文直译 / 整理

它是一个授权框架,而不是身份验证协议。 RFC 6749 描述了 OAuth 2.0。 它通过 API 交换信息。 应用程序从身份提供商获取访问令牌。 之后,应用程序包含访问令牌以进行授权。 以下要点概述了有关OpenID Connect (OIDC) 的关键信息: OIDC 是使用 OAuth 2.0 的身份验证层。 它提供身份验证和授权。 它基于 OpenID(一个已弃用的标准),但使用了 JSON Web Token。 在内部网络上实现单点登录 单点登录解决方案也用于内部网络。 Kerberos 是最常用的。 网络访问方法允 许用户从远程位置(例如在家)访问内部网络。 两种常见的远程访问协议是 RADIUS 和 TACACS+。 除了支持单点登录外,RADIUS 和 TACACS+ 还提 供身份验证、授权和计费。 AAA 协议 几种协议提供身份验证、授权和计费,被称为 AAA 协议。 它们为虚拟专用网 络(VPN)和其他类型的网络访问服务器(NAS)等远程访问系统提供集中式 访问控制。 它们有助于保护内部局域网认证系统和其他服务器免受远程攻击。 如果您使用独立的系统进行远程访问,对该系统的成功攻击仅影响远程访问用 户。

换句话说,攻击者无法访问内部账户。 这些AAA协议使用了身份识别、认证、授权和计费的访问控制元素,具体描 述见第13章。 它们确保用户拥有有效的凭据以进行认证,并根据用户已验证的 身份确认其有权连接到远程访问服务器。 此外,计费元素可以跟踪用户的网络 资源使用情况,可用于计费目的。 接下来将介绍一些常见的AAA协议。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:CIA 是目标,DAD 是失败表现,AAA 是访问控制和问责链。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

AAA 服务:AAA 常说认证、授权、记账,但完整链条还包括识别和审计。

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

标准:标准给出必须满足的最低要求。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“DAD、过度保护、真实性、不可否认性与 AAA”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

Identification 是声称身份,Authentication 是证明身份,Authorization 是允许做什么。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

Minimum level、mandatory requirement 常对应 standard。

Step-by-step、SOP 常对应 procedure。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
AAA 服务 AAA 常说认证、授权、记账,但完整链条还包括识别和审计。
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
标准 标准给出必须满足的最低要求。
程序 程序是一步一步怎么做。
虚拟专用网络 VPN VPN 在不可信网络上建立加密隧道。
身份 身份是主体在系统中的标识。
恢复点目标 RPO RPO 是最多能接受丢失多少时间范围的数据。
学习单元 24 / PDF P991

机密性:让该看的人看,不该看的人看不到

机密性重点是防泄露,同时不能妨碍授权访问。

教材原文段落

Kerberos Ticket authentication is a mechanism that employs a third-party entity to prove identification and provide authentication. The most common and wellknown ticket-based authentication system is Kerberos. The primary purpose of Kerberos is authentication. After users authenticate and prove their identity, Kerberos uses their proven identity to issue tickets, and user accounts present these tickets when accessing resources. The Kerberos name is borrowed from Greek mythology. A three-headed dog named Kerberos, sometimes referred to as Cerberus, guards the gates to the underworld. The dog faces inward, preventing escape rather than denying entrance.

Kerberos offers a single sign-on solution for users and protects logon credentials. Kerberos version 5 relies on symmetric-key cryptography (also known as secret-key cryptography) using the Advanced Encryption Standard (AES) symmetric encryption protocol. Kerberos provides confidentiality and integrity for authentication traffic using end-to-end security and helps protect against eavesdropping and replay attacks. Chapter 6, “Cryptography and Symmetric Key Algorithms,” covers symmetric key encryption in greater depth. Many of the Kerberos roles are on a single server, but they can be installed on different servers.

Larger networks sometimes separate them to increase performance, but smaller networks typically have one Kerberos server performing all of the different roles. Kerberos uses several different elements that are important to understand: Key Distribution Center The Key Distribution Center (KDC) is the trusted third party that provides authentication services. Kerberos uses symmetric-key cryptography to authenticate clients to servers. All clients and servers are registered with the KDC, and it maintains the secret keys for all network members.

Kerberos Authentication Server The authentication server hosts the functions of the KDC: a ticket-granting service (TGS) and an authentication service (AS). However, it is possible to host the ticket-granting service on Kerberos

中文直译 / 整理

票据认证是一种利用第三方实体来证明身份并提供认证的机制。 最常见且广为 人知的基于票据的认证系统是Kerberos。 Kerberos的主要目的是认证。 用户 在完成认证并证明其身份后,Kerberos会利用其已验证的身份颁发票据,用 户账户在访问资源时会出示这些票据。 Kerberos 这一名称源自希腊神话。 一只名为 Kerberos 的三头犬 (有时也称为 Cerberus)守护着冥界的入口。 这只狗面向内部,防止 逃逸,而非阻止进入。 Kerberos 为用户提供单点登录解决方案,并保护登录凭据。 Kerberos 版本 5 依赖对称密钥加密(又称秘密密钥加密),使用高级加密标准(AES)对称加 密协议。 Kerberos 通过端到端安全机制为认证流量提供机密性和完整性,有助 于防范窃听和重放攻击。 第6章,“加密与对称密钥算法”,更深入地介绍了对 称密钥加密。 Kerberos 的许多角色都位于单台服务器上,但也可以安装在不同的服务器上。 较大的网络有时会将它们分离以提高性能,而较小的网络通常由一台 Kerberos 服务器承担所有不同角色。

Kerberos 使用多个重要元素,需要理解: 密钥分发中心 密钥分发中心(KDC)是提供身份验证服务的可信第三方。 Kerberos 使用对称密钥加密技术对客户端进行服务器身份验证。 所有客户端和 服务器均注册于 KDC,它维护所有网络成员的密钥。 Kerberos 认证服务器 认证服务器承载了KDC的功能:票据授予服务( TGS)和认证服务(AS)。 然而,可以将票据授予服务托管在

小白解释

场景先行:想象公司有一个客户订单系统:客户资料被别人看到是机密性问题,订单金额被偷偷改是完整性问题,系统打不开是可用性问题。教材这一页就是教你把事故先翻译成安全目标。

这一页真正想让你理解的是:机密性重点是防泄露,同时不能妨碍授权访问。

把它放进公司里看,关键不是背定义,而是判断:把泄露、篡改、宕机混在一起,就会选错控制措施。

你作为负责人可以这样想:先判断事故破坏了 CIA 哪一项,再选择对应控制:防泄露、防篡改、保可用。

本页术语用人话说:

机密性:机密性让该看的人能看,不该看的人看不到。

完整性:完整性保证数据没有被未授权修改,并且仍然正确可信。

认证:认证是验证“你是不是你声称的那个人”。

加密:加密把内容变成未授权者看不懂的形式。

常见误区:不要把所有安全问题都归成“被黑了”。考试会逼你分清到底是泄露、篡改还是中断。

读完后用一句话复述:如果我是业务系统负责人,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“机密性:让该看的人看,不该看的人看不到”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是业务系统负责人在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

加密、访问控制、分类、培训都常用于保护机密性。

哈希、数字签名、变更控制、输入校验常对应完整性。

密码、令牌、生物特征、多因素认证都服务认证。

加密主要保护机密性,也可配合签名、哈希支持完整性和真实性。

Minimum level、mandatory requirement 常对应 standard。

排除法提醒:不要把所有安全问题都归成“被黑了”。考试会逼你分清到底是泄露、篡改还是中断。

本页术语拆解
机密性 机密性让该看的人能看,不该看的人看不到。
完整性 完整性保证数据没有被未授权修改,并且仍然正确可信。
认证 认证是验证“你是不是你声称的那个人”。
加密 加密把内容变成未授权者看不懂的形式。
标准 标准给出必须满足的最低要求。
密码学 密码学用数学方法保护信息,常用于机密性、完整性、认证和不可否认性。
对称加密 对称加密使用同一把密钥加密和解密,速度快但密钥分发难。
身份 身份是主体在系统中的标识。
学习单元 25 / PDF P992

DAD、过度保护、真实性、不可否认性与 AAA

CIA 是目标,DAD 是失败表现,AAA 是访问控制和问责链。

教材原文段落

another server. The authentication service verifies or rejects the authenticity and timeliness of tickets. This server is often called the KDC. Ticket A ticket is an encrypted message that provides proof that a subject is authorized to access an object. It is sometimes called a service ticket (ST). Subjects (such as users) request tickets to access objects (such as files), and if they have authenticated and are authorized to access the object, the KDC issues them a ticket. Kerberos tickets have specific lifetimes and usage parameters. Once a ticket expires, a client must request a renewal or a new ticket to continue communications with any server.

Ticket-Granting Ticket A ticket-granting ticket (TGT) provides proof that a subject has authenticated through a KDC and is authorized to request tickets to access other objects. A TGT is encrypted and includes a symmetric key, an expiration time, and the user's IP address. Subjects present the TGT when requesting tickets to access objects. Kerberos Principal The KDC issues tickets to Kerberos principals. A Kerberos principal is typically a user but can be any entity that can request a ticket. Kerberos Realm Generically, a realm is an area controlled or ruled by something. A Kerberos realm is a logical area (such as a domain or network) ruled by Kerberos.

Principals within the realm can request tickets from the Kerberos KDC, and the KDC can issue tickets to principals in the realm. Kerberos requires a database of accounts, typically stored in a directory service such as Microsoft's Active Directory (AD). It exchanges tickets between clients, network servers, and the KDC to prove identity and provide mutual authentication. This allows a client to request resources from the server, with both the client and server having assurances of the identity of the other. These encrypted tickets also ensure that login credentials, session keys, and authentication messages are never transmitted in cleartext. The Kerberos login process works as follows: 1.

The user types a username and password into the client. 2. The client generates a request, including the plaintext username and domain of the user (but not the password), and sends the request to the Kerberos authentication server. 3. The authentication server verifies the username against its database of known users.

中文直译 / 整理

另一台服务器上。 认证服务 验证或拒绝票据的真实性与时效性。 此服务器通常被称为KDC。 票据 票据是一种加密消息,用于证明主体已被授权访问某个对象。 它有时被称为 服务票据(ST)。 主体(如用户)请求票据以访问对象(如文件),如果他们已 通过身份验证并被授权访问该对象,KDC 将向其发放票据。 Kerberos 票据具有 特定的生存期和使用参数。 一旦票据过期,客户端必须请求续订或获取新票据, 才能继续与任何服务器通信。 票据授予票据 票据授予票据(TGT)用于证明主体已通过 KDC 身份验证,并有 权请求访问其他对象的票据。 TGT 是加密的,包含对称密钥、过期时间和用户的 IP 地址。 主体在请求访问对象的票据时需出示 TGT。 Kerberos 主体 KDC 向 Kerberos 主体发放票据。 Kerberos 主体通常是用 户,但也可以是任何可以请求票据的实体。 Kerberos 领域 一般来说,领域是由某事物控制或管理的区域。 Kerberos 领 域是由 Kerberos 管理的逻辑区域(例如域或网络)。 领域内的主体可以从 Kerberos KDC 请求票据,KDC 也可以向领域内的主体颁发票据。

Kerberos 需要一个账户数据库,通常存储在目录服务中,例如 Microsoft 的 Active Directory(AD)。 它在客户端、网络服务器和 KDC 之间交换票据, 以证明身份并提供相互认证。 这使得客户端能够向服务器请求资源,同时客户 端和服务器都能确认对方的身份。 这些加密的票据还确保登录凭证、会话密钥 和认证消息永远不会以明文形式传输。 Kerberos 登录过程如下所示: 1. 用户在客户端输入用户名和密码。 2. 客户端生成一个请求,包含用户的明文用户名和域(但不包含密码), 并将该请求发送到 Kerberos 认证服务器。 3. 认证服务器将用户名与已知用户数据库进行比对。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:CIA 是目标,DAD 是失败表现,AAA 是访问控制和问责链。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

真实性:真实性确认数据、身份或来源是真的,不是假冒的。

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

加密:加密把内容变成未授权者看不懂的形式。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“DAD、过度保护、真实性、不可否认性与 AAA”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

证书、签名、强认证常支持真实性。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

加密主要保护机密性,也可配合签名、哈希支持完整性和真实性。

同一密钥、速度快、大数据加密常对应 symmetric。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
真实性 真实性确认数据、身份或来源是真的,不是假冒的。
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
加密 加密把内容变成未授权者看不懂的形式。
对称加密 对称加密使用同一把密钥加密和解密,速度快但密钥分发难。
身份 身份是主体在系统中的标识。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 26 / PDF P993

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

4. The KDC generates a session key that will be used by the client and the Kerberos server. It encrypts this with a hash of the user's password. The KDC also generates an encrypted timestamped TGT. 5. The KDC then transmits the encrypted session key and the encrypted timestamped TGT to the client. 6. The client installs the TGT for use until it expires. The client also decrypts the session key using a hash of the user's password. Note that the user's password is never transmitted over the network, but it is verified. The server encrypts a symmetric key using a hash of the user's password, and it can only be decrypted with a hash of the user's password.

As long as the user enters the correct password, this step works. However, it fails if the user enters the incorrect password. When a client wants to access an object, such as a resource hosted on the network, it must request a ticket through the Kerberos server. The following steps are involved in this process: 1. The client sends its TGT back to the KDC with a request for access to the resource. 2. The KDC verifies that the TGT is valid and checks its access control matrix to verify that the user has sufficient privileges to access the requested resource. 3. The TGS generates a service ticket and sends it to the client. 4.

The client sends the service ticket to the server or service hosting the resource. 5. The server or service hosting the resource verifies the validity of the service ticket with the KDC. 6. Once identity and authorization are verified, Kerberos activity is complete. The server or service host then opens a session with the client and begins communications or data transmission. Kerberos is a versatile authentication mechanism that works over local LANs, remote access, and client/server resource requests. However, Kerberos 4. KDC

中文直译 / 整理

生成一个将由客户端和 Kerberos 服务器使用的会话密钥。 它使用用户 密码的哈希值对这个密钥进行加密。 KDC 还生成一个加密的时间戳 TGT。 5. KDC 随后将加密的会话密钥和加密的时间戳 TGT 发送给客户端。 6. 客户端安装 TGT 以供使用,直至其过期。 客户端还使用用户密码的 哈希值解密会话密钥。 请注意,用户的密码永远不会通过网络传输,但会被验证。 服务器使 用用户密码的哈希值加密一个对称密钥,而只有使用用户密码的哈希值才 能解密该密钥。 只要用户输入正确的密码,此步骤就能正常工作; 但如果 用户输入了错误的密码,则会失败。 当客户端想要访问一个对象(例如网络上托管的资源)时,必须通过 Kerberos 服务器请求票据。 此过程涉及以下步骤: 1. 客户端将其 TGT 发送回 KDC,并请求访问该资源。 2. KDC 验证 TGT 是否有效,并检查其访问控制矩阵,以确认用户是 否具有足够的权限访问所请求的资源。 3. TGS 生成服务票据并将其发送给客户端。 4. 客户端将服务票据发送给托管资源的服务器或服务。 5. 托管资源的服务器或服务与 KDC 验证服务票据的有效性。

6. 一旦身份和授权验证通过,Kerberos 活动即告完成。 随后,服务器或服 务主机与客户端建立会话并开始通信或数据传输。 Kerberos 是一种多功能的身份验证机制,可在本地局域网、远程访问和客户端/服 务器资源请求中工作。 然而,Kerberos

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

加密:加密把内容变成未授权者看不懂的形式。

对称加密:对称加密使用同一把密钥加密和解密,速度快但密钥分发难。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

加密主要保护机密性,也可配合签名、哈希支持完整性和真实性。

同一密钥、速度快、大数据加密常对应 symmetric。

哈希本身不提供机密性;它主要用于完整性校验。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
加密 加密把内容变成未授权者看不懂的形式。
对称加密 对称加密使用同一把密钥加密和解密,速度快但密钥分发难。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
身份 身份是主体在系统中的标识。
学习单元 27 / PDF P994

DAD、过度保护、真实性、不可否认性与 AAA

CIA 是目标,DAD 是失败表现,AAA 是访问控制和问责链。

教材原文段落

presents a single point of failure—the KDC. If the KDC is compromised, the secret key for every system on the network is also compromised. Also, if a KDC goes offline, no subject authentication can occur. It also has strict time requirements, and the default configuration requires that all systems be time-synchronized within 5 minutes of each other. If a system is not synchronized or the time is changed, a previously issued TGT will no longer be valid, and the system will not be able to receive any new tickets. In effect, the client will be denied access to any protected network resources. Administrators often configure a time synchronization system within a network.

In an Active Directory domain, one domain controller (DC) synchronizes its time with an external Network Time Protocol (NTP) server. All other DCs synchronize their time with the first DC. All other systems synchronize their time with one of the DCs when they log on. Kerberos uses port 88. RADIUS Remote Authentication Dial-in User Service (RADIUS) centralizes authentication for remote access connections, such as with VPNs or dial-up access. It is typically used when an organization has more than one network access server (or remote access server).

A user can connect to any network access server, which then passes on the user's credentials to the RADIUS server to verify authentication and authorization and to track accounting. In this context, the network access server is the RADIUS client, and a RADIUS server acts as an authentication server. The RADIUS server also provides AAA services for multiple remote access servers. Many internet service providers (ISPs) use RADIUS for authentication. Users can access the ISP from anywhere, and the ISP server then forwards the user's connection request to the RADIUS server. Organizations can also use RADIUS, and organizations often implement it with location-based security.

For example, if the user connects with an IP address, the system can use geolocation technologies to identify the user's location. Although it isn't as common today, some users still have Integrated Services Digital Network (ISDN) dial-up lines and use them to connect to VPNs. The RADIUS server can use callback security for an extra layer of protection. Users call in, and after authentication, the RADIUS server terminates the connection and initiates a call back to the user's predefined

中文直译 / 整理

存在单点故障——KDC。 如果 KDC 被攻破,网络上每个系统的密钥也会被泄 露。 此外,如果 KDC 下线,则无法进行任何主体身份验证。 它还有严格的时间要求,默认配置要求所有系统之间的时间差异不得超过5 分钟。 如果系统未同步或时间被更改,之前发放的TGT将不再有效,系统将 无法获取任何新票据。 实际上,客户端将被拒绝访问任何受保护的网络资源。 管理员通常会在网络内配置时间同步系统。 在Active Directory域中,一个域 控制器(DC)将其时间与外部网络时间协议(NTP)服务器同步。 其他所有 DC将其时间与第一个DC同步。 所有其他系统在登录时都会与其中一个DC同 步时间。 Kerberos使用端口88。 RADIUS 远程认证拨号用户服务(RADIUS) 集中管理远程访问连接(如VPN或拨号连 接)的认证。 当组织拥有多个网络访问服务器(或远程访问服务器)时,通常 会使用它。 用户可以连接到任意网络访问服务器,该服务器会将用户的凭据转 发给RADIUS服务器,以验证身份和授权,并记录计费信息。 在此上下文中, 网络访问服务器是RADIUS客户端,而RADIUS服务器充当认证服务器。

RADIUS服务器还为多个远程访问服务器提供AAA服务。 许多互联网服务提供商(ISP)使用RADIUS进行身份验证。 用户可以从任何 地方访问ISP,ISP服务器随后将用户的连接请求转发到RADIUS服务器。 组织还可以使用 RADIUS,并且通常将其与基于位置的安全性结合使用。 例如, 如果用户通过 IP 地址连接,系统可以使用地理定位技术识别用户的地理位置。 尽管如今已不那么常见,但仍有一些用户使用综合业务数字网(ISDN)拨号 线路连接到 VPN。 RADIUS 服务器可以使用回拨安全机制提供额外的保护层。 用户拨入后,经过身份验证,RADIUS 服务器会终止连接,并回拨到用户预定 义的

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:CIA 是目标,DAD 是失败表现,AAA 是访问控制和问责链。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

AAA 服务:AAA 常说认证、授权、记账,但完整链条还包括识别和审计。

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

NIST:NIST 提供美国常用安全标准、框架和指南。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“DAD、过度保护、真实性、不可否认性与 AAA”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

Identification 是声称身份,Authentication 是证明身份,Authorization 是允许做什么。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

远程访问、站点到站点、安全隧道常对应 VPN/IPSec。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
AAA 服务 AAA 常说认证、授权、记账,但完整链条还包括识别和审计。
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
NIST NIST 提供美国常用安全标准、框架和指南。
虚拟专用网络 VPN VPN 在不可信网络上建立加密隧道。
身份 身份是主体在系统中的标识。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 28 / PDF P995

DAD、过度保护、真实性、不可否认性与 AAA

CIA 是目标,DAD 是失败表现,AAA 是访问控制和问责链。

教材原文段落

phone number. If a user's authentication credentials are compromised, the callback security prevents an attacker from using them. RADIUS uses the User Datagram Protocol (UDP) by default and encrypts only the password's exchange. It doesn't encrypt the entire session, but RADIUS can use other protocols to encrypt the data session. The current version is defined in RFC 2865. RFC 6614, designated as Experimental, defines how RADIUS can use Transport Layer Security (TLS) over Transmission Control Protocol (TCP). When using TLS, RADIUS uses TCP port 2083. RADIUS uses UDP port 1812 for RADIUS authentication and authorization messages and UDP port 1813 for RADIUS accounting messages.

RADIUS provides AAA services between network access servers and a shared authentication server. The network access server is the client of the RADIUS authentication server. TACACS+ Cisco developed Terminal Access Controller Access Control System Plus (TACACS+) and later released it as an open standard. It provides several improvements over the earlier versions and over RADIUS. It separates authentication, authorization, and accounting into separate processes, which can be hosted on three different servers if desired. Additionally, TACACS+ encrypts all of the authentication information, not just the password, as RADIUS does.

TACACS+ uses TCP port 49, providing a higher level of reliability for the packet transmissions. Zero-Trust Access Policy Enforcement Organizations are increasingly designing their networks and infrastructure using zero-trust principles. Unlike traditional “moat and castle” or defensein-depth designs, zero-trust presumes that there is no trust boundary and no network edge. Instead, each action is validated when requested as part of a continuous authentication process, and access is only allowed after policies are checked, including elements like identity, permissions, system

中文直译 / 整理

电话号码。 如果用户的认证凭证遭到泄露,回拨安全机制可防止攻击者利用这些 凭证。 RADIUS 默认使用用户数据报协议(UDP),仅加密密码的交换。 它不加密整 个会话,但 RADIUS 可以使用其他协议来加密数据会话。 当前版本在 RFC 2865 中定义。 RFC 6614 被指定为实验性标准,定义了 RADIUS 如何通过传输 控制协议(TCP)使用传输层安全(TLS)。 使用 TLS 时,RADIUS 使用 TCP 端口 2083。 RADIUS 使用 UDP 端口 1812 处 理 RADIUS 认证和授权消息,使用 UDP 端口 1813 处理 RADIUS 计费消息。 RADIUS 在网络访问服务器和共享认证服务器之间提供 AAA 服务。 网络访问服务器是 RADIUS 认证服务器的客户端。 TACACS+ 思科开发了终端访问控制器访问控制系统 Plus(TACACS+),并随后将 其发布为开放标准。 它在早期版本和 RADIUS 的基础上提供了多项改进。 它将认证、授权和计费分离为独立的过程,如果需要,可以分别部署在 三台不同的服务器上。

此外,TACACS+ 会加密所有认证信息,而不仅仅是 密码(RADIUS 仅加密密码)。 TACACS+ 使用 TCP 端口 49,为数据包传 输提供了更高的可靠性。 零信任访问策略执行 组织越来越多地使用零信任原则设计其网络和基础设施。 与传统的“护城河与 城堡”或纵深防御设计不同,零信任假设不存在信任边界,也不存在网络边缘。 相反,每个操作在请求时都会作为持续身份验证过程的一部分进行验证,只有 在检查策略后才允许访问,包括身份、权限、系统

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:CIA 是目标,DAD 是失败表现,AAA 是访问控制和问责链。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

AAA 服务:AAA 常说认证、授权、记账,但完整链条还包括识别和审计。

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

纵深防御:纵深防御不是一道门,而是一层又一层控制。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“DAD、过度保护、真实性、不可否认性与 AAA”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

Identification 是声称身份,Authentication 是证明身份,Authorization 是允许做什么。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

多层控制串联、避免单点失败,就是 defense in depth。

加密主要保护机密性,也可配合签名、哈希支持完整性和真实性。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
AAA 服务 AAA 常说认证、授权、记账,但完整链条还包括识别和审计。
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
纵深防御 纵深防御不是一道门,而是一层又一层控制。
加密 加密把内容变成未授权者看不懂的形式。
政策 政策是高层原则,说明必须遵守什么。
标准 标准给出必须满足的最低要求。
身份 身份是主体在系统中的标识。
学习单元 29 / PDF P996

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

configuration and security status, threat intelligence data review, and security posture. Figure 14.3 shows NIST's logical diagram of a zero-trust architecture (ZTA). Note that a subject's use of a system (which is untrusted) connects through a policy enforcement point, allowing trusted transactions to the enterprise resources. The policy engine makes policy decisions based on rules that are then acted on by the policy administrator. FIGURE 14.3 NIST Zero-Trust core trust logical components Here are the key zero-trust components that you should be familiar with: Subjects are the users, services, or systems that request access or attempt to use rights.

Policy engines make policy decisions based on both rules and external systems like those shown above: threat intelligence, identity management, and SIEM devices, to name just a few. They use a trust algorithm that makes the decision to grant, deny, or revoke access to a given resource based on the factors used for input to the algorithm. Once a decision is made, it is logged and the policy administrator takes action based on the decision. Policy administrators are not individuals. Rather they are components that establish or remove the communication path between subjects and resources, including creating session-specific authentication tokens or credentials as needed.

In cases where access is denied, the policy administrator tells the policy enforcement point to end the session or connection.

中文直译 / 整理

配置和安全状态、威胁情报数据审查以及安全态势。 图 14.3展示了 NIST 的零信任架构(ZTA)逻辑图。 请注意,主体对系统 (不可信)的使用通过策略执行点连接,从而允许对企业资源进行可信事务。 策略引擎根据规则做出策略决策,然后由策略管理员执行。 图 14.3 NIST 零信任核心信任逻辑组件 以下是您应熟悉的零信任关键组件: 主体是请求访问或尝试使用权限的用户、服务或系统。 策略引擎基于规则和外部系统(如上图所示)做出策略决策:威胁情报、 身份管理以及 SIEM 设备等。 它们使用一种信任算法,根据输入算法的因 素决定授予、拒绝或撤销对特定资源的访问权限。 一旦做出决策,将被记 录,策略管理员将根据该决策采取行动。 策略管理员不是个体,而是用于在主体和资源之间建立或移除通信路径的 组件,必要时会创建会话特定的认证令牌或凭证。 当访问被拒绝时,策略 管理员会通知策略执行点终止会话或连接。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

NIST:NIST 提供美国常用安全标准、框架和指南。

政策:政策是高层原则,说明必须遵守什么。

身份:身份是主体在系统中的标识。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

Policy 高层、强制、稳定;Procedure 具体步骤。

身份管理题要区分识别、认证、授权、审计。

永不默认信任、持续验证、最小权限、微分段是零信任关键词。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
NIST NIST 提供美国常用安全标准、框架和指南。
政策 政策是高层原则,说明必须遵守什么。
身份 身份是主体在系统中的标识。
零信任 零信任默认不信任任何访问请求,需要持续验证和最小权限。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 30 / PDF P997

机密性:让该看的人看,不该看的人看不到

机密性重点是防泄露,同时不能妨碍授权访问。

教材原文段落

Together, the policy engine and policy administrator are known as the policy decision point. Policy enforcement points communicate with policy administrators to forward requests from subjects and to receive instructions from them about connections to allow or end. While the policy enforcement point is shown as a single logical element above, they are commonly deployed with a local client or application and a gateway element that is part of the network path to services and resources. You can read the NIST publication about zero-trust at https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800- 207.pdf.

Understanding Access Control Attacks As mentioned in Chapter 13, one of the goals of access control is to prevent unauthorized access to objects. This includes access to any information system, including networks, services, communications links, and computers, and unauthorized access to data. In addition to controlling access, IT security methods seek to prevent unauthorized disclosure of data and unauthorized alteration of assets and to provide consistent availability of resources. In other words, IT security methods attempt to prevent the loss of confidentiality, loss of integrity, and loss of availability.

Security professionals need to be aware of common attack methods so that they can take proactive steps to prevent them, recognize them when they occur, and respond appropriately. The following sections provide a quick review of risk elements and cover common access control attacks. While this section focuses on access control attacks, it's important to realize that there are many other types of attacks covered in other chapters. For example, Chapter 6 covers various cryptanalytic attacks.

中文直译 / 整理

策略引擎和策略管理员共同被称为策略决策点。 策略执行点与策略管理员通信,以转发来自主体的请求,并接收它们关于 允许或终止连接的指令。 虽然上述策略执行点被显示为一个单一的逻辑元 素,但它们通常与本地客户端或应用程序以及网络路径中通往服务和资源 的网关组件一起部署。 您可以在以下位置阅读有关零信任的NIST出版物: https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800- 207.pdf. 理解访问控制攻击 如第13章所述,访问控制的目标之一是防止对对象的未授权访问。 这包括对任 何信息系统(包括网络、服务、通信链路和计算机)的访问,以及对数据的未 授权访问。 除了控制访问外,IT安全方法还旨在防止数据的未授权披露、资产 的未授权篡改,并确保资源的持续可用性。 换句话说,IT安全方法试图防止机 密性丧失、完整性丧失和可用性丧失。 安全专业人员需要了解常见的攻击方法,以便能够采取主动措施防止攻击、 在攻击发生时识别攻击并做出适当响应。 以下部分将简要回顾风险要素,并 介绍常见的访问控制攻击。

虽然本节重点介绍访问控制攻击,但必须认识到其他章节还涵盖了多种其他 类型的攻击。 例如,第6章介绍了各种密码分析攻击。

小白解释

场景先行:想象公司有一个客户订单系统:客户资料被别人看到是机密性问题,订单金额被偷偷改是完整性问题,系统打不开是可用性问题。教材这一页就是教你把事故先翻译成安全目标。

这一页真正想让你理解的是:机密性重点是防泄露,同时不能妨碍授权访问。

把它放进公司里看,关键不是背定义,而是判断:把泄露、篡改、宕机混在一起,就会选错控制措施。

你作为负责人可以这样想:先判断事故破坏了 CIA 哪一项,再选择对应控制:防泄露、防篡改、保可用。

本页术语用人话说:

机密性:机密性让该看的人能看,不该看的人看不到。

完整性:完整性保证数据没有被未授权修改,并且仍然正确可信。

可用性:可用性保证授权用户需要时能及时使用系统和数据。

授权:授权是认证之后决定你能访问什么、能做什么。

常见误区:不要把所有安全问题都归成“被黑了”。考试会逼你分清到底是泄露、篡改还是中断。

读完后用一句话复述:如果我是业务系统负责人,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“机密性:让该看的人看,不该看的人看不到”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是业务系统负责人在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

加密、访问控制、分类、培训都常用于保护机密性。

哈希、数字签名、变更控制、输入校验常对应完整性。

冗余、备份、BCP/DRP、抗 DoS、容量规划都对应可用性。

认证成功不等于什么都能做;权限仍要单独授权。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

排除法提醒:不要把所有安全问题都归成“被黑了”。考试会逼你分清到底是泄露、篡改还是中断。

本页术语拆解
机密性 机密性让该看的人能看,不该看的人看不到。
完整性 完整性保证数据没有被未授权修改,并且仍然正确可信。
可用性 可用性保证授权用户需要时能及时使用系统和数据。
授权 授权是认证之后决定你能访问什么、能做什么。
NIST NIST 提供美国常用安全标准、框架和指南。
政策 政策是高层原则,说明必须遵守什么。
程序 程序是一步一步怎么做。
资产 资产是组织认为有价值、需要保护的东西,可以是数据、系统、人员、设施或声誉。
学习单元 31 / PDF P998

机密性:让该看的人看,不该看的人看不到

机密性重点是防泄露,同时不能妨碍授权访问。

教材原文段落

Crackers, Hackers, and Attackers Crackers are malicious individuals who are intent on waging an attack against a person or system. They attempt to crack the security of a system to exploit it, and they are typically motivated by greed, power, or recognition. Their actions can result in loss of property (such as data and intellectual property), disabled systems, compromised security, negative public opinion, loss of market share, reduced profitability, and lost productivity. In many situations, crackers are simply criminals. In the 1970s and 1980s, hackers were defined as technology enthusiasts with no malicious intent. However, the media now uses the term hacker in place of cracker.

Its use is so widespread that the definition has changed. To avoid confusion, in this book we typically use the term attacker for malicious intruders. An attack is any attempt to exploit the vulnerability of a system and compromise confidentiality, integrity, and/or availability. Risk Elements Chapter 2, “Personnel Security and Risk Management Concepts,” covers risk and risk management in more depth, but it's worth reiterating some terms in the context of access control attacks. A risk is the possibility or likelihood that a threat will exploit a vulnerability, resulting in a loss such as harm to an asset. A threat is a potential occurrence that can result in an undesirable outcome.

This includes potential attacks by criminals or other attackers. It also includes natural occurrences such as floods or earthquakes, as well as accidental acts by employees. A vulnerability is any type of weakness. The weakness can be due to a flaw or limitation in hardware or software. It can also be the absence of a security control, such as the absence of antivirus software on a computer. Risk management attempts to reduce or eliminate vulnerabilities or reduce the impact of potential threats by implementing controls or countermeasures. It is not possible, or financially desirable, to eliminate risk. Instead, an organization focuses on reducing the risks that can cause it the most harm.

Common Access Control Attacks

中文直译 / 整理

破解者、黑客与攻击者 破解者是意图对个人或系统发动攻击的恶意个体。 他们试图破解系统的安 全性以加以利用,通常受贪婪、权力或声誉的驱动。 他们的行为可能导致 财产损失(如数据和知识产权)、系统瘫痪、安全受损、负面公众舆论、 市场份额丧失、盈利能力下降以及生产力损失。 在许多情况下,破解者仅 仅是罪犯。 在20世纪70年代和80年代,黑客被定义为没有恶意意图的技术爱好者。 然而,如今媒体用黑客一词代替破解者。 这一用法如此普遍,以至于其定 义已经改变。 为避免混淆,本书中我们通常使用攻击者一词指代恶意入侵者。 攻击是指 任何试图利用系统漏洞以破坏机密性、完整性和/或可用性的行为。 风险要素 第2章,“人员安全与风险管理概念”,更深入地探讨了风险与风险管理,但在 访问控制攻击的背景下,重申一些术语仍有必要。 一个风险是指威胁利用漏洞 导致损失(如对资产造成损害)的可能性或可能性。 一个威胁是可能导致不良 后果的潜在事件,包括犯罪分子或其他攻击者的潜在攻击,也包括洪水或地震 等自然灾害,以及员工的意外行为。

一个漏洞是指任何类型的弱点,这种弱点 可能源于硬件或软件中的缺陷或限制,也可能表现为安全控制的缺失,例如计 算机上未安装防病毒软件。 风险管理通过实施控制措施或应对策略,试图减少或消除漏洞,或降低潜在威 胁的影响。 完全消除风险既不可行,也不经济。 相反,组织会专注于降低可能 对其造成最大危害的风险。 常见访问控制攻击

小白解释

场景先行:想象公司有一个客户订单系统:客户资料被别人看到是机密性问题,订单金额被偷偷改是完整性问题,系统打不开是可用性问题。教材这一页就是教你把事故先翻译成安全目标。

这一页真正想让你理解的是:机密性重点是防泄露,同时不能妨碍授权访问。

把它放进公司里看,关键不是背定义,而是判断:把泄露、篡改、宕机混在一起,就会选错控制措施。

你作为负责人可以这样想:先判断事故破坏了 CIA 哪一项,再选择对应控制:防泄露、防篡改、保可用。

本页术语用人话说:

机密性:机密性让该看的人能看,不该看的人看不到。

完整性:完整性保证数据没有被未授权修改,并且仍然正确可信。

可用性:可用性保证授权用户需要时能及时使用系统和数据。

资产:资产是组织认为有价值、需要保护的东西,可以是数据、系统、人员、设施或声誉。

常见误区:不要把所有安全问题都归成“被黑了”。考试会逼你分清到底是泄露、篡改还是中断。

读完后用一句话复述:如果我是业务系统负责人,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“机密性:让该看的人看,不该看的人看不到”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是业务系统负责人在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

加密、访问控制、分类、培训都常用于保护机密性。

哈希、数字签名、变更控制、输入校验常对应完整性。

冗余、备份、BCP/DRP、抗 DoS、容量规划都对应可用性。

资产安全题先问资产是谁拥有、如何分类、谁负责保护。

日志要保护完整性、时间同步和访问控制。

排除法提醒:不要把所有安全问题都归成“被黑了”。考试会逼你分清到底是泄露、篡改还是中断。

本页术语拆解
机密性 机密性让该看的人能看,不该看的人看不到。
完整性 完整性保证数据没有被未授权修改,并且仍然正确可信。
可用性 可用性保证授权用户需要时能及时使用系统和数据。
资产 资产是组织认为有价值、需要保护的东西,可以是数据、系统、人员、设施或声誉。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 32 / PDF P999

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

Access control attacks attempt to bypass or circumvent access control methods. As mentioned in Chapter 13, access control starts with identification, authentication, and authorization, and access control attacks often try to steal user credentials. After attackers have stolen a user's credentials, they can launch an online impersonation attack by logging in as the user and accessing the user's resources. In other cases, an access control attack can bypass authentication mechanisms and just steal the data. This book covers multiple attacks, and the following sections cover common attacks directly related to access control.

Privilege Escalation Privilege escalation refers to any situation that gives users more privileges than they should have. Normally, a regular user would have enough privileges to perform their job but no more. This includes rights and permissions on their own computer and on network servers, such as file servers. Chapter 13 covers most of the topics in objective 5.5, “Manage the identity and access provisioning life cycle.” However, we chose to place privilege escalation in this chapter because it is a key element in many successful attacks.

In contrast, local administrators have full rights and permissions on local computers, and domain administrators have full rights and permissions within a domain. Regular users should not have the same privileges as administrators. Attackers use privilege escalation techniques to gain elevated privileges. As an example, imagine a regular user opens a malicious attachment in a phishing email. The malware gives the attacker the same privileges as the user, which are severely limited in most situations. Privilege escalation is often described as horizontal privilege escalation and vertical privilege escalation.

Attackers combine the two to compromise as many systems and accounts as they can within a network.

中文直译 / 整理

访问控制攻击试图绕过或规避访问控制方法。 如第13章所述,访问控制始于 身份识别、身份验证和授权,而访问控制攻击通常试图窃取用户凭证。 攻击者 在窃取用户凭证后,可以通过以该用户身份登录并访问其资源来发起在线冒充 攻击。 在其他情况下,访问控制攻击可以绕过身份验证机制,直接窃取数据。 本书涵盖多种攻击方式,以下章节将直接介绍与访问控制密切相关的常见攻击。 权限提升 权限提升是指任何使用户获得超出其应有权限的情况。 通常,普通用户仅拥有 完成其工作所需的足够权限,而无更多权限。 这包括其本地计算机和网络服务 器(如文件服务器)上的权利和权限。 第13章涵盖了目标5.5“管理身份和访问供应生命周期”的大部分 内容。 然而,我们选择将权限提升放在本章,因为它是许多成功攻击 的关键要素。 相比之下,本地管理员在本地计算机上拥有完全的权利和权限,域管理员 在域内也拥有完全的权利和权限。 普通用户不应拥有与管理员相同的权限。 攻击者使用权限提升技术来获取更高权限。 例如,假设一个普通用户打开了钓 鱼邮件中的恶意附件,恶意软件将赋予攻击者与该用户相同的权限,而在大多 数情况下,这些权限是严重受限的。

权限提升通常被描述为水平权限提升和垂直权限提升。 攻击者将两者结合, 以在网络内尽可能多地入侵系统和账户。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

NIST:NIST 提供美国常用安全标准、框架和指南。

身份:身份是主体在系统中的标识。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

身份管理题要区分识别、认证、授权、审计。

日志要保护完整性、时间同步和访问控制。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
NIST NIST 提供美国常用安全标准、框架和指南。
身份 身份是主体在系统中的标识。
日志 日志记录系统和用户活动,用于监控、审计和调查。
恶意代码 恶意代码包括病毒、蠕虫、木马、勒索软件等。
学习单元 33 / PDF P1000

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

Horizontal is side to side, and vertical is up and down. If you have trouble remembering the difference between the two, think about watching a sunset (or sunrise) over the ocean. The horizon is the theoretical line going from left to right, separating the sky from the earth. Imagine an attacker gains control of a regular user's account, such as after a successful phishing attack. Horizontal privilege escalation gives an attacker similar privileges as the first compromised user, but from other accounts. Vertical privilege escalation provides an attacker with significantly greater privileges.

After compromising a regular user's account, an attacker can use vertical privilege escalation techniques to gain administrator privileges on the user's computer. The attacker can then use horizontal privilege escalation techniques to access other computers in the network. This horizontal privilege escalation throughout the network is also known as lateral movement. The attacker can then attempt vertical escalation techniques on every other compromised computer. The “Mimikatz” section, later in this chapter, explains how attackers can use this tool to gain more and more privileges within a network.

After infecting a regular user's computer, attackers use Mimikatz to gain administrator privileges on the user's computer and then move throughout the network, gaining more privileges. Given enough time, the attacker will often gain domain administrator privileges. Chapter 13 discussed service accounts within the context of service authentication. These are frequently called managed service accounts because administrators create them to run services or applications and manage them. As an example, it's common to set the password so that it never expires but manually change the password regularly.

An important consideration with managed service accounts is to ensure they have only the privileges needed by the service or application. For example, imagine you install a database application. The application needs to run under the context of a service account with specific rights and permissions. The easiest way to do this is to use the LocalSystem account because it has full administrative privileges on the local system, and you don't have to manage the password. However, the easiest way is not the correct way.

中文直译 / 整理

水平是左右方向,垂直是上下方向。 如果你难以区分这两者,可以想象 在海洋上观看日落(或日出)。 地平线是一条理论上的水平线,从左到右延 伸,将天空与大地分隔开。 想象攻击者成功实施钓鱼攻击后,获得了普通用户账户的控制权。 水平权限 提升使攻击者能够以其他账户获得与首个被入侵用户相似的权限。 垂直权限提升为攻击者提供了显著更高的权限。 在入侵普通用户账户后,攻击 者可以使用垂直权限提升技术,获取该用户计算机上的管理员权限。 随后,攻 击者可以利用水平权限提升技术访问网络中的其他计算机。 这种在整个网络中 进行的水平权限提升也被称为横向移动。 攻击者随后可以在每台已被入侵的计 算机上尝试垂直提升权限。 本章后续的“Mimikatz”部分将解释攻击者如何使用此工具在网络中逐步获 取更多权限。 在感染普通用户的计算机后,攻击者使用Mimikatz获取该用户 计算机上的管理员权限,然后在全网中移动并获取更多权限。 如果有足够的时 间,攻击者通常会获得域管理员权限。 第13章在服务身份验证的背景下讨论了服务账户。 这些账户通常被称为托 管服务账户,因为管理员创建它们以运行服务或应用程序并进行管理。

例 如,通常会将密码设置为永不过期,但定期手动更改密码。 使用托管服务账户时,一个重要考虑因素是确保它们仅拥有服务或应用程序所 需的权限。 例如,假设您安装了一个数据库应用程序。 该应用程序需要在具有 特定权利和权限的服务账户上下文中运行。 最简单的方法是使用 LocalSystem账户,因为它在本地系统上具有完全管理员权限,且您无需管理 密码。 然而,最简单的方法并非正确的方法。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

NIST:NIST 提供美国常用安全标准、框架和指南。

程序:程序是一步一步怎么做。

身份:身份是主体在系统中的标识。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

Step-by-step、SOP 常对应 procedure。

身份管理题要区分识别、认证、授权、审计。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
NIST NIST 提供美国常用安全标准、框架和指南。
程序 程序是一步一步怎么做。
身份 身份是主体在系统中的标识。
学习单元 34 / PDF P1001

安全控制框架:用成熟框架组织安全

框架帮助组织系统化管理控制,而不是想到哪做到哪。

教材原文段落

Instead, you would create a new account and give it only the needed rights and permissions. Using the su and sudo Commands Linux systems have a root user account, sometimes called a superuser account. The root account on Linux is similar to an administrator account on Windows systems. Users can log on to the root account with root as the username and the root password. However, doing so isn't normally recommended, because it's easy to forget that you're logged on as a superuser. Instead, administrators log on with a regular account when doing daily tasks. When they need to run commands as the root account, they use the su command (short for switch user or substitute user).

The su command switches to the root account by default and prompts the user to enter the root account password. After running commands with elevated permissions, administrators can return to their regular accounts. Another alternative is the sudo command, sometimes referred to as superuser do. Administrators with root privileges can grant permission to any user to run the sudo command by adding them to the sudo group. This is similar to adding a user to the Administrators group on Windows systems. When users are added to the sudo group, they don't need the password to the root account but instead use their own credentials.

Once logged in, the user can prefix commands with sudo to run the command as root. Logs will record any commands using sudo with the user's account, providing auditing capabilities. In contrast, if the user switches to the su account with the su command, logs will record the activity using the su account, not the user's account.

中文直译 / 整理

相反,您将创建一个新账户,并仅赋予其所需的权限和权利。 使用 su 和 sudo 命令 Linux 系统有一个 root 用户账户,有时也称为超级用户账户。 Linux 上的 root 账户类似于 Windows 系统上的管理员账户。 用户可以使用 root 作为用 户名和 root 密码登录到 root 账户。 然而,通常不建议这样做,因为很容易忘 记自己是以超级用户身份登录的。 相反,管理员在执行日常任务时使用普通账户登录。 当他们需要以 root 账户运 行命令时,会使用 su 命令(switch user 或 substitute user 的缩写)。 su 命 令默认切换到 root 账户,并提示用户输入 root 账户密码。 在使用提升的权限 运行命令后,管理员可以返回到他们的普通账户。 另一种选择是 sudo 命令,有时被称为 superuserdo。 拥有 root 权限的管理员 可以通过将任何用户添加到 sudo 组来授予其运行 sudo 命令的权限。 这类似于 在 Windows 系统中将用户添加到 Administrators 组。

当用户被添加到 sudo 组后,他们无需输入 root 账户的密码,而是使用自己的凭据。 登录后, 用户可以在命令前加上 sudo 以 root 身份运行该命令。 日志将记录使用 sudo 的 任何命令及其对应的用户账户,从而提供审计功能。 相比之下,如果用户使用 su 命令切换到 su 账户,日志将记录的是 su 账户的活动,而非用户自己的账户。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:框架帮助组织系统化管理控制,而不是想到哪做到哪。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

审计:审计记录主体行为,用于追责、复盘和取证。

NIST:NIST 提供美国常用安全标准、框架和指南。

身份:身份是主体在系统中的标识。

审计:审计检查控制是否存在、是否有效、是否符合要求。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“安全控制框架:用成熟框架组织安全”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

没有日志和身份绑定,就很难问责。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

身份管理题要区分识别、认证、授权、审计。

审计题关注独立性、证据、范围和报告。

日志要保护完整性、时间同步和访问控制。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
审计 审计记录主体行为,用于追责、复盘和取证。
NIST NIST 提供美国常用安全标准、框架和指南。
身份 身份是主体在系统中的标识。
审计 审计检查控制是否存在、是否有效、是否符合要求。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 35 / PDF P1002

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

Privilege Escalation with PowerShell Imagine an application is installed on a Windows server using the LocalSystem account instead of a service account. Later, an attacker discovers and exploits a vulnerability in the application, giving the attacker access to the LocalSystem account with full local administrative privileges. Many Windows systems have PowerShell installed by default, so the attacker can now use it as fileless malware and run PowerShell scripts as an administrator. The attacker can start with some network reconnaissance. As an example, the Get-ADComputer cmdlet will retrieve a listing of all computers in an Active Directory domain.

The attacker can then run PowerShell scripts on any remote computer. By default, the execution policy for PowerShell is set to Restricted, indicating you can't run PowerShell scripts. For example, the execution policy causes the following command to fail: powershell.exe .\hello.ps1 The hello.ps1 script simply displays Hello World to the screen. Instead of calling the script, you can use the Get-Content cmdlet to read the script, and then pass the text to PowerShell with the Invoke-Expression cmdlet. powershell.exe "& {Get-Content .\hello.ps1 | Invoke-Expression} The key here is that using the LocalSystem account provides full administrative access to the local system.

Whenever possible, it's best to create a service account instead of using the LocalSystem account. Password Attacks Passwords are the weakest form of authentication, and there are many types of password attacks. If an attacker is successful in a password attack, the attacker can access the account and access resources authorized to the

中文直译 / 整理

使用 PowerShell 进行权限提升 假设某个应用程序在 Windows 服务器上使用 LocalSystem 账户而非服 务账户进行安装。 后来,攻击者发现并利用了该应用程序中的漏洞,从而 获得了具有完整本地管理员权限的 LocalSystem 账户访问权。 许多 Windows 系统默认都安装了 PowerShell,因此攻击者现在可以将其用 作无文件恶意软件,并以管理员身份运行 PowerShell 脚本。 攻击者可以从网络侦察开始。 例如,Get-ADComputer cmdlet 将检索 Active Directory 域中所有计算机的列表。 然后,攻击者可以在任何远程 计算机上运行 PowerShell 脚本。 默认情况下,PowerShell 的执行策略设置为 Restricted,表示您无法 运行 PowerShell 脚本。 例如,执行策略会导致以下命令失败: powershell.exe .\hello.ps1 hello.ps1 脚本只是在屏幕上显示 Hello World。

与其直接调用脚本,不 如使用 Get-Content cmdlet 读取脚本内容,然后通过 Invoke-Expression cmdlet 将文本传递给 PowerShell。 powershell.exe "& {Get‑Content .\hello.ps1 | Invoke‑Expression}" 这里的关键是,使用 LocalSystem 帐户可获得对本地系统的完全管理权 限。 尽可能创建一个服务帐户,而不是使用 LocalSystem 帐户。 密码攻击 密码是最薄弱的认证形式,存在多种密码攻击类型。 如果攻击者成功实施密码 攻击,即可访问账户并获取该账户被授权的资源

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

NIST:NIST 提供美国常用安全标准、框架和指南。

政策:政策是高层原则,说明必须遵守什么。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

Policy 高层、强制、稳定;Procedure 具体步骤。

Step-by-step、SOP 常对应 procedure。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
NIST NIST 提供美国常用安全标准、框架和指南。
政策 政策是高层原则,说明必须遵守什么。
程序 程序是一步一步怎么做。
身份 身份是主体在系统中的标识。
恶意代码 恶意代码包括病毒、蠕虫、木马、勒索软件等。
学习单元 36 / PDF P1003

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

account. If an attacker discovers a root or administrator password, the attacker can access any other account and its resources. If attackers discover passwords for privileged accounts in a high-security environment, the environment's security can never be fully trusted again. The attacker could have created other accounts or backdoors to access the system. Instead of accepting the risk, an organization may choose to rebuild the entire system from scratch. A strong password is sufficiently long, uses a combination of character types, and helps prevent password attacks. The phrase “sufficiently long” is a moving target and dependent on the usage and the environment.

Chapter 13 discusses password policies, strong passwords, and the use of passphrases. The important point is that longer passwords are stronger than shorter passwords when using the same character types, and longer passwords with multiple character types create even stronger passwords. Although security professionals usually know what makes a strong password, many users do not, and it is common for users to create short passwords with only a single character type. Past data breaches help illustrate this. After the data breach, attackers often post stolen databases with account names and hashed passwords.

Analysis of these databases shows that many users still use simple passwords such as 12345, 123456, 1234567, 12345678, 123456789, password, and abc123. Organizations rarely store passwords in cleartext. Instead, they use a strong hashing function such as SHA-3 and create a hash of the password. They then store the hash instead of the password. Chapter 6 covers hashing in more depth. As a reminder, a hash is simply an alphanumeric string created by executing a hashing algorithm against a string of characters or file. A hashing algorithm will always produce the same hash when run against the same password.

When a user authenticates, the system hashes the provided password and typically sends the hash to an authentication server in an encrypted format. The authentication server decrypts the message containing the hash and then compares that decrypted value to the stored hash for the user. If the hashes match, the system authenticates the user. It's important to use strong hashing functions when hashing passwords. Many password attacks succeed when organizations have used weak hashing functions, such as Message Digest 5 (MD5). MD5 is compromised and not

中文直译 / 整理

账户。 如果攻击者发现了根账户或管理员密码,即可访问任何其他账户及其资 源。 如果攻击者在高安全环境中发现了特权账户的密码,该环境的安全性将再 也无法完全信任。 攻击者可能已创建了其他账户或后门以访问系统。 与其接受 这一风险,组织可以选择从头开始重建整个系统。 A 强密码 足够长,使用多种字符类型的组合,有助于防止密码攻击。 "足够长" 这一说法是动态变化的,取决于使用场景和环境。 第 13 章 讨论了密码策略、 强密码和口令短语的使用。 关键点在于,在使用相同字符类型的情况下,较长 的密码比短密码更安全; 而使用多种字符类型的更长密码则能创建出更强的密 码。 尽管安全专业人员通常知道什么构成强密码,但许多用户并不了解,用户常常 创建仅包含单一字符类型的短密码。 以往的数据泄露事件有助于说明这一点。 数据泄露后,攻击者通常会发布包含账户名和哈希密码的被盗数据库。 对这些 数据库的分析显示,许多用户仍使用简单的密码,例如 12345、123456、 1234567、12345678、123456789、password 和 abc123。 组织很少以明文形式存储密码。

相反,他们使用强哈希函数(如 SHA‑3)对密 码进行哈希处理,然后存储哈希值而非密码本身。 第 6 章更深入地介绍了哈希 技术。 作为提醒,哈希是通过将哈希算法应用于一串字符或文件而生成的字母 数字字符串。 相同的密码在运行哈希算法时总是产生相同的哈希值。 当用户进行身份验证时,系统会对提供的密码进行哈希处理,并通常以加密格 式将哈希值发送到身份验证服务器。 身份验证服务器解密包含哈希值的消息, 然后将解密后的值与用户存储的哈希值进行比较。 如果哈希值匹配,系统将验 证用户身份。 在哈希密码时,使用强哈希函数非常重要。 许多密码攻击之所以成功,是因为 组织使用了弱哈希函数,例如消息摘要5(MD5)。 MD5已被破解,不

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

加密:加密把内容变成未授权者看不懂的形式。

NIST:NIST 提供美国常用安全标准、框架和指南。

哈希:哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

加密主要保护机密性,也可配合签名、哈希支持完整性和真实性。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

哈希本身不提供机密性;它主要用于完整性校验。

身份管理题要区分识别、认证、授权、审计。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
加密 加密把内容变成未授权者看不懂的形式。
NIST NIST 提供美国常用安全标准、框架和指南。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
身份 身份是主体在系统中的标识。
学习单元 37 / PDF P1004

第 1004 页学习单元

这一页属于本章连续内容,先读原文和译文,再看下方把概念拆成小白能理解的版本。

教材原文段落

recommended for use as a cryptographic hashing function. It should not be used to hash passwords. It's also important to change default passwords. IT professionals know this for computers, but this knowledge hasn't extended consistently to IoT devices and embedded systems. Chapter 9 covers IoT devices and embedded systems in more depth. If the default password isn't changed, anyone who knows the default password can log in and cause problems. The following sections describe common password attacks using a variety of methods. Some of these attacks are possible against online accounts.

As an example, an attacker could try to guess the usernames and passwords on an online web server or web application. In other attacks, an attacker steals an account database and then cracks the passwords using an offline attack. Account databases can be customer databases, or operating system files such as the Windows-based Security Account Manager (SAM) file or the /etc/shadow file on Linux systems. Dictionary Attack A dictionary attack is an attempt to discover passwords by using every possible password in a predefined database or list of common or expected passwords. In other words, an attacker starts with a database of words commonly found in a dictionary.

Dictionary attack databases also include character combinations widely used as weak passwords but not found in dictionaries. For example, you will probably see passwords such as 123456 and password in password-cracking dictionaries. Additionally, dictionary attacks often scan for one-upped-constructed passwords. A one-upped-constructed password is a previously used password, but with one character different. For example, password1 is one-upped from password, as are password2, 1password, and passXword. Attackers often use this approach when generating rainbow tables (discussed later in this chapter). Some people think that using a foreign word as a password will beat dictionary attacks.

However, password-cracking dictionaries can, and often do, include foreign words.

中文直译 / 整理

应作为加密哈希函数使用。 不应使用MD5来哈希密码。 更改默认密码也很重要。 IT专业人员知道这适用于计算机,但这一知识并未一 致地扩展到物联网设备和嵌入式系统。 第9章更深入地探讨了物联网设备和嵌入 式系统。 如果未更改默认密码,任何知道默认密码的人都可以登录并造成问题。 以下部分描述了使用多种方法的常见密码攻击。 其中一些攻击适用于在线账户。 例如,攻击者可以尝试猜测在线Web服务器或Web应用程序上的用户名和密 码。 在其他攻击中,攻击者窃取账户数据库,然后使用离线攻击破解密码。 账 户数据库可以是客户数据库,也可以是操作系统文件,例如基于Windows的 安全账户管理器(SAM)文件或Linux系统上的/etc/shadow文件。 字典攻击 字典攻击是通过使用预定义数据库或常见或预期密码列表中的所有可能密码 来尝试发现密码的方法。 换句话说,攻击者从一个常见于字典中的单词数据 库开始。 字典攻击数据库还包括广泛用作弱密码但未出现在字典中的字符组 合。 例如,你可能会在密码破解字典中看到诸如123456和password这样的 密码。 此外,字典攻击通常会扫描由递增构造的密码。

递增构造的密码是指之前使用 过的密码,但其中有一个字符不同。 例如,password1 是由 password 递增而 来,password2、1password 和 passXword 也是如此。 攻击者在生成彩虹表 时(本章稍后将讨论)经常使用这种方法。 有些人认为,使用外语单词作为密码可以抵御字典攻击。 然而,密码 破解字典中常常包含外语单词。

小白解释

场景先行:财务要把合同发给供应商:不想被别人看懂,要加密;不想被人改金额,要校验完整性;不想对方抵赖,要签名和证书。密码学不是炫技,是解决这些业务信任问题。

这一页真正想让你理解的是:这一页属于本章连续内容,先读原文和译文,再看下方把概念拆成小白能理解的版本。

把它放进公司里看,关键不是背定义,而是判断:把加密、哈希、签名混在一起,会导致控制目标错位。

你作为负责人可以这样想:机密性用加密,完整性用哈希/签名,身份信任用证书和 PKI。

本页术语用人话说:

加密:加密把内容变成未授权者看不懂的形式。

程序:程序是一步一步怎么做。

哈希:哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。

日志:日志记录系统和用户活动,用于监控、审计和调查。

常见误区:哈希不是加密;签名也不是为了隐藏内容。

读完后用一句话复述:如果我是系统架构师,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“第 1004 页学习单元”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是系统架构师在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

加密主要保护机密性,也可配合签名、哈希支持完整性和真实性。

Step-by-step、SOP 常对应 procedure。

哈希本身不提供机密性;它主要用于完整性校验。

日志要保护完整性、时间同步和访问控制。

排除法提醒:哈希不是加密;签名也不是为了隐藏内容。

本页术语拆解
加密 加密把内容变成未授权者看不懂的形式。
程序 程序是一步一步怎么做。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 38 / PDF P1005

第 1005 页学习单元

这一页属于本章连续内容,先读原文和译文,再看下方把概念拆成小白能理解的版本。

教材原文段落

Brute-Force Attack A brute-force attack is an attempt to discover passwords for user accounts by systematically attempting all possible combinations of letters, numbers, and symbols. Attackers don't typically type these in manually but instead have programs that can programmatically try all the combinations. A hybrid attack attempts a dictionary attack and then performs a type of brute-force attack with one-upped-constructed passwords. Longer and more complex passwords take more time and are costlier to crack than simple passwords. As the number of possibilities increases, the cost of performing an exhaustive attack goes up.

In other words, the longer the password and the more character types it includes, the more secure it is against brute-force attacks. Passwords and usernames are typically stored in an account database file on secured systems. However, instead of being stored as plaintext, systems and applications commonly hash passwords and store only the hash values. The following three steps illustrate one way that a user might authenticate with a hashed password: 1. The user enters credentials such as a username and password. 2. The user's system hashes the password and sends the hash to the authenticating system. 3.

The authenticating system compares this hash to the hash stored in the password database file. If it matches, it indicates the user entered the correct password. This approach provides two protections. Passwords do not traverse the network in cleartext, which would make them susceptible to sniffing attacks. Password databases do not store passwords in cleartext, but instead store them as hashes. Passwords stored as cleartext would be much easier for attackers to read if they gained access to the password database. However, password attacker tools look for a password that creates the same hash value as an entry stored in the account database file.

If they're successful, they can use the password to log on to the account. As an example, imagine the password IPassed has a stored hash value of 1A5C7G hexadecimal (though the actual hash would be much longer). A brute-force password tool would take these steps:

中文直译 / 整理

暴力破解攻击 暴力破解攻击是通过系统性地尝试所有可能的字母、数字和符号组合来发现用 户账户密码的一种方法。 攻击者通常不会手动输入这些组合,而是使用程序自 动尝试所有可能的组合。 一种混合攻击会先尝试字典攻击,然后使用构造出的增强密码执行一种暴力破 解攻击。 更长且更复杂的密码比简单密码需要更多时间且破解成本更高。 随着可能性数 量的增加,执行穷举攻击的成本也随之上升。 换句话说,密码越长、包含的字 符类型越多,其对抗暴力破解攻击的安全性就越高。 在安全系统中,密码和用户名通常存储在账户数据库文件中。 然而,系统和应用 程序通常不会以明文形式存储密码,而是对密码进行哈希处理,仅存储哈希值。 以下三个步骤说明了用户如何使用哈希密码进行身份验证的一种方式: 1. 用户输入凭据,例如用户名和密码。 2. 用户的系统对密码进行哈希运算,并将哈希值发送到认证系统。 3. 认证系统将此哈希值与密码数据库文件中存储的哈希值进行比较。 如果 匹配,则表明用户输入了正确的密码。 这种方法提供了两项保护措施。 密码不会以明文形式在网络中传输,否则容易 受到嗅探攻击。 密码数据库不以明文形式存储密码,而是将其存储为哈希值。

如果攻击者获得了密码数据库的访问权限,以明文存储的密码将更容易被读取。 然而,密码攻击工具会寻找能够生成与账户数据库文件中存储条目相同哈希值 的密码。 如果成功,攻击者便可使用该密码登录账户。 例如,假设密码 IPassed 的存储哈希值为 1A5C7G 十六进制(实际哈希值要长得多)。 暴力破 解密码工具将执行以下步骤:

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:这一页属于本章连续内容,先读原文和译文,再看下方把概念拆成小白能理解的版本。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

程序:程序是一步一步怎么做。

哈希:哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。

身份:身份是主体在系统中的标识。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“第 1005 页学习单元”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

Step-by-step、SOP 常对应 procedure。

哈希本身不提供机密性;它主要用于完整性校验。

身份管理题要区分识别、认证、授权、审计。

日志要保护完整性、时间同步和访问控制。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
程序 程序是一步一步怎么做。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
身份 身份是主体在系统中的标识。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 39 / PDF P1006

第 1006 页学习单元

这一页属于本章连续内容,先读原文和译文,再看下方把概念拆成小白能理解的版本。

教材原文段落

1. Guess a password. 2. Calculate the hash of the guessed password. 3. Compare the calculated hash against the stored hash in the offline database. 4. Repeat steps 1 through 3 until a guessed password has the same hash as a stored password. This is also known as comparative analysis or reverse-hash matching. When the password-cracking tool finds a matching hash value, it indicates that the guessed password is very likely the original password. The attacker can now use this password to impersonate the user. If two separate passwords create the same hash, it results in a collision. Collisions aren't desirable, and better hashing functions are collision resistant.

Unfortunately, some hashing functions (such as MD5) allow an attacker to create a different password that results in the same hash as a hashed password stored in the account database file. This is one of the reasons that MD5 is not recommended for hashing passwords today. With the speed of modern computers and the ability to employ distributed computing, brute-force attacks prove successful against even some strong passwords. The actual time it takes to discover passwords depends on the algorithm used to hash them and the power of the computer. Many attackers are using GPUs in brute-force attacks. In general, GPUs have more processing power than most CPUs in desktop computers.

Additionally, it's relatively easy for a do-it-yourselfer to create a multiple-GPU computer and use it to crack passwords in offline databases. However, longer passwords take longer to crack than shorter and simple passwords. For example, a 15-character password using uppercase and lowercase characters takes longer to crack than an 8-character password. Similarly, a complex 15-character password using all four character types (uppercase, lowercase, numbers, and special characters) takes longer to crack than a 15-character password using only uppercase and lowercase characters. 1.

中文直译 / 整理

猜测一个密码。 2. 计算猜测密码的哈希值。 3. 将计算出的哈希值与离线数据库中存储的哈希值进行比较。 4. 重复步骤1至3,直到猜测的密码与存储密码的哈希值相同。 这也被称为比较分析或反向哈希匹配。 当密码破解工具找到匹配的哈希值时, 表明猜测的密码极有可能是原始密码。 攻击者现在可以使用此密码冒充用户。 如果两个不同的密码生成了相同的哈希值,则会发生碰撞。 碰撞是不希望 出现的,更好的哈希函数应具备抗碰撞能力。 不幸的是,某些哈希函数 (如MD5)允许攻击者创建一个不同的密码,使其哈希值与账户数据库文 件中存储的哈希值相同。 这也是为什么今天不推荐使用MD5进行密码哈希 的原因之一。 借助现代计算机的速度和分布式计算能力,暴力破解攻击甚至能成功破解一 些强密码。 实际破解密码所需的时间取决于用于哈希的算法以及计算机的性 能。 许多攻击者在暴力破解攻击中使用GPU。 通常情况下,GPU的处理能力比大 多数台式机中的CPU更强。 此外,DIY爱好者相对容易构建多GPU计算机,并 用其破解离线数据库中的密码。 然而,较长的密码比简短且简单的密码更难破解。 例如,使用大小写字母的1 5位密码比8位密码更难破解。

同样,使用所有四种字符类型(大写字母、小写 字母、数字和特殊字符)的复杂15位密码,比仅使用大小写字母的15位密码更 难破解。

小白解释

场景先行:财务要把合同发给供应商:不想被别人看懂,要加密;不想被人改金额,要校验完整性;不想对方抵赖,要签名和证书。密码学不是炫技,是解决这些业务信任问题。

这一页真正想让你理解的是:这一页属于本章连续内容,先读原文和译文,再看下方把概念拆成小白能理解的版本。

把它放进公司里看,关键不是背定义,而是判断:把加密、哈希、签名混在一起,会导致控制目标错位。

你作为负责人可以这样想:机密性用加密,完整性用哈希/签名,身份信任用证书和 PKI。

本页术语用人话说:

哈希:哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。

常见误区:哈希不是加密;签名也不是为了隐藏内容。

读完后用一句话复述:如果我是系统架构师,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“第 1006 页学习单元”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是系统架构师在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

哈希本身不提供机密性;它主要用于完整性校验。

排除法提醒:哈希不是加密;签名也不是为了隐藏内容。

本页术语拆解
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
学习单元 40 / PDF P1007

第 1007 页学习单元

这一页属于本章连续内容,先读原文和译文,再看下方把概念拆成小白能理解的版本。

教材原文段落

With enough time, attackers can discover any hashed password using an offline brute-force attack. However, longer passwords result in sufficiently longer times, making it infeasible for attackers to crack them. Spraying Attack A spraying attack is a special type of brute-force attack. Attackers use spraying attacks in online password attacks, attempting to bypass account lockout security controls. Usually, a system will lock out an account if the same user enters the wrong password too many times within a short amount of time, such as 30 minutes. In a spraying attack, a program uses the same guessed password but loops through a list of different accounts and different systems.

When it finishes the list, it picks another password and loops through the list again. The list is long, and it typically takes the program as long as 15 to 30 minutes to loop through it. Imagine the lockout policy locks out an account if the same account tries the wrong password five times within 30 minutes and the spraying attack loops through the list in 15 minutes. After entering the incorrect password twice (30 minutes), the 30-minute timer resets. The account will not be locked out. Credential Stuffing Attack Credential stuffing is sometimes confused with password spraying, but the two attacks are different.

Password spraying attempts to bypass account lockout policies, whereas credential stuffing only checks a single username and password on each site. Imagine that Gus has hundreds of accounts on various sites such as eBay, Netflix, and Disney+. He's become overwhelmed with tracking all of these credentials, so he uses the same credentials on every site. Later, one of these sites is the victim of an attack. Malicious actors download the credential database and discover all of the usernames and passwords in an offline attack, including Gus's credentials. They then use an automated tool to try Gus's credentials on hundreds of sites (or more).

If people use different passwords on all sites, a credential stuffing attack will fail. However, many people continue to use the same credentials on multiple

中文直译 / 整理

只要有足够的时间,攻击者可以使用离线暴力破解方法破解任何哈希密 码。 然而,较长的密码会显著延长破解时间,使得攻击者无法破解它们。 喷洒攻击 一种喷洒攻击是一种特殊的暴力攻击。 攻击者在在线密码攻击中使用喷洒 攻击,试图绕过账户锁定安全控制。 通常,如果同一用户在短时间内(例如30分钟内)多次输入错误密码,系统会 锁定该账户。 在喷洒攻击中,程序使用同一个猜测的密码,但遍历一组不同的 账户和不同系统。 当完成一轮遍历后,程序会选择另一个密码并再次遍历该列 表。 该列表很长,程序通常需要15到30分钟才能完成一轮遍历。 假设锁定策略规定,如果同一账户在30分钟内尝试错误密码五次,则锁定该账 户,而喷洒攻击在15分钟内完成列表遍历。 在输入两次错误密码(耗时30分钟) 后,30分钟计时器重置,账户不会被锁定。 凭据填充攻击 凭据填充有时会被误认为是密码喷洒,但这两种攻击是不同的。 密码喷洒旨 在绕过账户锁定策略,而凭据填充仅在每个站点上检查单个用户名和密码。 想象一下,Gus 在诸如 eBay、Netflix 和 Disney+ 等多个网站上拥有数百个 账户。

他因追踪所有这些凭据而感到不堪重负,因此在每个网站上都使用相同 的凭据。 后来,其中一个网站遭受了攻击。 恶意行为者下载了凭据数据库,并 通过离线攻击获取了所有用户名和密码,包括 Gus 的凭据。 随后,他们使用 自动化工具尝试在数百个网站(或更多)上使用 Gus 的凭据。 如果人们在所有网站上使用不同的密码,凭据填充攻击就会失败。 然而,许多人 仍然在多个

小白解释

场景先行:财务要把合同发给供应商:不想被别人看懂,要加密;不想被人改金额,要校验完整性;不想对方抵赖,要签名和证书。密码学不是炫技,是解决这些业务信任问题。

这一页真正想让你理解的是:这一页属于本章连续内容,先读原文和译文,再看下方把概念拆成小白能理解的版本。

把它放进公司里看,关键不是背定义,而是判断:把加密、哈希、签名混在一起,会导致控制目标错位。

你作为负责人可以这样想:机密性用加密,完整性用哈希/签名,身份信任用证书和 PKI。

本页术语用人话说:

政策:政策是高层原则,说明必须遵守什么。

程序:程序是一步一步怎么做。

哈希:哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。

常见误区:哈希不是加密;签名也不是为了隐藏内容。

读完后用一句话复述:如果我是系统架构师,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“第 1007 页学习单元”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是系统架构师在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

Policy 高层、强制、稳定;Procedure 具体步骤。

Step-by-step、SOP 常对应 procedure。

哈希本身不提供机密性;它主要用于完整性校验。

排除法提醒:哈希不是加密;签名也不是为了隐藏内容。

本页术语拆解
政策 政策是高层原则,说明必须遵守什么。
程序 程序是一步一步怎么做。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
学习单元 41 / PDF P1008

安全控制框架:用成熟框架组织安全

框架帮助组织系统化管理控制,而不是想到哪做到哪。

教材原文段落

sites. Birthday Attack A birthday attack focuses on finding collisions. Its name comes from a statistical phenomenon known as the birthday paradox. The birthday paradox states that if there are 23 people in a room, there is a 50 percent chance that any two of them will have the same birthday—not the same year but the same month and day, such as March 30. With February 29 in a leap year, there are only 366 possible days in a year. With 367 people in a room, you have a 100 percent chance of getting at least two people with the same birthdays. Reduce this to only 23 people in the room, and you still have a 50 percent chance that any two have the same birthday.

This is similar to finding any two passwords with the same hash. Imagine a simple, hypothetical, hashing function that could only create 366 different hashes. In that case, an attacker with a sample of only 23 hashes has a 50 percent chance of discovering two passwords that create the same hash. Hashing algorithms can create many more than 366 different hashes, but the point is that the birthday attack method doesn't need all possible hashes to see a match. From another perspective, imagine that you are one of the people in the room and you want to find someone else with the same birthday as you.

In this example, you'll need 23 people in the room to reach the same 50 percent probability of finding someone else with the same birthday. Similarly, it is possible for some tools to come up with another password that creates the same hash of a given hash. For example, if you know that the hash of the administrator account password is 1A5C7G, some tools can identify a password that will create the same hash of 1A5C7G. It isn't necessarily the same password, but if it can create the same hash, it is just as effective as the original password.

You can reduce the success of birthday attacks by using hashing algorithms with enough bits to make collisions computationally infeasible and use salts (discussed in the “Rainbow Table Attack” section next). There was a time when security experts considered MD5 (using 128 bits) to be strong enough to protect passwords. However, computing power continues to improve, and MD5 is no longer recommended as a cryptographic hash. SHA-3 (short for Secure Hash Algorithm version 3) can use as many as 512 bits and is more

中文直译 / 整理

网站。 生日攻击 一个生日攻击专注于寻找碰撞。 其名称来源于一种被称为生日悖论的统计现象。 生日悖论指出,如果一个房间里有23个人,那么其中有任意两人生日相同的 概率为50%——不是同一年,而是相同的月份和日期,例如3月30日。 考虑到闰年的2月29日,一年中只有366种可能的日期。 当房间里有367人时, 你有100%的概率至少有两个人生日相同。 而即使只减少到23人,你仍然有 50%的概率发现任意两人生日相同。 这类似于寻找任意两个具有相同哈希值的密码。 假设一个简单的、假设性的哈 希函数只能生成366种不同的哈希值。 在这种情况下,攻击者仅需23个哈希样 本,就有50%的概率发现两个能生成相同哈希值的密码。 哈希算法可以生成远 多于366种不同的哈希值,但关键在于,生日攻击方法并不需要所有可能的哈 希值就能找到匹配。 从另一个角度来看,假设你就是房间中的人之一,你想找到一个和你生日相同 的人。 在这个例子中,你需要房间中有23个人,才能达到50%的概率找到另一 个与你生日相同的人。 类似地,某些工具可能生成另一个密码,使其产生与给定哈希值相同的哈希。

例如,如果你知道管理员账户密码的哈希值是1A5C7G,一些工具可以识别出一 个能生成相同哈希值1A5C7G的密码。 它不一定是同一个密码,但如果能生成相 同的哈希值,其效果就与原始密码完全相同。 通过使用具有足够位数的哈希算法以使碰撞在计算上不可行,并使用盐值(详 见下一节“彩虹表攻击”),可以降低生日攻击的成功率。 曾经有一段时间, 安全专家认为MD5(使用128位)足以保护密码。 然而,计算能力持续提升, MD5已不再推荐作为加密哈希算法。 SHA‑3(安全哈希算法第3版的缩写)最 多可使用512位,且更

小白解释

场景先行:财务要把合同发给供应商:不想被别人看懂,要加密;不想被人改金额,要校验完整性;不想对方抵赖,要签名和证书。密码学不是炫技,是解决这些业务信任问题。

这一页真正想让你理解的是:框架帮助组织系统化管理控制,而不是想到哪做到哪。

把它放进公司里看,关键不是背定义,而是判断:把加密、哈希、签名混在一起,会导致控制目标错位。

你作为负责人可以这样想:机密性用加密,完整性用哈希/签名,身份信任用证书和 PKI。

本页术语用人话说:

加密:加密把内容变成未授权者看不懂的形式。

NIST:NIST 提供美国常用安全标准、框架和指南。

哈希:哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。

常见误区:哈希不是加密;签名也不是为了隐藏内容。

读完后用一句话复述:如果我是系统架构师,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“安全控制框架:用成熟框架组织安全”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是系统架构师在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

加密主要保护机密性,也可配合签名、哈希支持完整性和真实性。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

哈希本身不提供机密性;它主要用于完整性校验。

排除法提醒:哈希不是加密;签名也不是为了隐藏内容。

本页术语拆解
加密 加密把内容变成未授权者看不懂的形式。
NIST NIST 提供美国常用安全标准、框架和指南。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
学习单元 42 / PDF P1009

第 1009 页学习单元

这一页属于本章连续内容,先读原文和译文,再看下方把概念拆成小白能理解的版本。

教材原文段落

collision resistant to brute-force attacks than MD5. Computing power continues to improve, so at some point, SHA-3 will be replaced with another hashing algorithm with longer hashes and/or stronger cryptology methods used to create the hash. Rainbow Table Attack It takes a long time to find a password by guessing it, hashing it, and then comparing it with a valid password hash. However, a rainbow table reduces this time by using large databases of precomputed hashes. Attackers create rainbow tables by: 1. Guessing a password 2. Hashing the guessed password 3.

Putting both the guessed password and the hash of the guessed password into the rainbow table A password cracker can then compare every hash in the rainbow table against the hash in a stolen password database file. A traditional password-cracking tool must guess the password and hash it before it can compare the hashes, which takes time. However, when using the rainbow table, the password cracker doesn't spend any time guessing and calculating hashes. It simply compares the hashes until it finds a match. This can significantly reduce the time it takes to crack a password. Many different rainbow tables are available for free download, but they are large.

For example, an MD5-based rainbow table using all four character types for an eight-character password is about 460 gigabytes in size. Instead of downloading these tables, many attackers create their own using tools such as rtgen (available in Kali Linux) and scripts freely available on the Internet. Many systems commonly salt passwords to reduce the effectiveness of rainbow table attacks. A salt is a group of random bits added to a password before hashing it. Cryptographic methods add the additional bits before hashing it, making it significantly more difficult for an attacker to use rainbow tables against the passwords. Argon2, bcrypt, and Password-Based

中文直译 / 整理

能抵抗暴力破解攻击。 计算能力持续提升,因此在某个时刻,SHA‑3将被另 一种具有更长哈希值和/或更强加密方法的哈希算法所取代。 彩虹表攻击 通过猜测密码、对其哈希计算,然后与有效的密码哈希值进行比较来查找密 码需要很长时间。 然而,彩虹表通过使用大型预计算哈希值数据库来缩短这 一时间。 攻击者通过以下方式创建彩虹表: 1. 猜测密码 2. 对猜测的密码进行哈希计算 3. 将猜测的密码及其哈希值 存入彩虹表 密码破解工具可以将彩虹表中的每个哈希值与被盗密码数据库文件中的哈希值 进行比较。 传统的密码破解工具必须先猜测密码并计算其哈希值,然后才能进 行比较,这需要耗费时间。 然而,使用彩虹表时,密码破解工具无需花费任何 时间进行猜测和计算哈希值,它只需直接比较哈希值,直到找到匹配项即可。 这可以显著缩短破解密码所需的时间。 有许多不同的彩虹表可供免费下载,但它们体积庞大。 例如,一个使 用全部四种字符类型、针对八位密码的基于MD5的彩虹表大小约为460吉 字节。 与其下载这些表,许多攻击者更倾向于使用工具(如rtgen,可在 Kali Linux中获取)和互联网上免费提供的脚本自行创建。

许多系统通常对密码加盐,以降低彩虹表攻击的有效性。 盐是在哈希密码前 添加的一组随机比特。 加密方法在哈希前添加这些额外的比特,使攻击者更 难以使用彩虹表破解密码。 Argon2、bcrypt和基于密码的

小白解释

场景先行:财务要把合同发给供应商:不想被别人看懂,要加密;不想被人改金额,要校验完整性;不想对方抵赖,要签名和证书。密码学不是炫技,是解决这些业务信任问题。

这一页真正想让你理解的是:这一页属于本章连续内容,先读原文和译文,再看下方把概念拆成小白能理解的版本。

把它放进公司里看,关键不是背定义,而是判断:把加密、哈希、签名混在一起,会导致控制目标错位。

你作为负责人可以这样想:机密性用加密,完整性用哈希/签名,身份信任用证书和 PKI。

本页术语用人话说:

加密:加密把内容变成未授权者看不懂的形式。

哈希:哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。

日志:日志记录系统和用户活动,用于监控、审计和调查。

常见误区:哈希不是加密;签名也不是为了隐藏内容。

读完后用一句话复述:如果我是系统架构师,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“第 1009 页学习单元”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是系统架构师在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

加密主要保护机密性,也可配合签名、哈希支持完整性和真实性。

哈希本身不提供机密性;它主要用于完整性校验。

日志要保护完整性、时间同步和访问控制。

排除法提醒:哈希不是加密;签名也不是为了隐藏内容。

本页术语拆解
加密 加密把内容变成未授权者看不懂的形式。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 43 / PDF P1010

第 1010 页学习单元

这一页属于本章连续内容,先读原文和译文,再看下方把概念拆成小白能理解的版本。

教材原文段落

Key Derivation Function 2 (PBKDF2) are some algorithms used to salt passwords. However, given enough time, attackers can still crack salted passwords using a brute-force attack. Adding a pepper to a salted password increases the security, making it more difficult to crack. Salts are random numbers stored in the same database holding the hashed passwords, so if an attacker gets the database, the attacker also has the salts for the passwords. A pepper is a large constant number stored elsewhere, such as a configuration value on a server or a constant stored within application code.

The practice of salting passwords was specifically introduced to thwart rainbow table attacks, but it also thwarts the effectiveness of offline dictionary and brute-force attacks. These offline attacks must calculate the hash of the guessed passwords, and if the stored passwords include salts, the attacks fail unless they also discover the salt. Again, the use of a pepper stored outside the database holding the salted, hashed passwords makes all of these attacks even more difficult. Mimikatz Benjamin Delpy released Mimikatz in 2011 to perform some experiments in Windows security while learning C. It has since become a popular tool used by attackers and penetration testers alike.

Several exploitation frameworks, such as Metasploit, include Mimikatz, and it is still maintained and updated on GitHub, a software development platform hosting open source projects. You may be wondering why we're discussing a tool created in 2011. The reason is simple—it continues to work. Part of the reason Mimikatz continues to work is that developers continue to update it. Chapter 13 discusses single sign-on (SSO) capabilities in depth. In short, SSO lets users sign on once and access other network resources without signing on again. However, SSO methods store credentials in memory, and Mimikatz exploits this by reading memory credentials.

Here are some capabilities of Mimikatz: Read Passwords from Memory Plaintext passwords and PINs stored in the Local Security Authority Subsystem Service (LSASS) process can be

中文直译 / 整理

密钥派生函数2(PBKDF2)是用于对密码加盐的一些算法。 然而,给定足够的时间,攻击者仍可通过暴力破解攻击破解加盐密码。 在加盐 密码中添加一个pepper可增强安全性,使其更难以破解。 盐值是存储在保存 哈希密码的同一数据库中的随机数,因此如果攻击者获取了数据库,他们也会 获得密码的盐值。 一个pepper是一个存储在其他地方的大常数,例如服务器上 的配置值或存储在应用程序代码中的常数。 加盐密码的做法专门用于防范彩虹表攻击,但它也能削弱离线字典攻击和暴力 破解攻击的效果。 这些离线攻击必须计算出猜测密码的哈希值,而如果存储的 密码包含盐值,则攻击会失败,除非攻击者也发现了盐值。 同样,将pepper存 储在保存加盐哈希密码的数据库之外,会使所有这些攻击变得更加困难。 Mimikatz Benjamin Delpy 于2011年发布了Mimikatz,以在学习C语言的同时对 Windows安全进行一些实验。 此后,它已成为攻击者和渗透测试人员广泛使 用的工具。 多个渗透框架,如Metasploit,都包含了Mimikatz,并且它仍在 GitHub(一个托管开源项目的软件开发平台)上持续维护和更新。

您可能在想,为什么我们要讨论一个创建于2011年的工具。 原因很简单—— 它仍在有效运行。 Mimikatz能够持续有效的一部分原因在于,开发人员仍在不 断更新它。 第13章深入讨论了单点登录(SSO)功能。 简而言之,SSO允许用户只需登录 一次,即可访问其他网络资源而无需再次登录。 然而,SSO方法会将凭证存储 在内存中,而Mimikatz正是通过读取内存中的凭证来利用这一点。 以下是Mimikatz的一些功能: 从内存中读取密码 存储在本地安全机构子系统服务(LSASS)进程中的明文密码和 PIN码可以

小白解释

场景先行:财务要把合同发给供应商:不想被别人看懂,要加密;不想被人改金额,要校验完整性;不想对方抵赖,要签名和证书。密码学不是炫技,是解决这些业务信任问题。

这一页真正想让你理解的是:这一页属于本章连续内容,先读原文和译文,再看下方把概念拆成小白能理解的版本。

把它放进公司里看,关键不是背定义,而是判断:把加密、哈希、签名混在一起,会导致控制目标错位。

你作为负责人可以这样想:机密性用加密,完整性用哈希/签名,身份信任用证书和 PKI。

本页术语用人话说:

渗透测试:渗透测试让可信团队模拟攻击,验证真实防护能不能扛住。

程序:程序是一步一步怎么做。

哈希:哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。

渗透测试:渗透测试在授权范围内模拟攻击验证风险。

常见误区:哈希不是加密;签名也不是为了隐藏内容。

读完后用一句话复述:如果我是系统架构师,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“第 1010 页学习单元”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是系统架构师在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

渗透测试通常比漏洞扫描更深入,但也更需要授权和范围控制。

Step-by-step、SOP 常对应 procedure。

哈希本身不提供机密性;它主要用于完整性校验。

渗透测试需要书面授权、范围和规则。

排除法提醒:哈希不是加密;签名也不是为了隐藏内容。

本页术语拆解
渗透测试 渗透测试让可信团队模拟攻击,验证真实防护能不能扛住。
程序 程序是一步一步怎么做。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
渗透测试 渗透测试在授权范围内模拟攻击验证风险。
学习单元 44 / PDF P1011

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

extracted and read. For example, the sekurlsa::logonpasswords command will display the user ID and password for users currently logged on to the system. It's also possible to obtain the password hashes. Extract Kerberos Tickets Mimikatz includes a Kerberos module that can access the Kerberos API. The upcoming “Kerberos Exploitation Attack” section discusses several ticket-based attacks that are possible using Mimikatz and similar tools. Extract Certificates and Private Keys Mimikatz includes a Windows CryptoAPI module. This module can extract certificates on a system as well as the private keys associated with these certificates.

Read LM and NTLM Password Hashes in Memory Although it is possible to prevent Windows systems from storing LM hashes in the local Security Account Manager database, some Windows systems still create the hash and store it in memory. Read Cleartext Passwords in Local Security Authority Subsystem Service (LSASS) The LSASS doesn't normally store passwords in cleartext, but malware can modify the registry to enable digest authentication. Once enabled, Mimikatz can read the passwords. List Running Processes Attackers can use this capability to identify processes that they can use to pivot their attack against other targets. Attackers can run Mimikatz as fileless malware on remote systems.

One way is with a PowerShell script, such as Invoke-Mimikatz, that loads Mimikatz in memory without saving the Mimikatz files on disk. Mimikatz can then perform any of its functions on the remote computer. Although attackers and security professionals may know Mimikatz as a famous and magical tool, it isn't as well known by typical IT professionals. The danger here is that the fixes to block Mimikatz aren't implemented consistently, allowing attackers to use it frequently. Pass-the-Hash Attack A pass-the-hash (PtH) attack allows an attacker to send a captured hash of a password to an authenticating service.

Normally, the user would enter a password on the client, and the client would then create the password hash and send the hash. In this attack, the attacker doesn't need to know the actual password.

中文直译 / 整理

被提取和读取。 例如,sekurlsa::logonpasswords 命令将显示当前登录系统 的用户的用户ID和密码。 还可以获取密码哈希值。 提取 Kerberos 票据 Mimikatz 包含一个 Kerberos 模块,可访问 Kerberos API。 接下来的“Kerberos 攻击”部分将讨论使用 Mimikatz 和类 似工具可能实现的几种基于票据的攻击。 提取证书和私钥 Mimikatz 包含一个 Windows CryptoAPI 模块。 该模块可以 提取系统上的证书以及与这些证书关联的私钥。 读取内存中的 LM 和 NTLM 密码哈希 尽管可以防止 Windows 系统将 LM 哈 希存储在本地安全账户管理器数据库中,但某些 Windows 系统仍会生成哈希 并将其存储在内存中。 读取本地安全机构子系统服务 (LSASS) 中的明文密码 LSASS 通常不会以明文形 式存储密码,但恶意软件可以通过修改注册表来启用摘要身份验证。 一旦启用, Mimikatz 就可以读取这些密码。 列出正在运行的进程 攻击者可以利用此功能识别可用于向其他目标横向移动的 进程。

攻击者可以在远程系统上以无文件恶意软件的形式运行 Mimikatz。 一种方法是使用 PowerShell 脚本,例如 Invoke-Mimikatz,该脚本将 Mimikatz 加载到内存中,而无需将 Mimikatz 文件保存到磁盘。 随后,Mimikatz 可以在远程计算机上执行其任何功能。 尽管攻击者和安全专业人士可能将 Mimikatz 视为一种著名而神奇的工具, 但普通 IT 专业人员对此并不熟悉。 这里的风险在于,阻止 Mimikatz 的修 复措施并未一致实施,使得攻击者能够频繁使用它。 Pass‑the‑Hash 攻击 传递哈希(PtH)攻击允许攻击者将捕获的密码哈希发送到身份验证服务。 通 常,用户会在客户端输入密码,客户端随后生成密码哈希并发送该哈希。 在此 攻击中,攻击者无需知道实际密码。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

哈希:哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。

数字证书:数字证书把身份和公钥绑定起来,由可信 CA 签发。

身份:身份是主体在系统中的标识。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

哈希本身不提供机密性;它主要用于完整性校验。

证书不是密钥本身,而是身份与公钥的可信绑定。

身份管理题要区分识别、认证、授权、审计。

日志要保护完整性、时间同步和访问控制。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
数字证书 数字证书把身份和公钥绑定起来,由可信 CA 签发。
身份 身份是主体在系统中的标识。
日志 日志记录系统和用户活动,用于监控、审计和调查。
恶意代码 恶意代码包括病毒、蠕虫、木马、勒索软件等。
学习单元 45 / PDF P1012

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

Penetration testers and attackers use Mimikatz and other tools (such as DCSync) to capture hashes, and then use the hashes to simulate the login process. They can enter the user ID and the hash into the tool and send them to an authentication server. PtH attacks are primarily associated with Windows systems using NT LAN Manager (NTLM) or Kerberos, but other systems can also be vulnerable. After attackers gain access to a single system in a network, they can then launch a PtH attack. The overall steps are as follows: 1. Use a tool such as Mimikatz to capture user hashes. These are stored in the lsass.exe process running in memory.

The Mimikatz command (entered on one line) is: "privilege::debug" "log passthehash.log" "sekurlsa::logonpasswords" If anyone with administrator privileges recently logged on, it will capture the administrator's user ID and hash. 2. The attacker then uses the credentials to authenticate. The attacker can log on as the user on the local system or remotely to an authentication server such as a domain controller in a Microsoft Active Directory (AD) domain. 3. Once logged in, the attacker can use the account to move laterally throughout the network. As a simple example, the PsExec tool can execute commands on remote systems.

Just opening the command prompt on the remote system gives the attacker the ability to run simple commands to perform more network reconnaissance. Of course, the attacker can repeat these three steps on the remote system.

中文直译 / 整理

渗透测试人员和攻击者使用Mimikatz和其他工具(如DCSync)捕获哈希, 然后利用这些哈希模拟登录过程。 他们可以将用户ID和哈希输入工具中,并将 其发送到身份验证服务器。 PtH攻击主要与使用NT LAN Manager(NTLM) 或Kerberos的Windows系统相关,但其他系统也可能存在漏洞。 攻击者在获取网络中单个系统的访问权限后,便可发起PtH攻击。 整体步骤如 下: 1. 使用Mimikatz等工具捕获用户哈希值。 这些哈希值存储在内存中运行的 lsass.exe进程内。 Mimikatz命令(单行输入)为: "privilege::debug" "log passthehash.log" " sekurlsa::logonpasswords" 如果最近有具有管理员权限的用户登录,系统将捕获管理员的用户 ID和哈希值。 2. 攻击者随后使用这些凭据进行身份验证。 攻击者可以在本地系统上以该用户身份 登录,或远程登录到身份验证 服务器,例如Microsoft Active Directory(AD)域中的域控制器。 3. 登录后,攻击者可以利用该账户在整个网络中横向移动。

作为一个简单示 例,PsExec工具可在远程系统上执行命令。 仅在远程系统上打开命令提示 符,就使攻击者能够运行简单命令以进行更多网络侦察。 当然,攻击者可以 在远程系统上重复这三个步骤。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

渗透测试:渗透测试让可信团队模拟攻击,验证真实防护能不能扛住。

认证:认证是验证“你是不是你声称的那个人”。

NIST:NIST 提供美国常用安全标准、框架和指南。

哈希:哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

渗透测试通常比漏洞扫描更深入,但也更需要授权和范围控制。

密码、令牌、生物特征、多因素认证都服务认证。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

哈希本身不提供机密性;它主要用于完整性校验。

身份管理题要区分识别、认证、授权、审计。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
渗透测试 渗透测试让可信团队模拟攻击,验证真实防护能不能扛住。
认证 认证是验证“你是不是你声称的那个人”。
NIST NIST 提供美国常用安全标准、框架和指南。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
身份 身份是主体在系统中的标识。
渗透测试 渗透测试在授权范围内模拟攻击验证风险。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 46 / PDF P1013

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

A popular tool used in step 3 on Microsoft systems is PsExec. PsExec is part of the Sysinternals process utilities (PsTools), a free download offered by Microsoft at http://learn.microsoft.com/enus/sysinternals. PsTools is a suite of command-line utilities used to connect to remote computers. Administrators use it to access the command prompt on remote systems. They can then run any command prompt commands, list processes, reboot computers, dump event logs, and more. There are several steps administrators can take to mitigate PtH attacks. However, this is a moving target.

Attackers are continually looking at ways to bypass the mitigations, and Microsoft has been providing updates to limit PtH attacks. The best protection is to prevent the infection of the first computer. If someone is logged on to the first system with administrator privileges, it's game over. The attacker can use those privileges to access any other system in the network. However, even if an administrator has not logged on to that machine, the attacker can still move laterally through the network. By repeating the steps on every other system on the network, the attacker is sure to find one where an administrator recently logged on.

Kerberos Exploitation Attack Kerberos was discussed earlier within the context of single sign-on (SSO) in the earlier section “Implementing SSO on Internal Networks.” Microsoft's AD uses Kerberos as the primary authentication protocol. Unfortunately, Kerberos is susceptible to several exploitation attacks using open source tools such as Mimikatz. Other tools often used in Kerberos exploitation attacks are Rubeus and Impacket. Rubeus is an open source tool written in C# and used on Windows systems. Impacket is an open source collection of modules written in Python and used on Linux systems.

Kerberos exploitation attacks include the following: Overpass the Hash This is an alternative to the PtH attack used when NTLM is disabled on a network. Even if NTLM is disabled on a network,

中文直译 / 整理

在Microsoft系统上,步骤3中常用的一个工具是PsExec。 PsExec是 Sysinternals进程工具集(PsTools)的一部分,由Microsoft免费提供,下 载地址为http://learn.microsoft.com/enus/sysinternals。 PsTools是一 套命令行工具,用于连接远程计算机。 管理员使用它来访问远程系统的命令 提示符,然后可以运行任何命令提示符命令、列出进程、重启计算机、导出 事件日志等。 管理员可以采取若干措施来缓解PtH攻击。 然而,这是一项动态目标。 攻击者 不断寻找绕过这些缓解措施的方法,而微软也持续提供更新以限制PtH攻击。 最佳防护措施是防止第一台计算机被感染。 如果有人以管理员权限登录到第一台系统,那就全完了。 攻击者可以利用这些 权限访问网络中的任何其他系统。 然而,即使管理员未曾登录该机器,攻击者 仍能通过网络进行横向移动。 通过在网络上的每一台其他系统上重复这些步骤, 攻击者几乎一定能找到一台最近有管理员登录的机器。 Kerberos利用攻击 Kerberos曾在前文“在内部网络上实施单点登录”部分中作为单点登录( SSO)的背景进行讨论。

微软的AD使用Kerberos作为主要的身份验证协议。 不幸的是,Kerberos容易受到诸如Mimikatz等开源工具的多种利用攻击。 在Kerberos利用攻击中常使用的其他工具包括Rubeus和Impacket。 Rubeus是一个用C#编写的开源工具,用于Windows系统。 Impacket是一个 用Python编写的开源模块集合,用于Linux系统。 Kerberos利用攻击包括以下几种: 越过哈希 这是在网络上禁用NTLM时用于替代PtH攻击的方法。 即使网络上禁用了 NTLM,

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

NIST:NIST 提供美国常用安全标准、框架和指南。

哈希:哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。

身份:身份是主体在系统中的标识。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

哈希本身不提供机密性;它主要用于完整性校验。

身份管理题要区分识别、认证、授权、审计。

政府/军方、机密级别、标签、不可由用户随意改通常是 MAC。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
NIST NIST 提供美国常用安全标准、框架和指南。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
身份 身份是主体在系统中的标识。
强制访问控制 MAC MAC 由系统根据标签和级别强制决定访问。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 47 / PDF P1014

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

systems still create an NTLM hash and store it in memory. An attacker can request a ticket-granting ticket (TGT) with the user's hash and use this TGT to access network resources. This is sometimes called pass the key. Pass the Ticket In a pass the ticket attack, attackers attempt to harvest tickets held in the lsass.exe process. After harvesting the tickets, attackers inject the ticket to impersonate a user. Silver Ticket A silver ticket uses the captured NTLM hash of a service account to create a ticket-granting service (TGS) ticket. Service accounts (user accounts used by services) use TGS tickets instead of TGT tickets.

The silver ticket grants the attacker all the privileges granted to the service account. Golden Ticket If an attacker obtains the hash of the Kerberos service account (KRBTGT), they can create tickets at will within AD. This gives them so much power it is referred to as having a golden ticket. The KRBTGT account encrypts and signs all Kerberos tickets within a domain with a hash of its password. Because the password never changes, the hash never changes, so an attacker needs to learn the hash only once. If an attacker gains access to a domain administrator account, they can then log on to a domain controller remotely and run Mimikatz to extract the hash.

This allows attackers to create forged Kerberos tickets and request ticket-granting service (TGS) tickets for any service. Kerberos Brute Force Attackers can use the Python script kerbrute.py on Linux systems or Rubeus on Windows systems. In addition to guessing passwords, these tools can guess usernames. Kerberos reports whether or not usernames are valid. ASREPRoast ASREPRoast identifies users that don't have Kerberos preauthentication enabled. Kerberos preauthentication is a security feature within Kerberos that helps prevent password-guessing attacks. When preauthentication is disabled, attackers can send an authentication request to a KDC.

The KDC will reply with a TGT, encrypted with the client's password as the key. The attacker can then perform an offline attack to decrypt the ticket and discover the client's password. Kerberoasting Kerberoasting collects encrypted TGS tickets. Service accounts (user accounts used by services) use TGS tickets instead of TGT tickets. After harvesting these tickets, attackers can crack them offline. A TGS ticket is used by services running in the context of a user account. This attack attempts to find users that don't have Kerberos

中文直译 / 整理

系统仍会创建NTLM哈希并将其存储在内存中。 攻击者可以使用用户的哈希请求 票据授予票据(TGT),并使用此TGT访问网络资源。 这有时被称为传递密钥。 传递票据 在传递票据攻击中,攻击者试图从 lsass.exe 进程中窃取票据。 窃取 票据后,攻击者会注入该票据以冒充用户。 银票 银票使用已捕获的服务账户的 NTLM 哈希来创建票据授予服务(TGS)票 据。 服务账户(由服务使用的用户账户)使用 TGS 票据而非 TGT 票据。 银票赋 予攻击者服务账户所拥有的一切权限。 金票 如果攻击者获得了 Kerberos 服务账户(KRBTGT)的哈希,他们就可以 在 Active Directory 中随意创建票据。 这赋予了攻击者极大的权限,因此被称 为拥有 金票。 KRBTGT 账户使用其密码的哈希对域内所有 Kerberos 票据进 行加密和签名。 由于密码永不更改,其哈希也永不改变,因此攻击者只需获取 一次该哈希即可。 如果攻击者获得了域管理员账户的访问权限,他们便可远程 登录域控制器并运行 Mimikatz 来提取该哈希。 这使攻击者能够伪造 Kerberos 票据,并为任何服务请求票据授予服务(TGS)票据。

Kerberos 暴力破解 攻击者可以在 Linux 系统上使用 Python 脚本 kerbrute.py ,或在 Windows 系统上使用 Rubeus。 除了猜测密码外,这些工 具还可以猜测用户名。 Kerberos 会报告用户名是否有效。 ASREPRoast ASREPRoast 用于识别未启用 Kerberos 预身份验证的用户。 Kerberos 预身份验证是 Kerberos 中的一项安全功能,有助于防止密码猜测 攻击。 当预身份验证被禁用时,攻击者可以向 KDC 发送身份验证请求。 K DC 将返回一个 TGT,该 TGT 使用客户端密码作为密钥进行加密。 攻击者随后 可以离线破解该票据以发现客户端密码。 Kerberoasting Kerberoasting 收集加密的 TGS 票据。 服务账户(由服务使用的 用户账户)使用 TGS 票据而非 TGT 票据。 在获取这些票据后,攻击者可以离线破解 它们。 TGS 票据由在用户账户上下文中运行的服务使用。 此攻击试图查找未启用 Kerberos

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

加密:加密把内容变成未授权者看不懂的形式。

NIST:NIST 提供美国常用安全标准、框架和指南。

哈希:哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

加密主要保护机密性,也可配合签名、哈希支持完整性和真实性。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

哈希本身不提供机密性;它主要用于完整性校验。

身份管理题要区分识别、认证、授权、审计。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
加密 加密把内容变成未授权者看不懂的形式。
NIST NIST 提供美国常用安全标准、框架和指南。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
身份 身份是主体在系统中的标识。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 48 / PDF P1015

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

preauthentication. Sniffer Attack Sniffing captures packets sent over a network with the intent of analyzing the packets. A sniffer (also called a packet analyzer or protocol analyzer) is a software application that captures traffic traveling over the network. Administrators use sniffers to analyze network traffic and troubleshoot problems. Of course, attackers can also use sniffers. A sniffer attack (also called a snooping attack or eavesdropping attack) occurs when an attacker uses a sniffer to capture information transmitted over a network. They can capture and read any data sent over a network in cleartext, including passwords.

Wireshark is a popular protocol analyzer available as a free download. Figure 14.4 shows Wireshark with the contents of a relatively small capture and demonstrates how attackers can capture and read data sent over a network in cleartext. FIGURE 14.4 Wireshark capture The top pane shows packet 260 selected, and you can see the contents of this packet in the bottom pane. It includes the text User: DarrilGibson

中文直译 / 整理

预身份验证的用户。 嗅探攻击 嗅探会捕获通过网络传输的数据包,以分析这些数据包。 嗅探器(也称为数据 包分析器或协议分析器)是一种捕获网络传输流量的软件应用程序。 管理员使 用嗅探器来分析网络流量并排查问题。 当然,攻击者也可以使用嗅探器。 当攻击者使用嗅探器捕获通过网络传输的 信息时,就会发生嗅探攻击(也称为窥探攻击或窃听攻击)。 他们可以捕获 并读取网络上传输的任何明文数据,包括密码。 Wireshark 是一个免费下载的流行协议分析器。 图 14.4展示了 Wireshark 在 捕获相对较小数据包时的内容,并演示了攻击者如何捕获和读取网络上传输的 明文数据。 图 14.4 Wireshark 捕获 顶部窗格显示已选中的第260号数据包,您可以在底部窗格中查看该数据包的内容。 其中包含文本 User: DarrilGibson

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

NIST:NIST 提供美国常用安全标准、框架和指南。

程序:程序是一步一步怎么做。

身份:身份是主体在系统中的标识。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

Step-by-step、SOP 常对应 procedure。

身份管理题要区分识别、认证、授权、审计。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
NIST NIST 提供美国常用安全标准、框架和指南。
程序 程序是一步一步怎么做。
身份 身份是主体在系统中的标识。
学习单元 49 / PDF P1016

保护机制:分层、隐藏、加密和边界

单一控制不够,安全靠多个机制配合。

教材原文段落

Password: IP@$$edCi$$P. If you look at the first packet in the top pane (packet number 250), you can see that the name of the opened file is CISSP Secrets.txt. The following techniques can prevent successful sniffing attacks: Encrypt all sensitive data (including passwords) sent over a network. Attackers cannot easily read encrypted data with a sniffer. For example, Kerberos encrypts tickets to prevent attacks, and attackers cannot easily read the contents of these tickets with a sniffer. Avoid the use of insecure protocols such as HTTP, FTP, and Telnet and use secure protocols such as HTTPS, SFTP, and SSH. Use onetime passwords when encryption is not possible or feasible.

Onetime passwords prevent the success of sniffing attacks because they are only used once. Even if an attacker captures a onetime password, the attacker is not able to use it. Protect network devices with physical security. Controlling physical access to routers and switches prevents attackers from installing sniffers on these devices. Monitor the network for signatures from sniffers. Intrusion detection systems can monitor the network for sniffers and will raise an alert when they detect a sniffer on the network. Spoofing Attacks Spoofing (also known as masquerading or impersonation) is pretending to be something, or someone, else. There is a wide variety of spoofing attacks.

As an example, an attacker can use someone else's credentials to enter a building or access an IT system. Some applications spoof legitimate login screens. One attack brought up a login screen that looked exactly like the operating system logon screen. When the user entered credentials, the fake application captured the user's credentials, and the attacker used them later. Some phishing attacks mimic this with bogus websites. In an IP spoofing attack, the attacker replaces a valid source IP address with a false one to hide their identity or to impersonate a trusted system. Other types of spoofing used in access control attacks include email spoofing and phone number spoofing:

中文直译 / 整理

密码:IP@$$edCi$$P。 如果您查看顶部窗格中的第一个数据包(第250号数据 包),可以看到打开的文件名为 CISSPSecretstxt。 以下技术可以防止成功的嗅探攻击: 加密通过网络发送的所有敏感数据(包括密码)。 攻击者无法轻易使用嗅 探器读取加密数据。 例如,Kerberos 会对票据进行加密以防止攻击,攻 击者也无法轻易使用嗅探器读取这些票据的内容。 避免使用不安全的协议,如 HTTP、FTP 和 Telnet,而应使用安全协议, 如 HTTPS、SFTP 和 SSH。 当无法或难以使用加密时,使用一次性密码。 一次性密码可防止嗅探攻击 成功,因为它们仅使用一次。 即使攻击者捕获了一次性密码,也无法使用 它。 通过物理安全措施保护网络设备。 控制对路由器和交换机的物理访问,可 防止攻击者在这些设备上安装嗅探器。 监控网络中嗅探器的特征。 入侵检测系统可以监控网络中的嗅探器,并在 检测到网络上的嗅探器时发出警报。 欺骗攻击 欺骗(也称为伪装或冒充)是指假装成其他事物或他人。 欺骗攻击有多种类型。 例如,攻击者可以使用他人的凭证进入建筑物或访问IT系统。 一些应用程序会 伪装成合法的登录界面。

其中一种攻击会弹出一个与操作系统登录界面完全相 同的登录屏幕。 当用户输入凭证时,这个伪造的应用程序会捕获用户的凭证, 攻击者随后使用这些凭证。 一些网络钓鱼攻击也通过虚假网站模仿这种手法。 在IP欺骗攻击中,攻击者将有效的源IP地址替换为虚假的IP地址,以隐藏其身 份或冒充受信任的系统。 访问控制攻击中使用的其他欺骗类型包括电子邮件欺 骗和电话号码欺骗:

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:单一控制不够,安全靠多个机制配合。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

加密:加密把内容变成未授权者看不懂的形式。

程序:程序是一步一步怎么做。

身份:身份是主体在系统中的标识。

日志:日志记录系统和用户活动,用于监控、审计和调查。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“保护机制:分层、隐藏、加密和边界”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

加密主要保护机密性,也可配合签名、哈希支持完整性和真实性。

Step-by-step、SOP 常对应 procedure。

身份管理题要区分识别、认证、授权、审计。

日志要保护完整性、时间同步和访问控制。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
加密 加密把内容变成未授权者看不懂的形式。
程序 程序是一步一步怎么做。
身份 身份是主体在系统中的标识。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 50 / PDF P1017

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

Email Spoofing Spammers spoof the email address in the From field to make an email appear to come from another source. Phishing attacks often do this to trick users into thinking the email is coming from a trusted source. The Reply To field can be a different email address, and email programs typically don't display this until a user replies to the email. By this time, they often ignore it or don't notice it. Phone Number Spoofing Caller ID services allow users to identify the phone number of any caller. Phone number spoofing allows a caller to replace this number with another one, which is a common technique on Voice over Internet Protocol (VoIP) systems.

One technique attackers have been using recently is to replace the actual calling number with a phone number that includes the same area code as the called number. This makes it look like it's a local call. Core Protection Methods The following list summarizes many security precautions that protect against access control attacks. However, it's important to realize that this isn't a comprehensive list of protections against all types of attacks. You'll find additional controls that help prevent attacks covered throughout this book. Control physical access to systems. An old saying related to security is that if an attacker has unrestricted physical access to a computer, the attacker owns it.

If attackers can gain physical access to an authentication server, they can steal the password file in a very short time. Once they have the password file, they can crack the passwords offline. If attackers successfully download a password file, all passwords should be considered compromised. Control electronic access to files. Tightly control and monitor electronic access to all important data, including files and customer databases containing passwords. End users and those who are not account administrators have no need to access a password database file for daily work tasks. Security professionals should investigate any unauthorized access to password database files immediately.

Hash and salt passwords. Use protocols such as Argon2, bcrypt, and PBKDF2 to salt passwords and consider using an external pepper to further protect passwords. Combined with the use of strong passwords, salted and peppered passwords are extremely difficult to crack using rainbow tables or other methods.

中文直译 / 整理

电子邮件欺骗 垃圾邮件发送者伪造发件人字段中的电子邮件地址,使邮件看起 来来自其他来源。 钓鱼攻击通常会这样做,以诱使用户认为邮件来自可信来源。 回复地址字段可以是不同的电子邮件地址,而电子邮件程序通常不会显示该地址, 直到用户回复邮件为止。 到那时,他们往往忽略它或根本没有注意到。 电话号码伪装来电显示服务允许用户识别任何来电者的电话号码。 电话号码伪装 允许来电者将此号码替换为另一个号码,这是语音互联网协议(VoIP)系统上常 用的技术。 最近,攻击者常用的一种技术是将实际的来电号码替换为与被叫号码 区号相同的电话号码。 这使得来电看起来像是本地呼叫。 核心保护方法 以下列表总结了许多保护措施,用于防范访问控制攻击。 然而,重要的是要认 识到,这并非涵盖所有类型攻击的完整防护清单。 您将在本书的其他部分找到 更多有助于防范相关攻击的控制措施。 控制对系统的物理访问。 与安全相关的一句老话是:如果攻击者对计算机拥有不 受限制的物理访问权限,那么该计算机就属于攻击者。 如果攻击者能够获得对身 份验证服务器的物理访问权限,他们可以在极短时间内窃取密码文件。 一旦他们 获取了密码文件,就可以离线破解密码。

如果攻击者成功下载了密码文件,则所 有密码都应被视为已泄露。 控制对文件的电子访问。 严格控制并监控对所有重要数据(包括包含密码的文件 和客户数据库)的电子访问。 终端用户和非账户管理员在日常工作中无需访问密 码数据库文件。 安全专业人员应立即调查任何对密码数据库文件的未授权访问。 哈希并加盐密码。 使用 Argon2、bcrypt 和 PBKDF2 等协议对密码加盐,并 考虑使用外部 pepper 进一步保护密码。 结合使用强密码,加盐并加 pepper 的密码极难通过彩虹表或其他方法破解。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

NIST:NIST 提供美国常用安全标准、框架和指南。

程序:程序是一步一步怎么做。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

Step-by-step、SOP 常对应 procedure。

哈希本身不提供机密性;它主要用于完整性校验。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
NIST NIST 提供美国常用安全标准、框架和指南。
程序 程序是一步一步怎么做。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
学习单元 51 / PDF P1018

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

Use password masking. Ensure that applications don't display passwords in cleartext by default. Instead, mask the display of the password by displaying an alternate character such as an asterisk (*). This reduces shoulder surfing attempts, but users should be aware that an attacker might be able to learn the password by watching the user type the keys on the keyboard. When a system requires users to enter excessively long passwords, developers should consider an option to show the passwords in cleartext. Deploy multifactor authentication (MFA). Deploy multifactor authentication, such as using biometrics or token devices.

When an organization uses MFA, attackers are not able to access a network if they discover just a password. Many online services, such as Google, now offer multifactor authentication as an additional measure of protection. Use account lockout controls. Account lockout controls help prevent online password attacks. They lock an account after the incorrect password is entered a predefined number of times. Account lockout controls typically use clipping levels that ignore some user errors but take action after reaching a threshold. For example, it's common to allow a user to enter the incorrect password as many as five times before locking the account.

For systems and services that don't support account lockout controls, such as most File Transfer Protocol (FTP) servers, extensive logging along with an intrusion detection system (IDS) can protect the server. Account lockout controls help prevent an attacker from guessing a password in an online account. However, this does not prevent an attacker from using a password-cracking tool against a stolen database file containing hashed passwords. Use last logon notification. Many systems display a message including the time, date, and location (such as the computer name or IP address) of the last successful logon.

If users pay attention to this message, they might notice if someone else logged on to their account. For example, if a user logged on to an account last Friday but the last logon notification indicates someone accessed the account on Saturday, it indicates a problem. Users who suspect someone else is logging on to their accounts can change their passwords or report the issue to a system administrator. If it occurs with an organizational

中文直译 / 整理

使用密码掩码。 确保应用程序默认不以明文显示密码。 相反,通过显示替代字符 (如星号 *)来掩码密码显示。 这可以减少窥视攻击,但用户应意识到,攻击者 可能通过观察用户在键盘上输入按键来获取密码。 当系统要求用户输入过长的密 码时,开发者应考虑提供以明文显示密码的选项。 部署多因素身份验证(MFA)。 部署多因素身份验证,例如使用生物识别或 令牌设备。 当组织使用MFA时,攻击者即使仅获取了密码,也无法访问网络。 许多在线服务(如Google)现在都将多因素身份验证作为额外的保护措施。 使用账户锁定控制。 账户锁定控制有助于防止在线密码攻击。 当用户连续输入 错误密码达到预设次数时,系统将锁定该账户。 账户锁定控制通常采用截断级 别,忽略部分用户误操作,但在达到阈值后采取行动。 例如,通常允许用户最 多输入五次错误密码后再锁定账户。 对于不支持账户锁定控制的系统和服务 (如大多数文件传输协议(FTP)服务器),可通过详尽的日志记录和入侵检 测系统(IDS)来保护服务器。 账户锁定控制有助于防止攻击者在线猜测密码。 然而,这并不能阻止 攻击者使用密码破解工具针对被盗的包含哈希密码的数据库文件。 使用上次登录通知。

许多系统会显示一条消息,其中包含上次成功登录的时间、 日期和位置(例如计算机名称或IP地址)。 如果用户关注此消息,他们可能会发 现是否有其他人登录了他们的账户。 例如,如果用户上周五登录了账户,但上次 登录通知显示有人在周六访问了该账户,则表明存在问题。 怀疑他人登录其账户 的用户可以更改密码或向系统管理员报告该问题。 如果发生在组织

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

NIST:NIST 提供美国常用安全标准、框架和指南。

程序:程序是一步一步怎么做。

哈希:哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

Step-by-step、SOP 常对应 procedure。

哈希本身不提供机密性;它主要用于完整性校验。

检测是 IDS,主动阻断更像 IPS。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
NIST NIST 提供美国常用安全标准、框架和指南。
程序 程序是一步一步怎么做。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
入侵检测系统 IDS IDS 负责发现可疑行为并告警,一般不直接阻断。
身份 身份是主体在系统中的标识。
多因素认证 MFA 使用至少两类不同认证因素,提高认证可信度。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 52 / PDF P1019

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

account, users should report it following the organization's security incident reporting procedures. Educate users about security. Properly trained users have a better understanding of security and the benefit of using stronger passwords. Inform users that they should never share or write down their passwords. Administrators might write down long, complex passwords for the most sensitive accounts, such as administrator or root accounts, and store these passwords in a vault or safety deposit box. Offer tips to users on how to create strong passwords, such as with password phrases, and how to prevent shoulder surfing.

Also, let users know the dangers of using the same password for all online accounts, such as banking accounts and gaming accounts. When a user uses the same passwords for all these accounts, a successful attack on a gaming system can give attackers access to the user's bank accounts. Users should also know about common social engineering tactics. Summary This chapter covered several different access control models. With a discretionary access control (DAC) model, all objects have an owner, and the owner has full control over the object. Role-based access control (RBAC) models use roles or groups that often match the hierarchy of an organization.

Administrators place users into roles and assign privileges to the roles based on jobs or tasks. Rule-based access controls use global rules that apply to all subjects equally. Attribute-based access control (ABAC) models use policies that include attributes to assign access. Mandatory access control (MAC) models require all objects to have labels, and access is based on subjects having a matching label. Risk-based access controls evaluate the environment and the situation and make risk-based decisions based on security policies. The emerging zero-trust model presumes no inherent trust and continuously verifies each request against dynamic policies.

Several internet-based authentication systems provide users with single signon (SSO) capabilities. SAML is an XML-based standard used to exchange authentication and authorization information. OAuth 2.0 is an authorization framework. OIDC uses OAuth 2.0, and it builds on the technologies used by OpenID. It uses a JSON Web Token as an ID token. Kerberos is a popular SSO authentication protocol using tickets for authentication in internal networks. It uses a database of subjects, symmetric

中文直译 / 整理

账户中,用户应按照组织的安全事件报告程序进行报告。 向用户普及安全知识。 经过适当培训的用户对安全性和使用更强密码的好处有 更深入的理解。 告知用户绝不可分享或记录他们的密码。 管理员可能会为最敏 感的账户(如管理员或root账户)记录长而复杂的密码,并将这些密码存储在 保险库或安全存款箱中。 向用户提供创建强密码的建议,例如使用密码短语, 以及如何防止窥视。 同时,让用户了解在所有在线账户(如银行账户和游戏账 户)中使用相同密码的危险性。 当用户在所有这些账户中使用相同的密码时, 对游戏系统的成功攻击可能使攻击者获得用户银行账户的访问权限。 用户还应 了解常见的社会工程学手段。 摘要 本章介绍了多种不同的访问控制模型。 在自主访问控制(DAC)模型中,所有 对象都有所有者,所有者对该对象拥有完全控制权。 基于角色的访问控制( RBAC)模型使用角色或组,这些角色或组通常与组织的层级结构相匹配。 管 理员将用户分配到角色,并根据工作或任务为角色分配权限。 基于规则的访问 控制使用适用于所有主体的全局规则。 基于属性的访问控制(ABAC)模型使 用包含属性的策略来分配访问权限。

强制访问控制(MAC)模型要求所有对象 都带有标签,访问权限基于主体是否具有匹配的标签。 基于风险的访问控制评 估环境和情境,并根据安全策略做出基于风险的决策。 新兴的零信任模型假设 不存在固有信任,并持续针对动态策略验证每个请求。 多个基于互联网的认证系统为用户提供单点登录(SSO)功能。 SAML 是一种 用于交换认证和授权信息的基于 XML 的标准。 OAuth 2.0 是一种授权框架。 OIDC 使用 OAuth 2.0,并在其基础上构建了 OpenID 所使用的技术。 它使用 JSON Web Token 作为 ID 令牌。 Kerberos 是一种流行的单点登录身份验证协议,使用票据在内部网络中进行身份 验证。 它使用主体数据库、对称

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

NIST:NIST 提供美国常用安全标准、框架和指南。

标准:标准给出必须满足的最低要求。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

Minimum level、mandatory requirement 常对应 standard。

Step-by-step、SOP 常对应 procedure。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
NIST NIST 提供美国常用安全标准、框架和指南。
标准 标准给出必须满足的最低要求。
程序 程序是一步一步怎么做。
对称加密 对称加密使用同一把密钥加密和解密,速度快但密钥分发难。
OSI 模型 OSI 用七层结构理解网络通信,从物理层到应用层。
入侵防御系统 IPS IPS 可检测并主动阻断恶意流量。
学习单元 53 / PDF P1020

DAD、过度保护、真实性、不可否认性与 AAA

CIA 是目标,DAD 是失败表现,AAA 是访问控制和问责链。

教材原文段落

cryptography, and time synchronization of systems to issue tickets. RADIUS and TACACS+ are common authentication, authorization, and accounting (AAA) protocols. Access control attacks include privilege escalation techniques to gain more rights and permissions. Passwords are a common authentication mechanism, and several types of attacks attempt to crack passwords. Password attacks include dictionary attacks, brute-force attacks, spraying attacks, credential stuffing attacks, birthday attacks, rainbow table attacks, pass-the-hash attacks, Kerberos exploitation attacks, and sniffer attacks. Study Essentials Identify common authorization mechanisms.

Authorization ensures that the requested activity or object access is possible, given the authenticated identity's privileges. For example, it ensures that users with appropriate privileges can access files and other resources. Common authorization mechanisms include implicit deny, access control lists, access control matrices, capability lists, constrained interfaces, content-dependent controls, and context-dependent controls. These mechanisms enforce security principles such as need to know, the principle of least privilege, and separation of duties. Describe key concepts of the discretionary access control (DAC) model.

With the DAC model, all objects have owners, and the owners can modify permissions. Each object has an access control list defining permissions, such as read and modify for files. All other models are nondiscretionary models, and administrators centrally manage nondiscretionary controls. Describe key concepts of the role-based access control (RBAC) model. RBAC models use job roles, and users gain privileges when administrators place their accounts into a role or group. Taking a user out of a role removes the permissions granted through the role membership. Describe key concepts of the rule-based access control model.

Rule-based access control models use a set of rules, restrictions, or filters to determine access. A firewall's access control list includes a list of rules that define what access is allowed and what access is blocked. Describe key concepts of the attribute-based access control (ABAC) model. An ABAC model is an advanced implementation of a rule-based

中文直译 / 整理

加密和系统的时间同步来发放票据。 RADIUS 和 TACACS+ 是常见的身份验 证、授权和计费(AAA)协议。 访问控制攻击包括权限提升技术,以获取更多权利和权限。 密码是一种常见的 身份验证机制,多种类型的攻击试图破解密码。 密码攻击包括字典攻击、暴力 破解攻击、密码喷洒攻击、凭证填充攻击、生日攻击、彩虹表攻击、传递哈希 攻击、Kerberos利用攻击和嗅探攻击。 学习要点 识别常见的授权机制。 授权确保在给定已验证身份的权限下,所请求的活动或对 象访问是可能的。 例如,它确保具有适当权限的用户可以访问文件和其他资源。 常见的授权机制包括隐式拒绝、访问控制列表、访问控制矩阵、能力列表、受限 接口、内容相关控制和上下文相关控制。 这些机制强制执行安全原则,如按需知 晓、最小权限原则和职责分离。 描述自主访问控制(DAC)模型的关键概念。 在DAC模型中,所有对象都有所 有者,所有者可以修改权限。 每个对象都有一个访问控制列表,定义权限,例 如文件的读取和修改权限。 所有其他模型均为非自主模型,管理员集中管理非 自主控制。 描述基于角色的访问控制(RBAC)模型的关键概念。

RBAC 模型使用职位角色, 当管理员将用户的账户分配到某个角色或组时,用户便获得相应的权限。 将用户 从角色中移除会撤销通过角色成员资格授予的权限。 描述基于规则的访问控制模型的关键概念。 基于规则的访问控制模型使用一 组规则、限制或过滤器来确定访问权限。 防火墙的访问控制列表包含一组规 则,用于定义允许和阻止的访问权限。 描述基于属性的访问控制(ABAC)模型的关键概念。 ABAC模型是基于规则的

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:CIA 是目标,DAD 是失败表现,AAA 是访问控制和问责链。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

AAA 服务:AAA 常说认证、授权、记账,但完整链条还包括识别和审计。

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

加密:加密把内容变成未授权者看不懂的形式。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“DAD、过度保护、真实性、不可否认性与 AAA”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

Identification 是声称身份,Authentication 是证明身份,Authorization 是允许做什么。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

加密主要保护机密性,也可配合签名、哈希支持完整性和真实性。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
AAA 服务 AAA 常说认证、授权、记账,但完整链条还包括识别和审计。
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
加密 加密把内容变成未授权者看不懂的形式。
NIST NIST 提供美国常用安全标准、框架和指南。
密码学 密码学用数学方法保护信息,常用于机密性、完整性、认证和不可否认性。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
防火墙 防火墙根据规则控制网络流量进出。
学习单元 54 / PDF P1021

DAD、过度保护、真实性、不可否认性与 AAA

CIA 是目标,DAD 是失败表现,AAA 是访问控制和问责链。

教材原文段落

access control model, applying rules based on attributes. Software-defined networks (SDNs) often use an ABAC model. Describe key concepts of the mandatory access control (MAC) model. The MAC model uses labels to identify security domains. Subjects need matching labels to access objects. The MAC model enforces the need to know principle and supports a hierarchical environment, a compartmentalized environment, or a combination of both in a hybrid environment. It is frequently referred to as a lattice-based model. Describe key concepts of the risk-based access control model.

A risk-based access control model evaluates the environment and the situation and makes decisions based on software-based security policies. It can control access based on multiple factors such as a user's location, determined by IP addresses, whether the user has logged on with multifactor authentication, and the user's device. Advanced implementations can use machine learning to evaluate risk. Understand single sign-on methods used on the Internet. SSO is a mechanism that allows subjects to authenticate once and access multiple objects without authenticating again.

Security Assertion Markup Language (SAML) is an open XML-based standard used to exchange authentication and authorization information. OAuth 2.0 is an authorization framework described in RFC 6749 and supported by many online sites. OASIS maintains OpenID Connect (OIDC). OIDC provides both authentication and authorization by using the OAuth 2.0 framework and building on the OpenID standard. Describe Kerberos. Kerberos is the most common SSO method used within organizations. The primary purpose of Kerberos is authentication. It uses symmetric cryptography and tickets to prove identification and provide authentication.

One server synchronizes its time with a Network Time Protocol (NTP) server, and all clients within a network synchronize with the same time. Understand the purpose of AAA protocols. Several protocols provide centralized authentication, authorization, and accounting services. Network access (or remote access) systems use AAA protocols. For example, a network access server is a client to a RADIUS server, and the RADIUS server provides AAA services. RADIUS uses UDP and encrypts the password only. TACACS+ uses TCP and encrypts the entire session.

中文直译 / 整理

访问控制模型,根据属性应用规则。 软件定义网络(SDNs)通常使用ABAC模型。 描述强制访问控制(MAC)模型的关键概念。 MAC 模型使用标签来标识安全 域。 主体需要匹配的标签才能访问对象。 MAC 模型强制执行“需知”原则,并 支持分层环境、分区环境,或两者的混合环境。 它通常被称为基于格的模型。 描述基于风险的访问控制模型的关键概念。 基于风险的访问控制模型评估环境 和情境,并基于基于软件的安全策略做出决策。 它可以基于多个因素控制访问, 例如用户的地理位置(通过 IP 地址确定)、用户是否使用多因素认证登录,以 及用户的设备。 高级实现可以使用机器学习来评估风险。 了解互联网上使用的单点登录方法。 SSO 是一种允许主体进行一次身份验证后 即可访问多个对象而无需再次认证的机制。 安全断言标记语言(SAML)是一种 用于交换身份验证和授权信息的开放 XML 标准。 OAuth 2.0 是 RFC 6749 中描 述的授权框架,被许多在线网站支持。 OASIS 维护 OpenID Connect(OIDC)。 OIDC 通过使用 OAuth 2.0 框架并在 OpenID 标准基础上构建,提供身份验证 和授权功能。

描述Kerberos。 Kerberos是组织内最常用的单点登录(SSO)方法。 Kerberos的主要目的是身份验证。 它使用对称加密和票据来证明身份并提供 认证。 一台服务器与网络时间协议(NTP)服务器同步时间,网络中的所有 客户端均与同一时间源同步。 理解AAA协议的目的。 多种协议提供集中式的认证、授权和计费服务。 网络访 问(或远程访问)系统使用AAA协议。 例如,网络访问服务器是RADIUS服务器 的客户端,而RADIUS服务器提供AAA服务。 RADIUS使用UDP,仅加密密码。 TACACS+ 使用TCP,并加密整个会话。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:CIA 是目标,DAD 是失败表现,AAA 是访问控制和问责链。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

AAA 服务:AAA 常说认证、授权、记账,但完整链条还包括识别和审计。

认证:认证是验证“你是不是你声称的那个人”。

授权:授权是认证之后决定你能访问什么、能做什么。

分层:分层把控制按层排列,让攻击者必须连续突破。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“DAD、过度保护、真实性、不可否认性与 AAA”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

Identification 是声称身份,Authentication 是证明身份,Authorization 是允许做什么。

密码、令牌、生物特征、多因素认证都服务认证。

认证成功不等于什么都能做;权限仍要单独授权。

serial controls 更深,parallel controls 更宽;题目会考深度和广度。

加密主要保护机密性,也可配合签名、哈希支持完整性和真实性。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
AAA 服务 AAA 常说认证、授权、记账,但完整链条还包括识别和审计。
认证 认证是验证“你是不是你声称的那个人”。
授权 授权是认证之后决定你能访问什么、能做什么。
分层 分层把控制按层排列,让攻击者必须连续突破。
加密 加密把内容变成未授权者看不懂的形式。
标准 标准给出必须满足的最低要求。
密码学 密码学用数学方法保护信息,常用于机密性、完整性、认证和不可否认性。
对称加密 对称加密使用同一把密钥加密和解密,速度快但密钥分发难。
学习单元 55 / PDF P1022

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

Describe privilege escalation. Attackers use privilege escalation techniques to gain additional privileges after exploiting a single system. They typically try to gain additional privileges on the exploited systems first. They can also reach other systems in a network and attempt to gain elevated privileges on them. Limiting privileges given to service accounts reduces the success of some privilege escalation attacks. Explain zero-trust principles. Zero-trust presumes that there is no trust boundary and no network edge. Instead, each action is validated when requested as part of a continuous authentication process, and access is only allowed after policies are checked.

The key components of a zero-trust architecture are the policy engine and policy administrator (which together are known as the policy decision point) and the policy enforcement point. Know about Kerberos exploitation attacks. Kerberos attacks attempt to exploit weaknesses in Kerberos tickets. In some attacks, they capture tickets held in the lsass.exe process and use them in pass the ticket attacks. A silver ticket grants the attacker all the privileges granted to a service account. Attackers can create golden tickets after obtaining the hash of the Kerberos service account (KRBTGT), giving them the ability to create tickets at will within Active Directory.

Know how brute-force and dictionary attacks work. Brute-force and dictionary attacks are carried out against a stolen password database file or the system's logon prompt. They are designed to discover passwords. In brute-force attacks, all possible combinations of keyboard characters are used, whereas a predefined list of possible passwords is used in a dictionary attack. Account lockout controls prevent their effectiveness against online attacks. Written Lab 1. Describe the primary difference between discretionary and nondiscretionary access control models. 2. List at least three standards used to provide single sign-on (SSO) capabilities on the Internet. 3.

Identify the PowerShell cmdlet that allows you to run PowerShell commands indirectly.

中文直译 / 整理

描述权限提升。 攻击者在利用单个系统后,会使用权限提升技术获取更多权限。 他们通常首先尝试在被利用的系统上获取更多权限。 他们还可以访问网络中的其 他系统,并尝试在这些系统上获取提升的权限。 限制服务账户的权限可以降低某 些权限提升攻击的成功率。 解释零信任原则。 零信任假设不存在信任边界和网络边缘。 相反,每个操作在请 求时都会作为持续身份验证过程的一部分进行验证,只有在检查策略后才允许访 问。 零信任架构的关键组件是策略引擎和策略管理员(二者共同称为策略决策点) 以及策略执行点。 了解Kerberos利用攻击。 Kerberos攻击试图利用Kerberos票据中的弱点。 在 某些攻击中,攻击者会捕获存储在lsass.exe进程中的票据,并在“传递票据” 攻击中使用它们。 银票授予攻击者服务账户所拥有的所有权限。 攻击者在获取 Kerberos服务账户(KRBTGT)的哈希值后,可以创建金票,从而在Active Directory内随意创建票据。 了解暴力破解和字典攻击的工作原理。 暴力破解和字典攻击针对被盗的密码数据 库文件或系统的登录提示进行。 它们旨在发现密码。 在暴力破解攻击中,使用所 有可能的键盘字符组合;

而在字典攻击中,则使用预定义的可能密码列表。 账户 锁定机制可防止这些攻击在在线攻击中生效。 实验题 1. 描述自由裁量访问控制模型与非自由裁量访问控制模型的主要 区别。 2. 列出至少三种用于在互联网上提供单点登录(SSO)功能的标准。 3. 指出允许你间接运行 PowerShell 命令的 PowerShell cmdlet。

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

NIST:NIST 提供美国常用安全标准、框架和指南。

政策:政策是高层原则,说明必须遵守什么。

标准:标准给出必须满足的最低要求。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

Policy 高层、强制、稳定;Procedure 具体步骤。

Minimum level、mandatory requirement 常对应 standard。

哈希本身不提供机密性;它主要用于完整性校验。

遇到章末题时,不要只看选项。先判断题干在问定义、责任归属、最佳下一步,还是控制措施选择。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
NIST NIST 提供美国常用安全标准、框架和指南。
政策 政策是高层原则,说明必须遵守什么。
标准 标准给出必须满足的最低要求。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
身份 身份是主体在系统中的标识。
零信任 零信任默认不信任任何访问请求,需要持续验证和最小权限。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 56 / PDF P1023

章末总结与练习题

章末内容用来反查自己是否真的理解,而不是只背答案。

教材原文段落

4. Name a tool that is commonly used in the pass the hash and Kerberos exploitation attacks for privilege escalation. Review Questions 1. Which of the following best describes an implicit deny principle? A. All actions that are not expressly denied are allowed. B. All actions that are not expressly allowed are denied. C. All actions must be expressly denied. D. None of the above. 2. A table includes multiple objects and subjects, and it identifies the specific access each subject has to different objects. What is this table? A. Access control list B. Access control matrix C. Federation D. Creeping privilege 3.

You are reviewing access control models and want to implement a model that allows the owner of an object to grant privileges to other users. Which of the following meets this requirement? A. Mandatory access control (MAC) model B. Discretionary access control (DAC) model C. Role-based access control (RBAC) model D. Rule-based access control model 4. Which of the following access control models allow the owner of data to modify permissions? A. Discretionary access control (DAC) B. Mandatory access control (MAC) C. Rule-based access control D. Risk-based access control 4.

中文直译 / 整理

列出一种常用于传递哈希和Kerberos攻击中提升权限的工具。 复习问题 1. 以下哪一项最准确地描述了隐式拒绝原则? A. 所有未明确拒绝的操作均被允许。 B. 所有未明确允许的操作均被拒绝。 C. 所有操作都必须明确拒绝。 D. 以上都不是。 2. 一张表包含多个主体和客体,并标识每个主体对不同客体的具体访问权限。 这张表是什么? A. 访问控制列表 B. 访问控制矩阵 C. 联邦 D. 权限蔓延 3. 您正在审查访问控制模型,并希望实施一种允许对象所有者向其他用户授 予权限的模型。 以下哪项满足此要求? A. 强制访问控制(MAC)模型 B. 自主访问控制(DAC)模型 C. 基于角色的访问控制(RBAC)模型 D. 基于规则的访问控制模型 4. 以下哪种访问控制模型允许数据所有者修改权限? A. 自主访问控制(DAC) B. 强制访问控制(MAC) C. 基于规则的访问控制 D. 基于风险的访问控制

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:章末内容用来反查自己是否真的理解,而不是只背答案。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

数据所有者:数据所有者决定数据分类、保护要求和访问规则。

数据所有者:数据所有者负责决定数据分类、访问规则和保护要求。

哈希:哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。

基于角色的访问控制 RBAC:RBAC 按角色分配权限,适合岗位清晰的组织。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“章末总结与练习题”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

Owner 定规则,Custodian 执行保护。

Owner 决策,Custodian 执行,User 按授权使用。

哈希本身不提供机密性;它主要用于完整性校验。

角色、岗位、职责分离常对应 RBAC。

政府/军方、机密级别、标签、不可由用户随意改通常是 MAC。

遇到章末题时,不要只看选项。先判断题干在问定义、责任归属、最佳下一步,还是控制措施选择。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
数据所有者 数据所有者决定数据分类、保护要求和访问规则。
数据所有者 数据所有者负责决定数据分类、访问规则和保护要求。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。
基于角色的访问控制 RBAC RBAC 按角色分配权限,适合岗位清晰的组织。
强制访问控制 MAC MAC 由系统根据标签和级别强制决定访问。
自主访问控制 DAC DAC 由对象所有者决定谁能访问。
学习单元 57 / PDF P1024

第 1024 页学习单元

这一页属于本章连续内容,先读原文和译文,再看下方把概念拆成小白能理解的版本。

教材原文段落

5. A central authority determines which files a user can access based on the organization's hierarchy. Which of the following best describes this? A. DAC model B. An access control list (ACL) C. Rule-based access control model D. RBAC model 6. Which of the following statements is true related to the RBAC model? A. An RBAC model allows users membership in multiple groups. B. An RBAC model allows users membership in a single group. C. An RBAC model is nonhierarchical. D. An RBAC model uses labels. 7. You are reviewing different access control models. Which of the following best describes a rule-based access control model? A. It uses local rules applied to users individually. B.

It uses global rules applied to users individually. C. It uses local rules applied to all users equally. D. It uses global rules applied to all users equally. 8. Your organization is considering deploying a software-defined network (SDN) in the data center. Which of the following access control models is commonly used in an SDN? A. Mandatory access control (MAC) model B. Attribute-based access control (ABAC) model C. Role-based access control (RBAC) model D. Discretionary access control (DAC) model 9. The MAC model supports different environment types. Which of the following grants users access using predefined labels for subjects and objects? A. Compartmentalized environment B.

Hierarchical environment 5.

中文直译 / 整理

一个中央权威机构根据组织的层级结构确定用户可以访问哪些文件。 以下哪一 项最能描述这一点? A. DAC 模型 B. 访问控制列表(ACL) C. 基于规则的访问控制模型 D. RBAC 模型 6. 以下关于 RBAC 模型的陈述哪一项是正确的? A. RBAC 模型允许用户属于多个组。 B. RBAC 模型允许用户属于单个组。 C. RBAC 模型是非层级的。 D. RBAC 模型使用标签。 7. 您正在审查不同的访问控制模型。 以下哪一项 最能描述基于规则的 访问控制模型? A. 它使用应用于单个用户的本地规则。 B. 它使用应用于每个用户的全局规则。 C. 它使用应用于所有用户的本地规则。 D. 它使用应用于所有用户的全局规则。 8. 您的组织正在考虑在数据中心部署软件定义网络(SDN)。 以下哪种访问 控制模型常用于SDN? A. 强制访问控制(MAC)模型 B. 基于属性的访问控制(ABAC)模型 C. 基于角色的访问控制(RBAC)模型 D. 自主访问控制(DAC)模型 9. MAC 模型支持不同的环境类型。 以下哪项使用预定义的主体和对象标 签来授予用户访问权限? A. 分区环境 B. 层次环境

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:这一页属于本章连续内容,先读原文和译文,再看下方把概念拆成小白能理解的版本。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

基于角色的访问控制 RBAC:RBAC 按角色分配权限,适合岗位清晰的组织。

强制访问控制 MAC:MAC 由系统根据标签和级别强制决定访问。

自主访问控制 DAC:DAC 由对象所有者决定谁能访问。

基于属性的访问控制 ABAC:ABAC 根据用户、资源、环境等属性动态决策。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“第 1024 页学习单元”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

角色、岗位、职责分离常对应 RBAC。

政府/军方、机密级别、标签、不可由用户随意改通常是 MAC。

文件所有者授权、ACL 常见于 DAC。

上下文、属性、策略引擎、动态访问常对应 ABAC。

遇到章末题时,不要只看选项。先判断题干在问定义、责任归属、最佳下一步,还是控制措施选择。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
基于角色的访问控制 RBAC RBAC 按角色分配权限,适合岗位清晰的组织。
强制访问控制 MAC MAC 由系统根据标签和级别强制决定访问。
自主访问控制 DAC DAC 由对象所有者决定谁能访问。
基于属性的访问控制 ABAC ABAC 根据用户、资源、环境等属性动态决策。
学习单元 58 / PDF P1025

认证:证明身份

认证回答“你是不是你声称的那个人”。

教材原文段落

C. Centralized environment D. Hybrid environment 10. Which of the following access control models identifies the upper and lower bounds of access for subjects with labels? A. Nondiscretionary access control B. Mandatory access control (MAC) C. Discretionary access control (DAC) D. Attribute-based access control (ABAC) 11. Which of the following access control models uses labels and is commonly referred to as a lattice-based model? A. DAC B. Nondiscretionary C. MAC D. RBAC 12. Management wants users to use multifactor authentication any time they access cloud-based resources. Which of the following access control models can meet this requirement? A. Risk-based access control B.

Mandatory access control (MAC) C. Role-based access control (RBAC) D. Discretionary access control (DAC) 13. Which of the following access control models determines access based on the environment and the situation? A. Risk-based access control B. Mandatory access control (MAC) C. Role-based access control (RBAC) D. Attribute-based access control (ABAC) 14. A cloud-based provider has implemented an SSO technology using JSON Web Tokens. The tokens provide authentication information and include user profiles. Which of the following best identifies this technology? C.

中文直译 / 整理

集中式环境 D. 混合环境 10. 以下哪种访问控制模型通过标签识别主体的访问上下限? A. 非自主访问控制 B. 强制访问控制(MAC) C. 自主访问控制(DAC) D. 基于属性的访问控制(ABAC) 11. 以下哪种访问控制模型使用标签,并通常被称为基于格的模型? A. DAC B. 非自主性 C. MAC D. RBAC 12. 管理层希望用户在访问云资源时始终使用多因素认证。 以下哪种访问控制 模型可以满足此要求? A. 基于风险的访问控制 B. 强制访问控制(MAC) C. 基于角色的访问控制(RBAC) D. 自主访问控制(DAC) 13. 以下哪种访问控制模型根据环境和情况确定访问权限? A. 基于风险的访问控制 B. 强制访问控制(MAC) C. 基于角色的访问控制(RBAC) D. 基于属性的访问控制(ABAC) 14. 一种基于云的提供商已实施了使用 JSON Web 令牌的单点登录(SSO)技术 令牌 p提供身份验证信息并包含 用户配置文件。 以下哪一项最能标识这项技术?

小白解释

场景先行:新员工入职后要登录系统。第一步是声明身份,第二步证明身份,第三步决定能访问哪些数据,最后系统要记录他做了什么。IAM 题就是围绕这条链条出题。

这一页真正想让你理解的是:认证回答“你是不是你声称的那个人”。

把它放进公司里看,关键不是背定义,而是判断:认证成功不代表什么都能做;离职、调岗、权限漂移都会造成越权。

你作为负责人可以这样想:把识别、认证、授权、审计分开看,再用最小权限和定期复核收口。

本页术语用人话说:

认证:认证是验证“你是不是你声称的那个人”。

身份:身份是主体在系统中的标识。

多因素认证:MFA 使用至少两类不同认证因素,提高认证可信度。

基于角色的访问控制 RBAC:RBAC 按角色分配权限,适合岗位清晰的组织。

常见误区:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

读完后用一句话复述:如果我是IAM 管理员,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“认证:证明身份”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是IAM 管理员在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

密码、令牌、生物特征、多因素认证都服务认证。

身份管理题要区分识别、认证、授权、审计。

知道的、拥有的、固有的、所处位置、行为特征是常见因素。

角色、岗位、职责分离常对应 RBAC。

政府/军方、机密级别、标签、不可由用户随意改通常是 MAC。

遇到章末题时,不要只看选项。先判断题干在问定义、责任归属、最佳下一步,还是控制措施选择。

排除法提醒:不要把 authentication 和 authorization 混成一件事:前者证明你是谁,后者决定你能干什么。

本页术语拆解
认证 认证是验证“你是不是你声称的那个人”。
身份 身份是主体在系统中的标识。
多因素认证 MFA 使用至少两类不同认证因素,提高认证可信度。
基于角色的访问控制 RBAC RBAC 按角色分配权限,适合岗位清晰的组织。
强制访问控制 MAC MAC 由系统根据标签和级别强制决定访问。
自主访问控制 DAC DAC 由对象所有者决定谁能访问。
基于属性的访问控制 ABAC ABAC 根据用户、资源、环境等属性动态决策。
日志 日志记录系统和用户活动,用于监控、审计和调查。
学习单元 59 / PDF P1026

机密性:让该看的人看,不该看的人看不到

机密性重点是防泄露,同时不能妨碍授权访问。

教材原文段落

A. OIDC B. OAuth C. SAML D. TLS 15. Some users in your network are having problems authenticating with a Kerberos server. While troubleshooting the problem, you verified you can log into your regular work computer. However, you are unable to log into the user's computer with your credentials. Which of the following is most likely to solve this problem? A. Advanced Encryption Standard (AES) B. Network Access Control (NAC) C. Security Assertion Markup Language (SAML) D. Network Time Protocol (NTP) 16. Your organization has a large network supporting thousands of employees, and it utilizes Kerberos. Of the following choices, what is the primary purpose of Kerberos? A. Confidentiality B.

Integrity C. Authentication D. Accountability 17. What is the function of the network access server within a RADIUS architecture? A. Authentication server B. Client C. AAA server D. Firewall 18. Larry manages a Linux server. Occasionally, he needs to run commands that require root-level privileges. Management wants to ensure that an attacker cannot run these commands if the attacker compromises Larry's account. Which of the following is the best choice? A. Grant Larry sudo access. A. OIDC B. OAuth C. SAML D. TLS 15.

中文直译 / 整理

您网络中的某些用户在使用 Kerberos 服务器进行身份验证时遇到问题。 在排查问题时,您确认可以登录到自己的常规工作计算机。 但是,您无法使 用您的凭据登录到用户的计算机。 以下哪项最有可能解决此问题? A. 高级加密标准 (AES) B. 网络访问控制 (NAC) C. 安全断言标记语言(SAML) D. 网络时间协议(NTP) 16. 您的组织拥有一个支持数千名员工的大型网络,并使用Kerberos。 以下 选项中,Kerberos的主要目的是什么? A. 机密性 B. 完整性 C. 身份验证 D. 责任 17. 在 RADIUS 架构中,网络访问服务器的功能是什么? A. 认证服务器 B. 客户端 C. AAA 服务器 D. 防火墙 18. 拉里管理一台Linux服务器。 偶尔,他需要运行需要root权限的命令。 管 理层希望确保,如果攻击者入侵了拉里的账户,也无法运行这些命令。 以下哪 一项是最佳选择? A. 授予拉里sudo访问权限。

小白解释

场景先行:想象公司有一个客户订单系统:客户资料被别人看到是机密性问题,订单金额被偷偷改是完整性问题,系统打不开是可用性问题。教材这一页就是教你把事故先翻译成安全目标。

这一页真正想让你理解的是:机密性重点是防泄露,同时不能妨碍授权访问。

把它放进公司里看,关键不是背定义,而是判断:把泄露、篡改、宕机混在一起,就会选错控制措施。

你作为负责人可以这样想:先判断事故破坏了 CIA 哪一项,再选择对应控制:防泄露、防篡改、保可用。

本页术语用人话说:

机密性:机密性让该看的人能看,不该看的人看不到。

完整性:完整性保证数据没有被未授权修改,并且仍然正确可信。

AAA 服务:AAA 常说认证、授权、记账,但完整链条还包括识别和审计。

认证:认证是验证“你是不是你声称的那个人”。

常见误区:不要把所有安全问题都归成“被黑了”。考试会逼你分清到底是泄露、篡改还是中断。

读完后用一句话复述:如果我是业务系统负责人,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“机密性:让该看的人看,不该看的人看不到”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是业务系统负责人在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

加密、访问控制、分类、培训都常用于保护机密性。

哈希、数字签名、变更控制、输入校验常对应完整性。

Identification 是声称身份,Authentication 是证明身份,Authorization 是允许做什么。

密码、令牌、生物特征、多因素认证都服务认证。

问责依赖识别、认证、授权、审计和记账共同工作。

遇到章末题时,不要只看选项。先判断题干在问定义、责任归属、最佳下一步,还是控制措施选择。

排除法提醒:不要把所有安全问题都归成“被黑了”。考试会逼你分清到底是泄露、篡改还是中断。

本页术语拆解
机密性 机密性让该看的人能看,不该看的人看不到。
完整性 完整性保证数据没有被未授权修改,并且仍然正确可信。
AAA 服务 AAA 常说认证、授权、记账,但完整链条还包括识别和审计。
认证 认证是验证“你是不是你声称的那个人”。
问责性 问责性要求能把行为绑定到具体主体。
加密 加密把内容变成未授权者看不懂的形式。
标准 标准给出必须满足的最低要求。
防火墙 防火墙根据规则控制网络流量进出。
学习单元 60 / PDF P1027

安全控制框架:用成熟框架组织安全

框架帮助组织系统化管理控制,而不是想到哪做到哪。

教材原文段落

B. Give Larry the root password. C. Add Larry's account to the Administrators group. D. Add Larry's account to the LocalSystem account. 19. An attacker used a tool to exploit a weakness in NTLM. They identified an administrator's user account. Although the attacker didn't discover the administrator's password, they did access remote systems by impersonating the administrator. Which of the following best identifies this attack? A. Pass the ticket B. Golden ticket C. Rainbow table D. Pass the hash 20. Your organization recently suffered a major data breach. After an investigation, security analysts discovered that attackers were using golden tickets to access network resources.

Which of the following did the attackers exploit? A. RADIUS B. SAML C. Kerberos D. OIDC B.

中文直译 / 整理

将根密码交给拉里。 C. 将拉里的账户添加到管理员组。 D. 将拉里的账户添加到本地系统账户。 19. 攻击者使用工具利用了NTLM的弱点,识别出管理员的用户账户。 尽管攻 击者未发现管理员的密码,但他们通过冒充管理员访问了远程系统。 以下哪一 项最能标识这种攻击? A. 传递票据 B. 黄金票据 C. 彩虹表 D. 传递哈希 20. 您的组织最近遭受了一次重大数据泄露。 经过调查,安全分析师发现攻 击者正在使用黄金票据访问网络资源。 攻击者利用了以下哪一项? A. RADIUS B. SAML C. Kerberos D. OIDC

小白解释

场景先行:财务要把合同发给供应商:不想被别人看懂,要加密;不想被人改金额,要校验完整性;不想对方抵赖,要签名和证书。密码学不是炫技,是解决这些业务信任问题。

这一页真正想让你理解的是:框架帮助组织系统化管理控制,而不是想到哪做到哪。

把它放进公司里看,关键不是背定义,而是判断:把加密、哈希、签名混在一起,会导致控制目标错位。

你作为负责人可以这样想:机密性用加密,完整性用哈希/签名,身份信任用证书和 PKI。

本页术语用人话说:

NIST:NIST 提供美国常用安全标准、框架和指南。

哈希:哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。

常见误区:哈希不是加密;签名也不是为了隐藏内容。

读完后用一句话复述:如果我是系统架构师,我会先识别风险,再选择控制,并保留能证明判断合理的证据。

考点提醒

考题会把“安全控制框架:用成熟框架组织安全”包装成一个业务场景:有人要上线系统、处理事故、审供应商、分配权限或选择控制。

先抓题干里的角色和目标:这里更像是系统架构师在做判断。

最佳答案通常不是“最强工具”,而是能降低风险、符合职责、成本合理、还能留下证据的动作。

看到 SP 800 系列、CSF、RMF 常联想到 NIST。

哈希本身不提供机密性;它主要用于完整性校验。

遇到章末题时,不要只看选项。先判断题干在问定义、责任归属、最佳下一步,还是控制措施选择。

排除法提醒:哈希不是加密;签名也不是为了隐藏内容。

本页术语拆解
NIST NIST 提供美国常用安全标准、框架和指南。
哈希 哈希把任意长度数据变成固定长度摘要,用于校验是否被改过。