Skip to Content
Google系统架构解密: 构建安全可靠的系统
book

Google系统架构解密: 构建安全可靠的系统

by Heather Adkins, Betsy Beyer, Paul Blankinship, Piotr Lewandowski, Ana Oprea, Adam Stubblefield
September 2021
Beginner to intermediate
392 pages
12h 13m
Chinese
Posts & Telecom Press
Content preview from Google系统架构解密: 构建安全可靠的系统
134
9
序。可以将不需要的版本名称(通常是唯一的标签字符串、数字或散列
10
)列入黑名单,然
后将其并入部署系统的发布策略中。你还可以维护一份白名单,构建自动化流程,将已部
署的应用程序软件列入其中。
自行负责更新的特权或底层系统组件则更具挑战性。我们称其为
自更新
组件。例如,自更
新过程中,包管理守护程序会覆盖自身可执行文件,并重新运行;又如,固件镜像(如
BIOS
)会在其自身之上重新刷新替换镜像
,并强制重新启动。如果被恶意修改,它们可能
会主动阻止自己被更新。特定于硬件的实现需求增加了挑战性。对这类组件,也需要设立
有效的回滚控制机制,但是目标行为本身难以定义。为了更好地理解这个问题,让我们考
虑两个示例策略及其缺陷。
允许随意回滚
此方案不安全,原因是任何提示执行回滚的因素都可能重新引入已知的安全漏洞。漏洞
越老或越明显,市面上就越有可能存在稳定、武器化的漏洞利用程序。
禁止回滚
此解决方案消除了返回到已知稳定状态的路径,只允许前进到更新的状态。这种方法是
不可靠的,因为如果更新引入了一个缺陷,就无法再回滚到上一个已知的良好版本。这
种方法隐式地要求构建系统生成新的版本,借此可以向前滚动,从而为构建和发布工程
基础设施添加时间和可避免的依赖关系。
除上述两种极端方法外,还有许多考虑了许多实用权衡的替代方案,列举如下:
使用拒绝列表;
使用安全版本号(
security
version numbe, SVN
)和可接受的最低安全版本号(
minimum
acceptable security version ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

管理Kubernetes

管理Kubernetes

Brendan Burns, Craig Tracey
Python机器学习基础教程

Python机器学习基础教程

Andreas C. Müller, Sarah Guido
解密金融数据

解密金融数据

Justin Pauley

Publisher Resources

ISBN: 9787115569257