<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>安全乐观主义</title>
    <link>https://wechat2rss.xlab.app/feed/99e8a156f4f0a3b45bb206945e55cb193672da81.xml</link>
    <description>实践分享企业在建设安全开发生命周期各阶段及流程中的优秀实践，内容涉及代码审计、业界对标、系统工程化心得、国外资料分享，搭建应用安全交流平台。&#xA;(wechat feed made by @ttttmr https://wechat2rss.xlab.app)</description>
    <managingEditor> (安全乐观主义)</managingEditor>
    <image>
      <url>https://wx.qlogo.cn/mmhead/Q3auHgzwzM5B194SvaAVmrkfaKjZNRHnC8mQuTYD5YEbZxN8U7fFNA/0</url>
      <title>安全乐观主义</title>
      <link>https://wechat2rss.xlab.app/feed/99e8a156f4f0a3b45bb206945e55cb193672da81.xml</link>
    </image>
    <item>
      <title>突发！腾讯云招聘安全测试工程师，西安、武汉岗位，牛逼白帽子优先</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447805142&amp;idx=1&amp;sn=62075c037779e4dbe16f092d1f9e5948</link>
      <description>腾讯云招聘安全测试工程师，base西安、武汉</description>
      <content:encoded><![CDATA[<p>
原创 <span>安全乐观主义</span> <span>2024-02-26 18:00</span> <span style="display: inline-block;">北京</span>
</p>

<p>腾讯云招聘安全测试工程师，base西安、武汉</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=3d5dd2b8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeHSIKs5Azj3wyG6icpGMKxasPqLgY3l8MJSLURPXjfg6nT1icNI5ZAwnbI6D8gs0e9eiaHRQYwSYCeg%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<p><span style="font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: var(--articleFontsize);letter-spacing: 0.034em;"><span style="letter-spacing: 0.578px;text-wrap: wrap;">仅西安、武汉岗位：</span><span style="letter-spacing: 0.578px;text-wrap: wrap;"> </span></span></p><p><span style="font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: var(--articleFontsize);letter-spacing: 0.034em;">岗位要求： </span></p><p>1.熟悉网络安全攻防技术和工具,熟悉常见的Web/移动APP/系统安全漏洞及原理；</p><p>2.熟悉Java、Go、Node.js至少一门语言，能够独自完成源码审计工作，并熟悉主流框架的风险和原理；</p><p>3.熟悉使用主流的云产品服务，并具备丰富的渗透测试和漏洞挖掘经验；</p><p>4.有DevSecOps从业经历，具备良好的团队合作意识和沟通能力；</p><p>5.加分项：</p><p>（1）.3年以上互联网行业应用安全建设经验；</p><p>（2）.独立发表过云环境下的漏洞挖掘和渗透技术，提交过云厂商高危严重漏洞。</p><p>岗位职责： </p><p>1.负责对CSIG云平台、云服务、客户端、小程序应用进行安全测试和架构评审；</p><p>2.负责跟踪和了解最新的云安全威胁和攻击技术；</p><p>3.熟悉主流应用框架的风险点和安全方案，并转化为检出规则，输出安全解决方案；</p><p>4.参与产品安全黑白盒工具能力建设、运营工作。</p><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-imgfileid="300321493" data-ratio="1.7175925925925926" data-s="300,640" style="" data-type="jpeg" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=d6e19518&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeHSIKs5Azj3wyG6icpGMKxaNxJpU7s11ecl2C4QSzDNBE4CFR17NFmgmXjdlwbfdoHPEAQOV5K1sg%2F640%3Fwx_fmt%3Djpeg%26from%3Dappmsg"/></p><p style="text-align: center;">扫描文中二维码或者联系公众号发消息即可<br/></p><p style="display: none;"><mp-style-type data-value="3"></mp-style-type></p>



<p><a href="2447805142">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=315a61d2&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447805142%26idx%3D1%26sn%3D62075c037779e4dbe16f092d1f9e5948%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 26 Feb 2024 18:00:00 +0800</pubDate>
    </item>
    <item>
      <title>AWS教你如何做威胁建模</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447805135&amp;idx=1&amp;sn=99ceb8cacd82370085f5b7e6ced48f83</link>
      <description>最近的“AWS re:Inforce 2022”介绍了AWS新增众多的安全、身份和合规的产品和服务，笔者整理亚马逊相关资料一步一步介绍威胁建模环节该怎么做。</description>
      <content:encoded><![CDATA[<p>
原创 <span>Ramos</span> <span>2022-08-25 18:44</span> <span style="display: inline-block;">北京</span>
</p>

<p>最近的“AWS re:Inforce 2022”介绍了AWS新增众多的安全、身份和合规的产品和服务，笔者整理亚马逊相关资料一步一步介绍威胁建模环节该怎么做。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=b5be0583&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeQ5htiaKQZCa4f6xcWtc8KSScibcrWxB2z7q3vY85YCpD7opfibUaabEvNLEC8TOWQMcGia2h1fNxzNQ%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding: 0 10px;line-height: 1.6;word-spacing: 0px;letter-spacing: 0px;word-break: break-word;word-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#39;PingFang SC&#39;, Cambria, Cochin, Georgia, Times, &#39;Times New Roman&#39;, serif;"><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;"><br/></p><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;list-style-type: disc;" class="list-paddingleft-1"><li><p>写在前面</p></li><li><p>准备威胁建模</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;list-style-type: square;" class="list-paddingleft-1"><li><p>组建虚拟团队</p></li><li><p>四个阶段的结构化思考</p></li></ul><li><p>车联网威胁建模例子</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;list-style-type: square;" class="list-paddingleft-1"><li><p>1、我们在做什么？为车辆登记功能创建系统模型</p></li><li><p>2、会出什么问题？识别功能威胁</p></li><li><p>3、我们要怎么做？确定威胁的优先级并选择缓解措施</p></li><li><p>4、我们做得足够好吗？评估威胁建模过程的有效性</p></li></ul><li><p>附录</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;list-style-type: square;" class="list-paddingleft-1"><li><p>威胁建模模板</p></li><li><p>参考资料</p></li></ul></ul><h1 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 24px;"><span style="display: none;"></span>AWS教你如何做威胁建模</h1><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 22px;"><span style="display: none;"></span>写在前面</h2><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	    最近的“AWS re:Inforce 2022”介绍了众多的安全、身份和合规的产品和服务，笔者整理亚马逊相关资料<span style="color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;">一步一步</span>介绍威胁建模环节该怎么做。</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	    这里严厉批评某些公司所谓的“轻量级威胁建模”，其实本质就是需求表格的自查，<span style="color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;">不要指望技术同学用简单的checklist就能做，想轻量级那就不是威胁建模！</span></p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">    因为威胁建模的本质是----“有经验的安全专家和业务团队关于威胁的头脑风暴”，欢迎自动化、欢迎复用、欢迎标准流程，但威胁建模活动一定是以沟通、协作和以人为主导的专业知识为中心的。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 22px;"><span style="display: none;"></span>准备威胁建模</h2><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 20px;"><span style="display: none;"></span>组建虚拟团队<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	    威胁建模需要听取多种不同观点和经验才能进行，每个团队成员的意见都需要重视，最终在安全、交付、业务之间取得权衡。不能仅仅是安全和技术参与，checklist，卡点反而是阻碍威胁建模效果的瓶颈。具体来说需要五个角色：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;list-style-type: disc;" class="list-paddingleft-1"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">威胁建模专家：是一次威胁建模活动的主导者，经验丰富、洞察威胁建模的过程和控制讨论边界，这个主持人、教练、顾问要参与一线，最终总结材料文档，平时同时兼职攻击者和防守者两个角色。</p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">攻击者：发现设计类安全缺陷，类似于沙盘方式设身处地从攻击角度进行头脑风暴。</p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">防守者：避免安全防御措施过度设计，设计威胁控制措施。</p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">开发人员：主力模块开发者或者系统架构师，有了解当前服务具体如何设计和实现的背景，负责清楚明白威胁和缓解措施。</p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">产品经理：类似于交付经理，避免安全措施导致产品需求无法实现，达到安全、效率和体验的平衡。</p></section></li></ul><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 20px;"><span style="display: none;"></span>威胁建模的四个阶段<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	    通过在不同的阶段尝试结构化思考回答四个问题：</p><ol data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;list-style-type: decimal;" class="list-paddingleft-1"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">我们在做什么？</p></section></li><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;"><span style="letter-spacing: 0px;">参与者：</span><span style="letter-spacing: 0px;">全部虚拟团队成员</span></p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;"><span style="letter-spacing: 0px;">交付和设计更安全的软件</span></p><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">会出什么问题？</p></section></li><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">参与者：攻击者、开发者</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">STRIDE助记符、内部人员风险、OWASPTop10、数据安全风险、组织内部的威胁列表</p><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">我们要怎么做？</p></section></li><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;"><span style="letter-spacing: 0px;"></span><span style="letter-spacing: 0px;">参与者：</span><span style="letter-spacing: 0px;">防守者、开发者、产品经理 </span></p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;"><span style="letter-spacing: 0px;">代码控制方案、引入纵深防御、借助云服务的安全措施，评估改进后的方案不影响需求。</span></p><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">我们做得足够好吗？</p></section></li><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">参与者：威胁建模专家，开发人员</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">威胁建模是对风险的分析，这个判断是否足够好的阶段区分：</p><ol class="list-paddingleft-1" style="list-style-type: lower-alpha;"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">威胁建模专家审核威胁已经“足够全”，认可缓解措施；</p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">开发者交付缓解措施，进行再次code review；</p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">威胁建模专家评估验收标准，根据威胁建模的结果引入安全测试、结项；</p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">威胁建模专家归档建模结果、更新知识库，整合各项缓解措施到平台级别的安全基线中，与SDLC工具深度集成。</p></section></li></ol></ol><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 22px;"><span style="display: none;"></span>注册功能威胁建模例子</h2><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	    接下来以在AWS上的一个车联网服务解决方案为例解答如何创建系统模型和威胁模型，以及评估模型的有用性。车联网解决方案通常包括物联网车辆、驾驶员、车辆登记、遥测数据等多种模块，这是一个复杂的系统，所以要分解到功能、应用服务模块进行建模，而不是一开始为整个系统创建威胁模型。</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	    本次的例子拆分到story维度，简化为“作为⻋队经理，我想注册现有的物联⽹连接⻋辆以使其投⼊使⽤。”，具体场景技术设计上，⻋队经理将使⽤标准 Web 浏览器访问 Web ⻔⼾、进行⾝份验证，并能够将新⻋辆注册到系统中并投⼊使⽤。</p><figure data-tool="mdnice编辑器" style="margin: 0;margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="0.42664670658682635" style="display: block;margin: 0 auto;max-width: 100%;" data-type="jpeg" data-w="1336" src="https://wechat2rss.xlab.app/img-proxy/?k=29c40338&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeQ5htiaKQZCa4f6xcWtc8KSXKM5p5iaSW1BoTl1FF3EHcNtcch2R90NVNprbL0JFfSvUhvv8lnKytw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">车辆注册模块流程图</figcaption></figure><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 20px;"><span style="display: none;"></span>1、我们在做什么？为车辆登记功能创建系统模型<span style="display: none;"></span></h3><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 18px;"><span style="display: none;"></span>1.1、首先将准备创建数据流图表示上述车辆登记功能的元素，以及它们之间的数据流。<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">    需要的工具就可以是白纸、白板，或者是draw.io或者PlantUML。根据上述系统设计图中了解到系统以AWS Amplify托管前端静态资源，Amazon Cognito集成做身份验证，由 AWS Lambda 和 Amazon API Gateway 提供的基于 REST 的 API，后端通过DynamoDBTable和S3进行存储。</p><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 18px;"><span style="display: none;"></span>1.2、绘制系统元素、数据流和信任边界<span style="display: none;"></span></h4><figure data-tool="mdnice编辑器" style="margin: 0;margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="0.39285714285714285" style="display: block;margin: 0 auto;max-width: 100%;" data-type="jpeg" data-w="952" src="https://wechat2rss.xlab.app/img-proxy/?k=fbe77218&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeQ5htiaKQZCa4f6xcWtc8KSF4iazdV99JzJTrM9AYObyB5Hoib3MM4fPvb6S9VDURNP0Micg5bMw5aNA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">数据流要素</figcaption></figure><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">    在元素之间，通过绘制箭头来表示数据如果通过车辆登记功能流动，箭头的方向就是数据流的方向，对于http、rpc请求意味着必然会向调用者返回响应，不必添加返回箭头，存储和查询可以是单向的。</p><figure data-tool="mdnice编辑器" style="margin: 0;margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="0.6179775280898876" style="display: block;margin: 0 auto;max-width: 100%;" data-type="jpeg" data-w="356" src="https://wechat2rss.xlab.app/img-proxy/?k=e8f257ae&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeQ5htiaKQZCa4f6xcWtc8KSppv7q1aKDkQcaTWnP82w1BR3CI9Jiaa3QyEatK4WQyHxiaXKA0MghKeg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">数据流箭头</figcaption></figure><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 18px;"><span style="display: none;"></span>1.3、绘制信任边界<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">    确定车辆注册功能的哪些区域和元素组可以被认为是同等受信任的，化为同一信任域，在每个区域周围绘制虚线框来显示信任边界的未知，并添加标签来显示信任域的用途，以下绘制完成的车辆注册功能数据流图。</p><figure data-tool="mdnice编辑器" style="margin: 0;margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="0.8659384309831182" style="display: block;margin: 0 auto;max-width: 100%;" data-type="jpeg" data-w="1007" src="https://wechat2rss.xlab.app/img-proxy/?k=61c3cafb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeQ5htiaKQZCa4f6xcWtc8KSF3Yfs0kWmfOl3FNl1FTAtqLhVyCuj76yR8LvEMAIh4IeAicJdQ7cD4Q%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">完整数据流图</figcaption></figure><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 20px;"><span style="display: none;"></span>2、会出什么问题？识别功能威胁<span style="display: none;"></span></h3><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 18px;"><span style="color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;">    开始你的威胁建模头脑风暴，没有错误的答案，我们的目标是尽可能完整得涵盖可能的威胁，不预设可能已经会被缓解的威胁。</span></h4><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 18px;">2.1 使⽤ STRIDE-per-Element 查找对⻋辆登记功能的威胁<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">    每个元素，即人类参与者、外部实体、流程、数据存储和数据流可以被对应到不同的STRIDE威胁。</p><figure data-tool="mdnice编辑器" style="margin: 0;margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="0.6269005847953216" style="display: block;margin: 0 auto;max-width: 100%;" data-type="jpeg" data-w="1710" src="https://wechat2rss.xlab.app/img-proxy/?k=84bc50ea&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeQ5htiaKQZCa4f6xcWtc8KSSu1JQxib4ibabB7blemUAkFvN5icHm9N2PlyIcPSz4ZfadRUbQzgGKoeg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">STRIDE-per-Element</figcaption></figure><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">2.1.1 外部实体的威胁由于是注册功能，所以有外部实体User，从上述的STRIDE-per-Element图表中，我们看到会有 Spoofing（欺骗）和 Repudiation （否认）威胁，这里不再详述。</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">2.1.2 对Process的威胁：</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	欺骗:进程的⾝份欺骗是指与其连接的每个元素，比如在同Amazon S3通信时可以假装（欺骗）为Lambda的身份，恶意连接数据库。</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	篡改：如果进程的代码、配置或执行环境（如内存空间）以意想不到的⽅式被修改，则可能会篡改进程。考虑如何篡改⻋辆登记功能中的流程。例如是否可以向 Lambda 函数提供输⼊以修改函数的行为？</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	否认：Lambda 函数是否可以在不⽣成审计跟踪条⽬的情况下删除存储桶对象，从⽽不归因于执行了该操作？</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	信息泄露：Lambda 函数如何返回对错误 S3 对象的引⽤？</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	拒绝服务：⾮常⼤的对象是否会导致 Lambda 函数出现问题？</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	权限提升：车辆注册一般不存在普通用户和管理的区别，这里忽略威胁。</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">2.1.3 对数据存储的威胁：数据存储可能面临篡改、信息泄露和拒绝服务的风险。</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	拒绝：如果系统设计中没有对系统日志进行存储，应该不会有拒绝威胁。
	否认：系统本身没有日志记录，所以没有否认威胁。</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	泄露泄露：恶意人员如何从DynamoDB 表中读取数据，或读取存储在 Amazon S3 存储桶内的对象中的数据？</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	拒绝服务：恶意人员如何从 Amazon S3 存储桶中删除对象？</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">2.1.4 数据流：当数据流过可能被恶意破坏的通道时比如共享⽹络、中间人，该数据可能会在传输过程中被修改。</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	信息泄露：当敏感数据流经不被认为是完全可信的⽹络（如共享⽹络）时，该数据可能会泄露给⾮预期的接收者。</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	拒绝服务：数据流也可能是拒绝服务威胁的⽬标，通常表⽰为影响连接的事件，例如⽹络隔离事件或严重的数据包丢失，阻⽌⽤⼾与 API Gateway 通信。</p><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 18px;"><span style="display: none;"></span>2.2、确定优先级<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">    检查完威胁是否存在重复或者漏过的情况后，通过估算与影响相比的缓解成本来分高、中、低优先级，威胁发生的影响*可能性=风险程	度，OWASP Risk Rating Methodology提供类似于DREAD的风险判断方法。</p><figure data-tool="mdnice编辑器" style="margin: 0;margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="0.4973474801061008" style="display: block;margin: 0 auto;max-width: 100%;" data-type="jpeg" data-w="1508" src="https://wechat2rss.xlab.app/img-proxy/?k=43ff535c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeQ5htiaKQZCa4f6xcWtc8KSWt9uRLBgQs1uJxbMYSibhiaQwn6hl6beol9ia6iaAph5j9CG9sYEsm9fPA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">OWASP的风险评估模型</figcaption></figure><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 20px;"><span style="display: none;"></span>3、我们要怎么做？确定威胁的优先级并选择缓解措施<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	    通过一些安全设计原则和最佳实践将⻛险缓解资源集中在特定服务的威胁上。采用一些基础的安全服务如AWS IAM、CLoudWatch Log、CloudTrail、SecurityHub、KMS、加密SDK等。</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">    如果不能解决，选择是减轻⻛险、接受⻛险或将两者结合起来。
	如果由于缓解的成本或复杂性⽽⽆法合理缓解⻛险，那么接受⻛险是唯⼀的选择，无论风险大小时，接受风险要取得上级的审核，不同管理层对安全的态度是不一样的。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 20px;"><span style="display: none;"></span>4、我们做得足够好吗？评估威胁建模过程的有效性<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	    威胁建模是一项“安全社交活动”，结尾通过以下问题思考威胁建模过程对组织的有效性：</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">    1、我们知道我们在做什么吗？--是否有合适的资源、工具、流程、文化来执行威胁建模？</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">    2、我们知道会出什么问题吗？--发现的威胁数量是否符合预期？发现的威胁是否⽐预期的更多、相同或更少？</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">    3、我们做了什么？--缓解措施是否充分缓解了发现的威胁？</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">    4、我们执行得好吗？--威胁建模过程是否可以改进？能否真正改进了“车辆登记功能”的安全性？今后是否会为其他功能模块进行威胁建模？</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;">	    总而言之，威胁建模是一项投资——在笔者看来，这是一项很好的投资，因为与以后发现威胁相比，在功能的设计阶段发现和缓解威胁可以降低缓解的相对成本。随着时间的推移，持续实施威胁建模也可能会改善组织的安全状况。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 22px;"><span style="display: none;"></span>附录</h2><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 20px;"><span style="display: none;"></span>威胁建模模板<span style="display: none;"></span></h3><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 18px;"><span style="display: none;"></span>1、威胁假设<span style="display: none;"></span></h4><section data-tool="mdnice编辑器" style="overflow-x: auto;"><table><thead><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><th style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;font-weight: bold;background-color: rgb(240, 240, 240);min-width: 85px;">ID</th><th style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;font-weight: bold;background-color: rgb(240, 240, 240);min-width: 85px;">描述</th></tr></thead><tbody style="border-width: 0px;border-style: initial;border-color: initial;"><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;">假设-1</td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td></tr><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: rgb(248, 248, 248);"><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td></tr></tbody></table></section><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 18px;"><span style="display: none;"></span>2、威胁模型<span style="display: none;"></span></h4><section data-tool="mdnice编辑器" style="overflow-x: auto;"><table><thead><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><th style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;font-weight: bold;background-color: rgb(240, 240, 240);min-width: 85px;">优先级</th><th style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;font-weight: bold;background-color: rgb(240, 240, 240);min-width: 85px;">威胁ID</th><th style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;font-weight: bold;background-color: rgb(240, 240, 240);min-width: 85px;">标题</th><th style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;font-weight: bold;background-color: rgb(240, 240, 240);min-width: 85px;">细节</th><th style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;font-weight: bold;background-color: rgb(240, 240, 240);min-width: 85px;">潜在的威胁措施</th><th style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;font-weight: bold;background-color: rgb(240, 240, 240);min-width: 85px;">选定的威胁措施</th><th style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;font-weight: bold;background-color: rgb(240, 240, 240);min-width: 85px;">是否有缓解措施（是/否）</th></tr></thead><tbody style="border-width: 0px;border-style: initial;border-color: initial;"><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;">威胁用户 1</td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;">攻击者将合法用户的身份欺骗到API网关</td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;">未经⾝份验证的攻击者可以通过向 API Gateway 发出请求来列出、存储、检 索或搜索⽂档。</td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td></tr><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: rgb(248, 248, 248);"><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;">威胁-KMS-1</td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;">攻击者伪造KMS的身份 lambda</td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;">攻击者可以伪装成 KMS，例如通过篡改 DNS，以诱骗 Lambda 使⽤它来加 密/解密对象⽽不是真正的 KMS</td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td></tr><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td><td style="font-size: 16px;border-width: 1px;border-style: solid;border-color: rgb(204, 204, 204);padding: 5px 10px;text-align: left;min-width: 85px;"><br/></td></tr></tbody></table></section><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;padding: 0px;font-weight: bold;color: black;font-size: 20px;"><span style="display: none;"></span>参考资料<span style="display: none;"></span></h3><ol data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;list-style-type: decimal;" class="list-paddingleft-1"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;"><a href="https://www.youtube.com/watch?v=Yt0PhyEdZXU&amp;ab_channel=AdamShostack" target="_blank">https://www.youtube.com/watch?v=Yt0PhyEdZXU&amp;ab_channel=AdamShostack</a></p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;"><a href="https://github.com/adamshostack/4QuestionFrame" target="_blank">https://github.com/adamshostack/4QuestionFrame</a></p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;"><a href="https://www.youtube.com/watch?v=GuhIefIGeuA&amp;ab_channel=AWSEvents" target="_blank">https://www.youtube.com/watch?v=GuhIefIGeuA&amp;ab_channel=AWSEvents</a>
<a href="https://github.com/michenriksen/drawio-threatmodeling" target="_blank">https://github.com/michenriksen/drawio-threatmodeling</a></p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;"><a href="https://owasp.org/www-community/Application_Threat_Modeling" target="_blank">https://owasp.org/www-community/Application_Threat_Modeling</a></p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;text-align: left;color: rgb(1,1,1);font-weight: 500;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;margin: 0;line-height: 26px;color: black;"><a href="https://owasp.org/www-community/OWASP_Risk_Rating_Methodology" target="_blank">https://owasp.org/www-community/OWASP_Risk_Rating_Methodology</a></p></section></li></ol></section><p><br/></p>



<p><a href="2447805135">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=95fcc823&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447805135%26idx%3D1%26sn%3D99ceb8cacd82370085f5b7e6ced48f83%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Thu, 25 Aug 2022 18:44:00 +0800</pubDate>
    </item>
    <item>
      <title>【文末下载PPT】李中文：软件成分安全分析（SCA）能力的建设与演进</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447805109&amp;idx=1&amp;sn=d31f4db55f2099945d6a99d1fcc1e6f8</link>
      <description>本文首发原作者在CIS 2021的演讲PPT，重点介绍了软件供应链在应用研发过程引入的风险，业界的SCA理念，以及美团安全实际建设过程中遇到的问题和指标体系。</description>
      <content:encoded><![CDATA[<p>
<span>李中文（e1knot)</span> <span>2022-04-29 10:31</span> <span style="display: inline-block;">北京</span>
</p>

<p>本文首发原作者在CIS 2021的演讲PPT，重点介绍了软件供应链在应用研发过程引入的风险，业界的SCA理念，以及美团安全实际建设过程中遇到的问题和指标体系。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=6f3517b8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadkycMvfYVKVdKaw6oq7XyzGib8KQiaVpGU1tKcsl7kQvdPMt7m6I8BAdWMYOcaW14h02eGwJknY6Lw%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><section powered-by="xiumi.us" style="margin-top: 10px;margin-bottom: 10px;outline: 0px;max-width: 100%;box-sizing: border-box;color: rgb(34, 34, 34);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);text-align: center;justify-content: center;visibility: visible;overflow-wrap: break-word !important;"><section style="padding: 10px;outline: 0px;max-width: 100%;box-sizing: border-box;display: inline-block;width: 663.458px;border-width: 1px;border-style: solid;border-color: rgb(228, 233, 239);background-color: rgb(255, 253, 244);height: auto;visibility: visible;overflow-wrap: break-word !important;"><section powered-by="xiumi.us" style="margin-bottom: 5px;outline: 0px;max-width: 100%;box-sizing: border-box;visibility: visible;overflow-wrap: break-word !important;"><section style="padding-right: 10px;padding-left: 10px;outline: 0px;max-width: 100%;box-sizing: border-box;font-size: 14px;color: rgb(153, 151, 151);line-height: 1.6;visibility: visible;overflow-wrap: break-word !important;"><p style="outline: 0px;max-width: 100%;box-sizing: border-box;text-align: left;visibility: visible;overflow-wrap: break-word !important;">本文首发原作者在CIS 2021的演讲PPT，重点介绍了软件供应链在应用研发过程引入的风险，业界的SCA理念，以及美团安全实际建设过程中遇到的问题和指标体系。</p><p style="outline: 0px;max-width: 100%;box-sizing: border-box;text-align: left;visibility: visible;overflow-wrap: break-word !important;">不要被理论吓住，SCA没有什么黑科技，没必要想得过于复杂，分确定目标指标，收集资产和情报，确定运营标准，建立平台四步走，花两三年时间简简单单把每一个环节的基本功做好，就能解决问题达成效果。问题解决到一定程度，就有精力面临新的挑战了。</p></section></section></section></section><section powered-by="xiumi.us" style="outline: 0px;max-width: 100%;box-sizing: border-box;color: rgb(34, 34, 34);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);visibility: visible;overflow-wrap: break-word !important;"><section powered-by="xiumi.us" style="margin-top: 10px;margin-bottom: 10px;outline: 0px;max-width: 100%;box-sizing: border-box;color: rgb(34, 34, 34);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 16px;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);text-align: center;justify-content: center;visibility: visible;overflow-wrap: break-word !important;"><section style="padding: 10px;outline: 0px;max-width: 100%;box-sizing: border-box;display: inline-block;width: 663.458px;border-width: 1px;border-style: solid;border-color: rgb(228, 233, 239);background-color: rgb(255, 253, 244);height: auto;visibility: visible;overflow-wrap: break-word !important;"><section powered-by="xiumi.us" style="margin-bottom: 5px;outline: 0px;max-width: 100%;box-sizing: border-box;visibility: visible;overflow-wrap: break-word !important;"><section style="padding-right: 10px;padding-left: 10px;outline: 0px;max-width: 100%;box-sizing: border-box;font-size: 14px;color: rgb(153, 151, 151);line-height: 1.6;visibility: visible;overflow-wrap: break-word !important;"><p style="outline: 0px;max-width: 100%;box-sizing: border-box;text-align: left;visibility: visible;overflow-wrap: break-word !important;"><span style="outline: 0px;max-width: 100%;box-sizing: border-box;color: rgb(160, 160, 160);visibility: visible;overflow-wrap: break-word !important;"><span style="color: rgb(153, 151, 151);font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.544px;text-align: left;background-color: rgb(255, 253, 244);">/</span><span style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.544px;text-align: left;background-color: rgb(255, 253, 244);outline: 0px;max-width: 100%;box-sizing: border-box;color: rgb(255, 202, 0);visibility: visible;overflow-wrap: break-word !important;">/ </span><span style="font-family: -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.544px;text-align: left;background-color: rgb(255, 253, 244);outline: 0px;max-width: 100%;box-sizing: border-box;color: rgb(160, 160, 160);visibility: visible;overflow-wrap: break-word !important;">文丨李中文（e1knot）</span></span></p><p style="outline: 0px;max-width: 100%;box-sizing: border-box;text-align: left;visibility: visible;overflow-wrap: break-word !important;"><br style="outline: 0px;max-width: 100%;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;"/></p><p style="outline: 0px;max-width: 100%;box-sizing: border-box;text-align: left;visibility: visible;overflow-wrap: break-word !important;">现任美团安全高级工程师，负责公司基础安全运营相关的能力建设工作，拥有丰富的安全运营能力建设经验。曾在 DEFCON China、ISC等多个会议分享安全运营相关议题。</p></section></section></section></section></section><h1 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 24px;">前言<br/></h1><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    随着 DevSecOps 概念的逐渐推广和云原生安全概念的快速普及，研发安全和操作环境安全现在已经变成了近两年行业非常热的词汇。在研发安全和应急响应的日常工作中，每天都会收到大量的安全风险信息，由于目前在系统研发的过程中，开源组件引入的比例越来越高，所以在开源软件治理层面需要投入很多精力。但是由于早期技术债的问题，很多企业内部在整个研发流程中对使用了哪些开源组件，这些开源组件可能存在严重的安全隐患等相关的问题几乎是没有任何能力去收敛，所以多年前的 SCA（Software Composition Analysis 软件成分分析）技术又重出江湖，变成了这一部分风险治理的神器。本文主要探讨的范围是利用 SCA 技术实现对开源组件风险治理相关能力的建设与落地。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    SCA 概念其实出现很久了，简单来说就是针对现有的软件系统生成粒度非常细的 SBOM（Software Bill of Materials 软件物料单）清单，然后通过风险数据去匹配有没有存在风险的组件被引用。目前市面上比较出色的商业产品有 Synopsys 的 Blackduck 、Snyk 的 SCA 、HP 的 Fortify SCA 等，开源产品有国内悬镜的 OpenSCA 。但是通过对这些产品的调研和分析后发现，这些产品由于诸如风险数据库完整度、与现有研发流程耦合程度、性能和社区支持不完整等原因，不能很好地融入企业内部的研发流程，但是这一部分能力在企业内部对于SDL工作而言又是不可或缺的能力。所以企业内部的信息安全团队需要结合业务团队的需求，安全团队自身对于风险的理解，企业内部的研发流程现状和现有的技术与数据能力、应用成本和 ROI 等现状和问题进行综合考虑，打造自己的 SCA 能力，从而帮助业务团队多快好省地解决软件供应链层面上的信息安全问题，安全团队也可以更好地对组件风险问题进行全局视角下的治理。从上面的内容大家也许听出来了，在企业内部建设 SCA 能力的过程中会涉及到很多的产品和运营方面的问题，诸如跨部门协作、系统稳定性、业务和安全部门对于风险的定义不一致等问题。本文主要介绍 SCA 能力在企业内部实际落地的过程、遇到的问题以及对 SCA 技术的看法和展望，旨在为业界提供一个可以参考的解决方案和范本。</p><h1 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 24px;"><span style="display: none;"></span>安全视角下的研发风险</h1><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在企业内部的信息安全团队看来，很多企业内部实际上在整个研发流程当中遇到的风险面实际上是蛮多的，通过对于各种攻击面的梳理和分析之后，实际上在研发流程中被经常提及的风险主要包含以下三类。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span><strong>通用漏洞风险</strong></h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在组件安全层面上，首先遇到的问题，也是最容易发现的问题就是漏洞问题，造成的影响也十分直观，可以导致系统因为恶意的利用导致出现非预期的功能，进一步破坏系统的完整性和可用性。根据 2021 年 Synopsys 放出的软件供应链相关的数据显示，开源代码仓库中至少存在一个漏洞的仓库占整体开源仓库的比例从 2016 年的 67% 上升到了 84%，至少存在一个高危漏洞的代码仓库占全部仓库的比例从 2016 年的 53% 上升到了 60%，最高的时候是 2017 年，这一数字是 77%。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="0.7552742616033755" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="474" src="https://wechat2rss.xlab.app/img-proxy/?k=e1caa090&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafEicSrc1g98O8wkibnGU3cbX17HCJnJBDVVR2LRec6oCwnqskiaicczhhv6RtydufdSnQlbVtO5wFKaw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    而根据 2020 年 Snyk 发布的另一份开源组件与供应链安全的报告显示，漏洞的数量仍然需要提高警惕，XSS 漏洞仍然占据数量榜首，紧随其后的是命令执行类漏洞，这些漏洞会严重影响系统的稳定性。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="0.9294605809128631" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="482" src="https://wechat2rss.xlab.app/img-proxy/?k=e565f2d9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafEicSrc1g98O8wkibnGU3cbXkv3g2KX8x3LmrQO83wEkciaJwG8Gu6OQcrvcbRRiawwjic5tz8EkOibibwA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在上述所罗列出来的风险当中，当注意力集中到恶意包（Malicious Packages）上时，我们可以发现该类型的风险是 2019 年度上升幅度最快的威胁之一，这也引出了下面的问题。也就是软件供应链相关的风险。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span><strong>供应链相关的风险</strong></h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    开源组件的生产-构建-发布过程其实是与企业内部常规的系统研发上线的流程是一致的，简单来说可以抽象成下图中的样子：</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="0.2483221476510067" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="745" src="https://wechat2rss.xlab.app/img-proxy/?k=b9782ecc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafEicSrc1g98O8wkibnGU3cbXwc4ja7NZceWRFWUrqyUzZicicDrzeJJcwjsn8cjmicKVnQTjESw5h1Q9w%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    开源软件作者完成代码编写后 push 到源代码管理平台（GitHub、码云、Gitlab私服平台）等，然后在 CI/CD 平台上发起构建编译打包的流程，在这个过程中，CI/CD 平台会从组件依赖平台（Sonatype Nexus 私服或是 MVNRepository 官方源）上获取需要依赖的包，在 CI/CD 平台完成打包/镜像封装过程后，通过项目分发平台分发到生产环境上，更为现代的方法是直接拉取 Docker 镜像做部署，完成系统的上线。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    这个过程看似简单，但是实际上环节还是有不少的，我们把每个环节拆解来看，实际上每个环节都是会有很多风险的，如下图所示：</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="0.3669609079445145" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="793" src="https://wechat2rss.xlab.app/img-proxy/?k=d1aec10b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafEicSrc1g98O8wkibnGU3cbXgbWhnT1WcM5ZyicOQoFYWLYXjJojIJviaD2p3ibMA23zzu1p1QWcyqK0w%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-1"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">IDE 插件投毒：</strong>为了更高效率地开发软件，开发人员往往会在自己的IDE当中引入各种各样的插件来提升自己的开发体验与效率。这个是一件非常正常的事情，但是往往软件开发人员没有足够的安全意识，导致自己的IDE中可能会安装了一些有问题的组件，甚至 IDE 本身也出现了供应链投毒的情况，这种 case 多到数不胜数，比较出名的是2021年5月份 Snyk 披露的一份安全报告中显示攻击者在 VSCode 的插件市场发起了投毒行为，一些有问题的扩展是“LaTeX Workshop”、“Rainbow Fart”、“在默认浏览器中打开”和“Instant Markdown”，所有这些有问题的扩展累计安装了大约 200 万次，此次事件所造成的影响是非常广泛的。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">提交缺陷代码：</strong>在软件开发环节，开发人员因为水平、安全意识的诸多原因，往往会在开发过程中引入漏洞，这本身是一件十分正常的事情，但是对于开源软件而言，因为几乎是所有人都可以向开源项目提交代码，并且通过审核后就可以merge进项目，所以总会有不怀好意的人故意引入有问题的代码，比较典型的 case 是2021年4月，明尼苏达大学 Kangjie Lu 教授带领的研究团队因故意向 Linux 引入漏洞，导致整所大学被禁止参与 Linux 内核开发。除开道德问题，这种风险实际上有可能因为审核的疏忽导致风险直接被引入。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">源代码平台被攻陷：</strong>其实 Git 平台本身由于保护不当，也有极大的概率被攻陷，虽然说攻陷GitHub这种平台本身不太现实，但是有很多开源项目都是自己搭设的Git平台，再加上一些众所周知的原因，Git平台本身缺乏保护是一件很大概率发生的事情，在2021年3月，PHP 的官方 Git 就遇到了类似的case，由于 PHP 官方 Git， PHP 团队在 git.php.net 服务器上维护的 php-src Git 仓库中被推送了两个恶意提交。攻击者在上游提交了一个神秘的改动，称其正在&#34;修复排版&#34;，假装这是一个小的排版更正，并且伪造签名，让人以为这些提交是由已知的 PHP 开发者和维护者 Rasmus Lerdorf 和 Nikita Popov 完成的。所以Git平台的安全保护本身也是需要提高重视的。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">代码branch被篡改导致打包结果不一致：</strong>由于开源项目的 Git 仓库是向所有人开放的，有些攻击者会尝试新建不同的 branch 植入代码然后进行发布，这样虽然编译过后的包带有CI/CD平台的签名，但是仍旧会引发严重的安全隐患，早在2019年的 DEFCON 会议上，就有安全研究员就发现了WebMin的1.890在默认配置中存在了一个很严重的高危漏洞，1.882 到 1.921 版本的 WebMin 会受到该漏洞影响。但奇怪的是，从 GitHub 上下载的版本却未受到影响，影响范围仅限于从SourceForge下载的特定版本的WebMin，后来经过调查后发现，是代码仓库没有添加分支保护机制出现了问题，引发此类安全风险。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">CI/CD 体系被攻陷：</strong>在前面如果我们完成了代码完整性检测的话，如果流程没有被篡改或者构建平台运行正常，一般情况下出现问题的几率很低，但如果 CI/CD 平台和前面的 Git 一样被恶意篡改或是破坏，结果必定会出现安全隐患，SolarWind 事件就是由于这一原因导致的，攻击者在 CI/CD 过程中嵌入了后门，通过了签名校验，再通过 OTA 分发补丁之后导致出现了让人震惊的供应链攻击事件。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">不安全组件引入：</strong>在依赖引入的过程中，如果引入了有问题的组件，则相当于引入了风险，这也是目前最典型的供应链攻击手段，通过我们对各个源的安全调查和分析后发现，投毒的重灾区在 Python 和 NodeJS 技术栈（一个原因是因为前端的挖矿已经很成熟，容易被黑产滥用，另外一个原因是Python的机器学习的库相当丰富，加上机器学习配套的计算环境性能强悍，导致挖矿的收益会比入侵普通IDC主机更高）。由于例子相当多，在这里就不一一列举了。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">外部 CI/CD 流程构建：</strong>因为 CI/CD 平台有时候不能满足需求，或开发者出于其他因素考量，会使用非官方的 CI/CD 进行构建，而是自己上传打包好的 jar 或者 docker 镜像来部署，更有甚者会同时把打包工具链和源代码一起打包上传到容器实例，然后本地打包（极端情况下，有些“小可爱”的依赖仓库都是自己搭建的 Sonatype Nexus 源管理系统）。因为很多开源软件的使用者不会去做 CI/CD 的签名校验（比如说简单匹配下 hash），导致这类攻击时有发生。早在2008年的时候，亚利桑那大学的一个研究团队就对包括 APT、YUM 在内的 Linux 包管理平台进行了分析和研究，发现绝大多数源都不会对包进行校验，这些包随着分发，造成的安全问题也越来越广泛。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">直接部署有问题的包：</strong>有些打包好的成品在使用的时候，因为没有做校验和检查，导致可能会部署一些有问题的包，最典型的例子是 Sonatype 之前披露的 Web-Broserify 包的事件，虽然这个包是使用了数百个合法软件开发的，但它会对收集目标系统的主机信息进行侦查，所以造成了相当大规模的影响。</section></li></ul><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span><strong>过维护期的组件</strong></h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在实际的生产环境中，有很多的开发者使用的运行时版本、组件版本以及 CI/CD 平台版本都是已经很久未更新的。虽然说站在安全的角度上讲，我们希望所有的系统都用上最新版本的组件和中间件，但是事实情况是，基于业务自身的规划迭代、大版本改动较多容易引发兼容性问题导致升级迁移成本过高等诸多原因，使得落地这件事情就变的不是那么容易。为了让安全性和易用性达到平衡，企业内部往往会妥协到通过其他手段收敛攻击面并且建立旁路的感知体系，保证除了安全问题可以及时发现和止损。但是长久看来引入过时版本的组件会引发诸多问题：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-1"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">维保问题：</strong>因为开源社区的人力和精力有限，往往只能维护几个比较主要的版本（类似于操作系统中的 LTS 版本，即 Long-Term Support，长期支持版本是有社区的长期支持的，但是非 LTS 版本则没有），所以一旦使用过时很久的版本，在安全更新这一部分就会出现严重的断层现象，如果出现了高危漏洞，官方不维护，要么就是自己编写补丁修复，要么就是升级版本达到长痛不如短痛的效果，要么就是像一颗定时炸弹一样放在那里，祈求攻击者或者蓝军的运气差一点。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">安全基线不完整：</strong>随着信息安全技术的发展和内生安全的推动，版本越新的安全组件往往会 secure by design，让研发安全的要求贯穿整个研发设计流程。但是早期由于技术、思路、攻击面的局限性，这一部分工作往往做了跟没做一样。感触特别深的两个例子一个是前几年 APT 组织利用的一个 Office 的 0day 漏洞瞄准的是 Office 中一个年久失修的组件，这个组件可能根本连基本的 GS（栈保护）、DEP（数据区不可执行）、ASLR（内存地址随机化）等现代的代码安全缓解机制都没有应用。熟悉虚拟化漏洞挖掘的同学们可能知道 QEMU/KVM 环境中比较大的一个攻击面是QEMU模拟出来的驱动程序，因为QEMU/KVM 模拟的驱动很多都是老旧版本，所以会存在很多现代化的安全缓解技术没有应用到这些驱动上面的情况，从而引入了攻击面。其实在开源软件的使用过程中也存在类似的情况，我们统称为使用不具备完整安全基线的开源软件。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">未通过严谨的安全测试：</strong>现在的很多开源组件提供商诸如Sonatype会在分发前进行一定程度的安全检测，但是时间越早，检测的范围越小，换句话说就是，组件越老出现的问题越多。毕竟之前不像现在一样有好用的安全产品和安全思路，甚至开发的流程也没有嵌入安全要求。而这样就会导致很多时候新发布的版本在修复了一个漏洞的同时又引入了一个更大的漏洞，导致风险越来越大，越来越不可控。</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    综上，在安全团队的视角看来，风险无处不在。但是在一个非安全业务的安全公司，往往业务对于风险的理解和要求与安全团队可能大相迳庭。</p><h1 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 24px;"><span style="display: none;"></span>业务视角下的安全研发风险</h1><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    实际上在业务同学看来，他们也十分重视信息安全的相关工作，有些公司的业务技术团队甚至成立了专门的安全团队来协助研发同学处理安全相关的问题。可见业务不是排斥甚至抵制安全工作，而是缺乏合理化和可操作的安全指导，导致业务同学不知道我们有什么风险。在实际的组件风险修复过程中，我们也收到了很多业务同学的反馈和吐槽。总结起来有以下几种情况：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-1"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">兼容性问题：</strong>在推动以版本升级为主要收敛手段的风险修复中，业务提出最多的质疑往往是兼容性问题，毕竟稳定性对于业务是非常重要的，所以一般情况下我们在推动升级的时候，往往会推送安全稳妥且稳定性最高的修复版本，作为主要的升级版本。但这种问题不是个例，每次遇到此类型推修的时候，业务都会问到类似问题。考虑到本文篇幅原因，这里就不展开讲具体的策略和方法。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">安全版本的问题：</strong>和上一个问题类似，业务同学在引入组件的时候往往也会考虑安全性问题，但业务同学由于缺乏很多安全知识，导致自己对于“安全版本“的判断会有一定出入，所以业务同学会把这个问题抛给安全同学。但是安全团队也不能100%正确回答这个问题，因为开源组件这么多，我们不能像 Google、微软这种财大气粗的公司一样把市面上所有的组件安全性全都分析一遍，所以一般只能现用现查。这一来一去，会拉低这一部分的质量和效率。所以这一部分的需求也是重要且很急迫的。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">追求“绝对安全”：</strong>有些业务同学会直接问你，我到底该怎么干，我才能安全地用各种组件？话虽直接，但是能够体现出背后的问题——安全的尺度和评价标准不够透明。提升安全的可量化并且追求标准透明也是非常急迫的，考虑到这是一个运营的问题，在此就不展开叙述了。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">合规问题：</strong>很多业务会不了解开源协议导致不小心违反了开源协议的约束，引发法务问题。</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    从实际情况来看，业务同学并不是不想做安全，很多时候是缺乏一个有效的机制，告诉他们引入的软件依赖是否安全，需要完成那些操作和配置才能让开源组件用着安全。作为安全工程师而言，我们需要站在业务的立场上去设身处地想想，这些问题是不是真的不能被解决。由于业务和安全双方都有关于组件安全相关的需求，恰好 SCA 这项技术可以很好地满足业务和自身的需求，所以在整个 SCA 建设的过程中，我们需要不断去挖掘这些需求。</p><h1 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 24px;"><span style="display: none;"></span>SCA 建设的过程</h1><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    SCA 其实并不是一项很先进的技术，只是在现代的研发过程中随着流程的标准化、组件的丰富化、开源社区的活跃以及开发成本的降低等诸多原因，使得一个项目中纯自己写的代码占整个项目中全部代码的比例越来越低了。也就意味着供应链的问题产生的影响会越来越大，随着 DevSecOps 的火爆，重新带火了 SCA 这一传统的技术。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    根据很多企业内部的实践以及业界对于 SCA 技术的理解，我们认为 SCA 比较核心的功能有以下几点：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-1"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">软件资产的透视：</strong>企业内部需要对所有的应用系统引用了哪些组件这件事情有着非常清晰的认知，在考虑尽量多的情况下覆盖绝大多数的场景（业务应用系统、Hadoop 作业等数据服务、Puppet 等运维服务等），并且研究他们的开发流程，分析哪些阶段可以引入 SCA 能力做风险发现。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">风险数据的发现：</strong>现在是一个数据爆炸的时代，安全团队每天需要关注的安全风险信息来源五花八门，但是需要尽可能多地去收集风险相关的数据，并且做上下文整合，使之可以自动化和半自动化地运营起来。但仔细想一下，除了追求风险数量，能否更进一步追求更强的实效性，达到先发制人的效果？通过企业内部多年的安全威胁情报能力建设，同时追求实效性和可用性的双重SLA是可行的。除此之外，需要关注的风险不能仅仅局限于漏洞和投毒这两个场景，还需要对开源软件的基线信息也进行收集。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">风险与资产关联基础设施的建设：</strong>以上的两个方向是在数据维度的需求，考虑 SCA 落地不单单是信息安全部门的事情，实际落地过程中需要与业务自己的质量效率团队、运维团队建立良性的互动机制，让安全能力深入到业务，所以需要建设相关的基础设施去实现核心API能力的建设，对业务赋能。虽然听上去很简单，但实际上开发的东西可能是 UDF 函数，也可能是某些分析服务的插件，甚至可能是CEP（Complex Event Process复杂事件处理，一种应用于实时计算的分析技术）的规则。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">可视化相关需求：</strong>既然有了风险，安全团队及业务相关团队的同学除了自己知道之外，还需要让负责系统开发相关同学也知道风险的存在，并且要及时给出解决方案，指导业务完成修复，同时安全团队也需要通过获取运营数据知道风险的修复进度。</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    正所谓罗马不是一日建成的，虽然现在确定了 SCA 建设需求和建设的方向，但是落地起来的话仍然需要分阶段完成。正如建设其他的安全子系统一样，安全团队需要按照从基础数据/SOP 建设到平台化系统化的建设来完成整个 SCA 能力的落地。所以在实际操作过程中，应该将整体建设分成三个阶段进行：</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>第一阶段：</strong>数据盘点与收集，在项目建设前期，信息安全团队应当和企业内部的基础架构相关的团队，完成企业内部基础组件的数据资产盘点，旨在从基础技术和信息安全的视角实现对研发技术栈、研发流程链路的摸排，在合适的位置进行数据卡点获取相关数据，完成对资产数据的采集。另一方面，信息安全部门在现有的威胁情报经验和数据上，对组件数据进行数据封装和整合，建立一个单独的开源组件风险数据库，旨在收集来自于全量互联网上披露的风险，方便与后面的资产数据进行联动。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>第二阶段：</strong>SOP（Standard Operating Procedure，标准运营流程）和概念验证建设，信息安全团队通过自己的漏洞修复经验进行SOP的固化，通过不断地调优，完成一个通用的漏洞修复 SOP，通过实际的演练和概念验证（PoC，即Proof-of-Concept）证明该 SOP 可以在现有的技术条件下很好地完成风险修复这一部分工作。同时结合 SOP，对之前收集的资产数据和风险数据进行查漏补缺，完成对数据和数据链路的校验工作，保证系统高可用。在这个阶段，SCA 的服务提供方需要开放部分的核心API给部分业务的质量效率团队，帮助进行测试并收集使用反馈，让其融入自己的风险治理环节。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>第三阶段：</strong>平台化及配套稳定工作的建设：当 SOP 初步成型并且完成了概念验证之后，应当需要建设对应的平台和子系统，让这一部分工作脱离手动统计，使其接近 100% 线上化。得益于内部 SOC 的模块化设计，可以在现有的平台上轻松构建出 SCA 相关的子系统，完成能力的数据。针对终端用户可视化风险这一问题，SCA 子系统会提供核心的 APIs 给面向研发同学端的 SOC 平台完成风险信息的同步。为了保证服务的高可用，后续还会建设配套的数据链路检查机制，不断完善数据可用性。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="0.36447368421052634" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="760" src="https://wechat2rss.xlab.app/img-proxy/?k=44e4c34a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafEicSrc1g98O8wkibnGU3cbXly6om83N5ibaicNXSpYMuI1lQNEddpYbT85465iarz4XFXZiajvTEcJR7Q%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    一些比较重要的工作如上图所示。三个阶段完成之后，SCA 的能力大概就建设好了，但在建设过程中，安全团队需要考虑很多东西。笔者个人认为如果说安全厂商的安全产品和服务可以被认为是问题解决的分子的话，甲方安全团队的工作更多的是做大做全分母，要把各种情况都考虑面面俱到，才能保证风险不被遗漏。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    首先来说在资产建设方面，企业内部的安全团队、质量效率团队以及数据平台团队等存在研发流程的技术团队，需要配合完成自己所辖的 CI/CD 系统数据和数据服务构建数据的采集工作，同时也在为IDE插件团队提供了 SCA 的 API，完成了从代码开发环节到应用上线环节的数据采集。但是我们在应用这一部分数据之后发现了很多问题，除开数据本身质量和准确度不谈（不谈不代表重要，相反这一部分很重要，后面会介绍这一部分），按照前面提到的场景，还会有很多额外场景，比如说业务在灰度了一部分之后就忘掉了还没灰度完，导致一个服务下面只修复了一部分机器，再比如有很多的“小可爱”会绕过企业本身的 CI/CD 流程进行部署操作（有些甚至还是自己人）。为了考虑到这些额外的情况，我们应该从主机的粒度重新考虑这件事情，也就是说通过主机实例（docker容器、虚拟机、物理机）本地的 HIDS agent ，完成文件信息、进程信息、环境变量、shell-log 等信息的分析，确定主机实例修复完毕了。这样我们就建立了一个构建链路-主机维度的数据正反校验机制，理论上讲主机端 HIDS agent 覆盖度和存活率都达标的话，我们几乎可以得到一份详细的软件资产的数据（当然数据不准、延迟这些问题是肯定还会有的），详细的落地核心工程和结构关系看下图：</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="0.34492753623188405" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="690" src="https://wechat2rss.xlab.app/img-proxy/?k=b0f37ff0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafEicSrc1g98O8wkibnGU3cbX0EWib89DaEtIGI3xWv2qu0PtUyot2UjftUnOGEZk5Yo5sJAAwPCe4iaw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在数据确定覆盖的差不多的时候，我们需要通过数据总线传递给数据仓库和计算引擎，完成数据的交叉和分析工作，得出的结果便是存在哪些风险和风险进度。在这里实时引擎一方面需要承担增量资产数据的分析，另一方面也会保存很多聚合的 CEP 规则进行分析。离线引擎则是完成存量风险的周期性发现和治理工作。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    讨论完资产数据的采集之后，我们来谈论风险数据的收集。早在威胁情报体系化建设阶段，组件漏洞情报就作为基础安全情报应用场景下漏洞情报的一个子集一直存在，但由于之前局限于“漏洞=风险”的观念，导致实际执行过程中只存放了组件漏洞相关的风险信息，在综合评估完现有的需求和实际情况之后，发现当前组件漏洞数据，只能承担一部分研发安全风险的治理工作，而像对于供应链投毒、开源组件基线情况等其他类型的风险数据，由于当时还没有数据能够提供成熟的能力输出给业务方使用，经历过充分的讨论和调研之后，决定将组件相关的漏洞数据独立出来，并且新增采集供应链安全的其他风险数据，重新建立一个组件安全相关的数据库，完成风险数据的存储和应用。通过结合自身威胁情报的实践和业界关于组件风险收集的最佳实践来看，打算从5个维度实现对组件相关的风险进行收集和存储：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-1"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">NVD/CNVD/GitHub-GHSA 等通用漏洞数据库：</strong>这个是基本操作，旨在收集漏洞风险，结合漏洞实际情况进行人工和研判。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">开源组件提供商的 Jira、Commit、Release 和 Bugzilia 等 Pull-Request 相关的数据：</strong>通过获取相关的数据，结合自研的 NLP（Natural Language Process，自然语言分析）分析引擎对内容进行倾向性判断，过滤并输出安全相关的信息，然后组织人工或自动化研判，通过实践发现可以大幅度提前发现风险（笔者在 ISC2019 上曾经阐述过风险发现前置的必要性和落地经验）。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">组件专用风险库：</strong>经过我们对于漏洞数据相关的调研，诸如 Github 和 Snyk 这些机构会有专门的组件风险库对外提供，通过获取并分析这些信息，经过加工后可以得到可用性极高的组件风险库，可按需研判。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">软件风险相关的新闻资讯和 RSS 订阅：</strong>这类源主要是解决 0day 和被 APT 组织在野利用等特殊披露的漏洞，同 Pull-Request 数据一样，该类型的绝大部分风险数据都是需要通过NLP分析引擎进行情报数据分析，进一步进行情感推断后才达到可用标准。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">手动录入：</strong>也是常规操作，虽然采集了很多类型的风险，但的确受限于供应链攻击的多种多样和发展，所以不可能考虑的面面俱到，所以仍旧需要手动接口补充需要运营的风险。但安全团队仍希望将手动录入的风险占全部风险的比例，控制到一个合理的范围，保证这部分能力不会因为运营人员的问题（如经验不足、离职等）而导致能力的闪崩性缺失。</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    通过上面的信息，我们发现这里面绝大部分数据都是非结构化的，换句话说就是不可以直接拿来使用，需要处理（异构数据、自然语言数据）后才可以使用，所以我们在处理时会引入 NLP 分析引擎并且对漏洞风险数据打标后（主要工作是添加 RepoID 用来和资产数据联动），才可以向下传递给数据引擎和 APIs 。（从威胁情报数据建设的角度来看，2019 年前后，基础安全相关的威胁情报实现了结构情报和非结构情报约为 1:1 ，现在非结构的情报数据远高于结构化的情报数据，这也越来越接近于设计的目标），具体的落地核心工作内容和关系结构如下图所示：</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="0.37037037037037035" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="702" src="https://wechat2rss.xlab.app/img-proxy/?k=e7cf115d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafEicSrc1g98O8wkibnGU3cbXVoSLVYC6L21S3iagIp4Y8JXYSILxia3fxQ1Ngjgt09ricKib72bYjtnt7w%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在风险信息处置环节，实时计算引擎和离线引擎的作用与资产数据处理的时候是一致的，主要解决增量和存量的问题。同时考虑到业务自身会有自助排查风险的需求，SCA 平台也会提供一些核心的 APIs 给业务方。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在开始着手建设这些数据相关的基础设施时，需要提出一些建设指标，防止一些关键的功能因为平台本身的问题，导致服务大规模不可用。在资产方面，目前资产数据库的基础设施可以支持 TB 级别资产数据的检索能力，返回时间不超过 100 毫秒；而在风险数据建设方面，目前覆盖了共计 10 个技术栈（包含主流的 Maven/Gradle、PyPi、NPM、SPM、APT/Yum、CocoaPods 在内）共计约 59 万条风险数据，更新周期在两小时以内，通过计算引擎可以和资产数据进行快速匹配，节省了将近 95% 的受影响资产排查时间，大大提升了运营效率。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在匹配规则建设方面，因为数据来源较多且杂乱，通过自研的NLP分析引擎进行大规模的训练和处理数据之后，可以统一到一个比较固定的数据结构里面，在打标处理后可以实现和资产数据的高效联动。鉴于 NLP 模型的训练过程和训练方法不属于 SCA 建设过程中比较重要的技术，所以本文中不会展开叙述详细的训练过程和情感推断训练过程。除了资产信息关联之外，风险数据库可以同时实现对 CVSS（即 Common Vulnerability Scoring System，即通用脆弱性评分系统）的匹配，及时推送满足 CVSS 影响范围（这里不是指 CVSS 分数，而是指 CVSS 的描述表达式）的漏洞信息，提醒安全运营的同学关注相关风险并及时进行研判。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="0.7552742616033755" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="474" src="https://wechat2rss.xlab.app/img-proxy/?k=e1caa090&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafEicSrc1g98O8wkibnGU3cbX17HCJnJBDVVR2LRec6oCwnqskiaicczhhv6RtydufdSnQlbVtO5wFKaw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    对于风险的基线数据，目前基线建设数据没有一个相对完整的参考标准，但是 Google 推动成立的 OpenSSF基金会（Open Source Security Foundation，在 Google 等互联网企业和美国政府的推动下成立的开源组件安全基金会）在 2021 年下旬发布的 ScoreCard 功能是一个很好的参考标准，结合同样是 OpenSSF 推出的 AllStar 基线检测工具，可以完美补充组件基线相关的数据。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="1.0097087378640777" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="412" src="https://wechat2rss.xlab.app/img-proxy/?k=b17d2659&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafEicSrc1g98O8wkibnGU3cbX9O6czjibtFibwrHuckkoLny7icriceymOGhQQcOf8StFHAuZavwudskic9A%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><h1 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 24px;"><span style="display: none;"></span>SCA 建设中遇到的问题</h1><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在 SCA 建设过程中，实际上并不是一帆风顺的，总结一下困难的地方，有以下几个方面：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-1"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">漏洞-资产关联规则缺乏一个成熟且有效的行业标准：</strong>在 SCA 领域，目前没有一个成熟的可以匹敌 NVD 相关的生态环境，在 NVD 体系下，有用来描述漏洞信息的 CVE ，有描述资产影响范围的 CPE（Common Product Enumunation），有描述攻击路径的 CAPEC（Common Attack Pattern Enumeration and Classification），还有描述风险类型的 CWE（Common Weakness Enumunation），但是在组件安全领域，由于各家公司的基础设施建设成熟度和技术选型差异巨大，所以没有一个可用的完整生态可以做到开箱即用，所以我们需要基于现有的技术架构和基础设施来设计自己的规则，同时推广这套标准在安全运营工作中落地。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">数据质量与数据链路的可靠性：</strong>数据质量和可用问题是自打立项开始一直到后期运营都会出现的问题，问题可能来自于上游采集逻辑不完备或采集错了的原因，还有数据链路不稳定导致写入计算引擎出现大批量丢失的问题，还有数据链路没有检查机制导致不知道具体问题出在哪里，甚至由于使用的数据分析技术栈的原因，导致打过来的数据是错乱的，错乱的数据有可能会影响CEP规则的准确性和有效性。这当中的有些问题不是偶发的，甚至有些问题是在真实应用的场景下仍旧会高频出现，所以建立一个长效的数据拨测机制和数据污点追踪能力是必要且必须的。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">风险数据的数据结构与准确度：</strong>由于在风险数据中引入了过多的来源，且大量引入了机器学习和NLP技术把非结构化数据转换成结构化数据，考虑到模型训练的精度、训练样本数据、训练网络等问题，导致平台提取出来的漏洞信息很多时候会有一定的出入，并且由于风险情报数据比较依赖上下文和实效性，所以需要在各方面做取舍，这个问题其实和数据的问题一样，不是一朝一夕能解决的，需要大量的实践运营和拨测机制case by case地去推动解决。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">CI/CD管制与非标准资产的治理：</strong>这一方面实际上与 SCA 落地的关系不是很大，但是拿出来的原因是 SCA 本身是一个需要强关联研发流程的能力，好的 SCA 平台除了可以提供标准化的APIs和GUI让用户快捷操作，同时也需要兼容非标准的发布流程和上线标准，这就是为什么除了主要的几个技术栈之外仍旧覆盖了一些偏小众的技术栈，如C#/Powershell的NuGet、ErLang的Hex包管管理等。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">资产透视深度：</strong>这一部分其实是 SCA 核心能力的体现，从理论上讲，SCA 是有能力分析诸如FatJar这种开源组件嵌套的jar包，但实际上受制于数据质量和技术能力，往往无法分析到一个非常细的粒度，所以这一部分需要去设计一个MTI（maximum tolerate index在这里表示可接受的最粗分析粒度）指标去指导相关的设计。</section></li></ul><h1 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 24px;"><span style="display: none;"></span>SCA 技术未来的展望</h1><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在建设过程中，我们参考了很多公司和商业产品对于组件风险分析和治理的最佳实践，翻阅了大量与软件成分分析技术以及软件供应链安全治理相关的论文文献、公开的专利以及企业的博客。其中 OpenSSF 基金会的一些研究成果让人印象深刻。在2021年6月份 OpenSSF 发布 SLSA （Supply chain Levels for Software Artifacts，即软件供应链安全等级）之后，围绕 SLSA 这一套标准陆续发布了很多有助于我们分析的数据服务和产品，比如准 SCA 产品 Open Source Insight，漏洞风险库 OSV（Open Source Vulnerabilities，开源组件风险数据），软件安全基线检查工具 AllStar 和 ScoreCard，开源组件风险奖励计划 SOS Rewards（可以理解为是开源组件的漏洞奖励计划）。可以初步看到未来 SCA 的建设路线一定是三个方向：追求足够细粒度的资产和风险透视能力，风险的主动识别能力和开源软件的基线检查能力。换句话说，SCA如果想做到足够有效，需要覆盖从软件开发到上线的所有环节，包括代码完整性、流程完整性和基线巡检功能，都会需要 SCA 的核心能力。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    除了 SCA 提供的风险透视能力，在整个DevSecOps环节，安全团队、质量效率团队、运维团队和业务团队需要非常默契的配合，大家各司其职共同解决研发方面的风险，在这其中，安全团队能够提供的，除了风险数据和修复建议之外，还需要提供一些对应的基础设施帮助业务团队更高效地处置风险。扩展到整个开源软件风险治理方面，也可以给大家一个 cheatsheet 做参考。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img class="rich_pages wxw-img" data-ratio="0.28530259365994237" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="694" src="https://wechat2rss.xlab.app/img-proxy/?k=b21358de&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafEicSrc1g98O8wkibnGU3cbXyFVrkHqOKB4vANWVb0VWO4YbHk1nhBsMuod3OLEVqsEe4nNCbn9RWA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    当然想要做到以上所有的项目，实际上对于企业的基础架构和基础设施有一定的要求，但好在目前开源社区对于供应链安全治理提供了一些安全的解决方案，诸如国外由 OpenSSF 或者商业公司牵头设计开发的一系列工具链，如 ChainGuard.dev，SigStore，Anchore 等，当然国内也有很多优秀的开源解决方案。可以在进行一定修改之后，集成到现有的基础架构中。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    考虑到安全的对抗属性在里面，SCA 工具如果融合进企业内的研发流程中，必然会引发很多对抗 SCA 检测的路子，况且在调研过程和实际处置过程中，绕过固有研发流程的情况是比较常见的，所以后续在继续建设 SCA 能力的过程中会逐步加入对抗的检测和加固，防止漏网之鱼。</p><h1 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 24px;"><span style="display: none;"></span>结语</h1><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    以上为在整个 SCA 能力建设过程中的一些想法和实践，在建设 SCA 能力的过程中，通过与各团队的协同工作和沟通，了解了很多业务对于组件安全方面的想法和真实需求，通过需求得出需要建设的能力，在技术方案落地中，企业内部部署的很多安全产品，诸如HIDS Agent和RASP等，可以从主机的角度去反向验证建设的过程是否正确。SCA 能力的落地离不开安全团队与业务团队的配合。实际上在 SCA 的建设过程中，我们如果再往更深层次去看，会发现诸如闭源软件、开源软件的跨架构、跨编译器的识别、其他载体（比如容器镜像、软件成品）的安全分析等，这些技术挑战对于实际企业内落地 SCA 能力而言还是蛮高的，考虑到目前的解决方案还停留在 PoC 阶段，故不在本文中提及。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    如果抛开整个落地的过程，考虑到各家在基础设施、核心技术栈、主机信息监控能力的参差不齐，所以必定会有不能落地的地方。而站在安全服务提供商的角度上看，SCA 相关的产品未来建设的过程中可能需要更加轻量化和开放协同化。所谓轻量化，是指产品的核心功能可以在脱离基础设施多种多样的前提下，能够稳定高效的去提供核心能力，做到很好地与客户的研发流程完美衔接，从调研结果来看，目前市面上所有的 SCA 产品，基本上都存在一个架构设计比较重的问题，不能很好去融入现有的CI/CD流程。所谓开放协同化是指，可以通过多种方式去和其他的安全产品和安全能力提供数据的共享机制，实现与其他安全设备在数据上的联动，互相补齐对应的风险发现能力，做到简洁和高效。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    以上是我们对 SCA 能力建设过程当中的想法。从长远的角度看，我们是希望从源端建立起一套完整的零信任供应链风险管控体系，覆盖从引入-开发-编译-部署-使用的全生命流程，做到真正意义上的 secure-by-default，从纵向来看，我们需要在研发流程的框架下尽可能全的理清整个系统的 SBOM 级的数据依赖情况，同时从横向来看，我们还需要保证目前收集到的组件相关的风险数据和极限数据所覆盖的技术栈足够的全面和准确。恰好这两部分能力是 SCA 能力中比较核心的两个能力，也就说明了 SCA 能力这是这一体系当中比较重要的一环，可以为整个体系提供一套完整的知识库，为后续供应链风险检测逻辑提供一套完整的数据。最后，特别感谢质量效率团队、基础技术团队、到店事业群技术部餐饮的测试团队在整个 SCA 能力建设过程中提供帮助和建议。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    如有兴趣探讨，可联系 美团SRC 运营同学索要原作者的微信，可以继续讨论。</p><h1 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 24px;"><span style="display: none;"></span>参考文献</h1><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-1"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://www.gartner.com/reviews/market/software-composition-analysis-sca" target="_blank">https://www.gartner.com/reviews/market/software-composition-analysis-sca</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://snyk.io/blog/visual-studio-code-extension-security-vulnerabilities-deep-dive/" target="_blank">https://snyk.io/blog/visual-studio-code-extension-security-vulnerabilities-deep-dive/</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://www.reddit.com/r/HobbyDrama/comments/nku6bt/kernel_development_that_time_linux_banned_the/" target="_blank">https://www.reddit.com/r/HobbyDrama/comments/nku6bt/kernel_development_that_time_linux_banned_the/</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://www.bleepingcomputer.com/news/security/phps-git-server-hacked-to-add-backdoors-to-php-source-code/" target="_blank">https://www.bleepingcomputer.com/news/security/phps-git-server-hacked-to-add-backdoors-to-php-source-code/</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://portswigger.net/daily-swig/webmin-backdoor-blamed-on-software-supply-chain-breach" target="_blank">https://portswigger.net/daily-swig/webmin-backdoor-blamed-on-software-supply-chain-breach</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://www.mandiant.com/resources/evasive-attacker-leverages-solarwinds-supply-chain-compromises-with-sunburst-backdoor" target="_blank">https://www.mandiant.com/resources/evasive-attacker-leverages-solarwinds-supply-chain-compromises-with-sunburst-backdoor</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://blog.sonatype.com/open-source-software-is-under-attack-new-event-stream-hack-is-latest-proof" target="_blank">https://blog.sonatype.com/open-source-software-is-under-attack-new-event-stream-hack-is-latest-proof</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://www.cs.arizona.edu/sites/default/files/TR07-02.pdf" target="_blank">https://www.cs.arizona.edu/sites/default/files/TR07-02.pdf</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://www.microsoft.com/security/blog/2020/07/20/open-source-security-managing-risk-software-composition-analysis/" target="_blank">https://www.microsoft.com/security/blog/2020/07/20/open-source-security-managing-risk-software-composition-analysis/</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://www.microsoft.com/security/blog/2020/01/16/introducing-microsoft-application-inspector/" target="_blank">https://www.microsoft.com/security/blog/2020/01/16/introducing-microsoft-application-inspector/</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://csrc.nist.gov/CSRC/media/Projects/cyber-supply-chain-risk-management/documents/C-SCRM_Fact_Sheet_Draft_May_25.pdf" target="_blank">https://csrc.nist.gov/CSRC/media/Projects/cyber-supply-chain-risk-management/documents/C-SCRM_Fact_Sheet_Draft_May_25.pdf</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="http://go.anchore.com/rs/603-AEB-887/images/Anchore%20Software%20Bill%20of%20Materials%202021.pdf?mkt_tok=NjAzLUFFQi04ODcAAAGD5M9YCkwNcfKEavmNJ2xAVSBbU6YN6NBY7Er1PH6DD81eqWLXigqRla69Zy3jJFDbhLmPe4t4iMiTwcOm648mXy2ytLVplQi5Tg0tIQ" target="_blank">http://go.anchore.com/rs/603-AEB-887/images/Anchore%20Software%20Bill%20of%20Materials%202021.pdf?mkt_tok=NjAzLUFFQi04ODcAAAGD5M9YCkwNcfKEavmNJ2xAVSBbU6YN6NBY7Er1PH6DD81eqWLXigqRla69Zy3jJFDbhLmPe4t4iMiTwcOm648mXy2ytLVplQi5Tg0tIQ</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://csrc.nist.gov/Projects/cyber-supply-chain-risk-management" target="_blank">https://csrc.nist.gov/Projects/cyber-supply-chain-risk-management</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://opensource.googleblog.com/2021/06/introducing-open-source-insights-project.html" target="_blank">https://opensource.googleblog.com/2021/06/introducing-open-source-insights-project.html</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://security.googleblog.com/2021/06/announcing-unified-vulnerability-schema.html" target="_blank">https://security.googleblog.com/2021/06/announcing-unified-vulnerability-schema.html</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://www.techrepublic.com/article/google-stakes-new-secure-open-source-rewards-program-for-developers-with-1m-seed-money/" target="_blank">https://www.techrepublic.com/article/google-stakes-new-secure-open-source-rewards-program-for-developers-with-1m-seed-money/</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://security.googleblog.com/2021/06/introducing-slsa-end-to-end-framework.html" target="_blank">https://security.googleblog.com/2021/06/introducing-slsa-end-to-end-framework.html</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://cloud.google.com/docs/security/binary-authorization-for-borg" target="_blank">https://cloud.google.com/docs/security/binary-authorization-for-borg</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://research.google/pubs/pub49962/" target="_blank">https://research.google/pubs/pub49962/</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://security.googleblog.com/2021/08/allstar-continuous-security-policy.html" target="_blank">https://security.googleblog.com/2021/08/allstar-continuous-security-policy.html</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://therecord.media/google-open-sources-allstar-a-tool-to-protect-github-repos/" target="_blank">https://therecord.media/google-open-sources-allstar-a-tool-to-protect-github-repos/</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://security.googleblog.com/2021/07/measuring-security-risks-in-open-source.html" target="_blank">https://security.googleblog.com/2021/07/measuring-security-risks-in-open-source.html</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://www.synopsys.com/software-integrity/resources/analyst-reports/open-source-security-risk-analysis.html" target="_blank">https://www.synopsys.com/software-integrity/resources/analyst-reports/open-source-security-risk-analysis.html</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://snyk.io/open-source-security/" target="_blank">https://snyk.io/open-source-security/</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://github.com/CycloneDX/specification" target="_blank">https://github.com/CycloneDX/specification</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://blog.chainguard.dev/4-key-sigstore-takeaways-recap-of-twitter-space-with-kelsey-hightower/" target="_blank">https://blog.chainguard.dev/4-key-sigstore-takeaways-recap-of-twitter-space-with-kelsey-hightower/</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://blog.chainguard.dev/slsa-vs-software-supply-chain-attacks/" target="_blank">https://blog.chainguard.dev/slsa-vs-software-supply-chain-attacks/</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://www.whitesourcesoftware.com/resources/research-reports/the-state-of-open-source-vulnerabilities/" target="_blank">https://www.whitesourcesoftware.com/resources/research-reports/the-state-of-open-source-vulnerabilities/</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="http://oss.x-lab.info/github-insight-report-2020-en.pdf" target="_blank">http://oss.x-lab.info/github-insight-report-2020-en.pdf</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://www.sonatype.com/resources/white-paper-state-of-the-software-supply-chain-2020" target="_blank">https://www.sonatype.com/resources/white-paper-state-of-the-software-supply-chain-2020</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://www.trustar.co/blog/making-sense-of-unstructured-data-using-nlp" target="_blank">https://www.trustar.co/blog/making-sense-of-unstructured-data-using-nlp</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://github.com/XmirrorSecurity/OpenSCA-cli" target="_blank">https://github.com/XmirrorSecurity/OpenSCA-cli</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://github.com/murphysecurity/murphysec-jetbrains-plugin" target="_blank">https://github.com/murphysecurity/murphysec-jetbrains-plugin</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://patents.google.com/patent/US8627270B2" target="_blank">https://patents.google.com/patent/US8627270B2</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://patents.google.com/patent/US8473894B2" target="_blank">https://patents.google.com/patent/US8473894B2</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://patents.google.com/patent/US9141378B2" target="_blank">https://patents.google.com/patent/US9141378B2</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://medium.com/sigstore" target="_blank">https://medium.com/sigstore</a></section></li></ul><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><br/></section><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a class="weapp_text_link js_weapp_entry" style="font-size:16px;" data-miniprogram-appid="wx4b8e8411115b78d8" data-miniprogram-path="f?k=1179055vrdb" data-miniprogram-nickname="微附件" href="" data-miniprogram-type="text" data-miniprogram-servicetype="" href="">ppt下载</a>   点击阅读原文，关注中文老师知乎专栏。</section><section class="mp_profile_iframe_wrp"><mpprofile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-id="MzA5Mzg3NTUwNQ==" data-headimg="http://mmbiz.qpic.cn/mmbiz_png/rrT9ZWSiaWae9L0Kz9kQ3BsQJhKJjTYjfPdvvvFHNm6OOcYicmS69XyxdXuA6sDttlmhicJ45jQB4YIJFCfTQIVEg/0?wx_fmt=png" data-nickname="安全乐观主义" data-alias="" data-signature="实践分享企业在建设安全开发生命周期各阶段及流程中的优秀实践，内容涉及代码审计、业界对标、系统工程化心得、国外资料分享，搭建应用安全交流平台。" data-from="0"></mpprofile></section><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><br/></section></section><p style="text-align: center;margin-bottom: 0em;"><img class="rich_pages wxw-img" data-backh="578" data-backw="578" data-galleryid="" data-ratio="1" data-s="300,640" style="width: 100%;height: auto;" data-type="jpeg" data-w="600" src="https://wechat2rss.xlab.app/img-proxy/?k=b2be6a91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafIbx9xLXQob7gUXll6kdcicUqGYduYY9ibBEic1ibCmbyNGDbZ3Z7RgvSAibRrodrWqB7x3JCxFnrnia3Q%2F640%3Fwx_fmt%3Djpeg"/></p><p><br/></p>



<p><a href="https://zhuanlan.zhihu.com/p/504972171">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=24d284ba&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447805109%26idx%3D1%26sn%3Dd31f4db55f2099945d6a99d1fcc1e6f8%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 29 Apr 2022 10:31:00 +0800</pubDate>
    </item>
    <item>
      <title>首家网络安全主题博物馆上线啦</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447805082&amp;idx=1&amp;sn=433d5591c863965f0a45953b65672d96</link>
      <description>首家网络安全主题博物馆    为了传播和发展网络安全行业文化，“网络安全博物馆”微信小程序于2022年3月2</description>
      <content:encoded><![CDATA[<p>
原创 <span>Ramos</span> <span>2022-03-28 09:48</span> <span style="display: inline-block;"></span>
</p>

<p>首家网络安全主题博物馆    为了传播和发展网络安全行业文化，“网络安全博物馆”微信小程序于2022年3月2</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=7a59221c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaelKh0Gc6eiaYEFU2PvYVLxwicaicSLibrjibzWuk7IqHF5mBJRa2Z4cjYjPYZCCg5bxKYBcqO3pibrl86w%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="font-size: 22px;font-weight: bold;letter-spacing: 0px;">首家网络安全主题博物馆</span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="letter-spacing: 0px;">    为了传播和发展网络安全行业文化，“网络安全博物馆”微信小程序于2022年3月28日上线试运营。</span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    今后，作为首家专注于网络安全的线上博物馆，将以端正客观，详实准确的态度为读者们展示广大安全从业者数十年间在网络安全行业艰苦创业，呕心沥血的奋斗历史。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    重点通过图文讲解的形式介绍在数据安全、关键信息基础设施安全、新兴领域安全、产业安全等领域的蓬勃发展历程。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    长按下方图片、扫描二维码或者搜索微信小程序 “网络安全博物馆” 即可体验，敬请关注！</p></section><p><mp-miniprogram data-miniprogram-appid="wxfd469b9b1ea68c70" data-miniprogram-path="projects/A00/default/index/default_index" data-miniprogram-nickname="网络安全博物馆" data-miniprogram-avatar="http://mmbiz.qpic.cn/mmbiz_png/lYN042TjdvID8J9e5FyBGEEoYUmmyazIyV3f5icbzjo1N9GcQotfrkfcCGnFlenCBq5zOkCvCDZ6sohz4kLeCxw/640?wx_fmt=png&amp;wxfrom=200" data-miniprogram-title="点击打开博物馆小程序" data-miniprogram-imageurl="http://mmbiz.qpic.cn/mmbiz_jpg/rrT9ZWSiaWaelKh0Gc6eiaYEFU2PvYVLxwV8ibTA0Wos48LGVVZ9lc5dxNyaPlwtJT4axO5ue6jsH8SHa32Ugn6sA/0?wx_fmt=jpeg" data-miniprogram-type="card" data-miniprogram-servicetype="0"></mp-miniprogram></p><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><br/><img class="rich_pages wxw-img" data-ratio="1" style="display: block;margin-right: auto;margin-left: auto;zoom: 50%;" data-type="jpeg" data-w="430" src="https://wechat2rss.xlab.app/img-proxy/?k=312d383d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaelKh0Gc6eiaYEFU2PvYVLxwbfHawyGByqu01wC98THye78ibYqBxLRDIkO25dlTsLOZYFh5ibYDSicfw%2F640%3Fwx_fmt%3Djpeg"/><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>“网络安全博物馆”小程序功能介绍</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">小程序目前提供的展馆主题有：</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>主题展览</strong>：介绍网络安全行业发展的阶段性进展；</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>代码考古</strong>：展示有颠覆性影响的经典恶意病毒，安全防护软件的经典代码或者漏洞演示；</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>安全人物</strong>：专栏通过人物简历的方式，讲解国内外网络安全行业的传奇人物；</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>历史上的今天</strong>：每天不定期更新“历史上的今天”所发生的代表性安全事件；</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>公众号</strong>：以微信公众号《安全乐观主义》提供统一客户服务功能；</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>预约讲解</strong>：以专职导游（也就是作者我一个人，哈哈）形式，在预约成功后可通过微信语音讲解一起畅游参加安全专题活动。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">首页截图</p><p style="box-sizing: border-box;font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);"><img class="rich_pages wxw-img" data-backh="1011" data-backw="558" data-ratio="1.8114143920595533" style="box-sizing: border-box;vertical-align: middle;border-style: none;display: block;margin-right: auto;margin-left: auto;width: 100%;height: auto;" data-type="jpeg" data-w="806" src="https://wechat2rss.xlab.app/img-proxy/?k=ccf40717&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaelKh0Gc6eiaYEFU2PvYVLxw9hTMpul8WeOX3CLP3V8Z3g98Jicu2pEicXdubnI8pbwpx4pzExNiaI5KA%2F640%3Fwx_fmt%3Djpeg"/></p><p style="box-sizing: border-box;font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);">    博物馆<span style="letter-spacing: 0px;">内容还在不断充实丰富中，欢迎有兴趣参与贡献的读者们联系我，大家共建内容社区~</span></p><section class="mp_profile_iframe_wrp"><mpprofile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-id="MzA5Mzg3NTUwNQ==" data-headimg="http://mmbiz.qpic.cn/mmbiz_png/rrT9ZWSiaWae9L0Kz9kQ3BsQJhKJjTYjfPdvvvFHNm6OOcYicmS69XyxdXuA6sDttlmhicJ45jQB4YIJFCfTQIVEg/0?wx_fmt=png" data-nickname="安全乐观主义" data-alias="" data-signature="实践分享企业在建设安全开发生命周期各阶段及流程中的优秀实践，内容涉及代码审计、业界对标、系统工程化心得、国外资料分享，搭建应用安全交流平台。" data-from="1"></mpprofile></section><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="558" data-backw="558" data-galleryid="" data-ratio="1" data-s="300,640" style="width: 100%;height: auto;" data-type="jpeg" data-w="600" src="https://wechat2rss.xlab.app/img-proxy/?k=b2be6a91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafIbx9xLXQob7gUXll6kdcicUqGYduYY9ibBEic1ibCmbyNGDbZ3Z7RgvSAibRrodrWqB7x3JCxFnrnia3Q%2F640%3Fwx_fmt%3Djpeg"/><br/></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p></section>



<p><a href="2447805082">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=2021bf62&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447805082%26idx%3D1%26sn%3D433d5591c863965f0a45953b65672d96%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 28 Mar 2022 09:48:00 +0800</pubDate>
    </item>
    <item>
      <title>如何设定合理的安全工作指标</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447805072&amp;idx=1&amp;sn=06927cc450741f48d1e88cd4d750ab59</link>
      <description>震惊！看完这篇《如何设定合理的安全工作指标》后，80%的安全人员惊呼：后悔知道的太迟了！</description>
      <content:encoded><![CDATA[<p>
原创 <span>Ramos</span> <span>2022-03-14 12:11</span> <span style="display: inline-block;"></span>
</p>

<p>震惊！看完这篇《如何设定合理的安全工作指标》后，80%的安全人员惊呼：后悔知道的太迟了！</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=d5a81bf6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacicyib9zG6nl6a7O2bTPrjiaWQgJKp2vGC9u3jzIwqqefaiczkR0ic2qkYMOVo8IGj9X1hS1JcicHaj7NA%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="padding-right: 10px;padding-left: 10px;font-size: 16px;color: black;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Roboto, Oxygen, Ubuntu, Cantarell, PingFangSC-light, PingFangTC-light, &#34;Open Sans&#34;, &#34;Helvetica Neue&#34;, sans-serif;"><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p><ul class="list-paddingleft-1" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;width: 557.438px;"><li><p>如何设定合理的安全工作指标</p></li><ul class="list-paddingleft-1" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;width: 531.898px;list-style-type: square;"><li><p>1. 指标和愿景、目标的联系</p></li><li><p>2. 指标要有明确的价值</p></li><li><p>3. 指标匹配现阶段工作重心</p></li><li><p>4. 指标要同整体规划一致</p></li><li><p>5. 指标必须是可衡量的</p></li><li><p>6. 指标要有反向验证手段</p></li><li><p>7. 指标并不一定要达成</p></li><li><p>8. 最重要的是指标要说人话</p></li></ul><li><p>参考资料</p></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="font-size: 22px;font-weight: bold;letter-spacing: 0px;">如何设定合理的安全工作指标</span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="letter-spacing: 0px;">  </span><strong style="letter-spacing: 0px;">你和你的团队是做什么的？产出是什么？实现路线是什么？怎么衡量做的好和坏？你在朝着什么方向前进？</strong><strong style="letter-spacing: 0px;"></strong></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  设定指标能规划工作，衡量进展，防止出现工作偏差，但在年初工作中怎么制定一个合理的指标体系是个颇为头疼的事情，笔者以安全行业的特点做了一些阐述，希望可以同广大读者一起探讨交流。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;">1. 指标和愿景、目标的关系</h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    愿景是团队的长期希望，为了实现伟大的愿景拆分了具体目标，达成目标需要用指标对各个子任务进行拆解量化产出。  </p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>    目标往往是一个预期结果，不是有效的指标，指标对了目标是自然会达成的，单独统计目标没有价值。</strong>不要将目标等同于指标。<span style="letter-spacing: 0px;">  </span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  愿景和目标是指出工作的整体的方向，而且愿景和目标在指标统计周期并不一定会达成。如果首先混淆了愿景、目标和指标三者的关系，那么指标设定的逻辑出发点就会被质疑，接下来思考都是错的。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  举个例子，Google安全的整体愿景是&#34;让用户使用互联网更安全&#34;，Google Project Zero的目标是&#34;让攻击者更难发现和利用安全漏洞&#34;，那么具体团队的技术指标会是高危漏洞发现数，修复率、平均修复时间、漏洞挖掘产品覆盖率等。Google Project Zero设定的量化指标不会包含&#34;攻击者漏洞利用时间和成本是否增加&#34;这一项。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  再举个例子，如果安全团队的愿景是&#34;做国内领先的安全团队&#34;，目标是&#34;不出现颠覆性的安全风险&#34;，指标应该是完成Hvv任务、严重安全漏洞及时止损、规则覆盖率xx%等。当然团队的目标也可以设定为&#34;顺利完成hvv任务&#34;，那么也可以有对应的细分指标为这个目标服务，而不是直接将&#34;顺利完成hvv任务&#34;放在指标项中。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;">2. 每个指标都有明确的价值</h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  指标的设定以目标为前提，必须以明确的结果为导向，而不是描述过程行为，指标<strong>&#34;以终为始&#34;，做正确的事，而不是正确的做事。</strong></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  比如在设定指标要有明确有达成、改善、降低、提升的判断，而不是使用解决、参与、负责、上线，覆盖这样的模糊的、过程性的描述字眼。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  比如一项指标的是&#34;第三方组件扫描率80%&#34;，完成了又如何呢？那你应该达到多少呢？为什么不是79%，为什么不是81%呢？这件事的意义应该是&#34;引入开源组件风险得到显著降低&#34;，一定要说清指标背后带来的安全效果。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;">3. 指标匹配现阶段的工作重心</h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  为了体现技术和专业能力在不同时期的提升，<strong>指标在不同场景下要侧重实际状况。</strong></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  同一个安全工作，从分工方面要区分安全开发、安全治理、安全运维等侧重点，做运营的指标不要和做开发的指标放在一起，虽然大家是为了处理一样的安全风险。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  同一个安全工作，指标要和不同发展阶段的工作相结合：刚起步的工作在于调查研究，摸清状况，探索实践；常态化运营的工作在于优化流程，保证效果，数据积累。切忌贪大求全眉毛胡子一把抓最后都做不完。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  同一个安全工作，对于不同职能团队是有倾斜的。比如常用的一个指标--漏洞修复延期率，实际情况是业务不修你也没有办法，业务团队的指标不包括你的安全业绩，这时候要把和业务相关的和安全自己做的事情拆分开来，不然写个你基本无法掌控的一个指标，没法对结果负责。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;">4. 指标要同整体规划一致</h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  <strong>各小团队的指标导向要为整体大目标服务。</strong>如果今年安全部门的战略是&#34;迁移上云的安全防护&#34;，那么工作重心要向云相关的整体指标倾斜。如果主题是&#34;降本增效&#34;，那么要体现通过技术实现能效提升等关键动作。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  举个反向的例子，如果部门的目标是&#34;尽快搭建安全团队，完成安全防护&#34;，你的指标里却有一项是&#34;节约xx成本&#34;，谁让你省钱来着？？！这是个与规划背离的指标。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;">5. 指标必须是可衡量的</h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  <strong>将安全作为一门科学，有量化才能有改进。</strong>&#34;好&#34;，&#34;坏&#34;，&#34;高中低&#34;,&#34;达成&#34;都是虚词，指标要有数据量化，可是有些指标确实难以量化怎么办呢？把不能量化的量化也是一种能力。运营型的通过合理的周、月、季度周期自动化统计，建设型的通过项目管理指标量化。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  量化的分子分母要准确，分母找全才能说明结果的正确性。举个简单的例子：职场电脑杀毒软件覆盖率100%，看起来挺好的，但是细问起来这里的职场是否包括外包场地？答案是没包括，为什么没包括？没意识到或者没法统计，这样就因为视野盲区设定了一个虚假的分母，对完成工作是有损害的。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  量化不仅仅需要百分比，也需要绝对数量。举个例子：WAF的接入率为100%，但是实际只有10个域名接入了，其他域名排除在计划中，如果这里分母实际是公司的全量域名才比较合理。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;">6. 指标尽量有反向验证手段</h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  <strong>通过寻找反向指标来验证事情做得好和坏。</strong>反向指标有时候很难找到，找不到就算了，在寻找反向指标的时候可以加深对做事的理解。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  举个例子:SDL团队的漏洞发现率应该和SRC运营的外部漏洞提交数互为反向指标。如果SRC没有高危漏洞提交，不能说明漏洞扫描修复做得好，也许是运营投入不给力，吸引不到优秀的黑客发现风险。反过来如果SRC收到了大量的高危漏洞，并不能说明SRC运营给力，而是SDL没有关注此类风险。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  一个比较极端的例子是，安全讲师要达成&#34;安全意识考试合格率&#34;，那么蓝军要有&#34;经过培训后攻击成功率&#34;指标，显示经过安全培训的人员，仍然可以被蓝军用高超的社工技术欺骗。这个案例太卷了现实估计没有，本质是为了剖析真实的原因，持续改进团队整体工作。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  寻找反向指标时一个常见的错误是采取同一个团队的同一份数据源。比如做弱口令治理，用hydra通过采集的密码字典收敛弱口令，设定修复率100%。这个合理的反向指标不能选取未来hydra还能不能复查出来，要换个技术手段，比如域控弱口令审计策略、红蓝演练之类的数据源。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;">7. 指标并不一定要达成</h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  不论是OKR还是KPI，指标的锚点是目标，目标一般采取SMART原则--Specific（明确）、Measurable（可衡量）、Achievable（可达成）、Relevant（相关）和Time-bound（有时限）制定。本身已经涵盖设定有挑战的的目标，如果指标都轻易达成了，说明当初目标设定不合理-过低或者过高。指标完不成也是正常的。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  当然实际情况是在绩效考核的时候，你能达成就更好了，可以在指标模板加一列标注该指标属于承诺型还是期望型。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;">8. 最重要的是指标要说人话</h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  <strong>如果一件事情不能简单说清楚，那么说明你没有想清楚。</strong>我们制定的指标看起来要有审美的能力，衡量指标好坏的标准在于是否优雅简洁。花里胡哨列了复杂的数学统计公式不是做数学题，拿出来一两个关键指标就行，其他的都是辅助数据说明逻辑正确。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  说人话的另一个好处是指标并不仅仅给技术同学看，给CISO、合作方汇报的时候，可以清晰明白安全整体是什么水位，重点在关注什么。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;">参考资料</h2><ul data-tool="mdnice编辑器" class="list-paddingleft-1" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;width: 557.438px;"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://googleprojectzero.blogspot.com/2022/02/a-walk-through-project-zero-metrics.html" target="_blank">https://googleprojectzero.blogspot.com/2022/02/a-walk-through-project-zero-metrics.html</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="http://www.woshipm.com/pmd/67599.html" target="_blank">http://www.woshipm.com/pmd/67599.html</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><a href="https://vipread.com/library/item/2610/%e5%ae%89%e5%85%a8%e5%ba%a6%e9%87%8f%ef%bc%9a%e6%9e%84%e5%bb%ba%e4%bc%81%e4%b8%9a%e5%ae%89%e5%85%a8%e8%af%84%e4%bb%b7%e4%bd%93%e7%b3%bb%e4%b9%8b%e8%b7%af" target="_blank">https://vipread.com/library/item/2610/%e5%ae%89%e5%85%a8%e5%ba%a6%e9%87%8f%ef%bc%9a%e6%9e%84%e5%bb%ba%e4%bc%81%e4%b8%9a%e5%ae%89%e5%85%a8%e8%af%84%e4%bb%b7%e4%bd%93%e7%b3%bb%e4%b9%8b%e8%b7%af</a></section></li></ul></section><section class="mp_profile_iframe_wrp"><mpprofile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-id="MzA5Mzg3NTUwNQ==" data-headimg="http://mmbiz.qpic.cn/mmbiz_png/rrT9ZWSiaWae9L0Kz9kQ3BsQJhKJjTYjfPdvvvFHNm6OOcYicmS69XyxdXuA6sDttlmhicJ45jQB4YIJFCfTQIVEg/0?wx_fmt=png" data-nickname="安全乐观主义" data-alias="" data-signature="实践分享企业在建设安全开发生命周期各阶段及流程中的优秀实践，内容涉及代码审计、业界对标、系统工程化心得、国外资料分享，搭建应用安全交流平台。" data-from="1"></mpprofile></section><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="1" data-s="300,640" data-type="jpeg" data-w="600" style="height: auto !important;" src="https://wechat2rss.xlab.app/img-proxy/?k=b2be6a91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafIbx9xLXQob7gUXll6kdcicUqGYduYY9ibBEic1ibCmbyNGDbZ3Z7RgvSAibRrodrWqB7x3JCxFnrnia3Q%2F640%3Fwx_fmt%3Djpeg"/></p><p><br/></p>



<p><a href="2447805072">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=c2851135&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447805072%26idx%3D1%26sn%3D06927cc450741f48d1e88cd4d750ab59%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 14 Mar 2022 12:11:00 +0800</pubDate>
    </item>
    <item>
      <title>数字加速时代的技术工人困境</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447805058&amp;idx=1&amp;sn=6cd62fe64d2bbf89aa86ae27d91e8e91</link>
      <description>什么是互联网革命下的新型工人阶级技术加速社会的隐忧技术和资本的双重剥削技术并不等同于生产力远程工作是典型案例</description>
      <content:encoded><![CDATA[<p>
原创 <span>Ramos</span> <span>2021-12-30 15:35</span> <span style="display: inline-block;"></span>
</p>

<p>什么是互联网革命下的新型工人阶级技术加速社会的隐忧技术和资本的双重剥削技术并不等同于生产力远程工作是典型案例</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=be25b2af&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacrqJVGcPayibnHDyJnhsXGgHjFbfzW5FU33BgYlP7WuYdWnqlYjrcIHIGEVMBmib8VuBayhicVtyoeg%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><p>什么是互联网革命下的新型工人阶级</p></li><li><p>技术加速社会的隐忧</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li><p>技术和资本的双重剥削</p></li><li><p>技术并不等同于生产力</p></li><li><p>远程工作是典型案例</p></li></ul><li><p>技术工人既关注技术，也关注人</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li><p>技术工人宣言</p></li><li><p>行动策略：警惕-认识-对抗-改变</p></li></ul><li><p>结语</p></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    随着全球经济进入结构化调整的转型期，普惠式的红利已经逐步消退，需求和资源之间的紧张引发的内卷焦虑等社会问题加剧，产业工人应正确对待增长的社会成本和心理压力，提升自我修养。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>互联网革命下的新型工人阶级</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    大约在18世纪之后，社会经过了工业革命和政治革命的洗礼，大量的农村富余劳动力从农村转移到城市，而二战后的互联网革命产生大量科技创新资源被资本掌握，行业工人迫于生存，又被从二三线城市驱使转移到新一线和头部城市，委身于垄断性的巨头，与数字经济飞速发展相对的是一系列棘手的新型问题不断浮出水面。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    近年来在新时代互联网农民工群体爆发了996.icu项目、消极“躺平”反抗内卷、灵活就业人员对劳动保障权益的诉求、外包与正式员工的绩效、待遇、劳动报酬矛盾、政府对互联网反垄断限制、网络安全与漏洞风险的异军突起，技术工人面临的现实问题迫切需要科学的理论和框架指导。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    全球网络安全与信息化产业工人争取自身的权力和限制资本家的活动从没有停止过，将影响着新的技术革命主义的产生，这不意味的政治制度的改变，但是决定着劳资关系和技术价值的整个发展。</p><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">资产阶级是指占有社会生产资料并使用雇佣劳动的现代资本家阶级。 </p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">无产阶级是指没有自己的生产资料，因而不得不靠出卖劳动力来维持生活的现代雇佣工人阶级。 </p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">生产资料就是由生产工具和劳动对象。举个例子，在资本主义国家中，一位在知识密集型产业公司上班的员工，其工位、电脑、网络资源、账户，包括员工自己都是生产资料，掌握生产资料的阶级就是统治阶级（压迫者），被统治阶级（受压迫者的工人阶级）则往往没有掌握生产资料。</p></blockquote><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>技术加速社会的隐忧</h2><p style="text-align: center;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="602" data-backw="558" data-ratio="1.078125" data-s="300,640" style="width: 100%;height: auto;" data-type="png" data-w="1024" src="https://wechat2rss.xlab.app/img-proxy/?k=56ef4ec3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FrrT9ZWSiaWacrqJVGcPayibnHDyJnhsXGgAneV8J3wP6vFvGRl40mpDLU5bnQ6j5EghnjlJ4F3jBnubSoFMYueicA%2F640%3Fwx_fmt%3Dpng"/></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在全球资本浪潮的裹挟下，“技术加速主义”的激进思想基本占据社会发展主导地位，其片面夸大了技术在社会发展的作用，忽视了技术对人类的幸福感、获得感的“异化”。资本的逐利本性需要科技的不断吞噬其他的资本，资本加持的科技使得人们经“科技-社会-生活”的飞轮不断加速。快节奏社会给个人情感带来了的内卷、躺平、空虚、Pua等多种影响。<br/></p><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">log4j的漏洞发生，更大规模的公司希望拥有更强的安全技术，通过更快的得到应急安全保障，从而获取更多的剩余价值，逼迫技术人员提高自动化编排效率，用比应急fastjson
更快的技术为资本服务。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">但是与之相对，使用了更好的技术栈的初创企业（go语言等），最终无需在安全方面花费额外的沉没时间和市场成本，扩大竞争优势。</p></blockquote><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>技术和资本的双重剥削<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在如今的技术资本体系下，产业技术人员承受着技术和资本的双重剥削。资本家是资本的奴隶，资本本身需要不断自我增长。IT产业的财富积累依然来自于资本家对剩余价值的剥削。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    早期通过对工人的劳动时间进行榨取，而在数字时代，资本的获利增值方式更为隐蔽，往往披着遵守严格的劳动作息和细致周到的员工福利的外衣，但是本质是借助技术力量将知识管理者由体力劳累推向头脑劳累状态。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    即使生产力和劳动效率提升了，但是剩余价值并不一定提到提升，提高剩余价值的办法一般是延长工作时间和增量劳动强度。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在充分竞争环境下，劳动报酬增加的真相在于一个人随着时间的推移生产力提升（成为领域专家），那么资本通过貌似合理的“等价交易”普调工资的方式，要求付出更多的劳动，从而将劳动异化为非自愿（被社会和生活加速）的生存手段，攫取再多的资本，</p><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">举个例子：一家房地产的员工通过努力工作建造了质量更好的房子，工资涨了，同时质量更好的房子也更贵了。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">快递员通过更努力的工作提高配送效率，但是系统压榨的配送要求更高了。逼迫快递员提升劳动强度不断适应机器和算法，最终沦为算法的奴隶。 </p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">劳动者每天要做的工作是不断增多的，除了要完成日常工作，需要创造额外利润来榨取剩余价值，没有资本增值，老板会由资本阶级滑落为手工业者或者无产阶级。</p></blockquote><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>技术并不等同于生产力<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    产业工人同生产工具和劳动对象一起构成生产力。“科学技术是第一生产力”，并不代表技术就是生产力，在体制、机制以及思想观念等方面还存在许多阻碍科技与经济结合的不利因素。资本是生产力提升的最大受益者，资本实现对资源的持续掠夺需要持续的消费场景，创造不断的消费欲望。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    技术总是带着满足人类需求的目的出现，但是实际上只不过是掩盖资本逐利的一种手段而已，技术工人明知不可，但是不能停下脚步。</p><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">直播带货的技术问题不在于卖得东西性价比如何，在于无中生有创造了消费需求。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">再举个例子，路由器、电脑配置、操作系统往往不是因为真正功能失效而被替代，往往是因为“延保”、“配置不足”、“新的功能”而被更换，所以APP越来越大，手机越来越卡，产品功能越加越多。</p></blockquote><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    元宇宙是技术资本主义开辟的新殖民地，但是只有像元宇宙等新的增长点出现，资本才能继续循环增加下去。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>远程工作是典型案例<span style="display: none;"></span></h3><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">远程工作看似美好，但是让工作侵占了生活，BeyondProd让企业更安全，但是客观上也提升了资本私有财产的获利效率。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">”时间就是金钱“，”知识就是力量“。这两句是典型的资本观察视角。以往我们认为掌握更多知识，勤奋劳动获取更多的财富是幸福，其实拥有时间才是幸福。</p></blockquote><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    资本主义的发展虽然带来了残酷的剥削，但客观上也解放产业工人的身体。比如通过采矿远程视频监控系统，无需亲临一线承担工伤风险。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    但是请你看一下马克思同志在资本论里的名言：“机器消灭了工作日的一切道德界限和自然界限.....竟变为把工人和家属的全部生活时间转化为受资本支配的增殖资本价值的劳动时间的最可靠手段”。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    远程工作本身是社会中技术发展和数据生活加速的集中体现。好消息是随着远程会议、VR、协作管理系统等技术和管理手段的发展，远程工作体现了旧的生产关系，不再适应新的生产力的关系。社会生产力的发展决定生产关系的变化，而生产关系又反作用于生产力，对生产力的发展起到促进或阻碍的作用。远程工作本身为资本服务，又将埋葬资本。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>技术工人既关注技术，也关注人</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    新时代的技术工人怎么改变让社会更美好呢？技术不能代替人成为全部的生产资料，产业工人要掌握技术社会的领导权，笔者简单写几条信条作为技术工人的自我修养。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>技术工人宣言<span style="display: none;"></span></h3><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">要加强网络空间思想引领</p></section></li></ul><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">    贯彻落实习近平总书记在网络安全和信息化工作座谈会上的重要讲话精神，加快完善国家信息化标准体系，充分发挥标准对推进技术融合、业务融合、数据融合的引领和支撑作用，进一步增强我国信息化发展能力，提升经济社会信息化应用水平。</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">尊重商业，保障知识权益，联合资本</p></section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    理解开源社区，也支持商业闭源方案。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="letter-spacing: 0px;">    技术本身无罪，与资本结合才称为榨取剩余价值的工具，大数据可以，大数据杀熟不可以。</span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="letter-spacing: 0px;"></span><span style="letter-spacing: 0px;">    暂时不得以破坏生产工具生产资料、罢工、使用落后技术、泄露商业机密等手段隐蔽或直接对抗资本家。</span></p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">技术不作恶</section></li></ul><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">案例：据报道，天才黑客Flanker被拼多多辞退应该是因为其不愿意从事“黑客攻击”，而他被开除前任期即将满5年，届时将有权获得该公司价值上亿的股票。</p></blockquote><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    不得将技术用于破坏人权、恶意商业竞争。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    不能使用公司资源进行挖矿、通过技术手段探测内部员工隐私等。</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">网络空间隐私和数据权力平等</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    尊重用户赋予选择安全的自由,网络安全法、数据安全法、个人信息保护法相继制定，共同构建了中国数据信息安全保障、发展利用、有序流动的法律体系</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">技术无国界，但是技术人员有国界</section></li></ul><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">案例：工业和信息化部网络安全管理局通报称，阿里云公司发现阿帕奇（Apache）Log4j2 组件严重安全漏洞隐患后，未及时向电信主管部门报告，未有效支撑工信部开展网络安全威胁和漏洞管理。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">经研究，现暂停阿里云公司作为上述合作单位 6 个月。暂停期满后，根据阿里云公司整改情况，研究恢复其上述合作单位。</p></blockquote><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>行动策略：警惕-认识-对抗-改变<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    实施技术工人宣言并不能仅仅在一个行业、一个区域、一家公司发生，因为在快速变化的社会中，每家组织都受到另一个领域的深刻影响，此外每家组织的发展情况都大致相同，需要逐步警惕技术社会的陷阱，逐步认识到技术资本社会和生活的关系，随后产生行动改变世界。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>结语</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    历史是最好的检验工具，伴随着互联网资本主义的发展而逐渐壮大的互联网劳动阶级则充当了资本主义制度掘墓人的角色，反映时代特色的思想将被保留下来。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="letter-spacing: 0px;">    笔者愿意将这些作为</span><span style="letter-spacing: 0px;">信条的</span><span style="letter-spacing: 0px;">草案，同大家广泛探讨并随时增补，欢迎留言参与评论。</span></p></section><p style="text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="1" data-s="300,640" style="" data-type="jpeg" data-w="600" src="https://wechat2rss.xlab.app/img-proxy/?k=b2be6a91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafIbx9xLXQob7gUXll6kdcicUqGYduYY9ibBEic1ibCmbyNGDbZ3Z7RgvSAibRrodrWqB7x3JCxFnrnia3Q%2F640%3Fwx_fmt%3Djpeg"/></p><p><br/></p>



<p><a href="2447805058">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=2113f18a&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447805058%26idx%3D1%26sn%3D6cd62fe64d2bbf89aa86ae27d91e8e91%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Thu, 30 Dec 2021 15:35:00 +0800</pubDate>
    </item>
    <item>
      <title>安全运营项目的工作方法</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447805025&amp;idx=1&amp;sn=50648a9b9c3f6766b9442ca6a4ba9f61</link>
      <description>本文以安全行业工作特点为例，系统化思考安全运营的本质，重点从项目角度介绍从事这类工作的基本功。</description>
      <content:encoded><![CDATA[<p>
原创 <span>Ramos</span> <span>2021-12-06 10:30</span> <span style="display: inline-block;"></span>
</p>

<p>本文以安全行业工作特点为例，系统化思考安全运营的本质，重点从项目角度介绍从事这类工作的基本功。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=fe16d498&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeWsJKsfw7q2icE0rbFt4Zp6SDZAnYztAPuSL0DXshkPCPafhiasM7NwdaY3jvZSUiaeqZibV1yIAKR9w%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section style="font-size: 16px;"><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li style="box-sizing: border-box;"><p>安全运营是工作的一部分</p></li><li style="box-sizing: border-box;"><p>安全工作的逻辑</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li style="box-sizing: border-box;"><p>安全团队是怎么运作的</p></li><li style="box-sizing: border-box;"><p>定义安全运营项目</p></li></ul><li style="box-sizing: border-box;"><p>项目运营的要点</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li style="box-sizing: border-box;"><p>计划的计划</p></li><li style="box-sizing: border-box;"><p>风险的风险</p></li><li style="box-sizing: border-box;"><p>运营方案尽量要评审</p></li><li style="box-sizing: border-box;"><p>过程的过程</p></li><li style="box-sizing: border-box;"><p>做到有法可依</p></li><li style="box-sizing: border-box;"><p>沟通和组织</p></li><li style="box-sizing: border-box;"><p>进度的监控</p></li><li style="box-sizing: border-box;"><p>明确闭环标准</p></li><li style="box-sizing: border-box;"><p>项目集的管理</p></li></ul><li style="box-sizing: border-box;"><p>怎么去开会</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li style="box-sizing: border-box;"><p>准备的准备</p></li><li style="box-sizing: border-box;"><p>会前会中会后</p></li><li style="box-sizing: border-box;"><p>复盘的复盘</p></li><li style="box-sizing: border-box;"><p>PPT和WORD</p></li><li style="box-sizing: border-box;"><p>帮助别人开会</p></li></ul><li style="box-sizing: border-box;"><p>遇到困难怎么办</p></li><li style="box-sizing: border-box;"><p>写在最后</p></li><li style="box-sizing: border-box;"><p>参考资料</p><p><br/></p><p><br/></p><section><br/></section><section><br/></section><section class="mp_profile_iframe_wrp"><mpprofile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-id="MzA5Mzg3NTUwNQ==" data-headimg="http://mmbiz.qpic.cn/mmbiz_png/rrT9ZWSiaWae9L0Kz9kQ3BsQJhKJjTYjfPdvvvFHNm6OOcYicmS69XyxdXuA6sDttlmhicJ45jQB4YIJFCfTQIVEg/0?wx_fmt=png" data-nickname="安全乐观主义" data-alias="" data-signature="实践分享企业在建设安全开发生命周期各阶段及流程中的优秀实践，内容涉及代码审计、业界对标、系统工程化心得、国外资料分享，搭建应用安全交流平台。" data-from="0"></mpprofile></section><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;white-space: normal;line-height: 26px;">本文信息量巨大，阅读大约需要二十分钟左右，建议加关注收藏后阅读。</p></li></ul><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">日常工作中对接研发同学的一次漏洞答疑，写代码优化敏感数据的识别统计指标，处理应急响应，安全BP发起弱口令治理，日常的补丁管理，组织大型的国家级“HVV”专项，都属于典型的安全运营类的项目范畴。</p></blockquote><h1 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 24px;"><span style="display: none;"></span>安全运营是工作的一部分</h1><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">我们做了大量的安全运营工作，这些事情以项目论起来有大有小，不同公司对这些从事这些一线运营工作的内容描述有“拿结果”、“push”、&#34;落地&#34;、“打法”、&#34;主导&#34;不同的说法，我比较认可“推动”的说法，通过运营专项推动工作达到预定的治理效果，”推“和”动“很形象地说明关于安全运营的主要工作：需要主动“推一推才动”，安全的特点确实是要做成一件事，合作方确实有很少的意愿去配合，所以需要有科学的办法去运营这些事情。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">零零总总完成工作总是很容易的，但是首先要理解它为什么能完成？顺利和困难是偶然还是必然？是无意做出的决策还是有意遵循了什么逻辑？做到”知其然然后知其所以然“很难，虽然明面上运营这类事情有PMO( Program Management Officer 项目管理办公室)参与协助，但是PMO仅仅是运营项目的支持者和协调者，领域负责人必须承担全部的责任，这就考验为达成安全运营效果所要求的技术能力、沟通技巧和组织能力，参考<a target="_blank" href="http://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804417&amp;idx=1&amp;sn=29949b6247e01ba20663668eb2afc616&amp;chksm=8445145fb3329d491b2bd613220a39740522b9a11cd915c0f909fb0c90a99299a301d6f1b3d7&amp;scene=21#wechat_redirect" textvalue="基层安全管理者需要具备的素质" linktype="text" imgurl="" imgdata="null" data-itemshowtype="0" tab="innerlink" data-linktype="2">基层安全管理者需要具备的素质</a>。 </p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">临近年底组织内经常用运营专项的实施效果来衡量OKR和KPI的完成情况。虽然各种的安全运营专项的是安全部门运营工作的重要组成部分，但是回头看做得好坏并不仅仅取决于技术来实现，也负责人具备一些项目管理和软技能，将安全目标和企业运营逻辑“黏合”起来。 </p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">本文不讨论任何技术细节，而是以安全行业工作特点为例，<strong>系统化思考安全运营的本质，重点从项目角度介绍开展工作的基本功</strong>，仅仅是作为“井底之蛙”将浅薄的经验整理沉淀，希望通过同大家交流得到反馈。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="font-size: 24px;font-weight: bold;letter-spacing: 0px;">安全工作的逻辑</span><br/></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在正式进入对这个问题的分析和探讨之前，我们很有必要整理下为什么我们要做这些安全专项？背后的思考逻辑是什么？公司各个团队是如何运作划分的？为什么分配你负责一个项目？</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>安全团队是怎么运作的</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">首先科普将安全作为风险管理的重要概念，各家组织最上级的安全战略决策机构，不管他们叫做什么风险委员会、首席风险官，集团安全办之类的，根据业界最佳实践会为了达到风险治理的目标从组织层面划分了三道防线完成整体安全目标： </p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">第一道防线是业务部门自己，出现安全风险后，业务是第一责任人，安全团队承担同等责任，业务内部有负责一线研发、对接BP、专职安全测试的人员，保证一线和自己相关的层面不出现问题。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">第二道防线是管理具体风险的专业安全部门。比如各家公司的业务风控和安全部门，也是安全从业者聚集最多的部门，一般划分为数据安全、风控、产品和IT安全多个团队。他们负责隐私保护、安全工具、渗透测试技术和应急响应工单系统等，构成大家最为熟知的安全管理防御战线。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">第三道防线大家直接接触不多，但是有意无意都在配合，指承担审计、测评合规，做合规制度、监督、流程控制活动的部门，一般理解是为了”务虚“，实际上基本代表安全工作的目标。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">那为什么组织内要运营大量安全专项呢？扫帚不到，灰尘是不会自己消失的，各个安全专项通过主动治理完成法律合规、数据安全，配合达成组织要求的战略目标。但是对于将要完成安全运营项目的压力不用自己背，公司在运营层面已经搭建好相关的治理框架，会提供三个成熟的管理体系来支撑：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">风险管理</p></section></li></ul><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">风险管理通过风险的识别、改进、度量、处置来管理内外部风险。管理Owasp Top10风险，SRC复盘漏洞工作，日常黑白盒漏洞发现、添加拦截规则等工作。</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">运营管理</p></section></li></ul><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">运营管理通过指标体系、监督改进、报告度量、绩效考核从运营层面保证组织和人员的投入。比如日常的数据采集分析、运营漏斗模型，同业务沟通反馈风控策略，答疑安全sdk的使用等工作。</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">项目建设管理</p></section></li></ul><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">项目管理是指某些待建设的专项来支持安全治理，采用项目管理的标准方法论。比如通过改进应用程序设计和基础设施架构提升安全性，例子包括建设一个容器waf、搭建开源kms、制定iot安全审计流程规范、供应链安全管理等。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">公司根据上述的逻辑来划分组织架构，提供保障资源。这个前提开展安全运营工作的基本盘，你所有的合作，沟通，管理、反馈，安全运营涉及的闪转腾挪都是基于这些体系运转的。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>定义安全运营项目</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">参考项目的定义，安全运营专项在组织层面的定义很清楚：由安全团队作为二、三道防线完成风险发现和指导技术和运营，敦促一道业务防线配合，达成安全目标而采取的运营管理要素的总和。说人话就是：<strong>除了技术之外，为达成安全的&#34;做事逻辑和方法&#34;，都可以归类为安全运营。</strong></p><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">例子一：发起域控安全加固运营的安全运营项目，那么它有明确和具体的要素：</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">目标--解决某一领域风险（域系统）</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">工作范围--风险治理范围（并不仅仅是域控服务器，还包括打印机、exchange服务，但不包括未加入域的机器）</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">预算和时间质量要求--在攻击者利用之前修复和建设完成，保证无入侵视野盲区。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">例子二：入侵检测项目运营</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">目标：具备入侵服务器的安全监测技术和管理系统</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">工作范围：IDC和办公网的资产</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">预算：有限</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">时间和质量要求：依时间计划阶段性建设基础和纵深防御和感知能力</p></blockquote><h1 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 24px;"><span style="display: none;"></span>项目运营的要点</h1><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">但是没有人是主动的“长期主义者”，我们天性很喜欢写个Poc弹出个计算器，但是安全运营一般是以月度、季度和年来计算的，很难像写代码一样马上出true或者false的运营结果（相反运营做得越好，永远不会有风险在真实坏境被体现，越没有正向反馈）。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">那么有什么框架可以帮助大家来梳理思路呢？就像编程有框架和范式一样，安全运营可以参考ISO27001和应急响应IIPDRR（Identify、Protect、Detect、Respond、Recover）的工作方法论，借鉴PDCA循环：通过计划（Plan）、实施（Do）,检查（Check）,处理（Action）来改善工作。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">安全专项首先了解目前的安全问题或风险，对风险进行根因分析，设定目标和计划，分工完成任务，最后对检查任务执行的效果，评估风险现状，不断改进，达到闭环。</p><p style="text-align: center;"><img class="rich_pages wxw-img js_insertlocalimg" data-backh="465" data-backw="558" data-ratio="0.8328125" data-s="300,640" data-type="jpeg" data-w="1280" style="width: 100%;height: auto !important;" src="https://wechat2rss.xlab.app/img-proxy/?k=a3b2806e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadR6AdxbdlATico4LKvRwrSutOZ9Or4BJIdGZOz1Z3ia12H3gM1vpxTWjQPkV5MvC8elxuwsTcmqqoA%2F640%3Fwx_fmt%3Djpeg"/></p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>计划的计划</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>为了避免忙于具体事务而疏于运筹，安全运营计划要在实施前提前起草</strong>，这并不只是书面的计划，起码要做到心中有数，计划按照过程分为启动、组织准备、执行、结束、评估复盘阶段，计划的内容包括确定阶段划分、交付结果、里程碑、分工、沟通和决策机制和闭环条件。制定的计划要张弛有度，定稿后要公布出去。</p><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">简单的安全运营比如写一段代码提升url去重效率，也可以视为一个黑盒扫描运营中的子类小计划，只是大家平时视而不见，但其实遵循同样的计划的做事逻辑。复杂的安全运营项目的计划和开发、挖掘漏洞相比，不是可以独立加班搞定的，依赖于多个合作方的配合，所以刚启动时最好是有以周为颗粒度的<span style="color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;background-color: rgba(0, 0, 0, 0.05);">计划</span>，迅速让各参与方独立制定“小计划”配合建立工作节奏。</p></blockquote><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>计划要取得干系人认同<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">干系人是解决问题的关键点，承担安全运营的效果，干系人划分可以参考RACSIC模型：</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">谁负责（R = Responsible），负责执行任务的角色，具体负责操控项目、解决问题。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">谁批准（A = Accountable），对任务负全责的角色，只有经其同意或签署之后，项目才能得以进行。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">谁支持（S = Support），参与具体任务，协助R完成工作的角色。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">咨询谁（C = Consulted），在任务实施前或中提供指定性意见的人员。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">告知谁（I = Informed），及时被通知结果的人员，不必向其咨询、征求意见。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">简单说干系人就是做安全运营需要哪些人参与，他们对工作效果有直接的影响，是活生生的人，不是代码，不能被忽视。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>范围划定<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">范围是工作要做那些事的边界，有时候对于要运营的范围存在没说清楚、没想清楚然后工作资源分配不均匀。</p><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">举个例子：理想情况下去评估一个对外采供应商的产品评估安全风险，但是做着做着发现这个外采系统依赖了大量的第三方开源组件，越评估涉及事情越多，这时候要在采购合同担保明确安全责任范围，是将系统作为一个安全管理的整体，还是仅仅关注核心交付软件。</p></blockquote><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">“你无法管理你无法衡量的东西”，没有度量就没有管理，建议在确定工作范围后，第一要务是给出范围内的关键度量评价指标，明确治理的好和坏的评价标准，画出任务统计分析大盘，比如让大家看到一个安全运营的图表，不在横坐标和纵轴坐标的都是工作范围之外。一条优雅的曲线在接下来的工作可以说明很多事情，有些指标事后就不大容易收集得到，难以说清个人在项目中的工作价值。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>风险的风险</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">这里的风险是指对处理”安全风险“中出现的“运营风险”进行管理，在解决这些漏洞威胁层面的风险时，运营方面经常出现项目管控风险，如同解决安全风险一样，影响安全运营项目达成的风险也依赖风险识别、分析、计划、监控的管理手段。一个安全项目的风险主要分为技术、管理、组织、外部四个方面，风险的应对措施也是大家熟悉的规避、转移、弱化、接受策略，项目的风险管理和安全漏洞的风险管理没什么不同。 </p><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">假设要运营一个隐私保护的专项，那么技术“风险”可能是没有相关的隐私和数据安全计算平台、难以落地差分隐私技术、隐私保护技术要求过于超前等技术原因；</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">管理风险：人力不足，人员都是从数据和业务安全转过来的，不熟悉隐私保护领域；</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">组织风险:业务领导对隐私保护的优先级和安全给出的判断不一致；</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">外部风险:《个人信息保护法》和GDPR之间的法律法规关系，业务接口人离职等。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">对于外部风险的处置方法你当然可以选择上面的四种策略之一--接受：不用管业务接口人会离职。</p></blockquote><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>运营方案尽量要评审</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">组织一个大的运营项目，如为了解决主机登录问题推广jumper server跳板机在混合云架构，这时候不能片面相信技术可以拿来即用，要关键人参与进来评审，考虑落地时的性能、稳定性、目标。<strong>一般情况下质量、成本、时间永远无法达到平衡，改变的魔法是提高生产力</strong>，提前准备好靠谱的安全运营项目方案有助于事半功倍，可行性优先于必要性，主动征求他人意见能发现操作层面细节的盲区。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">除了技术方案，涉及到宣传、向上管理、跨部门的汇报也要集体决策，把控运营方案的可行性、普及性，多方配合做到心中有数。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">就像很遗憾在一个安全团队中并没有任何一个完整走SDL流程的产品一样，运营的方案评审总被主动忽略。原则是可以走得稳才能走得远，没有经过调查分析的方案就没有发言权，欢迎大家对方案吵架，吵完架后坚决执行。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>过程的过程</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">实施运营任务时，并不仅仅要为了结果负责，还要保证过程的相对质量。过程的积累很多是文档类型，清晰的运营文档会带来很多优点：</p><ol data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">思考得更清楚，做事的方法论是”Think，Write，Speak，then Do“，你首先要想清楚怎么推行一件事，然后写出来，在写的过程中再次思考，确保你自己明白你要说和做的事情。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">降低沟通成本，一份有详细数据、附录、FAQ的材料胜过巧舌如簧，这类文档材料包括并不局限于会议材料、方案设计、代码、专项人员联系表、宣传材料。大家基于同一份材料进行争论才不会各说各话，培训和沟通的成本能大幅减低。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">历史追溯，要面向”离职“工作，以你的任务交接给别人他是否能理解的标准做事，持续运行的严格要求带来过程管理的完善性。良好的记录可以帮助查询当时的背景、决策依据，回忆是不可靠的，录屏、录音没人有耐心分析回溯。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">文档材料阅读更快，如果依赖当事人的口述通常失真且抓不到重点，过程材料可以搜索、复用、归档、查看历史版本。</section></li></ol><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>做到有法可依</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">这里其实是属于项目管理的需求管理范畴，做安全运营隐含着要做的事情得符合制度法规要求，在运营层面可以适当整理、遵循相关的材料，以相关的制度体系作为运营工作的准绳。组织一般会制定四级文件制度，</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">最上一层是公司的最高安全战略纲领或者最高安全和隐私政策，这个级别一般在运营层面不会涉及，由大老板去运营。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">二级文件一般是具体的标准和规范，这些材料都是开展工作的依据，如果工作中缺少大量的此类材料，甚至都没有公司层面《web系统上线规范》就要去运营一个web系统架构评审项目，建议补全后再全面实施运营。 </p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">三级文件是指南、流程、最佳实践之类的材料，，一般专项的负责人可以根据项目的情况发起新增和修改，在这个层面就是“有法可依”，不然治理时容易责任不清楚，或者责任方不清楚运营工作的评判标准是什么。 </p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">四级文件以模板、报告、汇报材料，就些在工作中涉及比较多，可以多积累作为安全专项的工作手册后续重复使用。细节材料的文档积累比代码更重要。</p><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">一级：比如对于华为的全球网络安全与用户隐私保护委员会，由任正非签发的《关于构筑全球网络安全保障体系的声明》及《华为隐私保护总体政策》就属于一级实践框架。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">二级：比如字节跳动的信息安全委员会关联的安全风控部门整体负责信息安全与业务风控的建设、规划和管理工作。那么会有如《今日头条社区规范》，数据安全与隐私保护部门颁发的《字节跳动隐私保护政策》作为二级材料支撑。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">三级：比如《上云最佳安全实践》、《公司密码算法术语定义》等。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">四级：判断一个设计方案是否符合安全标准的checklist；一个会议沟通纪要等。</p></blockquote><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">如果没有这些材料会出现什么问题呢？比如我们要做一个http鉴权的安全治理，但是缺少公司层面的统一鉴权规范，那么这件事是做还是不做呢？是等着公司出规范指引，还是大家各自问政，使用五花八门的鉴权方案呢？缺少鉴权的二级规范文件，三级的文件自然无法引用，最终业务没有办法就鉴权方案这件事达成一致，安全也不知道该怎么评审现在的BA认证鉴权是否符合安全要求，最终运营项目宣告失败。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>沟通和组织</h2><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="298" data-backw="558" data-galleryid="" data-ratio="0.534375" data-s="300,640" data-type="jpeg" data-w="1280" style="width: 100%;height: auto !important;" src="https://wechat2rss.xlab.app/img-proxy/?k=74a3af23&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadR6AdxbdlATico4LKvRwrSuK977EyicDibKGGgntGRU89S9fUYomwmITOJIFUiciayQlbYfJc0lshRiaCQ%2F640%3Fwx_fmt%3Djpeg"/></p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>找到对的人<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">开展工作需要同不同层级的人打交道，就像新上任的CISO需要一张组织架构图、一张IT系统设计图一样，要项目顺利运营要摸清人际和部门的关系，他们分别负责什么，实线和虚线都要了解到。</p><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">比如要做一个“云等保测评”的任务，需要同CIO、IT运营人员、开发人员、合规治理、咨询机构打交道，大家在一起合作任务时，的第一个难题一定是是：我不知道什么问题该找谁？等保测评发现的代码仓库审计日志问题，同一线开发沟通难以配合，但是他的直接上级却能完成配合改正，站位思考不一样。</p></blockquote><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">另外安全是并且只能是”自上而下“。有时候为了方便我们总想绕过流程，做一些“自下而上的事情”达成短期效果，长期来看是错的，虽然此时方便做成一件事情，但是掩盖了流程的混乱和决策机制，不利于建设透明、高效、信任的业务安全文化。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>沟通要明确<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">找到对的人目的是达成沟通，需要与他人合作的运营项目时，我们面对的不再是代码，不是黑客，而是HR、工程技术人员、非安全领域领导，他们没有“读心术”，要大大方方说出来你要他们干什么事情，需要什么帮助，也要谦虚谨慎不懂就问，遇到分歧时耐心倾听，换位思考、坚持原则性问题的同时也要适当妥协，明白对方说话的意义，自己说出来的话也得直指问题本质。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">沟通时涉及要点是并不仅仅是一遍说，有的要求得和业务方反复说，反复澄清，不要高估非安全专业人员的对你要做的事情的理解力。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>汇报要得到决策<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>上级分配给你一个项目时内心是最焦虑的，他从此将没有数据，没有进展，没有好消息也没有坏消息，犹如石沉大海，又如“肉包子打狗”。</strong>透明才能高效，汇报的目的是为了决策，经常出现的一个阻碍安全运营效果的事情是从事技术的一线人员对于一个风险处理没有办法做出决策，而有能力做出决策的人没有全面的信息。上级交付给其他人运营任务时，表示委托给你希望得到风险闭环，就不要在临近结束时给上级时不时的“惊喜”，宁可提前消除“期望”，也不要让“希望”破灭。 </p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">但也不是说事事都需要请示，那是传话筒。影响重大的，没有先例的，拿不准的要事先请示取得一致，有时候形势来不及的，要当机令断，但是要断得符合以往的工作风格，在事后要及时汇报清楚，看能否补救或者双方对齐情况。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">汇报要避免一切顺利的假象，上级的作用是协调资源提供帮助，让他看到目前的风险和应对措施更为重要，要平衡在上级心目中”你办事，我放心“的人设，也是及时汇报相互反馈。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">汇报尽量避免只有会议这一个方法，不然效率太低，尽量通过书面或者简报完成，会议一般有多人参会，你汇报的东西大家并不关心，浪费大家时间。另个原因是汇报应该表示事情实际的进展，如果上级需要得到项目的现状，为什么要等到日程表有空呢，周一发现的问题非要等周五开周会才暴露？</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>进度的监控</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">工作的进度依赖于团队的整体能力，技术是其一，大家都熟，管理是其二，需要探索。从项目的角度来看进度一般是难以把控的，只能监控，只有科学监控才能得到项目的准确进展。运营安全专项和写一个项目代码没有什么不同的，我们很熟DevOps的开发效率，需求变更、弹性部署概念，自然也知道实时的告警监控至关重要。进度有偏差是正常的，但是需要知道进度。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">除了自动化开发的指标能反馈项目的运营进度外，编制各种报告也是常见的管理工具，有口头汇报、简报、日周月季度等多种模板，依组织习惯有邮件、文档、IM多种形式。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>简报周报和月报<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">简报是事情发生时帮忙相关人快速理解发生了什么和进度的文字内容。一般包含背景、影响、措施、并定期汇报。周会一般是输出周报，包含上周待办完成情况，工作范围、任务完成情况、问题对策和需要的帮助，还有下周计划。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">月报并不简单是周报的合并，最好对交付的进度设定里程碑目标，里程碑是完成工作的标志性时间，包括时间点、标志性、交付物、关闭条件，一般一个专项有多个里程碑作为checkpoint检查进度，然后调整计划。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>明确闭环标准</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在安全运营的生命周期里肯定能达成阶段性的效果，比如一个规则的漏报误报率低于30%，XDR基本建设完成，这时候需要结项评估，结项时仅仅比对当时规定的需求范围进行验收。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">不要一个事情永远做不完，明确deadline和验收标准，从不断完成小的专项积累建立成就感，有了信心可以不断尝试做更大的项目，达不到预定目标是正常，这不是背锅，学习型的团队从教训中得到收获，能避免重复犯错误。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>项目集的管理</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">安全项目有其特有的不确定性、曲折性、复杂性、专业性，有时候会有零零总总多个项目齐头并进，互相关联，比如要运营推进一个域控补丁的管理，但是此时ITIL流程系统还未建立。从项目集角度并不仅仅关注工作如何完成的，更关心资源是否得到充分利用。项目集的要素和项目一致，包括整体进展计划，详细进展、里程碑描述、风险和问题。通过透视图、甘特图等工具能一目了然看到有延期和暂停的风险项目。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">平时运营时尽量有一双慧眼能发现新的安全运营点，扩大安全团队盘子避免内卷，孵化新的安全技术项目，然后规划立项到项目集里，尝试”无中生有“锻炼运营能力。</p><h1 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 24px;"><span style="display: none;"></span>怎么去开会</h1><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">笔者忙得时候大概每天都有两次以上的会议，不是在开会，就是在准备开会材料，或者落实会议的待办项，但是切实知道干活就得会开会。但是考虑到ROI，尤其是推动大范围的安全运营事项时的多方开会是个高成本的事情，多人开会需要对每个人发开会的工资，而且开会期间他得假装开会，不能做别的有价值的事情，然而实际上大家讨论要解决的安全问题可能并不值得花费举办多次会议的沉没和机会成本。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">开会的第一个要点是安排会议不要超过40分钟，不然大家会玩手机，问题不在参会者，在于时间的控制。人的天性是难以长期集中精力会疲劳，一旦疲劳会议的质量会直线下降，当然一个会议本身这么长已经表示项目出现了问题--之前各方的沟通已经不畅通需要对齐。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">开会的内容一般分为三种：<br/></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">运营前：<span style="letter-spacing: 0px;"></span></p><ol data-tool="mdnice编辑器" class="list-paddingleft-2" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;width: 557.438px;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;white-space: normal;"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">核心指标的制定，如果误报率指标定得高了，说明漏报率指标有变动，困难是找到合适的指标，说清楚选取这个指标的逻辑，对应的反向指标是什么；<br/></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><span style="color: rgb(1, 1, 1);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">计划</span><span style="color: rgb(1, 1, 1);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">在</span><span style="color: rgb(1, 1, 1);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">时间和任务上</span><span style="color: rgb(1, 1, 1);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">的拆解，是</span><span style="color: rgb(1, 1, 1);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">代码维度</span><span style="color: rgb(1, 1, 1);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">、应用维度、还是部门维度</span><span style="color: rgb(1, 1, 1);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">；</span></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">如何达成运营目标的策略会议，是采用了新的技术方案，是增加了人力资源去运营专项，明白是怎么样完成工作任务的；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">如何保证项目进展的指标汇报，是统计大盘，还是通过周会晾晒指标。<br/></section></li></ol><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">运营中：</p><ol data-tool="mdnice编辑器" class="list-paddingleft-2" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;width: 557.438px;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;white-space: normal;"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">检查进度和质量，通过汇报或者定期会议；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">发现执行的问题和原因并处理；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">调整项目运营计划、指标。</section></li></ol><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">运营后：</p><ol data-tool="mdnice编辑器" class="list-paddingleft-2" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;width: 557.438px;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;white-space: normal;"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">安全运营效果，进展总结，比如项目建设完成验收；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">下一步计划制定和调整，比如一个安全方案在内部灰度试点计划完成后的大范围实施计划；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">复盘和经验总结，比如专项复盘、绩效考核、述职汇报等。<br/></section></li></ol><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;">准备的准备</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">开会是推动事情进展的必须项，但是要顺利达成进展，并不仅仅需要水平和经验，也需要事前周密的考虑和准备，对会议发生的情况和困难要一一想好对策，有了心理预期就比较准备，有了信心才能成事。自己都没有信心，怎么样合作伙伴相信你配合你做事呢？建议在开会前就写好会议纪要，开会就是想办法按照发起人的意愿分派工作，漫无目的的开会是集体划水。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>会前会中会后</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">组织会议的目标是大家达成共识，开会的过程是达成统一思想，求同存异，结果是执行解决会上的问题。开会前收集明确议题、议程、相关材料和沟通好时间，确保关键人参会，要有礼貌”请“人开会而不是通知，因为有些事需要人家点头才能推行。在会下花的时间要多于会上，不要寄希望一次会议产生神奇的效果，所谓“功夫在诗外”，提前要和有分歧关键点达成共识想到解决的办法才能高效会议。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">会中要保持秩序，先说清楚要希望大家决策什么事情，议题含义，然后看材料讨论，要避免发散性的发言。会议保持紧张感是好事，每次发愁开会时当事人才会“如芒在背”传导工作压力。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">会后的待办任务要确保当事人理解任务的含义，要干什么，验收标准是什么，也一定要标注清楚责任人和完成时间。哪怕任务超期未能完成，落在纸面上的东西起码有人重视会给个说法。纪要在发出时找到当事人确认避免有分歧，损失以后合作的公信力。下次会议就首先以上次会议的待办项来开始。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>复盘的复盘</h2><p style="text-align: center;"><img class="rich_pages wxw-img js_insertlocalimg" data-ratio="0.6484375" data-s="300,640" data-type="jpeg" data-w="640" style="height: auto !important;" src="https://wechat2rss.xlab.app/img-proxy/?k=84ecdd76&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadR6AdxbdlATico4LKvRwrSuibFk8xo1YsEyGWmOOSWeH3Od28Uy24CJ5sNFS9PibGFgrOhsZzbsnOYQ%2F640%3Fwx_fmt%3Djpeg"/></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">复盘是常见的一种会议类型，对一个安全运营效果的复盘可能有SRC漏洞复盘、蓝军渗透测试复盘会议、公司通告等多种形式，一次复盘会议的效果好坏本身也是值得运营负责人总结经验教训的。在攻防层面大家都很菜，工作仓促应战难免有失误，纵深防御么:)
有了失误就追究责任不利于后续工作。复盘不是为了惩处甩锅，而是为了吸取经验教训，找到真正的根因点，尽量下次不犯错。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">虽然按照严格的复盘方法论要“对事不对人”，但是实际中是不可能的，事总是人做的，正是因为这样坦诚复盘机会很难得，要“刨根问底”才是负责任的态度。 </p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">大部分攻防案例的复盘，讨论到具体事情都是将“资源不足”作为根因，得到这个答案时证明一般没有掌握正确的工作方法--5Why分析，混淆了复盘根因和分配任务项的区别。复盘不应该是这样的，要考虑预期是什么？为什么不符合预期？还有没有别的办法？这些别的措施能阻止事情再次发生吗？复盘不在于问得问题多，而在于深入分析根因。</p><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">举个复盘的例子：问什么客服部门的员工会点击钓鱼邮件输入账户密码，回答是我们没有预算和资源不够，然后列举一大堆原因：没有时间和精力覆盖到每个部门去宣传培训；客服人员流动大；业务部门对安全不重视。那经过培训的业务有没有点击钓鱼邮件？怎么确定培训有效果？人员流动和对安全不重视有什么数据支撑？</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">也许深层次的根因是培训对于上规模的公司已经成了边际效应，投入更多的培训和宣传预算也阻止不了那么多的员工偶然性的中招，正确的做法不应该是增加培训预算，而是提高止损和发现能力。</p></blockquote><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>PPT和WORD</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">这两类材料是开会或者推动运营工作的重要交付物，共同要求都是内容要精要，布局要精美，写作方法唯有多看材料，多练多思考才能进步。ppt和word各有优劣，看汇报对象是对语言还是文字更敏感。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>PPT<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">好的材料要突出重点，弱化次要的信息，去掉任何无关的信息。有点技术会议上会用表情包那样的PPT，符合年轻人的风格，但是本质还是通过文字来铺排，信息量还是不够突出。好的材料要区分场合。对技术人员的演示可以有精确的描述，完整的具体和段落。但是面向多人的科普可以适当简化，反正会后他们再也不会看材料了：） </p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">ppt作为材料汇报要有情感，看材料并不仅仅有理性思考，还有共鸣产生。在black hat、RSA等国外会议上的一些攻防相关的ppt，你不会记得他的实现细节，但会记得他提出来解决了让大家捉襟见肘的难点，这就是有共鸣相通的，不用花最多时间追求PPT里的花里胡哨，因为逻辑和数据OK，前面“宣称解决了，就是真的解决了，没人在乎”。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">同技术介绍类会议的PPT相比，给领导汇报的PPT的前几页首先不要解释技术难点和业务逻辑，要谈“实现效果”，领导关心取得的业绩成果而不是工作过程。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>WORD<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">WORD的缺陷是不能指望大家逐字逐句去做阅读理解。大家都很忙，有时候大家可能只有在发起人讲开场白的间隙看下目录结构和待讨论内容。要讲结论和待决策内容在前面，然后按照逻辑铺排开来，引申材料放在附件索引。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">WORD的写作站位要放过读者，每个读者都在希望艰涩的技术讨论、可怕的大段代码，陌生的技术名词之间看到自己熟悉的内容：“谢天谢地终于找到我能懂的内容了，看来我不是这间会议室里的傻子”。<strong>本文就是在大量的项目管理名词之间穿插了大家日常安全工作的案例，希望你能理解笔者的苦心：）</strong></p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>案例：不同场景下的五份材料<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">笔者最近观察到一个典型的案例说明不同沟通场景下，对同一个话题，IDC内的零信任，不同沟通材料的底层协作逻辑如何不同。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="letter-spacing: 0px;">从时间顺序上来说首先有这篇文章《</span><a target="_blank" href="http://mp.weixin.qq.com/s?__biz=MzI2MjQ1NTA4MA==&amp;mid=2247485040&amp;idx=1&amp;sn=188ea6610b0936e2bd1f7b5ce4def639&amp;chksm=ea4bac37dd3c2521c69c8fb8bf29186249f86048a5755f9be0fc03a31ee73c98b71826905d42&amp;scene=21#wechat_redirect" textvalue="张欧：数字银‍行可信网络实践" linktype="text" imgurl="" imgdata="null" data-itemshowtype="0" tab="innerlink" data-linktype="2"><span style="letter-spacing: 0px;">张欧：</span><span style="letter-spacing: 0px;">数字银行可信网络实践</span></a><span style="letter-spacing: 0px;">》，这是作为企业安全负责人角度，讲解内部的建设理念、思路和方案，重点是组织要达成的业绩和实现路径。</span><span style="letter-spacing: 0px;"></span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">而《<span style="letter-spacing: 0px;"><a target="_blank" href="http://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804888&amp;idx=1&amp;sn=411a117915dad499517bfb7bf7d9217b&amp;chksm=84451586b3329c9038a6e65af904140148b0b8501799acec1904f89a1033ed2e74ab520ce0f7&amp;scene=21#wechat_redirect" textvalue="ThreatSource：Google BeyondProd安全架构详解" linktype="text" imgurl="" imgdata="null" data-itemshowtype="0" tab="innerlink" data-linktype="2">ThreatSource：Google BeyondProd安全架构详解</a>》这个PPT讲解的项目从安全架构师角度，同具体的一线开发人员交流技术细节和实现。</span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">《<span style="letter-spacing: 0px;">零信任实践分享</span><span style="letter-spacing: 0px;">》是介绍他山之石，以谷歌员工过来人的角度介绍理论和实践，所以适当忽略技术细节，重点是诠释“经验教训”。</span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">而《<a target="_blank" href="http://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447805014&amp;idx=1&amp;sn=c2f139b3875acb1173f3c57466813c51&amp;chksm=84451608b3329f1e57dcfee712c0351bfd4566ed6c5579c6c3b2b74abaff1fe8c45eed69b283&amp;scene=21#wechat_redirect" textvalue="A Touch of BeyondProd" linktype="text" imgurl="" imgdata="null" data-itemshowtype="0" tab="innerlink" data-linktype="2">A Touch of BeyondProd</a>》是从给同行分享普及这类技术，区分对各种技术决策的理解WHY，同类方案的选型WHT，要解决的问题和展望HOW。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">材料《<a target="_blank" href="http://mp.weixin.qq.com/s?__biz=MzA4MTQ2MjI5OA==&amp;mid=2664085858&amp;idx=1&amp;sn=c1455aaa1ccee644276ab1abe933d7df&amp;chksm=84aa8c17b3dd05017d48516f3ed74fc2f2c5c5321fda65df29c5b31c075ec69dd545b58735fc&amp;scene=21#wechat_redirect" textvalue="生产网零信任，阿里云落地最佳实践" linktype="text" imgurl="" imgdata="null" data-itemshowtype="0" tab="innerlink" data-linktype="2">生产网零信任，阿里云落地最佳实践</a>》是阿里云安全的宣传文，讲了落地并实践了的什么方案，解决了生产网的隔离问题，给客户以信心。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">不同材料适合不同场景下的阅读人员。比对几份材料就会发现存在明显的异同，而这些材料讲得其实几乎是同一类安全运营项目！</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>帮助别人开会</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">参加合作方的会议要展示安全团队的风貌，是宣传安全理念的机会，要团结不要分裂，要阳谋不要阴谋。有时候一个专项任务会分解为多人承担的子任务，比如一个弱口令治理，可能有人负责数据统计分析、有人出技术方案、有人对接合作方“push”进展。专项负责人要尽量参加到这些会议中，哪怕实际手头有忙的事情，你的参会给小伙伴信心，有时候关键的一两句话可以显著推动事情的进展。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">如果小伙伴说错了，不严重的不需要抢过话题去纠正，大家都是在探索尽量靠近运营治理的目标，会后沟通明确下次就有经验了。</p><h1 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 24px;"><span style="display: none;"></span>遇到困难怎么办</h1><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">对项目有强烈责任心的人总能发现潜在风险，看得远想得透。<strong>遇到困难不要扛着，首先要寻求帮助，要相信团队的力量</strong>，个人思考有盲区，多方思考沟通总是能开阔思路。还要积极主动化劣势为优势，在工作中难免有难点，主动提出建设性的想法，先不要摆手推辞，事后有时候看来并没有当初看来那么难。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">项目进行过程中有时候让你生闷气吐槽，有时候让你绝望无助，有时候让你无地自容，不用慌，对于无能无力的事情坦然应对<span style="color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">保持健康娱乐心态</span>，合理承受压力稳定军心。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">要坚韧不拔，不达目的不罢休，任何项目只要立项了，只要没人赶你走就坚决不离开，熬着总能有收获。</p><h1 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 24px;"><span style="display: none;"></span>写在最后</h1><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">限于篇幅有些章节不能说透，但安全运营的实践同网络安全的特点一样没有银弹，这项工作只有言传身教或者让公司交学费。安全运营也可以很优雅，留给你适当空间可以大胆发挥根据自家的实际情况摸索，总而言之四个字：干就完了。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在安全行业我们总是逆流而上，同旧世界不断PK，Fighting，工作惯性很强大，知易行难，要想成功需要主动克服痛苦才能引导变革，只有走在追寻更有价值和有意义的路上才能保持竞争优势，创新改变世界，愿读者们长期有耐心，做好一位安全运营的长期主义者。</p><h1 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 24px;"><span style="display: none;"></span>参考资料</h1><ol data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">职业欠钱谈安全运营 <a href="https://www.zhihu.com/column/c_1161574152535855104" target="_blank">https://www.zhihu.com/column/c_1161574152535855104</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">《数据安全架构设计与实战》<a href="https://item.jd.com/12731728.html" target="_blank">https://item.jd.com/12731728.html</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">《用图表说话：麦肯锡商务沟通完全工具箱》<a href="https://item.jd.com/11324809.html" target="_blank">https://item.jd.com/11324809.html</a></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">PMBOK （美国的项目管理知识体系） <a href="https://baike.baidu.com/item/PMBOK/63635" target="_blank">https://baike.baidu.com/item/PMBOK/63635</a></section></li></ol></section><p style="text-align: center;"><img class="rich_pages wxw-img" data-backh="578" data-backw="578" data-galleryid="" data-ratio="1" data-s="300,640" data-type="jpeg" data-w="600" style="width: 100%;height: auto !important;" src="https://wechat2rss.xlab.app/img-proxy/?k=b2be6a91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafIbx9xLXQob7gUXll6kdcicUqGYduYY9ibBEic1ibCmbyNGDbZ3Z7RgvSAibRrodrWqB7x3JCxFnrnia3Q%2F640%3Fwx_fmt%3Djpeg"/></p></section>



<p><a href="2447805025">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=823306bf&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447805025%26idx%3D1%26sn%3D50648a9b9c3f6766b9442ca6a4ba9f61%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 06 Dec 2021 10:30:00 +0800</pubDate>
    </item>
    <item>
      <title>A Touch of BeyondProd</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447805014&amp;idx=1&amp;sn=c2f139b3875acb1173f3c57466813c51</link>
      <description>本文介绍beyondProd的实现架构、关键技术。</description>
      <content:encoded><![CDATA[<p>
原创 <span>安全乐观主义</span> <span>2021-10-14 18:50</span> <span style="display: inline-block;"></span>
</p>

<p>本文介绍beyondProd的实现架构、关键技术。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=e69d1192&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4riaaRKk8SpUVU6UqLGsIpfcUbRmrzc7l0HLN4CeMzePYEo6icEwTLBibZw%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Why 关注BeyondProd</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">想象的业务</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">真实的业务</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">云原生时代的挑战</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">面临的难点和挑战</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Which 架构选择</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">Google基础架构安全设计</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">Google技术沙盘</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">AWS安全设计</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">What BeyondProd的关键技术</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">mTLS &gt; Mutual Transport Layer Security</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">全程票据方案详解</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">仍需要工程化解决的问题</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">Resource of ByeondProd</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">HOW 打个广告招人</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="font-family: &#34;Operator Mono&#34;, Consolas, Monaco, Menlo, monospace;letter-spacing: 0px;background-color: rgba(27, 31, 35, 0.05);color: rgb(30, 107, 184);font-size: 14px;">安全乐观主义：</span><span style="font-family: &#34;Operator Mono&#34;, Consolas, Monaco, Menlo, monospace;letter-spacing: 0px;background-color: rgba(27, 31, 35, 0.05);color: rgb(30, 107, 184);font-size: 14px;">谷歌提</span><span style="font-family: &#34;Operator Mono&#34;, Consolas, Monaco, Menlo, monospace;letter-spacing: 0px;background-color: rgba(27, 31, 35, 0.05);color: rgb(30, 107, 184);font-size: 14px;">出的BeyondProd，不同的公司叫做平台安全、IDC内的零信任、基础设施安全、IaaS安全等，本文是笔者依据经验，整理各家公司的一些实现架构和关键技术作为抛砖引玉的材料，希望大家对这个领域多加以交流。</span></p><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><img data-fileid="300321337" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=dabd8409&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rn4CZGEIfG1ERME1qibsdHCYaJlKQgkzb9JeqMzCD4Owq9gIfLg9ajJA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_01</figcaption></section><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321336" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=f33b4153&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rHIoJgy8HgHdicFYMKicSaRWdUUQEtQjNoMESiaErVYTqpPVhHRWVBXfFA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_02</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321340" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=b831ffb8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4riawPibnA81uDY7v2nSVjXujiaUic1hA67eIsQN5xYZSIePIoO5k8b9ZEdw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_03</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321339" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=0c0b1fe0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4r0KDtG2rFBZWI6Qd3wAke5IfEftasHXC69Jr3AWepTDbep05RyP5YPw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_04</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321338" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=fc35cad0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rFRoMpkP8nxX2jybjOBtoicb0AnsHY8rDxDxIic7ib19MrU3r1UD2Q1eicw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_05</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321341" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=6b0c42f9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rkpjJHDyYfu2m4Ja6FP630VuLuIx4RaA4vCU1yugiaOWFXPMm6kKXQOA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_06</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321342" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=6b0c42f9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rkpjJHDyYfu2m4Ja6FP630VuLuIx4RaA4vCU1yugiaOWFXPMm6kKXQOA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_07</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321344" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=8d36db34&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rVvalDC6kiaKFWZghoAAWJNZxfdT3XNCqLdZbiayRZeMKMHaH4ibEYVhjA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_08</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321345" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=ce21568f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rKEdoBY1icAHhUBbBiaYowUjiaH3AzLHlEuWIpzibfQdVTIeyA5yf58SvNw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_09</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321343" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=47da454d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rrtW0rat60hiabJr0IOz7Wx2kqKWTj2RO4wHCTOSaDUSa6dWics80cicNg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_10</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321347" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=0e47fe50&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4r8iaeuMvehCefaEfUwkhuVqcJ3PFm5269GAT8zIlcozLPHg9rwZ21Jow%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_11</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321350" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=fccad17d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4ricMTPjNW2ScY2LDx13OxxlUb2sGw5oa3lwqOTtichPe6ial2o4wVIjzzw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_12</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321346" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="960" src="https://wechat2rss.xlab.app/img-proxy/?k=a7b4fb94&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rzNEOTCO4XjVk5H6wBz1Wsm9LhnEibD2YIk3IKp7y7hUuq7GhibicG9xug%2F640%3Fwx_fmt%3Djpeg"/></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321348" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=3c73681f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4ribZ993BWsx961n0bXq5ULyZ99tzpoywd0JibNABRLAII90q0HsxicnV8Q%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_14</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321349" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=9fd11bbb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4r8Nln41p7s82fFfgGicfe5eXRXBog902o6icnfkkvVicemTdiaElY5ZPnMQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_15</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321352" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=86421f62&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rUD1kqltI3301lVUlZcPEZFpiczRNyNLMRForlHOG7LWgrDBlibwHe3TA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_16</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321354" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=90f20a1c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rF2W4vtD7VYBnAnTevtvm1AqUJKibKPLjokibKbYZhZJDYgI6W9ibpZDgg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_17</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321353" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=3dd1b312&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4r5uCWlribXNDBd22SnsmNia6QXK1wZHiazF5hSFqCYOZxgVkdsicIXnhBFw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_18</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321351" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=bb63c12e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rBtK3TzQNJCicyggSFVMC6gZujFvQibGsjrCgeqOEeoJAnnCJaTS14Kcg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_19</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321355" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=f88a0904&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4r0WF7NJic39pFtvGHzcUGxlHFgMIrWT6BODJqzAibJKjCqSjN6xLERaaw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_20</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321360" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=8fe30d11&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rczFYEQqcMCRP6FgJjLgXdKUpCsXxIbicf0cuaVP2lxTZ0qvjkaEvMPg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_21</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321356" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=71bca93c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rQe6iaBiaMBZPZpqI5sVZufBFv8iaGQSInMX9n0Wia6tOZ1h4m8DoyJWGCQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_22</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321358" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=8ffc28bb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4roatKeAicU4jU89UVlzlDnRbO0WDE98nX41jU37yKYbByjgiaibI6uGOwQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_23</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321359" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=79acca9a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rhbLwbQHJdJyrEZnBQ3Jkq8Q6p3kickFOUyjQazjVppFAjEE0YjyeAIA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_24</figcaption></figure><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-fileid="300321357" data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=867b4456&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafbBypQEZhdNWBCHa0Qbu4rb0qjWsntC8eicjiamxoiaSwxxJOYNT57eBuAVBovEyysfYdfwnz9nibLWQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">_25</figcaption></figure></section><section class="mp_profile_iframe_wrp"><mpprofile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-id="MzA5Mzg3NTUwNQ==" data-headimg="http://mmbiz.qpic.cn/mmbiz_png/rrT9ZWSiaWae9L0Kz9kQ3BsQJhKJjTYjfPdvvvFHNm6OOcYicmS69XyxdXuA6sDttlmhicJ45jQB4YIJFCfTQIVEg/0?wx_fmt=png" data-nickname="安全乐观主义" data-alias="" data-signature="实践分享企业在建设安全开发生命周期各阶段及流程中的优秀实践，内容涉及代码审计、业界对标、系统工程化心得、国外资料分享，搭建应用安全交流平台。" data-from="0"></mpprofile></section><p style="text-align: left;">pdf下载地址：链接: <a href="https://pan.baidu.com/s/1KCuFEyo5Wl5hcdOSfSKg-Q" target="_blank">https://pan.baidu.com/s/1KCuFEyo5Wl5hcdOSfSKg-Q</a> 提取码: g2wu</p><p style="text-align: left;"><span style="letter-spacing: 0px;text-align: left;font-family: &#34;Operator Mono&#34;, Consolas, Monaco, Menlo, monospace;background-color: rgba(27, 31, 35, 0.05);color: rgb(30, 107, 184);font-size: 14px;">安全乐观主义：</span><span style="letter-spacing: 0px;text-align: left;font-family: &#34;Operator Mono&#34;, Consolas, Monaco, Menlo, monospace;background-color: rgba(27, 31, 35, 0.05);color: rgb(30, 107, 184);font-size: 14px;">谷歌提</span><span style="letter-spacing: 0px;text-align: left;font-family: &#34;Operator Mono&#34;, Consolas, Monaco, Menlo, monospace;background-color: rgba(27, 31, 35, 0.05);color: rgb(30, 107, 184);font-size: 14px;">出的BeyondProd，不同的公司叫做平台安全、IDC内的零信任、基础设施安全、IaaS安全等，本文是笔者依据经验，整理各家公司的一些实现架构和关键技术作为抛砖引玉的材料，希望大家对这个领域多加以交流。</span></p><p style="text-align: left;"><span style="letter-spacing: 0px;text-align: left;font-family: &#34;Operator Mono&#34;, Consolas, Monaco, Menlo, monospace;background-color: rgba(27, 31, 35, 0.05);color: rgb(30, 107, 184);font-size: 14px;">安全乐观主义：</span><span style="letter-spacing: 0px;text-align: left;font-family: &#34;Operator Mono&#34;, Consolas, Monaco, Menlo, monospace;background-color: rgba(27, 31, 35, 0.05);color: rgb(30, 107, 184);font-size: 14px;">谷歌提</span><span style="letter-spacing: 0px;text-align: left;font-family: &#34;Operator Mono&#34;, Consolas, Monaco, Menlo, monospace;background-color: rgba(27, 31, 35, 0.05);color: rgb(30, 107, 184);font-size: 14px;">出的BeyondProd，不同的公司叫做平台安全、IDC内的零信任、基础设施安全、IaaS安全等，本文是笔者依据经验，整理各家公司的一些实现架构和关键技术作为抛砖引玉的材料，希望大家对这个领域多加以交流。</span></p>



<p><a href="2447805014">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=268ee288&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447805014%26idx%3D1%26sn%3Dc2f139b3875acb1173f3c57466813c51%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Thu, 14 Oct 2021 18:50:00 +0800</pubDate>
    </item>
    <item>
      <title>让安全团队快速倒闭的十条建议</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804958&amp;idx=1&amp;sn=8a3debdd0f377885098e19dade944e5e</link>
      <description>如果你想让一个信息安全团队做得一年比一年差，我这里有一些忠告建议，可以帮助你搭建一个失败的安全建设团队，请一定要按照以下十条建议去做，否则你的安全将建设得越来越好。</description>
      <content:encoded><![CDATA[<p>
原创 <span>安全乐观主义</span> <span>2021-08-31 11:42</span> <span style="display: inline-block;"></span>
</p>

<p>如果你想让一个信息安全团队做得一年比一年差，我这里有一些忠告建议，可以帮助你搭建一个失败的安全建设团队，请一定要按照以下十条建议去做，否则你的安全将建设得越来越好。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=682525bb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaceXpuK1YicbS91dluNU1FAiaxbC9kmvsJPctlXG22HokdKhhA5NTyhrU0xwyq0ozTXWs3oq8cUiajPw%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><ol class="list-paddingleft-2" style="list-style-type: decimal;"><li><p style="text-align: left;">不要学习业界最佳实践</p></li><li><p style="text-align: left;">安全方案保持超前，不接地气</p></li><li><p style="text-align: left;">表面省钱，什么都坚持自研</p></li><li><p style="text-align: left;">安全研发不懂安全，研发安全不懂研发</p></li><li><p style="text-align: left;">喜欢简单重复，避免自动化</p></li><li><p style="text-align: left;">以安全自High为中心，避免“客户至上<span style="color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">”</span></p></li><li><p style="text-align: left;">安全建设的上限是蓝军的下限</p></li><li><p style="text-align: left;">全体躺平，让有责任感的成员占少数</p></li><li><p style="text-align: left;">坚持做“自下而上”<span style="color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">的</span>安全</p></li><li><p style="text-align: left;">做临时方案，避免做长期正确的事情</p></li></ol><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="letter-spacing: 0px;">如果你想让一个信息安全团队做得一年比一年差，我这里有一些忠告建议，可以帮助你搭建一个失败的安全建设团队，请一定要按照以下十条建议去做，否则你的安全将建设得越来越好。</span><br/></p><h2 data-tool="mdnice编辑器" style="font-size: 22px;margin-top: 30px;margin-bottom: 15px;font-weight: bold;"><span style="display: none;"></span>不要学习业界最佳实践</h2><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;">要让安全团队倒闭首要建议是看到各种安全会议眼花缭乱的PPT就抄在自己团队的规划里，牢记零信任、切面安全、内生安全、DevSecOps等一个都不能少。要成功让一个安全团队倒闭，就要坚持不研究业界更高体量公司的最佳实践，只局限于参与同等水平或者更小体量公司的视野。要照抄其他公司安全方案，少去思考为什么做这么做，背景是什么，有没有更好的路线，尽可能从自己的失败中学习教训，而不是参考别人的经验：）</p><h2 data-tool="mdnice编辑器" style="font-size: 22px;margin-top: 30px;margin-bottom: 15px;font-weight: bold;"><span style="display: none;"></span>安全方案保持超前，别接地气</h2><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;">一方面要不对标，一方面要确保你的安全方案是安全自以为是的，就强制覆盖到全公司，保持自己的安全方案照搬到另外<span style="color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">一家</span>公司也可以，不要考虑所在公司的实际情况，只考虑当前安全技术对自己岗位能力的匹配度。哪怕是超前的安全方案，只要是“面向简历有利”的安全方案都可以推行。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;"><span style="display: none;"></span></h2><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;text-align: left;white-space: normal;"><span style="font-size: 22px;">表面省</span><span style="font-size: 22px;letter-spacing: 0px;">钱，什么都坚持自研</span></h2><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;">保持“谋杀”团队成员职业生涯的法宝是让他去自研一个夕阳产品，而实际自己就几个人，几条枪，不是专业研发，也没啥专利，坚持让当前宝贵的人力去做所谓的自研，千万不要用手头的预算购买成熟的商业产品，别把人投入到更有价值的岗位上去，因为这样会少安全会议谈论的资本。</p><h2 data-tool="mdnice编辑器" style="font-size: 22px;margin-top: 30px;margin-bottom: 15px;font-weight: bold;"><span style="display: none;"></span>安全研发不懂安全，研发安全不懂研发</h2><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;">要让做安全产品开发的小伙伴一点儿不懂安全，保持合作的高昂成本。做防御产品的技术人员要一点也不懂实际的安全价值，只管按照开发文档去实现功能，别去考虑实际的安全场景。</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;">做产品安全的小伙伴要是攻击队出身，最好没有认证鉴权加密的安全基本功，和业务对接安全时要照搬安全编码规范和测试指南，不要去考虑开发细节，给出僵硬的修复指导，让一线研发自己去查资料。</p><h2 data-tool="mdnice编辑器" style="font-size: 22px;margin-top: 30px;margin-bottom: 15px;font-weight: bold;"><span style="display: none;"></span>喜欢简单重复，避免自动化</h2><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;">重复机械的活动让团队成员心理更有稳定感，建立喜欢重复5遍以上的手工劳动的文化，排斥做自动化的开发，保持安全是个经验活动，而不是软件工程科学。</p><h2 data-tool="mdnice编辑器" style="font-size: 22px;margin-top: 30px;margin-bottom: 15px;font-weight: bold;"><span style="display: none;"></span>以安全自High为中心，避免“客户至上”</h2><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;">安全团队没有客户，只考虑自己安全圈里的技术对抗，千万不要将各个业务团队视为自己的客户，业务不配合安全是业务的价值观有问题。安全和业务要做到零和博弈，有你没我，有我没你，不要做安全工程师考虑客户服务，不要做赋能业务，要沉迷于领域内的安全攻防技术。</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;">拿着安全的锤子看啥都是钉子，做出来个安全产品就套用到各个业务模型，哪怕自己已经不适合serverless、大数据、微服务的产品，依然要套用起来，花大力气让业务进行改造适配，而不是思考自己的产品是不是能给业务带来收益。</p><h2 data-tool="mdnice编辑器" style="font-size: 22px;margin-top: 30px;margin-bottom: 15px;font-weight: bold;"><span style="display: none;"></span>安全建设的上限是蓝军的下限</h2><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;">要妥协于蓝军，安全团队要保持被蓝军牵着鼻子走的节奏，坚持眉毛胡子一把抓去修复蓝军发现的问题，case by case的去解决，而不是区分优先级去耐心建设。以一年一度的护网为最高目标，没被打穿就是我们建设的好，被打穿就解释说是视野范围内的问题。</p><h2 data-tool="mdnice编辑器" style="font-size: 22px;margin-top: 30px;margin-bottom: 15px;font-weight: bold;"><span style="display: none;"></span>全体躺平，让有责任感的成员占少数</h2><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;">团队中虽然要有勤恳的老黄牛式员工，明星员工，但要保持新员工能力低于团队50%水平，持续让有责任感的员工跑路。让团队里做攻击的小伙伴占大多数，将工时作为绩效指标。保持“向上管理”的能力，建立安全是个风险管理，安全哪怕做的更好、更差都没啥用的价值观导向。</p><h2 data-tool="mdnice编辑器" style="font-size: 22px;margin-top: 30px;margin-bottom: 15px;font-weight: bold;"><span style="display: none;"></span>坚持做“自下而上”的安全</h2><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;">千万不要“自上而下”给予顶层设计和资源支持，让安全工程师自发地做出视野范围内的事情。哪怕是方向错了，只要大家努力了，人人有事干，事事有人管，就达到了安全团队存在的要求。另一个要领是领导说啥就干啥，忘记了是国家和人民托付给我们做安全，大老板是中央网络安全和信息化领导小组组长。</p><h2 data-tool="mdnice编辑器" style="font-size: 22px;margin-top: 30px;margin-bottom: 15px;font-weight: bold;"><span style="display: none;"></span>做临时方案，避免做长期正确的事情</h2><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;">濒临倒闭的信息安全团队牢记自己是“临时工”，自扫门前雪，哪管事后洪水滔天，假装努力解决眼前的问题，掩耳盗铃地选择性地做简单容易拿绩效的事情，满足于做临时解决方案，千万不要复盘，反对举一反三，避免做长期而正确的事情。</p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;">如果读者有更好的办法可以让安全团队垮掉，欢迎关注微信公众号，私信作者一起交流。<br/></p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p><p style="font-size: 16px;text-align: center;"><img class="rich_pages wxw-img" data-galleryid="" data-ratio="1" data-s="300,640" style="" data-type="jpeg" data-w="600" src="https://wechat2rss.xlab.app/img-proxy/?k=b2be6a91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafIbx9xLXQob7gUXll6kdcicUqGYduYY9ibBEic1ibCmbyNGDbZ3Z7RgvSAibRrodrWqB7x3JCxFnrnia3Q%2F640%3Fwx_fmt%3Djpeg"/></p><p data-tool="mdnice编辑器" style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p></section><section class="mp_profile_iframe_wrp"><mpprofile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-id="MzA5Mzg3NTUwNQ==" data-headimg="http://mmbiz.qpic.cn/mmbiz_png/rrT9ZWSiaWae9L0Kz9kQ3BsQJhKJjTYjfPdvvvFHNm6OOcYicmS69XyxdXuA6sDttlmhicJ45jQB4YIJFCfTQIVEg/0?wx_fmt=png" data-nickname="安全乐观主义" data-alias="" data-signature="实践分享企业在建设安全开发生命周期各阶段及流程中的优秀实践，内容涉及代码审计、业界对标、系统工程化心得、国外资料分享，搭建应用安全交流平台。" data-from="1"></mpprofile></section><p><br/></p>



<p><a href="2447804958">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=8d3efb03&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447804958%26idx%3D1%26sn%3D8a3debdd0f377885098e19dade944e5e%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Tue, 31 Aug 2021 11:42:00 +0800</pubDate>
    </item>
    <item>
      <title>必须加强建设DevSecOps的Ops阶段</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804953&amp;idx=1&amp;sn=35787ea05c2f6bcaa33c29766ad11e09</link>
      <description>实践DevSecOps的第一个误区就是错把“DevSec”当成“DevSecOps”，缺少持续运营的运维\交付阶段。</description>
      <content:encoded><![CDATA[<p>
<span>安全乐观主义</span> <span>2021-08-02 14:31</span> <span style="display: inline-block;"></span>
</p>

<p>实践DevSecOps的第一个误区就是错把“DevSec”当成“DevSecOps”，缺少持续运营的运维\交付阶段。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=68ded512&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafVO1OlvOLUqn2dx9W81vXiaumWKoAOtgkGwshCgKVWqJvFPxhAuic1mW2awNYEsSmzO0dyebcrdJQQ%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><p>What  将安全性和可靠性结合</p></li><li><p>Why 错把“DevSec”当成“DevSecOps”</p></li><li><p>How Secure Your Ops</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li><p>安全混沌工程-Security  Chaos Engineering</p></li><li><p>韧性-Resilience</p></li><li><p>无接触-No Touch</p></li></ul><li><p>When 对待安全的观念需要立刻改变</p></li><li><p>参考资料</p></li></ul><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>What  将安全性和可靠性结合</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  业界不少关于DevSecOps实践的文章，大都是一些静态代码检查、被动扫描器、安全框架和SDK、域名上线卡点之类的介绍，这些文章不约而同地避开了软件的维护、运维阶段。实践DevSecOps的第一个误区就是错把“DevSec”当成“DevSecOps”，缺少持续运营的运维\交付阶段，仅将安全向开发人员左移是选择做一件简单的事，而不是正确的事。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  开发人员通常不是安全工程师，安全团队通常没有开发人员。两个团队都没有资源或技能来满足对方的需求，安全不仅仅是安全和研发两个团队的责任，需要每个工程师参与，<strong>笔者认为安全工作不应该仅仅从保障不出事的角度，而是要站在为业务带来发展的正向价值的高度去思考</strong>，DevSecOps以关注代码开始，以部署和运维开始循环，Deploy、Operation阶段的安全性也很重要。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  是时候谈谈安全和可靠的融合了，<span style="color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">可靠性和安全性不可分割，没有安全性，就不可能获得安全性；</span><span style="color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">而没有可靠性，安全性就是不完全，不巩固的。</span>运维、交付阶段的安全运营领域将是未来5到10年DevSecOps行业的主战场，而国内阿里、腾讯早已经布局这方面的人员和技术积累。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>Why 错把“DevSec”当成“DevSecOps”</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  实践DevSecOps，很多人第一步就做错了--错把“DevSec”当成“DevSecOps”，忽视Ops阶段的安全性，定义持续安全性区分两个团队：一个是开发和工程团队，另一个是运维/发布团队，折腾开发人员是安全团队的一项传统技能，安全的偏见认为SRE就是做申请机器，打补丁的事情，其实现在SRE的角色已经完全不同，虽然没人愿意去折腾SRE，但是我们不能妥协，工作哪能不严格呢？和和气气怎么能把工作搞好，实现变革是需要付出代价的。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.306" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1000" src="https://wechat2rss.xlab.app/img-proxy/?k=5ae08198&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafVO1OlvOLUqn2dx9W81vXiaHshic0fSCNbv7u1iaVjLLykZsJjTz1y6g7oxia8t5wv1BsaUDia5ofeuJw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">某公司介绍所谓DevSecOps工具链，到了上线阶段就截止了</figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">只关注dev的sec，不关注ops阶段的sec，主要体现在四个方面：</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>  建设的思路受限于过去的经验</strong>。对于云原生项目、微服务、大数据、SaaS的项目，仅通过安全团队的web、移动应用安全审查，并说“安全审核通过，可以上线发布了”是不够的，谈到应用安全其实是指狭义的研发安全，好像以为主机系统安全、部署安全、运维安全、基础设施安全领域和自己没有什么关系，安全的手不能伸得太长，可是现在未来是“基础设施即服务”（IaaS）、”配置即服务“的趋势，不能仅仅关注代码维度了，要关注产品的全部生命周期。以供应链攻击威力，并不仅仅是code。数据显示开发人员使用39% 的时间用于管理 DevOps 基础设施。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  以供应链攻击为例共有以下8个攻击环节，但是如果关注研发安全，只能覆盖其中4个代码技术层面，忽略下图中的A、B、G、H场景。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5224489795918368" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1470" src="https://wechat2rss.xlab.app/img-proxy/?k=3766932f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafVO1OlvOLUqn2dx9W81vXiauPL3v1hK346exc8zaNJ51NEfHY8DAuHdwW7icwKzSbNfzXFnOwO3aZA%2F640%3Fwx_fmt%3Djpeg"/><span style="color: rgb(136, 136, 136);font-size: 14px;text-align: center;letter-spacing: 0px;">重新审视供应链攻击的大盘</span></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>  选择做当前的事，不着眼于长远</strong>。当前的问题是仅在需求、设计和开发实施的阶段考虑安全性，对于业务视角来说，企业安全本身就是一个正在进行的项目，要注意整个安全能力的交付过程，而这项工作随着企业软硬件的发展永远不会完成。我们总是可以做些事情来减少未来漏洞带来的风险和影响。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>  安全工程化要求不高</strong>。我们总是以为公司的安全隐患是研发人员写的代码引入的，实际对于一次全链路攻击，利用代码安全漏洞仅仅是入口边界，提权、抓hash、未授权等横向渗透后果其实和开发人员没什么关系。现在能力大都集中在主要是防入侵而已，防范删库跑路不少公司是做不到的。花了很大精力去做长尾工作的扫描、修漏洞、告警能力，安全投资的回报已经不足，为什么不真实关注建设的短板呢？当然有些黑、白盒安全运营的能力是“看上去”比较成熟，挑战不大，本质上我们没有提出更高的要求，我们不仅要鼓励devsec的从10到100，也要鼓励secops的从0到1，1到10。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>  忽略人的因素</strong>。是人就会犯错误，我们只能缩减问题发生的影响，永远不能完全解决问题。除了关注技术和流程，人的Operation因素是影响DevOps效果的最大变量。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  ESG对北美对私营和公共部门的IT和网络安全专业人员进行的调研显示，48%的组织故意将易受攻击的代码推送到产品中，说明工具流程虽然能检出，但是人去主动忽略放行。<img data-ratio="0.48963133640552997" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1736" src="https://wechat2rss.xlab.app/img-proxy/?k=d9c1e536&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafVO1OlvOLUqn2dx9W81vXiahrX9aQgFZrWfG4TKTFzTpiaW1zaBJgkrOjMmcMtsPbz7VkDse9ACFzQ%2F640%3Fwx_fmt%3Djpeg"/></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  还有个最近的例子，我们能否真正解决”删库跑路“问题？字节最近通过”传字节跳动实习生删库，公司通报为重要事故“事件回答：不能。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>How Secure Your Ops</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  DataOps、MLOps 和AIOps，可以统称为Operations（Ops\运维）阶段。SRE 可以帮助团队在发布新功能和确保用户可靠性之间找到平衡。SRE(或者是DevOps工程师)关注的稳定性和安全所关注的安全性问题，在解决思路策略、技术实现、对人的要求都是一致的，但现状是安全和SRE的沟通协作还远远不够，在下图中显然大家做的更多事情是偏左，右侧的技术栈的安全熟练度不高。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5620437956204379" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1507" src="https://wechat2rss.xlab.app/img-proxy/?k=080215f5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafVO1OlvOLUqn2dx9W81vXiaJicqHYnNQ6rhngtUR0Dq8Wx7b87dib0ibavkEdX8Nbq59wleH6r7HuW1Q%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">DevOps工具链，你是否关注左边大于右边</figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>  我们永远无法理解我们自己的系统</strong>，但安全还没跟上这个道理，总是喜欢规范统一，现在构建的分布式系统如此复杂，以至于没有谁能够说明其整个运行本质，系统不安全是常态，应急响应流程存在不足是常态，防微杜渐、严防死守的观念已经不适应现在行业发展。新的挑战面前，怎么去把事情继续做好？需要不断开阔自己的思路，往前看的同时也往后看，关注Ops领域。业界已经有一些实践作用于安全和可靠性领域：</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>安全混沌工程-Security  Chaos Engineering<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  红蓝对抗方式是一种偏向传统的思维，显而易见其不足之处在于：一、攻击者总是能发现缺陷，蓝队总是能收到告警，说不清到底有多少工作要做；二、虽然少数优秀的执行团队可以做到以周、月度为周期演练，频度仍然严重不足；三、不透明、不可重复实验、过程不可控，缺少持续的反馈。<strong>如果说红蓝的定位是”发现建设存在哪些问题“，安全混沌工程则关注”建设这些问题的优先级“。</strong></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  当我们面临一个复杂规模的业务系统时，出现安全漏洞几乎是必然事件，没有安全问题是偶然现象。不管你花多少精力进行漏洞修复，出现0day几乎是必然事件；不管你组织多少安全培训，员工点击钓鱼系统几乎是必然事件；不管你做多少风险感知能力，入侵行为发生快于阻断是必然事件。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  根据《IBM Security 2020 Cost of a Data Breach Report 》52%的数据泄露是因为恶意代码攻击，23%的原因是人的犯错，25%的原因是系统故障。安全混沌工程通过观测应急响应、安全控制措施验、基线监控、风险发现等技术手段解决后两类问题，占比共达到48%！</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  将安全视为故障需要运维和安全共同进行改善，安全混沌工程通过快速检测服务是否健壮、安全、有足够的韧性、能否容忍意外的安全事件来提高企业安全架构的实用性。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>韧性-Resilience<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  发生安全事件的第一步应该做什么？恢复业务正常运行进行止损。组织需要建立面对性能和安全威胁时，有效保持系统弹性和恢复的能力。今年RSAC大会探讨的韧性其实已经超越了安全的范畴，是踏踏实实的软件工程。韧性要求安全工作不仅仅重视拿结果，也重视过程阶段的成熟，引入了控制降级、冗余、弹性设计、隔离、自动缓解和恢复的概念。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>无接触-No Touch<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  恶意用户（或者攻击者）尝试破坏系统、中断系统来影响服务可用性，我们必须将”人的因素“装在”笼子“里。想象一下，一位研发人员通过配置管理下发了一个错误的配置引起了软件变更，但是这个时候是不是绕过了code review和代码扫描流程，是不是应用安全应该关注的事？SDL亦或是DevSecOps的职责是产品安全或者应用安全整体，不应该是止步于研发安全。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  举个例子，怎么阻止高权限的运维人员私自开放公网ip到线上？No Touch通过审核每一次变更必须通过自动化、软件校验风险因子、可审计的备用措施来实现”提高生产安全性、避免中断“，被背后代表着需要落地大量安全原则，比如最小权限、前置安全检查策略、安全代理、审核、关注人和机器之间、机器和机器之间的交互。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  参考AWS的“Humans and Data Don’t Mix”，这方面需要建设工具链很多，出成绩的前景很大。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>When 对待安全的观念需要立刻改变</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  笔者从不相信DevSecOps，指导所在领域建设的思路只有基础设施强制安全和极致自动化两个概念，DevSecOps这个名词的作用仅仅是说服合作伙伴达成协作而已：）DevSecOps就是妥协、战斗、妥协的循环，需要耐心，智慧和说服力。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  总而言之，需要通盘关注组织内复杂的IT和研发流程，适当平衡安全防护架构选型和架构的合理性，保证技术安全的领先性，不至于三五年被淘汰，平时针对安全做好计划并应对持续性威胁，而不要去保证100% 安全性。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  从现在开始重新理解DevSecOps的持续安全性，立即行动起来吧！</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>参考资料</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><a href="https://www.researchgate.net/publication/335922038_Security_Chaos_Engineering_for_Cloud_Services" target="_blank">https://www.researchgate.net/publication/335922038_Security_Chaos_Engineering_for_Cloud_Services</a>
<a href="https://www.freebuf.com/articles/security-management/275605.html" target="_blank">https://www.freebuf.com/articles/security-management/275605.html</a></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><a href="https://security.tencent.com/index.php/blog/msg/150" target="_blank">https://security.tencent.com/index.php/blog/msg/150</a></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><a href="https://devops.com/survey-shows-mounting-devops-frustration-and-costs/" target="_blank">https://devops.com/survey-shows-mounting-devops-frustration-and-costs/</a></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><a href="https://security.googleblog.com/2021/06/introducing-slsa-end-to-end-framework.html" target="_blank">https://security.googleblog.com/2021/06/introducing-slsa-end-to-end-framework.html</a></p></section><p><br/></p>



<p><a href="2447804953">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=2da731ae&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447804953%26idx%3D1%26sn%3D35787ea05c2f6bcaa33c29766ad11e09%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 02 Aug 2021 14:31:00 +0800</pubDate>
    </item>
    <item>
      <title>应用安全的下一个十年</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804933&amp;idx=1&amp;sn=9c98da5ac44aaf9320270dc2a0647047</link>
      <description>安全乐观主义在研判分析近几年网络安全政策、学术、技术和产业发展的现状，预测应用安全领域十大发展趋势。</description>
      <content:encoded><![CDATA[<p>
原创 <span>Ramos</span> <span>2021-06-21 11:16</span> <span style="display: inline-block;"></span>
</p>

<p>安全乐观主义在研判分析近几年网络安全政策、学术、技术和产业发展的现状，预测应用安全领域十大发展趋势。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=14ed44e4&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadIHqRYYibVxO30SicJktiaZWVy5iciaeIwqq1RwdXUsibu3tcpic0bF6jyw5LtLkINekDxLhzfzicCOYXgmw%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p><ul class="list-paddingleft-2" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;width: 557.438px;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;white-space: normal;"><li><p>web安全已死</p></li><li><p>Security Mesh</p></li><li><p>可靠与安全性 SRS</p></li><li><p>蓝盒 TMAST</p></li><li><p>权限和访问控制 IAM+</p></li><li><p>数据类应用的安全性 Data Appsec </p></li><li><p>基础架构安全 BeyondProd</p></li><li><p>并不仅仅是默认安全，强制安全 Enforce Security</p></li><li><p>安全访问代理 Access Security Broker</p></li><li><p>可证明的安全性  FVS，Formal Verification</p></li><li><p>应用编排和安全响应 DOAR</p></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;text-align: left;white-space: normal;">Web安全已死</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">从基础的信息化阶段，到移动互联网，到产业互联网、物联网，以至于未来的人工智能化大发展，产业技术的发展促使应用安全领域近年来逐步受到越来越多的重视。我们必须意识到传统的web安全技术已经逐步落实，应用安全行业在下一个时间将会有巨大的变革。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">SDL还是DevSecOps？应用安全人员前景怎样？未来应用安全市场需求究竟在哪？现在的建设是否满足未来的需求？</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">近日，安全乐观主义在研判分析近几年网络安全政策、学术、技术和产业发展的现状，预测出应用安全领域十大发展趋势，并为安全圈抢先发明对应的新名词：）</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>趋势1：Security Mesh</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">微服务和混合云打破了基于边界的安全模型，Security Mesh理念是指重新定义网格之间异构的信任关系，这同时也将影响现有的集中安全软件类研发和部署，各项安全控制措施将拆分为紧靠业务的微服务体系。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>趋势2：可靠与安全性 SRS</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Secure and Reliable Systems成为创新企业对安全运维提出的最低要求，无意的可靠性故障和有意导致的安全漏洞被视为同一类风险，这意味的应用安全人员的职责需要改变。原有的系统安全工程师、应用安全工程师、开发工程师技能模型进一步得到合并并催收出此类新安全岗位，Security Chaos Engineer，安全混沌工程师岗位应运而生。（笔者似乎是国内第一位踩坑的安全人员......）</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>趋势3：蓝盒 TMAST</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">蓝盒指代Threat Modeling Application Security Testing威胁模型驱动的应用安全测试。TMAST将成为既黑盒DAST、白盒SAST、灰盒IAST后，应用安全的又一主流安全测试方法。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>趋势4：权限和访问控制 IAM+</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">自从越权漏洞成为了各大SRC的主流高危漏洞后，人和技术的技能栈没有跟上攻防趋势的发展，IAM+提供了可理解的身份，身份验证和访问控制，任何系统都应该能够识别谁有权访问哪些资源，尤其是在资源高度敏感的情况下，企业的强烈需求加速为市场领域创新者提供红利。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>趋势5：数据类应用的安全性 Data Appsec </h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">安全是数据的共享是数据开发、利用和增值的重要一环，除了传统的数据安全继续发展以外，应用安全领域也将关注数据处理类服务的创新应用如大数据任务、BI、函数服务、边缘计算、算法的安全性评估和建设。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>趋势6：基础架构安全 BeyondProd</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">基础服务具备种类多、结构复杂、体系结构复杂等特性，随着传统应用安全领域将从“轻管控、重检测、快响应”发展到“轻检测，重基础，自动响应“，具体参考BeyondProd、Istio项目白皮书（可恶，这个英文单词被谷歌先抢了）。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>趋势7：并不仅仅是默认安全，强制安全 Enforce Security</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">内生、默认安全还不够。仅在设计和开发阶段都考虑安全性是不够的，对于软件生命周期来说，安全本身就是一个正在进行的项目，而这项工作永远不会完成，软件的韧性，抗摧毁性得到重视。强制安全的预期目标是确定性地降低未来漏洞的风险和影响。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>趋势8：安全访问代理 Access Security Broker</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">ASB理念是检测和预防的关键技术，类似于将使用者关在盒子里，更多的代理功能将应用在各个用户、云服务、存储之间，提供了大量检测、分析、记录。增加个代理对于安全好处多多。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>趋势9：可证明的安全性  FVS，Formal Verification</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">可形式化证明的安全性理论与方法研究预计得到业界重视，可被数学方式证明的安全产品、安全架构在关键基础设施将得到重视，并同安全智库形成“产、学、研”结合的新风向。安全建设的指标会是什么？不再是漏洞数量、修复比例、产品是否建设、蓝军case覆盖度的感性概念，而是转换为网络安全学科公理的证明。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>趋势10：应用编排和安全响应 DOAR</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">数据分析驱动的应用安全将进一步提升自动化能力，并集成到研发流程，统称为Develop Orchestration、Automation, and Response ，自动化的工具辅助安全人员从审核、运营中脱离出来，开始精细化管理安全场景，形成短期应急响应，中期安全持续改进，长期安全变革提供动力。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">如果你有什么新的想法，欢迎同小编留言交流哦~</p></section><section class="mp_profile_iframe_wrp"><mpprofile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-id="MzA5Mzg3NTUwNQ==" data-headimg="http://mmbiz.qpic.cn/mmbiz_png/rrT9ZWSiaWae9L0Kz9kQ3BsQJhKJjTYjfPdvvvFHNm6OOcYicmS69XyxdXuA6sDttlmhicJ45jQB4YIJFCfTQIVEg/0?wx_fmt=png" data-nickname="安全乐观主义" data-alias="" data-signature="实践分享企业在建设安全开发生命周期各阶段及流程中的优秀实践，内容涉及代码审计、业界对标、系统工程化心得、国外资料分享，搭建应用安全交流平台。" data-from="0"></mpprofile></section><p><br/></p>



<p><a href="2447804933">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=88ae4c42&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447804933%26idx%3D1%26sn%3D9c98da5ac44aaf9320270dc2a0647047%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 21 Jun 2021 11:16:00 +0800</pubDate>
    </item>
    <item>
      <title>应用安全的创新，Apiiro和WABBI</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804924&amp;idx=1&amp;sn=7f94372aa430d76d119b5a6cff4c58e1</link>
      <description>展望RSA Conference 2021创新沙盒竞赛，在应用安全开发领域有Apiiro和WABBI两家公司入选，本文主要介绍这两家公司的特点。</description>
      <content:encoded><![CDATA[<p>
原创 <span>Ramos</span> <span>2021-04-19 19:26</span> <span style="display: inline-block;"></span>
</p>

<p>展望RSA Conference 2021创新沙盒竞赛，在应用安全开发领域有Apiiro和WABBI两家公司入选，本文主要介绍这两家公司的特点。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=50a8895f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacWC5bZF2ea0HfAtKDpY13YkfxQvSnmc2L9IafsQeQfYXp31zmicc2EDI2MnzNkCtTNShCZUHzLOFQ%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><p>全部都是破绽</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li><p>误报漏报永无休止</p></li><li><p>缺乏数据协同能力</p></li><li><p>安全对业务的阻碍太大</p></li></ul><li><p>创新沙盒，Apiiro和WABBI</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li><p>什么是RSAC创新沙盒？</p></li><li><p>Apiiro</p></li><li><p>Wabbi</p></li></ul><li><p>创新过程</p></li><li><p>参考材料<span style="letter-spacing: 0px;"></span></p></li></ul><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>全部都是破绽</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">请大家不要仅仅关注hvv，想想未来的发展。在敏捷，尤其是在分布式、微服务和多云环境中开发应用程序和基础架构时,安全的工作模式也会发生变化。下一个十年是“互联网下半场“的角逐，相应的应用安全建设也需要从”大力出奇迹“到精细化运营。应用安全所在的大安全行业总是要欢迎变化的，或者不情愿地做出适应性改变，国内庞大区域市场之间不平衡不充分的发展虽然容许理念存在滞后性，但放眼未来没有什么比“改变与创新“更为重要。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">笔者很遗憾在国内应用安全领域尚未看到任何一家具备创新潜力的公司（也许某些从业者会罗列为客户落地解决了多少问题，请不要妄自菲薄，这里仅讨论<strong>创新</strong>这个领域）。大家往往拥有智慧而不具备远见，也许是视野不足所以不知道未来更好的方向是什么，这时候技术从来都不是问题，时间更最重要，事后看往往最优秀的市场领导者是有先见之明的，技术势能越大，赛道越长。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">SDL在不断热衷做黑盒、白盒、灰盒、蓝盒（TAST：Threat-Driven Approach to Security Test，威胁驱动的安全测试）四个的轮子的时候，做完了这些下一个领域该做什么呢？</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">尽管围绕瀑布方法已经建立了良好的SDLC（应用安全开发生命周期）覆盖现有流程，但它们并不适用于绝大多数组织的业务模式。而DevSecOps文化为什么不可行呢？安全夹在Dev和Ops之间，<strong>将安全性集成到DevOps中以提供DevSecOps要求改变思维方式，流程和技术</strong>。Sec的效果取决于Dev和Ops之间的组织关系是如何变化的，当组织层面没有做出相应的改变就要推行DevSecOps时，这是对安全负责人的职业谋杀。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">真正实施DevSecOps时，总是不离开敏捷、自动化、安全左移三板斧，三板斧挥出去之后又开始攻防事件驱动的安全运营，然后等待迎合数年后在DevSecOps之后出现的新名词。再完善的安全运营机制也不能解决以下三个问题：</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>误报漏报永无休止<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在考虑代码风险时，我们倾向于并且将思维局限于-诸如SAST，SCA，DAST，IAST或将它们连接在一起的持续集成工具之类的漏洞和检测工具（笔者称之为安全人员的办公OA）。从根本上讲仅依赖于那些工具会被误导，因为它们会遗漏应用大量上下文信息，从而导致大量误报和漏报，减慢了开发的进度，损害了安全发展。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>缺乏数据协同能力<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">如何获得对应用程序和基础架构的完整风险可见性？历史在大量的日常活动中，我们得到了漏洞发现率、Rasp覆盖度、webshell检测率等复杂的安全度量指标，却从来没有人真正站在业务角度考虑业务希望看到什么？什么是对业务有用的数据？哪个指标安全是业务能理解的？安全团队相对独立的技术栈此时成了阻碍，薄弱的数据分析能力也不能助力组织未来在国际市场化的竞争。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>安全对业务的阻碍太大<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">不管是SDL还是DevSecOps，处置漏洞管理活动时还处于推修工单化阶段，远远不到自动化、服务化的阶段，建设跟不上导致阻碍业务效率就是拖公司后腿，从资源投入和时间评价看来不可能做得及格线以上，实事求是讲安全能力可能帮助达到短期的安全效果，但是对比国际一线企业是不及格水平。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在历次的安全推修中，重点考虑风险的立即解决，无意间忽略了公司付出的成本，从“拿结果”上看基本取得了预期的效果，但是从“看过程”中必须要明白的是：这种简单粗暴的方法是临时激进的、是费时费力的、是伤害安全文化的。在解决技术债务中配合产生的人力资源成本、沉没成本极其高昂，对此可以举出很多例子，fastjson、weblogic、windows补丁、致远OA还有很多很多.....如果有更多的时间，我们必须给出更智能的解决方法，让安全研发服务整体不低于企业IT技术平均水平。</p><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">“动态的漏洞管理：针对漏洞修补的难题，网络安全产业终于认识到要求用户安装所有补丁是不现实的，更加多元化的方法处理系统漏洞问题，是很多安全创业公司的方向之一。”
--419五周年丨谭晓生：在回顾与展望之间 谈谈网络安全产业热点与热词</p></blockquote><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">仰望星空，也需要脚踏实地，适合的才是最好的，笔者反复提到Security Mesh才是未来安全的方向，展望<strong>RSA Conference 2021创新沙盒竞赛</strong>，在应用安全开发领域有Apiiro和WABBI两家公司入选，其他决赛入围者主要是零信任和数据安全领域的公司。很欣慰看到这两家在公司略微符合笔者对Security Mesh的定义，每次看到这类创新产品时，我都知道安全开发的生命周期要被重塑了。下面跟随笔者详细展开来看下吧！</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>创新沙盒，Apiiro和WABBI</h2><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>什么是RSAC创新沙盒？<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">管理思想家普拉哈拉德在2006年创造了“创新沙盒”一词，沙箱的侧面则代表着约束，而沙子唤起一种安全感（沙子可防止意外故障造成的伤害）和变化的随意性（突破性的创新）。</p><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">”创新的‘沙盒’涉及相当复杂，自由形式的探索，甚至是嬉戏的实验……在极其固定的指定限制内。”</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">--普拉哈拉德</p></blockquote><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">自2005年以来，RSAC创新沙盒一直是最有胆识的年轻网络安全公司的平台，以展示其突破性的技术并争夺“最具创新力的初创企业”的称号。竞赛被认为是成功的推动力，因为自竞赛开始以来，排名前10位的入围者共进行了50多次收购，获得了82亿美元的资金。借鉴到国内公司，同类型创新想法必将克服明天的网络安全威胁。</p><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">“整个安全产业从投融资的角度来说的话，2020年实际上是非常火热的一年。有公开报道的融资事件，去年是达到了117，总的融资金额是超过100亿元，相比于2019年全年是上升了139%。网络安全产业大额融资也频频出现。安全板块的市盈率都要高于A股的资源板块，且高于创业板平均市盈率且高于主板市盈率，这说明在二级市场的投资人眼里，安全产业它永远是一个朝阳产业。“</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">-- 元起资本创始合伙人  何文俊</p></blockquote><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>Apiiro<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Apiiro处于DevSecOps、应用程序安全、DevOps生产力和云安全市场的交叉点。Apiiro代码风险平台可以帮助客户在开发生命周期的早期进行管理重要的风险，实施应用程序治理和法规遵从性，并防止高级CI / CD攻击。Apiiro会分析整个开发过程中的数据，以帮助组织识别，确定优先顺序并补救有风险的重大变更。Apiiro通过提供跨应用程序，基础架构，开发人员的知识和业务影响的风险可见性，帮助组织构建应用程序风险计划。</p><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;"><span style="display: none;"></span>创始人介绍<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">两位创始人都是以色列国防部的退伍人员，CEO Idan曾经创办Aorato（主要业务是在云以及本地和混合云环境中使用机器学习来检测可疑攻击行为，在2014年被微软以2亿美金收购），后来担任Microsoft工程总监。技术工程方面的负责是Yonatan Eldar,他曾经是Microsoft的架构师和工程经理，负责处理微软大型工程团队产品风险，将风险划分优先级，提供修复计划并同其他高管沟通。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">为什么进行有这类产品创业的想法呢，微软也面临这样的挑战：现有的安全性和合规性工具和流程大多是手动的和定期的，为了以便进行集成控制并满足风险管理要求，产品交付过程中遇到安全的阻碍，开发流程严重减慢。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">这家公司位于以色列特拉维夫，谭晓生也曾经提到，以色列的网络安全创新土壤极其丰厚，感兴趣的读者可以看下前几届创新沙盒里的几家以色列公司和以色列神秘的8200“军工厂”。</p><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;"><span style="display: none;"></span>创新点一：对应用程序的多维分析<span style="display: none;"></span></h4><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.6026785714285714" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1792" src="https://wechat2rss.xlab.app/img-proxy/?k=e8555009&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacWC5bZF2ea0HfAtKDpY13YgPibthj2zI2VPp2QYRp2A7kUSngLsz5Jnlg5nzY9NQjTIFzn8rW1ZoA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">分析维度</figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">关注安全应该介入的阶段。Apiiro以只读权限连接到公司的源代码管理管理器和工单系统。在开发过程中或安全团队中的安全架构师或安全拥护者首先会收到Apiiro的警告。然后可以在安全流程中请求中添加一名安全支持人员，然后说：&#39;安全专家是帮助补救危险的重大变更的合适人选。&#39; 这是在不引入新工具的情况下将安全性集成到开发过程中的方式，因为开发人员在引入任何新工具时都会讨厌它。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">什么是重大变更？一个亮点是该系统还可以跟踪并分析出来哪些是高风险的功能更改，例如编辑用于管理汇款逻辑和其他纳入治理规则的API。</p><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;"><span style="display: none;"></span>创新点二：识别恶意代码提交<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">解决了类似最近火热的php代码供应链攻击和SolarWinds事件的根本问题。Apiiro代码风险平台能够检测开发人员身份中的异常行为，以识别受感染的帐户和内部威胁,在提交过程中，如果出现安全隐患，平台会将二进制文件中DLL文件中的更改与源代码进行比较，并在后台自动中断构建。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">实现的功能之一是能够使用UEBA和异常检测技术来检测和阻止对代码存储库的恶意提交。此功能基于机器学习和人工智能算法，该算法分析组织中不同实体的行为（例如，代码组件，安全控制，数据类型，参与者的知识，组织行为，存储库，项目等）。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">该算法提取了数十种面向领域的特征（包括逻辑，上下文和时间序列特征），以构建每个实体的多维特征。各种来源用于特征提取。例如，将彻底分析历史提交，请求和工单的元数据和内容，并提取其数字，时间序列和文本特征。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">该算法的另一个数据源是内部平台产生的历史跨库代码分析功能。一旦功能被提取并通过领域专业知识得到丰富，Apiiro就会实时构建和训练自适应行为模型。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>Wabbi<span style="display: none;"></span></h3><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.9968051118210862" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="626" src="https://wechat2rss.xlab.app/img-proxy/?k=5f8b4983&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacWC5bZF2ea0HfAtKDpY13YUGqHZQuyhO5oCap2TB7k4wzbfvEIdabfIicBWzzqogIzxnLbKtAhlVw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">wabbi产品获奖了</figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Wabbi是一个SecDevOps基础架构平台，使公司能够交付更安全的代码的同时降低交付风险。通过使应用程序安全性跨DevOps流水线可扩展，快速开发团队不再需要在敏捷性和安全性之间做出决定。Wabbi的SecDevOps基础架构平台可在SDLC中部署，自动化和协调应用程序安全程序。借助集中式安全治理，开发团队可以在本地管理应用程序安全性的日常执行，无需间断地部署相关工具和流程。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.6442307692307693" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1248" src="https://wechat2rss.xlab.app/img-proxy/?k=a20038cf&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacWC5bZF2ea0HfAtKDpY13YHbJK4NfbUeuy9PQMqfYUJzpKgSGKu54GhZuZFicGQEfP7nDkqafMmXQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">管理平台截图</figcaption></figure><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;"><span style="display: none;"></span>创始人介绍<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Brittany Greenfield是Wabbi的首席执行官兼创始人，毕业于杜克大学，是麻省理工学院斯隆管理学院的MBA，履历上和信息安全交集不大，优点是深入了解软件行业和企业生命周期。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">技术负责人Kent Welch是Core Security（一家专注于IAM身份安全的公司）的应用工程高级总监，后来负责FastPay（金融支付技术创新平台）的工程技术高管。</p><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;"><span style="display: none;"></span>创新点一：SecDevOps编排平台<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">安全问题并不是该同等优先级对待。安全运营并不仅仅是漏洞管理，而是关注全部完整的工作内容。Wabbi集成了jira、Jenkins、vs code、sonarqube、eclipse等一系列平台，在开发工作流程中控制安全问题，以防止瓶颈和拖延积压。能基于项目的实际优先级和威胁情报，实时评估风险承受能力，控制和计划安全债务。</p><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;"><span style="display: none;"></span>创新点二：在不影响敏捷的情况下实现应用安全<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">安全不应该阻断发布，CI/CD流程应该都是完全自动化的。每一个负责人应该清楚当前程序的风险，按环境设置不同的安全性标准，这样，在处理漏洞的同时QA流程可以继续进行。同时明确修复的优先级，当由于不符合安全标准而导致构建失败时，Wabbi会向团队显示信息，以使其符合法规要求并保持运行状态，如果要带病上线，留存审计审核计划。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>创新过程</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">笔者丝毫看不出Wabbi在决赛有何胜算，但是没有关系不论输赢。创新分为痛点，解决办法，增长三个阶段，通过经验的迭代，产品的产生，才能投入运营。在国内应用安全领域，我们处于并将长期处于明确需求阶段，犹如在没有灯火的夜路直行，往前看漆黑一片，往后看漆黑一片，国内应用安全的同行加油。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1200" src="https://wechat2rss.xlab.app/img-proxy/?k=a314ecff&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacWC5bZF2ea0HfAtKDpY13YNEN2bWOcQkM7hMA1Y8nRz06L283YhR8upRDfcD3bLl9mcgB5L2AJ9w%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">创新流程</figcaption></figure><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>参考材料</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><a href="https://jonscheele.com/what-is-in-an-innovation-sandbox/" target="_blank">https://jonscheele.com/what-is-in-an-innovation-sandbox/</a></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><a href="https://www.rsaconference.com/usa/the-experience/innovation-programs/innovation-sandbox" target="_blank">https://www.rsaconference.com/usa/the-experience/innovation-programs/innovation-sandbox</a></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><a href="https://cloud.tencent.com/developer/article/1590358" target="_blank">https://cloud.tencent.com/developer/article/1590358</a></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><a href="https://www.secrss.com/articles/3820" target="_blank">https://www.secrss.com/articles/3820</a></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><a href="https://www.youtube.com/watch?v=yQJrw0EQjCI" target="_blank">https://www.youtube.com/watch?v=yQJrw0EQjCI</a></p></section><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p></section><p style="text-align: center;"><img class="rich_pages" data-backh="578" data-backw="578" data-galleryid="" data-ratio="1" data-s="300,640" style="width: 100%;height: auto;" data-type="jpeg" data-w="600" src="https://wechat2rss.xlab.app/img-proxy/?k=b2be6a91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafIbx9xLXQob7gUXll6kdcicUqGYduYY9ibBEic1ibCmbyNGDbZ3Z7RgvSAibRrodrWqB7x3JCxFnrnia3Q%2F640%3Fwx_fmt%3Djpeg"/></p><section class="mp_profile_iframe_wrp"><mpprofile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-id="MzA5Mzg3NTUwNQ==" data-headimg="http://mmbiz.qpic.cn/mmbiz_png/rrT9ZWSiaWae9L0Kz9kQ3BsQJhKJjTYjfPdvvvFHNm6OOcYicmS69XyxdXuA6sDttlmhicJ45jQB4YIJFCfTQIVEg/0?wx_fmt=png" data-nickname="安全乐观主义" data-alias="" data-signature="实践分享企业在建设安全开发生命周期各阶段及流程中的优秀实践，内容涉及代码审计、业界对标、系统工程化心得、国外资料分享，搭建应用安全交流平台。"></mpprofile></section>



<p><a href="2447804924">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=eca85563&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447804924%26idx%3D1%26sn%3D7f94372aa430d76d119b5a6cff4c58e1%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 19 Apr 2021 19:26:00 +0800</pubDate>
    </item>
    <item>
      <title>谷歌是如何做应急响应的</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804911&amp;idx=1&amp;sn=d4e9b38ac852e16cd1c2c864eca54758</link>
      <description>Google的应急响应流程在18年就有相关的材料介绍了，笔者集合了一些会议材料、Paper、官网文章进行较为完整的分享，希望大家可以借此比对同国内自家理念的异同。</description>
      <content:encoded><![CDATA[<p>
原创 <span>Ramos</span> <span>2021-04-14 20:05</span> <span style="display: inline-block;"></span>
</p>

<p>Google的应急响应流程在18年就有相关的材料介绍了，笔者集合了一些会议材料、Paper、官网文章进行较为完整的分享，希望大家可以借此比对同国内自家理念的异同。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=0905e4c8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacCDfGicxsrZW1CS5kO2kf7X3jXy1jUn46z3ibBDut2TsHStP262INF6ibhHZN3hGYdHx7o8WeibM7OFA%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><p>简介</p></li><li><p>Google 如何帮助保护客户数据</p></li><li><p>应急响应</p></li><li><p>团队架构</p></li><li><p>应急响应流程</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li><p>识别</p></li><li><p>协调</p></li><li><p>处置</p></li><li><p>完成</p></li><li><p>持续改进</p></li></ul><li><p>总结</p></li><li><p>参考资料</p></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="font-size: 22px;font-weight: bold;letter-spacing: 0px;">简介</span><br/></p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"></h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">为客户数据维护安全的环境是 Google Cloud 的首要任务。Google 通过一个业界领先的信息安全操作体系来保护客户数据，该操作体系将严格的流程、世界一流的团队以及多层信息安全和隐私基础架构进行了有机结合。本文重点介绍 Google 管理和响应的原则性方法。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在 Google 的整个安全和隐私计划中，应急事件响应是一个重要方面。谷歌制定了严格的应急响应管理流程。该流程详述了影响客户数据机密性、完整性或可用性的任何潜在突发事件的操作、上报、缓解、解决和通知方法。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在 Google，应急响应是指 Google 安全体系遭到入侵，从而导致 Google 管理或控制的系统上的客户数据遭到意外或非法破坏、丢失、更改、未经授权的披露或访问。Google 会采取措施解决数据和系统面临的可预见威胁，但应急响应不包括未破坏客户数据安全的失败尝试或活动，包括失败的登录尝试、ping、端口扫描、拒绝服务攻击以及防火墙或联网系统上发生的其他网络攻击。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>Google 如何帮助保护客户数据</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">客户数据的安全至关重要，而数据安全有赖于 Google 与客户的协作。Google 负责保护底层的云端基础架构和服务的安全，而客户在 Google 云端基础架构之上进行构建时，要保护其应用、设备和系统的安全。Google 为客户提供指导和多种安全功能，以实现 Google 水准的安全做法：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">身份和访问权限管理</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">默认对静态数据和传输中的数据进行加密，无需客户执行任何额外操作</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">多重身份验证，包括防网上诱骗的硬件第二重安全密钥</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">广泛的网络安全选项，包括虚拟私有云 (VPC) 和共享 VPC、软件即服务 (SaaS) 和平台即服务 (PaaS) 解决方案的内置 DDoS 防护，以及将上述机制用于基础架构即服务 (IaaS) 解决方案的选项</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">详细的审核日志</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">首先基础架构和基础设施，包括技术、人员、流程保证可以大规模支持漏洞管理，并尽量使得无需为客户带来额外的工作量。谷歌披露安全建设的五大安全原则如下：</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-backh="349" data-backw="558" data-ratio="0.6261022927689595" style="display: block;margin-right: auto;margin-left: auto;width: 100%;height: auto;" data-type="jpeg" data-w="1134" src="https://wechat2rss.xlab.app/img-proxy/?k=a2870903&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacCDfGicxsrZW1CS5kO2kf7XAm1EasDsJtEKFcT3Sof86c4pYWkzEsEBZZJUnhINxJ1YqA1KR2rf8Q%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">安全建设领域概念</figcaption></figure><ol data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">基础设施安全</p><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">基础架构的安全是Google的核心竞争力。安全性不应该是事后或者偶尔为之的措施，而是日常工作不可或缺的一个部分。</p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">数据生命周期</p><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">谷歌并不仅仅关注数据存储保护这一领域，而且关注收集、发现、同意、访问、保护、清除、导出等完整的生命周期。这也是Google推行全球https化和安全DNS的动力。</p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">认证授权访问控制</p><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">定义有权访问和授权内容的身份策略、识别访问是否正常，检测并做出响应。</p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">应用安全</p><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">Google平台自身的安全性（GPC、Gmail、Brog），和产品的安全性（Android、chrome）。</p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">运营管理和审计</p><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">”人的因素“，围绕构建Google整个运营体系的安全性和风险管理，包括如何操作管理后台、如何运行基础架构设施。</p></section></li></ol><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">如需详细了解 Google 如何保护 Google Cloud 的安全，请参阅《Google 基础架构安全设计概述》这篇文章和相关的 NEXT &#39;18 安全演示，或访问 Google Cloud 安全网站。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Google 为客户提供他们在 Google Cloud 上使用的各种服务的可见性；客户可以使用 Google Workspace 安全中心来预防、检测和解决 Gmail、云端硬盘、设备、OAuth 和用户帐号中出现的问题。同样地，对于 GCP，客户可以使用 Cloud Security Command Center 来了解其组织中的资源、漏洞、风险和政策的相关数据。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在客户一方，他们必须正确配置安全功能以满足其自身需求，安装软件更新，设置网络安全区域和防火墙，并确保最终用户保护好自己的帐号凭据，不会向未经授权方公开敏感数据。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">下图显示了Google的云安全共享责任模型，说明了客户与 Google 各自的责任如何随客户对代管式服务的利用程度而变化。随着客户从本地解决方案转向 IaaS、PaaS 和 SaaS 云计算产品，Google 将负责管理整个云服务的更多环节，客户的安全责任则随之减少。技术上将安全防御划分为16个层次，统一的理念是--”纵深防御、默认情况下支持大规模的防御“。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-backh="189" data-backw="558" data-ratio="0.33945686900958466" style="display: block;margin-right: auto;margin-left: auto;width: 100%;height: auto;" data-type="jpeg" data-w="2504" src="https://wechat2rss.xlab.app/img-proxy/?k=d2ea18e5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacCDfGicxsrZW1CS5kO2kf7XibsIiayGpAyW54rRwRianMUtGH3tBaCAVfBEg1wxf6ibVQ0npNf817y4oQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">谷歌安全能力模型，点击查看大图</figcaption></figure><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>应急响应</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Google 的事件响应计划由许多专业职能部门的专家级应急事件响应人员管理，以确保每个响应都能很好地适应每个突发事件所带来的挑战。根据突发事件的具体性质的不同，专业响应团队可能包括：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">云端突发事件管理</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">产品工程</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">站点可靠性工程</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">云端安全和隐私</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">数字取证</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">全球调查</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">信息检测</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">安全、隐私和产品顾问</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">信任与安全</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">反滥用技术</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户支持服务</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">这些团队的主题专家会以各种方式参与其中。例如，突发事件指挥官协调事件响应，如有需要，数字取证团队将检测正在进行的攻击并进行取证调查。产品工程师会努力限制对客户的影响，并提供解决方案来修复受影响的产品。法律团队会与相应安全和隐私团队成员合作，实施 Google 的证据收集策略，与执法部门和政府监管机构合作，也会就法律问题和要求提供建议。客户支持人员响应客户的询问和请求，为他们提供更多信息和帮助。沟通始终是应急响应中很重要的部分。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在2020年，谷歌就尝试招募内部在安全有兴趣的工程师一起参与到应急响应流程中来，通过培训、值班、共享信息让应急响应能力开放出去，这样做的好处是集合经验智慧，也方便全球跨时区值班，最终部分参与的志愿工程师甚至可以完全胜任指挥官的角色。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>团队架构</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">同SRE的流程一样，谷歌宣布突发事件时，会指定一名突发事件指挥官来协调应急事件响应和解决方法。突发事件指挥官会从不同的团队中选择专家组成一支响应团队。典型的响应架构如下图所示。突发事件指挥官会将管理突发事件不同方面的责任委派给这些专业人员，并管理从事件宣布到关闭的整个过程。下图描述了应急事件响应期间各种角色的关系及其各自职责。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-backh="312" data-backw="558" data-ratio="0.5587170201758924" style="display: block;margin-right: auto;margin-left: auto;width: 100%;height: auto;" data-type="jpeg" data-w="1933" src="https://wechat2rss.xlab.app/img-proxy/?k=8ccfcd85&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacCDfGicxsrZW1CS5kO2kf7XYaYMHDgsD88ibvwBwgS3iaMibG9coC0deIk1sic541P7NmBes28JGt9sgQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">应急响应团队架构</figcaption></figure><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>应急响应流程</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">每个应急响应都具有特殊性，应急响应流程的目标是保护客户的数据，尽快恢复正常服务，并满足监管和合同合规要求。简单看Google 的应急事件响应计划的流程如下：</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-backh="361" data-backw="558" data-ratio="0.6463195691202872" style="display: block;margin-right: auto;margin-left: auto;width: 100%;height: auto;" data-type="jpeg" data-w="1671" src="https://wechat2rss.xlab.app/img-proxy/?k=9524c2db&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacCDfGicxsrZW1CS5kO2kf7XPVXOBYp5TyvYR2QHnnlMVo0smp1P4QM7NdBUgUIobo6KcpicjVictCXw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">应急事件响应工作流程，点击图片可放大</figcaption></figure><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>识别<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">及早准确地识别突发事件是强有力的突发事件管理的关键。这一阶段的重点是监控安全性事件，以检测和报告潜在的应急响应。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Google 的突发事件检测团队采用先进的检测工具、信号和提醒机制，以便及早发现潜在突发事件的端倪。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Google 的突发事件检测来源包括：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">自动化网络和系统日志分析：网络流量和系统访问的自动分析有助于识别可疑、滥用或未经授权的活动，并将相应情况上报给 Google 的安全员工</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">测试：Google 的安全团队使用渗透测试、质量保证 (QA) 措施、入侵检测和软件安全审核来主动扫描安全威胁</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">内部代码审核：源代码审核可发现隐藏的漏洞、设计缺陷，并验证是否实现了关键安全控制</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">针对特定产品的工具和流程：尽可能根据团队职能采用相应自动化工具，以增强 Google 在产品级层检测突发事件的能力</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">使用异常检测：Google 采用多层机器学习系统，来鉴别用户在各类浏览器、设备上的活动，以及进行的应用登录和其他使用事件是否出现异常</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">数据中心和/或工作环境服务安全提醒：数据中心的安全提醒会扫描可能影响公司基础架构的突发事件</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">Google 员工：Google 员工会检测异常情况并进行报告</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">Google 的漏洞奖励计划：Google 拥有的浏览器扩展程序、移动应用和网页应用中可能存在影响用户数据机密性或完整性的技术漏洞，这些漏洞有时由外部安全研究人员报告</section></li></ul><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>协调<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">收到突发事件报告时，值班响应人员会审核并评估突发事件报告的性质，以确定它是否属于应急响应，并启动 Google 的应急事件响应流程。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">一旦突发事件得到确认，它将被移交给突发事件指挥官，该指挥官将评估事件的性质并实施相应协调响应。在这一阶段，响应包括完成突发事件的分类评估，在需要时调整其严重程度，并启用所需应急事件响应团队，由相应操作/技术主管审核具体情况并识别需要调查的关键区域。谷歌会委派一名产品主管和一名法律主管，就如何响应做出关键决策。突发事件指挥官将指派相关人员开展调查并收集事实。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Google 响应的许多方面取决于严重程度评估结果，该评估以应急事件响应团队收集和分析的关键事实为根据。这些事实可能包括：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">给客户、第三方和 Google 造成危害的可能性</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">突发事件的性质（例如是否会导致数据被破坏、被访问或变得不可用）</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">可能受影响的数据的类型</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">突发事件给客户使用该服务造成的影响</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">突发事件的状态（例如突发事件是否已被隔离、仍在持续或已得到控制）</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">随着新信息的不断获得，突发事件指挥官和其他主管会在整个响应过程中定期重新评估这些因素，以确保为 Google 的响应已分配适当的资源和紧急程度。会造成最严重影响的突发事件将被指定为最高严重程度。响应中还将指定一名沟通主管，负责与其他主管一同制定沟通计划。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>处置<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在这一阶段，重点是调查根本原因，限制突发事件的影响，解决当前的安全风险（如有），在补救过程中实施必要的修复，以及恢复受影响的系统、数据和服务。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">受影响的数据将尽可能恢复到其原始状态。根据特定突发事件的具体情形，Google 可能会视情况采取许多不同的步骤来解决特定事件。例如，要重建问题的根本原因或识别对客户数据的影响，可能需要进行技术或取证调查。如果数据发生意外更改或被破坏，Google 可能会尝试利用 Google 的备份副本重建数据。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">补救的一个关键方面是当突发事件影响客户的数据时通知客户。整个突发事件过程中，将对关键事实进行评估，以确定突发事件是否影响了客户的数据。如果有必要通知客户，突发事件指挥官将启动通知流程。沟通主管将根据产品和法律主管的意见制定沟通计划，通知受影响的客户，并于通知后在谷歌的支持团队的帮助下响应客户请求。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Google 致力于提供及时、清楚且准确的通知，其中包含应急响应的已知详情、Google 为缓解潜在风险已采取的措施，以及 Google 为解决相应突发事件建议客户采取的措施。谷歌将尽最大努力提供突发事件的详尽情况，以便客户可以评估并履行自己的通知义务。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>完成<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在成功补救和解决应急响应后，应急事件响应团队将评估从突发事件中吸取的经验教训。如果突发事件引发了关键问题，突发事件指挥官可能会启动事后分析。在此过程中，应急事件响应团队会审查突发事件的原因和 Google 的响应，并识别需要改进的关键区域。在某些情况下，这一过程需要与不同的产品、工程和运营团队进行讨论，并开展产品改进工作。如果需要后续工作，应急事件响应团队会制定行动计划以完成相应工作，并指派项目经理领导长期工作。在补救工作结束后，突发事件将被关闭。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>持续改进<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在 Google，谷歌努力从每次突发事件中吸取教训，并实施预防措施，以避免未来突发事件的发生。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">从突发事件分析得出的富有实用价值的洞见有助于谷歌改进自己的工具、培训和流程，以及 Google 的整体安全和隐私数据保护计划、安全政策和/或响应工作。总结得出的重要教训还有助于相关工作的优先级安排和更出众产品的构建。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Google 的安全和隐私专业人员会审查公司针对所有网络、系统和服务的安全计划，不断加以改进，并为产品和工程团队提供针对特定项目的咨询服务。他们将部署机器学习、数据分析和其他新技术，以监控 Google 网络上的可疑活动，解决信息安全威胁，执行常规安全评估和审核，并聘请外部专家定期开展安全评估。此外，谷歌的全职团队（称为“Project Zero”）致力于向软件供应商报告 bug，并将其归档到外部数据库，以防范定向攻击。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Google 会定期开展培训和宣传活动，推动安全和数据隐私方面的创新。专门的应急事件响应员工将接受取证和证据处理相关培训，包括使用第三方工具和专有工具。谷歌还将针对关键区域（例如存储敏感客户信息的系统）执行应急事件响应流程的测试。这些测试会考虑各种场景（包括内部威胁和软件漏洞），有助于谷歌为安全和隐私突发事件做好充足准备。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">作为 ISO-27017、ISO-27018、ISO-27001、PCI-DSS、SOC 2 和 FedRAMP 计划的一部分，Google 将对各类流程进行定期测试，以便为谷歌的客户和监管机构提供在安全性、隐私保护和合规性控制方面的独立验证。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>总结</h2><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-backh="310" data-backw="558" data-ratio="0.5554285714285714" style="display: block;margin-right: auto;margin-left: auto;width: 100%;height: auto;" data-type="jpeg" data-w="1750" src="https://wechat2rss.xlab.app/img-proxy/?k=73140ff3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacCDfGicxsrZW1CS5kO2kf7X3v1pST7DdgpDlkBVUOdpnIDxq38ceKj7HVibIWNonpSnyaJ4TCdl5nQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">应急响应流程</figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">如上所述，Google 拥有世界一流的应急事件响应计划，提供以下关键职能：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">基于行业领先技术构建的流程，专用于解决突发事件，并经过优化，能够以 Google 的规模高效运营</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">开创性监控系统、数据分析和机器学习服务，可以主动检测并控制突发事件</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">配备众多专门主题专家，可随时分派以响应任何类型或规模的应急响应</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">及时通知受影响客户的成熟流程，符合 Google 在服务条款和客户协议方面的承诺</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">保护数据安全是 Google 业务的核心。谷歌将持续对整体安全计划、资源和专业知识进行投资，使谷歌的客户能够在突发事件发生时依赖谷歌的有效响应，保护他们的数据安全，并持续满足客户对 Google 服务高可靠性的期望。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>参考资料</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><a href="https://www.youtube.com/watch?v=tz5ggxqEOos&amp;ab_channel=GoogleCloudTech " target="_blank">https://www.youtube.com/watch?v=tz5ggxqEOos&amp;ab_channel=GoogleCloudTech </a></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="letter-spacing: 0px;"><a href="https://www.youtube.com/watch?v=NhyRtgDpiC0" target="_blank">https://www.youtube.com/watch?v=NhyRtgDpiC0</a></span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="letter-spacing: 0px;"><a href="https://www.infoq.cn/article/w1ldnnzvglcaohkxcfpp" target="_blank">https://www.infoq.cn/article/w1ldnnzvglcaohkxcfpp</a></span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="letter-spacing: 0px;"><a href="https://www.sdnlab.com/22984.html " target="_blank">https://www.sdnlab.com/22984.html </a></span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><a href="https://www.secrss.com/articles/5328" target="_blank">https://www.secrss.com/articles/5328</a></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><a href="https://services.google.com/fh/files/misc/data_incident_response_2018.pdf?hl=zh-cn" target="_blank">https://services.google.com/fh/files/misc/data_incident_response_2018.pdf?hl=zh-cn</a></p><p><br/></p><section class="mp_profile_iframe_wrp"><mpprofile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-id="MzA5Mzg3NTUwNQ==" data-headimg="http://mmbiz.qpic.cn/mmbiz_png/rrT9ZWSiaWae9L0Kz9kQ3BsQJhKJjTYjfPdvvvFHNm6OOcYicmS69XyxdXuA6sDttlmhicJ45jQB4YIJFCfTQIVEg/0?wx_fmt=png" data-nickname="安全乐观主义" data-alias="" data-signature="实践分享企业在建设安全开发生命周期各阶段及流程中的优秀实践，内容涉及代码审计、业界对标、系统工程化心得、国外资料分享，搭建应用安全交流平台。"></mpprofile></section><p style="text-align: center;"><img class="rich_pages" data-galleryid="" data-ratio="1" data-s="300,640" style="" data-type="jpeg" data-w="600" src="https://wechat2rss.xlab.app/img-proxy/?k=b2be6a91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafIbx9xLXQob7gUXll6kdcicUqGYduYY9ibBEic1ibCmbyNGDbZ3Z7RgvSAibRrodrWqB7x3JCxFnrnia3Q%2F640%3Fwx_fmt%3Djpeg"/></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p></section>



<p><a href="2447804911">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=ab05ed9a&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447804911%26idx%3D1%26sn%3Dd4e9b38ac852e16cd1c2c864eca54758%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Wed, 14 Apr 2021 20:05:00 +0800</pubDate>
    </item>
    <item>
      <title>浅谈软件成分分析（SCA）在企业开发安全建设中的落地思路</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804895&amp;idx=1&amp;sn=ccb27ec88d9f31a9a834bd1966133b3d</link>
      <description>该文章是业界最准确的SCA介绍，阅读后可以收获理解这个领域和白盒扫描的区别。&#xA;第三方组件安全问题是本质是软件工程，源代码控制问题而不是依赖项管理的安全问题，建立“持续”的信任关系的复杂性具有挑战性。</description>
      <content:encoded><![CDATA[<p>
<span>Panda0a</span> <span>2021-02-10 12:42</span> <span style="display: inline-block;"></span>
</p>

<p>该文章是业界最准确的SCA介绍，阅读后可以收获理解这个领域和白盒扫描的区别。</p>
<p>第三方组件安全问题是本质是软件工程，源代码控制问题而不是依赖项管理的安全问题，建立“持续”的信任关系的复杂性具有挑战性。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=e3bb28e0&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FnzsxibcO8D64Qvj7fuGicGZlMgDlMIRrBhRVVKzwjQtGEOtciaJNGnbxSJAukdGzQibtoia67QpBeDIQJZnvxD9Niasw%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="color: black;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 14px;padding: 10px;"><h2 data-tool="mdnice编辑器" style="font-size: 22px;text-align: center;font-weight: bold;line-height: 1.1em;padding-top: 12px;padding-bottom: 12px;margin: 70px 30px 30px;border-width: 1px;border-style: solid;border-color: rgb(0, 0, 0);"><span style="display: block;-webkit-box-reflect: below 0em -webkit-gradient(linear,left top,left bottom, from(rgba(0,0,0,0)),to(rgba(255,255,255,0.1)));">前言</span><span style="display: block;width: 3px;margin-left: 95%;height: 3px;line-height: 3px;overflow: hidden;background-color: rgb(0, 0, 0);box-shadow: rgb(0, 0, 0) 3px 0px, rgb(0, 0, 0) 0px 3px, rgb(0, 0, 0) -3px 0px, rgb(0, 0, 0) 0px -3px;"></span><span style="float: right;display: block;width: 90%;border-bottom: 1px solid #000;height: 1px;line-height: 1px;margin-right: -5px;margin-top: 16px;"><span style="letter-spacing: 0px;font-size: 14px;text-align: left;"></span></span></h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="letter-spacing: 0px;">开源软件具有开放、共享、自由等特性，在软件开发中扮演着越来越重要的角色，也是软件供应链的重要组成部分。</span><span style="letter-spacing: 0px;">根</span><span style="letter-spacing: 0px;">据Gartner调查显示，99%的组织在其 IT系统中使用了开源软件。而来自Sonatype公司的一项调查则显示，在参与调查的3000家企业中，每年每家企业平均下载 5000个开源软件。</span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="letter-spacing: 0px;">开</span><span style="letter-spacing: 0px;">源</span><span style="letter-spacing: 0px;">代码的使用大幅度提高软件研</span><span style="letter-spacing: 0px;">发效率、缩短上市时间、降低开发成本，</span><span style="letter-spacing: 0px;">但是开源软件中存在的</span><span style="letter-spacing: 0px;">大量缺陷、甚至安全漏洞也一并进入了软件部署包，为软件带来巨大的安全风险。</span><span style="letter-spacing: 0px;"></span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="letter-spacing: 0px;">根据国外安全机构的调研报告显示，企业应用代码超过80%来自第三方资源库或第三方组件，97%的java程序至少存在1个已知安全漏洞，而由第三方代码缺陷导致的信息泄露漏洞占比高达72%。</span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="letter-spacing: 0px;">而国内企业的应用系统也存在同样的问题，比如漏洞频发的Fastjson库，</span><span style="letter-spacing: 0px;">攻击者可利用其反序列化漏洞，远程命令执行入侵到企业服务器，通过服务器执行命令，危害性极大。类似的还有jackson、shiro、Struts2,、OpenSSL等。</span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><span style="letter-spacing: 0px;">为了解决这类问题，软件成分分析（</span><span style="letter-spacing: 0px;">SCA）应运而生。</span></p><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">供应链各环节被揭露出来的攻击在近几年都呈上升趋势，在趋于更加复杂化的互联网环境下，软件供应链所暴露给攻击者的攻击面越来越多，并且越来越多的攻击者也发现针对供应链的攻击相对针对应用本身或系统的漏洞攻击可能更加容易，成本更低,SolarWinds事件让IT安全方面的形势变得严峻，如何自证安全性？为了加强安全风险管理，需要保证实现以下目标：</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">完整性：确保在供应链所有环节中，产品、系统、服务及其所包含的组件、部件、元器件、数据等不被植入、篡改、替换和伪造。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;"><span style="letter-spacing: 0px;">保密性：</span><span style="letter-spacing: 0px;">供应链上传递的信息不被泄露给未授权者</span></p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">可控性：包括供应链可追溯性，即一旦公司的任何供应链发生问题，可以有效识别哪个环节、哪个供应商、哪个组件出现了问题，并可进行追溯或修复。可控性，也包括需方对供应链信息的理解或透明度。公司作为供应商也应当被视为可信的。在企业安全实践中发现安全运营环节大部分的安全管理和应急响应事件，可以归并到供应链安全体系中。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;"><strong>——安全乐观主义点评</strong></p></blockquote></section><h2 data-tool="mdnice编辑器" style="font-size: 22px;text-align: center;font-weight: bold;line-height: 1.1em;padding-top: 12px;padding-bottom: 12px;margin: 70px 30px 30px;border-width: 1px;border-style: solid;border-color: rgb(0, 0, 0);"><span style="float: left;display: block;width: 90%;border-top: 1px solid #000;height: 1px;line-height: 1px;margin-left: -5px;margin-top: -17px;"> </span><span style="display: block;-webkit-box-reflect: below 0em -webkit-gradient(linear,left top,left bottom, from(rgba(0,0,0,0)),to(rgba(255,255,255,0.1)));">SCA</span><span style="display: block;width: 3px;margin-left: 95%;height: 3px;line-height: 3px;overflow: hidden;background-color: rgb(0, 0, 0);box-shadow: rgb(0, 0, 0) 3px 0px, rgb(0, 0, 0) 0px 3px, rgb(0, 0, 0) -3px 0px, rgb(0, 0, 0) 0px -3px;"></span><span style="float: right;display: block;width: 90%;border-bottom: 1px solid #000;height: 1px;line-height: 1px;margin-right: -5px;margin-top: 16px;"> </span></h2><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;background-color: #000;color: #fff;padding: 2px 10px;width: fit-content;font-size: 17px;margin: 60px auto 10px;"><span style="display: none;"></span>什么是SCA<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="line-height: 26px;color: black;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 14px;padding: 10px;">SCA，Software Composition Analysis，软件成本分析是一种对二进制软件的组成部分进行识别、分析和追踪的技术。</p><p data-tool="mdnice编辑器" style="line-height: 26px;color: black;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 14px;padding: 10px;"><span style="letter-spacing: 0px;">201</span><span style="letter-spacing: 0px;">9年，Gartner在报告中把SC</span><span style="letter-spacing: 0px;">A纳入AST技术领域范围，从而形成了包含SAST、DAST、IAST和SCA的应用软件安全测试技术体系</span><span style="letter-spacing: 0px;">，并正式发布了有关软件成分分析（SCA）的技术洞察报告。</span><span style="letter-spacing: 0px;">其中，对软件成分分析技术进行了准</span><span style="letter-spacing: 0px;">确定义：</span><strong style="letter-spacing: 0px;">软件成分分析产品通常在开发过程中对应用程序进行分析，以检测开源软件组件是否带有已知的漏洞，例如具有可用安全补丁程序的过期库，以及需要相应授权许可（法律风险）的商业软件或第三方产品</strong><strong style="letter-spacing: 0px;">。</strong></p><p data-tool="mdnice编辑器" style="line-height: 26px;color: black;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 14px;padding: 10px;"><span style="letter-spacing: 0px;">SCA致力于确保企业软件供应链的安全，从而支撑安全的应用程序开发和组装。</span></p><p data-tool="mdnice编辑器" style="line-height: 26px;color: black;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 14px;padding: 10px;"><strong style="letter-spacing: 0px;"></strong></p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;background-color: #000;color: #fff;padding: 2px 10px;width: fit-content;font-size: 17px;margin: 60px auto 10px;"><span style="display: none;"></span>为什么要做SCA</h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">调查显示，平均每个应用有<strong>七成以上</strong>的代码通过调用第三方组件实现，然而大部分用户对于第三方组件存在的安全问题并未重视起来，因此，解决软件成分中第三方组件的安全问题迫在眉睫，软件成分分析（SCA，Software Composition Analysis）应运而生。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在2013年OWASP发布的OWASP-TOP-10中，风险清单添加了2013-A9“使用含有已知漏洞的组件”风险，其实该风险早在2010-A6“安全配置错误”风险中即有所提及，但随着时间的推移，在开发过程中越来越多的应用直接使用带有已知漏洞的组件部分，因此成为了一类单独的风险持续至今。</p><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">管理者视角：除了不断解决运维、员工开发、外部主动攻击会带来的单点对抗问题，如何有效管理供应商或者外部投资因素带来的安全风险？公司无边界发展，不断扩张带来什么安全变化？</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">员工视角：如何保障在公司内使用的操作系统、开发工具、组件，产出的产品到达用户面前的制品流转过程都是安全可信的？</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">政府视角：信息安全技术 ICT供应链安全风险管理指南》ISO/IEC 20243《信息技术-开放可信技术供应商标准-减少被恶意污染和伪冒的产品》<br/>ISO/IEC 27036《信息技术-安全技术-供应商关系信息安全》<br/>NIST SP 800-161《联邦信息系统和组织供应链风险管理方法》 </p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;"> <strong>——安全乐观主义点评</strong></p></blockquote></section><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;background-color: #000;color: #fff;padding: 2px 10px;width: fit-content;font-size: 17px;margin: 60px auto 10px;">SCA致力于解决什么问题</h3><p><br/></p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong>应用第三方组件中的已知漏洞。</strong> 第三方组件中本身存在的漏洞，攻击者可以利用这些已知的漏洞，对应用系统进行攻击破坏。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong>第三方组件的软件许可问题。</strong> 这方面主要是分析调用的第三方组件的许可证类型。目前，国际公认的开源许可证共有80多种。有的许可证对软件的使用方式几乎没有限制，用户几乎不用关心需要承担的责任，但是也存在一些限制性比较强的许可证，如果不小心调用，可能会带来较大的法律风险和知识产权的损失。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong>第三方组件中的恶意代码问题。</strong> 这方面的问题不算普遍，但是危害也比较大。风险的来源主要是在非正规渠道获取被篡改的第三方组件，或使用了恶意开发者提供的第三方组件，未经确认就引入开发的业务系统中会带来极大风险。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong>引用版本过旧的第三方组件。</strong>版本过旧从表面来看，跟安全好像关系不大，但是仔细想想，比较老旧的第三方组件有可能会存在一些未知的、开发者没有公布的、且已修复的0day，所以这方面可以当作是不重要不紧急的风险来对待。</section></li></ul><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">分析NPM、PYPI、MAVEN组件简单，检索二进制文件复杂，软件的license法务问题大家关注不多，既然各家公司都没有致力于去解决，背后一定有原因的，可以暂时先放一放，等待事件驱动了再说。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">一般业界提出安全团队该如何及时发现安全漏洞情报，发现不安全组件所在仓库。其实相比于升级的困难，这些安全工作仅仅是开头。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">  <strong>——安全乐观主义点评</strong></p></blockquote></section><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;background-color: #000;color: #fff;padding: 2px 10px;width: fit-content;font-size: 17px;margin: 60px auto 10px;">怎么做</h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">第三方组件其实需要我们像对待业务资产一样的程度去重视。梳理下来针对这块的管控主要有以下几种方式：</p><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;"><span style="display: none;"></span>定期在项目中检查引用的第三方组件<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">这是性价比非常高的方式，可以直接解决项目中实际存在的问题。在开发或测试阶段主动对所用到的组件进行定期安全检查，分析出引用的组件名称及版本，梳理出来该项目第三方组件清单，将这些信息在开源或商业的漏洞数据库中进行匹配，发现问题及时整改。目前市面上基本所有的SCA类工具都具备该能力。主流的做法是分析引用的三方组件名字、版本、MD5等，通过匹配漏洞库中组件和漏洞的对应关系确定引用的第三方组件是否有漏洞，这种做法简单有效，能够解决大部分问题，适用于场景广泛。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">但是讲个题外话，这种做法并未实际检测漏洞是否在现应用中真实存在。例如某第三方组件确实存在已知漏洞，但是代码实际引用并未引入该风险，这就增加了安全部门与开发部门的矛盾，安全说你这个有漏洞，得换新版本，但是开发说我并没有用那个功能呀，不行你验证给我看。。。</p><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">举个例子，jetty-core是spring框架里的常用低版本组件，工具判断jetty作为应用服务器中间件存在CVE漏洞时，就关联认为使用jetty-core的应用也存在漏洞。这种要尽量避免误报，建立安全和业务的持续信任关系至关重要，升级的成本大于安全分析的成本。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;"><strong>——安全乐观主义点评</strong></p></blockquote></section><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;">对第三方组件库进行安全巡检<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">一般开发团队针对不同的编码语言，都会维护相应的开源组件库，比如Java语言常用的maven组件库，通过定期盘点组件库中组件的名称及版本，针对梳理出来的组件信息，比照开源或商业的漏洞数据库，盘点出当前组件库中组件的安全信息，形成一个组件安全信息库，定期对不安全的组件进行清理或升级。</p><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;"><span style="display: none;"></span>1day漏洞应急<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">每当有第三方组件安全漏洞信息披露出来的时候，针对前面已梳理出来的各项目第三方组件清单，可以立即做出判断，了解自己的应用是否调用该1day漏洞组件，是否受此次漏洞披露的影响。</p><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">存量业务稳步推行，增量业务发现供应链风险因子后，通过风险评估和威胁分析。近日阿里云发现的skywalking漏洞是个特殊的模式，属于0day由内部的安全研究人员发现并修复，再以安全能力推广出去。对于建设好一定安全能力的公司来说，攻击者从0day入手去入侵性价比最高。第三方资产脱离于安全建设能力覆盖，又经常是资产的盲区，使用的0day往往也并不难挖。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;"><strong>——安全乐观主义点评</strong></p></blockquote></section><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;"><span style="display: none;"></span>从源头卡住不安全组件的入口<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">这里主要是针对第三方组件入库时做一个检测，检测内容包括三方组件完整性、安全性、合规性。完整性是指校验即将入库的组件MD5，主要是为规范第三方组件来源渠道，避免下载到被篡改的三方组件。安全性是指检查即将入库的组件是否存在许可证或漏洞问题。合规性是指检查即将入库的组件开源许可证是否适用当前开发项目。</p><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">NEXUS作为制品仓库管理端平台，支持校验maven组件的sha1值，但是要小心sha1校验文件本身被篡改。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">通过统一的内部源、CI、CD平台可以解决大部分的问题，卡口作为立即解决当前的风险的手段无可厚非，看起来也是融入了安全开发流程，但是归根结底是外挂式的安全，是违反研发思维的。审核都是风险规避，让组织运转越来越慢，长期来说默认安全是方向。<br/></p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">不同的组织有不同的DEVOPS文化，dev和ops分工的关系决定了sec的能力。例如有些公司认为部署在主机上面的imagemagick属于ops团队维护，dev只需要关注开发逻辑。某些主机认为ops只管交付和稳定，imagemagick这样的软件业务自己管理。理清楚这类责任共担模型有助于流畅开展安全活动。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;"><strong>——安全乐观主义点评</strong></p></blockquote></section><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;">借助工具实现检测维护的自动化<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">如果想要识别组件库以及项目中的第三方组件及其版本号，并且还要对其进行细致的匹配排查，工作量是非常巨大的，如果没有自动化的帮助，仅仅依靠人工的话，几乎是不可能完成的任务。所以借助工具实现自动化是有必要的。目前已经有不少工具能帮我们完成这一工作，下面梳理一下目前的各类工具。</p><p style="padding-top: 8px;padding-bottom: 8px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;text-align: left;white-space: normal;font-size: 16px;color: black;line-height: 26px;"><br/></p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;background-color: #000;color: #fff;padding: 2px 10px;width: fit-content;font-size: 17px;margin: 60px auto 10px;">有哪些SCA工具<span style="display: none;"></span></h3><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;"><span style="display: none;"></span>开源SCA工具<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">目前有一些开源的工具专门针对软件成分分析这块提供检测能力，例如OWASP的Dependency-Check和Dependency-Track。大多数开源工具专注于识别带有漏洞组件或版本过旧的第三方组件，并且漏洞库来源比较单一，例如大部分漏洞库来源于公网上公共的漏洞库，并且开源工具对于开源许可证的检测基本不支持（前面提到的Dependency-Track未来版本会支持开源许可证检测）。开源项目在一定程度上可以节省成本，但是在后期支持，以及定制化开发上肯定是比不上成熟的商业软件。</p><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;"><span style="display: none;"></span>商业SCA工具<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">针对SCA的专项商业工具往往功能比较齐全，包含针对第三方组件的完整性、安全性和合规性检测的同时，能提供较多的接入方式，例如与组件库的对接，与代码仓库的对接，同当前开发流程的对接。能接受一定成本投入的用户最好选用成熟的商业解决方案。国外能提供这方面方案的有Checkmarx的CxSCA，新思的Black Duck等，国内能提供这方面的方案有默安的MoreSec SCA（因为Gartner有上榜，所以放前面），开源网安的SourceCheck等。当然相比国外发展了多年的方案，国内目前正处于起步阶段，需要大家给点时间。</p><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;"><span style="display: none;"></span>与AST工具集成<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">AST工具集成SCA的能力一般也都是商业工具才有的，与AST工具集成有得天独厚的优势。做开发安全AST就是绕不过去的坎，所以在做AST测试的时候，顺带着就可以把SCA做了，省时又省力，但是缺点是与AST工具集成的SCA只能随项目走，不具备从源头治理的能力，简单来讲就是专业度不够。目前针对应用安全检测的工具可以分为三类，SAST、IAST和DAST。DAST不用说了，明显不可能支持集成SCA能力，IAST和SAST由于都是从代码层面分析应用漏洞，所以是具备集成软件成分分析的条件的，国外的SAST和IAST厂商目前没见过有集成SCA能力，这块主要以国内厂商为主，例如默安的IAST、SAST，开源网安的IAST、SAST。以上信息都是从各厂商官网获取，具体实现如何不做评价。</p><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">track和check的定位有稍许不同，前者关注于生命周期管理，后者仅仅是个分词匹配的组件漏洞检测工具。容器安全的不少事情也应该属于这个领域。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">工具要尽量外采，人比工具重要，让安全人员专注于有价值的工作，不要重复造无意义的轮子，这并不是非得自研才能解决的问题。完成这些工具的集成后，可以领先业界同行2-3年，落后于国际互联网一线5-8年。<br/></p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;"><span style="letter-spacing: 0px;"> </span><strong style="letter-spacing: 0px;">——安全乐观主义点评</strong></p></blockquote></section><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;background-color: #000;color: #fff;padding: 2px 10px;width: fit-content;font-size: 17px;margin: 60px auto 10px;">如何评估一款工具是否适合自己<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">想要评估一款工具是否适合自己，其实<strong>最需要考虑的就是当前的开发流程是什么样的</strong>，其次是评估哪些节点去做这个事情比较合理。整体要围绕自己的真实需求去寻找。主要有以下几个点做参考：</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">1、大方向上，没预算的用户选开源，正在做AST工具选型的选带有SCA功能的AST就可以，预算充足的或是对SCA管控需求比较强的就加一个商业SCA专项工具。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">2、能否与DevOps工具链做自动化集成，无论当前开发模式是瀑布、敏捷还是DevOps，都要将这个作为一个评估项，因为DevOps是趋势，保不齐哪天就转了。工具链的集成包含组件库工具的集成、代码仓库的集成和持续集成工具的集成。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">3、能够提供API供自有流程平台做集成，这一点对自有流程平台的用户很重要，简单开发就能接入自有平台。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">4、能否检测开源许可证问题，这一点虽然是标配，但是有些方案就是不具备这方面的能力。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">5、同等条件下，选择漏洞库来源丰富的，最好是那种有接入商业漏洞库的方案。</p><h2 data-tool="mdnice编辑器" style="font-size: 22px;text-align: center;font-weight: bold;line-height: 1.1em;padding-top: 12px;padding-bottom: 12px;margin: 70px 30px 30px;border-width: 1px;border-style: solid;border-color: rgb(0, 0, 0);"><span style="float: left;display: block;width: 90%;border-top: 1px solid #000;height: 1px;line-height: 1px;margin-left: -5px;margin-top: -17px;"> </span><span style="display: block;width: 3px;margin-left: 5%;height: 3px;line-height: 3px;overflow: hidden;background-color: rgb(0, 0, 0);box-shadow: rgb(0, 0, 0) 3px 0px, rgb(0, 0, 0) 0px 3px, rgb(0, 0, 0) -3px 0px, rgb(0, 0, 0) 0px -3px;"></span><span style="display: block;-webkit-box-reflect: below 0em -webkit-gradient(linear,left top,left bottom, from(rgba(0,0,0,0)),to(rgba(255,255,255,0.1)));">结束语</span><span style="display: block;width: 3px;margin-left: 95%;height: 3px;line-height: 3px;overflow: hidden;background-color: rgb(0, 0, 0);box-shadow: rgb(0, 0, 0) 3px 0px, rgb(0, 0, 0) 0px 3px, rgb(0, 0, 0) -3px 0px, rgb(0, 0, 0) 0px -3px;"></span><span style="float: right;display: block;width: 90%;border-bottom: 1px solid #000;height: 1px;line-height: 1px;margin-right: -5px;margin-top: 16px;"> </span></h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在这个以效率为王的时代，第三方组件虽然为高速迭代的业务系统开发带来了极大的便利，但是同时也引入的较大的风险，只有做好三方组件的管控，才能避免为业务带来安全性问题。</p><span style="font-size: 15px;display: block;text-align: center;margin-top: 50px;color: #999;border-bottom: 1px solid #eee;">- END -</span></section><p style="text-align: center;"><img class="rich_pages" data-ratio="1" data-s="300,640" style="" data-type="jpeg" data-w="600" src="https://wechat2rss.xlab.app/img-proxy/?k=b2be6a91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafIbx9xLXQob7gUXll6kdcicUqGYduYY9ibBEic1ibCmbyNGDbZ3Z7RgvSAibRrodrWqB7x3JCxFnrnia3Q%2F640%3Fwx_fmt%3Djpeg"/></p>



<p><a href="2447804895">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=11d20b9a&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447804895%26idx%3D1%26sn%3Dccb27ec88d9f31a9a834bd1966133b3d%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Wed, 10 Feb 2021 12:42:00 +0800</pubDate>
    </item>
    <item>
      <title>ThreatSource：Google BeyondProd安全架构详解</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804888&amp;idx=1&amp;sn=411a117915dad499517bfb7bf7d9217b</link>
      <description>BeyondProd：云原生安全性的新方法。本文介绍Thread Source精彩ppt分析具体技术实现细节。</description>
      <content:encoded><![CDATA[<p>
原创 <span>Ramos</span> <span>2020-11-23 18:12</span> <span style="display: inline-block;"></span>
</p>

<p>BeyondProd：云原生安全性的新方法。本文介绍Thread Source精彩ppt分析具体技术实现细节。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=bc4a659b&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetP2ru6ulibqqp4f1JcqFOKqaagtJI1ialVrDpEcjXpXVekUoics2CGpib7Sw%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=69a4647a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPWJMzX7MsG25w1pKnnrXc9wibHkqpv3uZ40gdiaTDTlKtZ9TpjHTNyicQw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：由cnbird鸟哥分享的一份介绍Google BeyondProd实现的ppt，笔者遗憾没有现场听到具体的内容，ppt下面的“安全乐观主义点评”字样为小编的发散思考，并不代表鸟哥大佬原始观点。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=ac407431&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPInw5hFIMuq21puqwKwCG2c4kQyyS2fhWiamZkfJPFCtUhyLPiag2iaIuQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：ppt分为四个章节，介绍了云原生环境下的安全风险、Google的基础信任机制、BeyondProd实践以及实现技术细节。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=a36b0021&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPf5KucOHHRLzpUr3CF23NmaQTg19a34BEls0vu5xHoA7ibVt42VmUqicA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：咦！攻守之势异也。攻防两端，当具备完成基础的技术能力之后，将由传统被动挨打转移到主动防御建设阶段。从防御的层层积累，到检测、溯源、审计手段的多样化。将分布在各个角落的数据、安全态势、应急措施统一整合起来（安全切面乱入）。将原来的基于漏洞管理转换为应急的全面复盘，每次修复行动都增强了企业安全现状的全貌。由人工跟进漏洞到全自动化编排处理，自动化的前置条件是资产完全、流程完全、自动化手段完成。从红黑对抗的起点从找到漏洞，到规范化模拟ttps阶段，增强效果。从一味对标最佳实践，贪大求全的安全建设到以攻防演练为核心，从安全效果反推建设进度和成本。在不具备完全剔除攻击者的情况下，采取合理有效监控和观察手段，及时止损。从依据黑客行为特征到完全依赖白名单到基于行为的动态智能检测。依据云原生的架构治理内部服务，由以往的ip、主机重新定义身份信息，并给予认证鉴权。以往的devsecops等依赖于兴师动众的手段，迁移到基础设置提供安全标准能力，不仅仅是默认安全，更是基础架构安全，不给研发人员犯错的机会。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=3092058a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPx3QQFVRpMgn6jIYpPdcAkz2RT0aLK33Z5jI7gLf0VxKaVl4qR0IU5w%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：防止替换boot固件的攻击手段，谷歌从全球采购服务器，Titan 安全密钥采用一块硬件芯片，其中含有 Google 设计的固件，可验证密钥的完整性。这有助于确保密钥未曾遭受物理篡改。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=cfccd91d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPRvoKhHth2mDTiaMP85wlnyRicicjVseUodDYaKACyHkI8dJlG97Z0TSfA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：要面对如何艰苦的形势，才需要具备这样的安全性？</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=74e0c6ed&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPr1xoODE6uJnIbGufWRPJBtUr6tl5mrk9nMeGiabA9QvCrQtYjuGbkyA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：热迁移、热补丁是技术的要点，带来的收益很高。为了最大化的安全防护，谷歌还对KVM的核心代码进行了如Fuzzing、静态分析、手工核查等一系列安全测试。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=a52164fc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPsUPoHkGRNfudNvPdmq1ROHGx8mkib9m7KzJtTOS0pmOasydGlNDUzaw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：发布系统经常出现的问题是调度和隔离风险。由于谷歌在全球不同的region使用同一个主干仓库，brogmaster要验证每一次的发布方才可以访问指定的代码仓库、传输链路也要加密。CI、CD的制品分发时，也要加密和具备身份验证。多租户间执行任务，要实现各pipeline隔离策略，线上线下环境网络和数据隔离。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=aa2fb1cb&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPmiacdUJdP4bgdtVQz9daB6PflCELX64MOeOCqUQTEnoUk528qZF2hOQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：首先有统一的身份审批流程，说明具备了集中的策略扫描、资源角色定义、身份认证机制。具体在物理层面为主机创建身份还不够，为进程创建证书，进程的颗粒度表示具备BAB的能力，只有经过brog发布的服务，才能被访问和运行，结合实际，就是不再担心如下场景：内部员工（或攻击者）通过到具体的某个合法服务，自己部署一个拖库脚本任意访问线上数据库。通过brog发布的代码，一定是经过仓库负责人codereview，然后经过自动化的单测和白盒扫描服务。第二。主机证书是上面服务验证的核心，丢失怎么办？采取轮转的方式缩短暴露的间隔。workload，可以理解为不同的微服务负载，下面将会详细讲到。另外的亮点是实现了人的验证。如果一个合法员工需要进行线上数据的调试、安全调查怎么办呢？不能直接启动ide调试，和beyondcorp联动，在访问数据的grpc凭据附带个人的service account，只有在验证权限列表才能访问最终服务，20分钟失效。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=8c881ba8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPiau9hvzDibe1mJHaXqHuG3qibIG6ZzrWuZ1Hnn05kLQqicQRY4JjEe7OMg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：传统的防护是防止外来攻击，而云原生的零信任是动态的，对服务间的数据传输进行身份标识和验证（不默认开启加密），避免在内网攻击者可以扩散开来。不再基于网络边界进行防护，而是每次都验证身份。传统的基于ip身份验证，但是云环境下，ip动态更新，缩扩容频繁，甚至一个ip背后有多个服务，一个ip，只能表示一层身份，不能表示数据链路调用关系。ip要求服务必须具备运行在主机或者硬件上，但是抽离真正需要防护的服务，就给了serverless应用、大数据作业、分布式应用也提供认证的可能性。传统的安全要求对每个应用进行加固，符合owasptop10、数据安全隐私之类种种制度，而且互相之间没有通过资源策略进行联系。构建和审核，有个Jenkins+sonar已经够用，但是云要求责任统一，有集中性的安全审核和视角。不仅仅要求自己可信，更要求服务调用间证明自己可信。云+互联网的方式服务发布频率快速，有了更快的响应、诊断、恢复、隔离的可能性。传统的攻击，是获取主机权限，然后提权为root。但是在负载之间的隔离，假设入侵了Google的系统，后面会面临着什么，从之前Google Borg生产环境安全来看容器最上层是跑的Google的各种业务，包括Gmail、Adworks、AdSense等，一旦Google的Portal、产品等存在高危漏洞直接进入Google Borg管理的容器中，首先要面对的第一层gVisor（详见Google生产环境安全）沙箱的安全保护，突破这层需要的知识包括，第二层是各种Namespace，包括Network Namespace、Pid Namespace等，要突破这层需要的知识包括内核提权、Google Borg容器逃逸漏洞；第三层是CGroups主要是资源的控制；第四层是Capablitiy的权限控制，需要详细了解各种Capablity的特性，对Linux内核极其了解，第四层就是文件系统层，有账号的安全保护，需要寻找Linux内核的漏洞来进行权限提升；另外Google在RPC调用上也使用了类似强制访问控制的机制，对IP进行限制、调用方的权限进行严格限制、对RPC通信协议进行加密、进行微服务级的安全控制，想渗透整套系统的难度可想而知，需要大量的对抗经验，储备各种安全漏洞，对整个Google的系统非常熟悉，才可以进行艰难的横向移动和权限提升。如果尾随google员工进入办公网，会被检测客户端设备是否可信，看该设备不是公司发行的笔记本网络，或者它的证书已经过期，设备会被分配一个非常有限的访问控制权限的网络，同时后台被校验容许访问的api，权限是24小时。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=35520b08&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPXHQUibicbibeGQicw3v3EHFfh1F6z8zZzIbA7w3HDG3xxJnnjrEcRicxN6A%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：Beyondprod的最佳参考对象是istio，全链路鉴权这里提到的euc tickets就是全程票据。建设的核心是alts，验证的身份由证书实现，证书通过titan提供，对应用是透明的，不存在窃取证书的风险。在后端服务的每次请求前，都会匹配service access policy是否符合权限模板。具体的逻辑为：实施多方授权（MPA）为敏感数据的请求作出访问决策；速度限制、与开源第三方目标系统的兼容性。隔离的逻辑是三个策略：统一物理和逻辑隔离架构，将物理安全和网络安全对应，在Google的生产环境中，类似于BeyondCorp的设计，生产服务之间的身份验证植根于基于每台计算机凭据的机器对机器信任中。Google的生产环境不会信任未经授权的设备上的恶意植入；隔离了加密密钥，之前的提到的titan，是容许在本地密钥上使用ACL，以防止远程攻击者解密数据。即使攻击者可以访问加密数据（通过内部破坏或渗透），也可以防止解密；时间隔离：尽快的替换密钥，即使它们没有被泄露。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=04d13f4e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPWpOnc7fDIA0oWicplWVazOZ5r8fc7GrUxtLmL4j8eQUthdbiceeFLnTg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：GFE，可以参考google next 2020大会介绍的armor、anthos。注意核心的内部服务只鉴权，不加密，可能是基于性能考虑。自研的ssl实现，可以参考下Amazon的s2n。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=581d965a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPmibpkYofeFib5IqI27KxD26odk0pcIeOgJw4wQF0bbiaiazZS57Q8CUNbg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：alts ，可以看到笔者的上一个文章介绍<a target="_blank" href="http://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804831&amp;idx=1&amp;sn=b2e66dc27e5a9faf80f4eff9d57dc22e&amp;chksm=844515c1b3329cd7b3b0a5ddb74f65f2f4ba64d6c20ad43bb988dd0c06ca413f86cff7d06ed2&amp;scene=21#wechat_redirect" data-itemshowtype="0" tab="innerlink" data-linktype="2">从gRPC安全设计理解双向证书方案</a>，这里谈到了很多架构设计的原则。BeyondProd的基础就是由alts是实现的，付出的代价是，谷歌必须维护一套复杂的，符合各个国家数据加密要求的，灵活调度全球idc服务的证书系统，如果证书有问题，也要具备降级能力。这个证书的体系是从主机硬件芯片到应用层各个协议都支持的能力。开发者不需要关系如何适配身份体系，如何加白，都是由数据权限（使用AWS或GCP Identity＆认证和授权决策的策略框架
访问管理类IAM产品）自动判断。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=8ba51815&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPogpicbV7xVoJ86uu4oWCUeEsvBOPTe0hMZTWMwLnfvHjKU7LK6LQ5Gg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：据说alts开始时，还没有tls1.3，所有更灵活，但是只能适用于谷歌内部。mTLS单独指双向 TLS 身份验证：即使用 mTLS 时，客户端和服务器（或另一个客户端）在 TLS 握手期间提供证书，互相证明身份。alts是具体的技术的实现。认证和鉴权方面，通过tls中的namespace认证身份。加密方面，证书天然的加密机制不再说。握手消息，不用隐藏对端通信服务的来源（虽然你有nmap扫描到了服务，但是不能建立通信）。密钥泄露伪装攻击是指获取了证书就可以冒充身份了吗？理论上是可以的，猜测谷歌还有别的访问模型进行安全管控。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=21670530&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPKRXtKMed9ZWo5UbUP5hLYfIcfwbmKJmuJ7D3gw5K6IAfEULtWCcesw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：运行公共信任的CA使用商业机构提供的HSM，采用nsjail隔离第三方代码，fuzz安全漏洞报告厂商。签发和认证时使用了多个独立的日志记录系统，通过逐个比较两个系统来确保一致性。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=366a401a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPR774kxr2SFLib05VaNCPJtGnjBk4Y9fibRiaawbYC0fVH4uvdBG8knbiaQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：brogmaster是核心，攻击获取了master的私钥，就可以伪造发布的应用，所以定时更换。用k8s举个的例子：在一个应用发布时，master使用机器主私钥对一个docker进行签名，容许发布应用，master对一个应用镜像仓库创建主证书和私钥，获取签名。master验证docker是否有权限运行这个特定的应用镜像。发起rpc请求时，使用应用镜像的证书标识对外身份。这个例子中，master指代brogmaster，docker指代运行应用的客户端，应用镜像仓库指代workload。实现的效果是:只有经过brogmaster发布的可信的工作负载，才能运行在可信的客户端上。否则，这个客户端不仅仅运行不起来，而且对外通信会失败。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=43f2ecf7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPibdSoRq8CbTfpugGbslcbYhwKFBXUIvRjbDwUTpKEib74Pu5Bmkx9CCQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：一、A和B两个微服务之间交互，a有accout为A_servie,B的account为B_service，二、双向认证策略mtls，只容许a访问B，不容许A访问C。三、同时mlts基于alts实现加密。四、每一步带上用户的票据，实现全程票据方案</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=d7a6653c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPz49w7b6tqO8yJbl9fdy22huSKKfTY4MzrBvXJla7Q5fZkKO4lI9zsg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：传统的内部微服务之间，内网之间无防火墙acl，api网关方案也不可行。由grpc支持各个语言，无开发接入工作量。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=69aa9ad8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPIyfNKyT0y0daRWH90rmuUnicVRyFaKQ5QWic2mWLAnl7kFDZ0Go7xUbQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：业务团队职责：从个人、服务、资源维度合理审批、及时二次通知、审核、fido。安全团队职责：审计申请记录，观察异常服务调用，3FA</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=24a87d55&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPFqCyw8yGoFzib53Uf0ib8AuxXh8rico5PLpXAGeDOTcIZhQlOjdqW4qTA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：这里没有提如何进行完整性校验，传统的ak、sk通过摘要的方式验证一致性，证书可以通过公钥加密消息体，私钥+协商算法解析，从通信链路层实现rpc协议的整体加密</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=dc7bce79&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetP566vNqqFK2XasXMqRiaicrHQ03WAeVhutL9JHMCjzqfTsUt76MnAIvgg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：票据在mtls的rpc报文之间传递cuis是票据服务的核心，eut具备原始的认证授权信息，每个入方向的服务，用这个票去cuis验票，不需要鉴权则透传票据。contact服务解密eut，查看是否有地址簿数据权限，调用地址簿服务放回用户数据。解决的问题是：防止遍历：不能直接伪造大量的用户票据；防越权，每个下游服务都去票据服务中心获取授权；缩小攻击范围:B服务沦陷了，但是由于没有A阶段的票据，不能访问C的服务。不能解决的问题：重放攻击，因为票据是有有效的，除非有销毁机制；性能问题，验票环境是瓶颈；需要稳定性：ABC服务都需要支持票据能力，一旦一个环境丢票，用户请求就中断。极大的复杂性：ABC服务都有改造支持在rpc或者http协议中和票据中心有验票逻辑，cuis会有复杂的权限模板，模板要写清ABC各个环节需要的详细权限。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5625" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=d1d4d385&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPM4eTNntV0KDAT8tjbx319fl7ibmJdVt0Fk9BRqVibCUaibD08TApd8aQg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;"><br/></figcaption></figure><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">安全乐观主义点评：不要有这个BeyondProd的锤子就到处寻找钉子，不同的安全需求决定了组织所处的安全现状，对应不同的建设手段。</p></blockquote><figure style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);"><img data-ratio="0.5625" style="box-sizing: border-box;vertical-align: middle;border-style: none;display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1920" src="https://wechat2rss.xlab.app/img-proxy/?k=95e255aa&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacISDN1gBztzEYMAHHuHetPB0gu5pTlmvoqnM6HwmLuZI3fXZ8b7cTbKS8vpVRTSxRIPIF0EHWueA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 14px;"><br/></figcaption></figure><blockquote style="margin-top: 20px;margin-bottom: 20px;border-top: none;border-right: none;border-bottom: none;border-left-color: rgba(0, 0, 0, 0.4);font-size: 0.9em;overflow: auto;background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;text-align: left;white-space: normal;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">安全乐观主义点评：小编将持续跟踪，分享BeyondProd相关材料。</p></blockquote><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><span style="color: rgb(136, 136, 136);font-size: 14px;letter-spacing: 0px;text-align: center;"></span></figure></section><p style="text-align: center;"><img class="rich_pages" data-ratio="1" data-s="300,640" style="" data-type="jpeg" data-w="600" src="https://wechat2rss.xlab.app/img-proxy/?k=b2be6a91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafIbx9xLXQob7gUXll6kdcicUqGYduYY9ibBEic1ibCmbyNGDbZ3Z7RgvSAibRrodrWqB7x3JCxFnrnia3Q%2F640%3Fwx_fmt%3Djpeg"/></p><p><br/></p>



<p><a href="2447804888">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=b0245ede&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447804888%26idx%3D1%26sn%3D411a117915dad499517bfb7bf7d9217b%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 23 Nov 2020 18:12:00 +0800</pubDate>
    </item>
    <item>
      <title>从gRPC安全设计理解双向证书方案</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804831&amp;idx=1&amp;sn=b2e66dc27e5a9faf80f4eff9d57dc22e</link>
      <description>序言安全需求安全方案敏感数据加密传输认证鉴权数据完整性和一致性证书的基本原理单向证书双向证书gRPC安全机制</description>
      <content:encoded><![CDATA[<p>
原创 <span>Ramos</span> <span>2020-11-02 10:46</span> <span style="display: inline-block;"></span>
</p>

<p>序言安全需求安全方案敏感数据加密传输认证鉴权数据完整性和一致性证书的基本原理单向证书双向证书gRPC安全机制</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=4c22606d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadp66BDeibyF6hia4wMlwwDSxBHWt1WHtZicUKaddIOWDEBIr7oJTp2WTZrIJ36ZiaxFzqB5FA1kAu7gQ%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><p>序言</p></li><li><p>安全需求</p></li><li><p>安全方案</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li><p>敏感数据加密传输</p></li><li><p>认证</p></li><li><p>鉴权</p></li><li><p>数据完整性和一致性</p></li></ul><li><p>证书的基本原理</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li><p>单向证书</p></li><li><p>双向证书</p></li></ul><li><p>gRPC安全机制</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li><p>SSL/TLS认证</p></li><li><p>GoogleOAuth2.0</p></li><li><p>自定义安全认证策略</p></li></ul></ul><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>序言</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">网络安全领域在攻和防对抗规模群体已经成熟，但是两端从业者对于安全原理掌握程度参差不齐，中间鸿沟般的差距构成了漏洞研究领域的主战场。笔者“三省吾身”，在工作中会犯错误把一些加密、认证、鉴权的概念和实现方案搞混，尤其是加解密涉及算法和公私钥机制的概念不深入细节。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">最近的几个影响颇大的安全漏洞，Apache Shiro 权限绕过漏洞、CVE-2020-14882weblogic 绕过登录、微软ZeroLogon，这些漏洞原理的共同点都是和基本的安全算法、认证鉴权方案缺陷有关。也许未来的漏洞攻防将转移到安全基础领域的对抗，从业人员除了要求推进安全方案的必要性，涉及安全建设的可用性更为重要，所以特此开专栏系列，为大家普及一些安全基本功。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">本文主要通过介绍gRPC的双向认证方案，理清证书领域的知识。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>安全需求</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">RPC是一种技术思想，实现有阿里的 Dubbo/SOFA、Google gRPC、Facebook 的 Thrift，实现时的远程通信规范和协议可以用RMI、Socket、SOAP(HTTP XML)、REST(HTTP JSON)。这种服务间通信机制为企业内部各系统、模块之间的微服务和接口之间互相调用，RPC实现需要考虑安全性，RPC 调用安全主要涉及如下三点：</p><ol data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">个人 / 企业敏感数据加密：例如针对个人的账号、密码、手机号等敏感信息进行加密传输，打印接口日志时需要做数据模糊化处理等，不能明文打印；</p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">对调用方的身份认证：调用来源是否合法，是否有访问某个资源的权限，防止越权访问；</p></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">数据防篡改和完整性：通过对请求参数、消息头和消息体做签名，防止请求消息在传输过程中被非法篡改。</p></section></li></ol><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>安全方案</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">常见的安全攻防重视rpc协议的反序列漏洞，但是如果业务方问道如果做以上的安全需求，SDL同学就傻眼了，正确的做法是区分加密传输、认证、鉴权、数据完整性和一致性四个方向：</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>敏感数据加密传输<span style="display: none;"></span></h3><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;"><span style="display: none;"></span>基于SSL/TLS的通道加密<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">当存在跨网络边界的 RPC 调用时，往往需要通过 TLS/SSL 对传输通道进行加密，以防止请求和响应消息中的敏感数据泄漏。跨网络边界调用场景主要有三种：</p><ol data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">后端微服务直接开放给端侧，例如手机 App、TV、多屏等，没有统一的 API 网关/SLB 做安全接入和认证；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">后端微服务直接开放给 DMZ 部署的管理或者运维类 Portal；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">后端微服务直接开放给第三方合作伙伴 / 渠道。</section></li></ol><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">除了跨网络之外，对于一些安全等级要求比较高的业务场景，即便是内网通信，只要跨主机 /VM/ 容器通信，都强制要求对传输通道进行加密。在该场景下，即便只存在内网各模块的 RPC 调用，仍然需要做 SSL/TLS。</p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);">使用 SSL/TLS 的典型场景如下所示：<img data-backh="266" data-backw="558" data-ratio="0.47703180212014135" style="box-sizing: border-box;vertical-align: middle;border-style: none;display: block;margin-right: auto;margin-left: auto;width: 100%;height: auto;" data-type="jpeg" data-w="566" src="https://wechat2rss.xlab.app/img-proxy/?k=1e810982&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadoKvickq0uEQWw5ibZ1tGHUW3iaDmFJiaNHuhia60Aicice7TO6CPayFSRvUrUn5bzmPn4cwRRWe5XeoRkQ%2F640%3Fwx_fmt%3Djpeg"/></p><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);">通道加密的的实现技术难度稍大，对性能有损耗，定制化程度高，但是效果显著，建设收益明显</p><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 18px;"><span style="display: none;"></span>针对敏感数据的单独加密<span style="display: none;"></span></h4><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">有些 RPC 调用并不涉及敏感数据的传输，或者敏感字段占比较低，为了最大程度的提升吞吐量，降低调用时延，通常会采用 HTTP/TCP + 敏感字段单独加密的方式，既保障了敏感信息的传输安全，同时也降低了采用 SSL/TLS 加密通道带来的性能损耗，对于 JDK 原生的 SSL 类库，这种性能提升尤其明显。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">它的工作原理如下所示：</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.41294964028776976" data-backh="230" data-type="jpeg" data-w="695" style="display: block;margin-right: auto;margin-left: auto;width: 100%;height: auto;" data-backw="558" src="https://wechat2rss.xlab.app/img-proxy/?k=7f58885c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadoKvickq0uEQWw5ibZ1tGHUW48oPIdXIJneVI9YT7s6yGcVHRU4NdH8icgsKOichrbhRNlZaVnppd9Yg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">敏感数据加密<br/></figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">通常使用 Handler 拦截机制，对请求和响应消息进行统一拦截，根据注解或者加解密标识对敏感字段进行加解密，这样可以避免侵入业务。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">采用该方案的缺点主要有两个：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">对敏感信息的识别可能存在偏差，容易遗漏或者过度保护，需要解读数据和隐私保护方面的法律法规，而且不同国家对敏感数据的定义也不同，这会为识别带来很多困难；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">接口升级时容易遗漏，例如开发新增字段，忘记识别是否为敏感数据。</section></li></ul><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>认证<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">内部 RPC 调用的身份认证场景，主要有如下两大类：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">防止对方知道服务提供者的地址之后，绕过注册中心 / 服务路由策略直接访问 RPC 服务提供端；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">RPC 服务只想供内部模块调用，不想开放给其它业务系统使用（双方网络是互通的）。</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">身份认证的方式较多，例如 HTTP Basic Authentication、OAuth2 等，比较简单使用的是令牌认证（Token）机制，它的工作原理如下所示：<img data-ratio="0.5377532228360957" data-backh="292" data-type="jpeg" data-w="543" style="display: block;margin-right: auto;margin-left: auto;width: 100%;height: auto;" data-backw="543" src="https://wechat2rss.xlab.app/img-proxy/?k=b92c3e50&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadoKvickq0uEQWw5ibZ1tGHUW5BT1CnODCUKViamavp0crvZ7MWwGia67dnbIFLWlMy4yZaSbGictvPTuQ%2F640%3Fwx_fmt%3Djpeg"/></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">工作原理如下：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">RPC 客户端和服务端通过 HTTPS 与注册中心连接，做双向认证，以保证客户端和服务端与注册中心之间的安全；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">服务端生成 Token 并注册到注册中心，由注册中心下发给订阅者。通过订阅 / 发布机制，向 RPC 客户端做 Token 授权；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">服务端开启身份认证，对 RPC 调用进行 Token 校验，认证通过之后才允许调用后端服务接口。</section></li></ul><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>鉴权<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">身份认证可以防止非法调用，如果需要对调用方进行更细粒度的权限管控，则需要做对 RPC 调用做鉴权。例如管理员可以查看、修改和删除某个后台资源，而普通用户只能查看资源，不能对资源做管理操作。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在 RPC 调用领域比较流行的是基于 OAuth2.0 的权限认证机制，它的工作原理如下：<img data-ratio="0.7762096774193549" data-backh="385" data-type="jpeg" data-w="496" style="display: block;margin-right: auto;margin-left: auto;width: 100%;height: auto;" data-backw="496" src="https://wechat2rss.xlab.app/img-proxy/?k=b3f29d6f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadoKvickq0uEQWw5ibZ1tGHUWb8oA9cicQ7ibC3oCfMU0gYHQWTskf4Je4mmib86nQF9iaZ7cHXaaHMoudw%2F640%3Fwx_fmt%3Djpeg"/></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">OAuth2.0 的认证流程如下：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户端向资源拥有者申请授权（例如携带用户名 + 密码等证明身份信息的凭证）；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">资源拥有者对客户端身份进行校验，通过之后同意授权；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户端使用步骤 2 的授权凭证，向认证服务器申请资源访问令牌（access token）；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">认证服务器对授权凭证进行合法性校验，通过之后，颁发 access token；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户端携带 access token（通常在 HTTP Header 中）访问后端资源，例如发起 RPC 调用；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">服务端对 access token 合法性进行校验（是否合法、是否过期等），同时对 token 进行解析，获取客户端的身份信息以及对应的资源访问权限列表，实现对资源访问权限的细粒度管控；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">access token 校验通过，返回资源信息给客户端。</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">步骤 2 的用户授权，有四种方式：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">授权码模式（authorization code）</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">简化模式（implicit）</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">密码模式（resource owner password credentials）</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户端模式（client credentials）</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">需要指出的是，OAuth 2.0 是一个规范，不同厂商即便遵循该规范，实现也可能会存在细微的差异。大部分厂商在采用 OAuth 2.0 的基础之上，往往会衍生出自己特有的 OAuth 2.0 实现。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">对于 access token，为了提升性能，RPC 服务端往往会缓存，不需要每次调用都与 AS 服务器做交互。同时，access token 是有过期时间的，根据业务的差异，过期时间也会不同。客户端在 token 过期之前，需要刷新 Token，或者申请一个新的 Token。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">考虑到 access token 的安全，通常选择 SSL/TLS 加密传输，或者对 access token 单独做加密，防止 access token 泄漏。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">关于oauth作为安全基本功系列今后还会有专栏。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>数据完整性和一致性<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">RPC 调用，除了数据的机密性和有效性之外，还有数据的完整性和一致性需要保证，即如何保证接收方收到的数据与发送方发出的数据是完全相同的。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">利用消息摘要可以保障数据的完整性和一致性，它的特点如下：</p><ol data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">单向 Hash 算法，从明文到密文的不可逆过程，即只能加密而不能解密；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">无论消息大小，经过消息摘要算法加密之后得到的密文长度都是固定的；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">输入相同，则输出一定相同。</section></li></ol><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">目前常用的消息摘要算法是 SHA-1、MD5 和 hmac，MD5 可产生一个 128 位的散列值。SHA-1 则是以 MD5 为原型设计的安全散列算法，可产生一个 160 位的散列值，安全性更高一些。hmac 除了能够保证消息的完整性，还能够保证来源的真实性。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">由于 MD5 已被发现有许多漏洞，在实际应用中更多使用 SHA 和 hmac，而且往往会把数字签名和消息摘要混合起来使用。微信支付、阿里云调用是大家常用的签名机制，注意消息摘要不是加密，不是加密，不是加密。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>证书的基本原理</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">目前使用最广的 SSL/TLS 工具 / 类库就是 OpenSSL，它是为网络通信提供安全及数据完整性的一种安全协议，囊括了主要的密码算法、常用的密钥和证书封装管理功能以及 SSL 协议。注意SSL和TLS有不同的历史和标准，HTTPS的意思是HTTP +SSL/ TLS，现在的安全方案一般是tls实现，SSL标准正被淘汰。只是因为沿袭历史称呼，所以经常混用两次名词，
SSL被发现存在过 POODLE, DROWN协议算法本身的漏洞，注意区分大名鼎鼎的心脏滴血漏洞Heartbleed是OpenSSL的实现TLS和DTLS的心跳处理逻辑时有bug，而不是利用SSL/TLS协议本身的缺陷。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>单向证书<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">https是大家最熟悉的单项证书方案，由浏览器、ca中心、服务端三方实现。单向认证的过程，客户端从服务器端下载服务器端公钥证书进行验证，然后建立安全通信通道。单向认证流程中，服务器端保存着公钥证书和私钥两个文件，整个握手过程如下：</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.6498194945848376" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1662" src="https://wechat2rss.xlab.app/img-proxy/?k=b6343d96&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadoKvickq0uEQWw5ibZ1tGHUW7rh6cl3oodljwf3aRHtSZOTdQqWEmBkuQ2XyBud8J5Oh4uDI3lR5Cg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">单向认证流程</figcaption></figure><ol data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户端发起建立HTTPS连接请求，将SSL协议版本的信息发送给服务器端；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">服务器端将本机的公钥证书（server.crt）发送给客户端；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户端读取公钥证书(server.crt)，取出了服务端公钥；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户端生成一个随机数（密钥R），用刚才得到的服务器公钥去加密这个随机数形成密文，发送给服务端；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">服务端用自己的私钥(server.key)去解密这个密文，得到了密钥R</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">服务端和客户端在后续通讯过程中就使用这个密钥R进行通信了。</section></li></ol><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>双向证书<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">双向通信流程，客户端除了需要从服务器端下载服务器的公钥证书进行验证外，还需要把客户端的公钥证书上传到服务器端给服务器端进行验证，等双方都认证通过了，才开始建立安全通信通道进行数据传输。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.8200455580865603" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1317" src="https://wechat2rss.xlab.app/img-proxy/?k=5e781a93&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadoKvickq0uEQWw5ibZ1tGHUWqSBicLHLibgEcExZF0btLAfTiat5Cdj8Bf8TjL0Ufq9OOMG7afs5sTJEA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">双向认证流程</figcaption></figure><ol data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户端发起建立HTTPS连接请求，将SSL协议版本的信息发送给服务端；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">服务器端将本机的公钥证书(server.crt)发送给客户端；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户端读取公钥证书(server.crt)，取出了服务端公钥；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户端将客户端公钥证书(client.crt)发送给服务器端；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">服务器端解密客户端公钥证书，拿到客户端公钥；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户端发送自己支持的加密方案给服务器端；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">服务器端根据自己和客户端的能力，选择一个双方都能接受的加密方案，使用客户端的公钥加密后发送给客户端；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户端使用自己的私钥解密加密方案，生成一个随机数R，使用服务器公钥加密后传给服务器端；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">服务端用自己的私钥去解密这个密文，得到了密钥R</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">服务端和客户端在后续通讯过程中就使用这个密钥R进行通信了。</section></li></ol><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">整个双向认证的流程跑通，最终需要五个证书文件：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">服务器端公钥证书：server.crt</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">服务器端私钥文件：server.key</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户端公钥证书：client.crt</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户端私钥文件：client.key</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">客户端集成证书（包括公钥和私钥，用于浏览器访问场景）：client.p12</section></li></ul><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">生成这一些列证书之前，我们需要先生成一个CA根证书，然后由这个CA根证书颁发服务器公钥证书和客户端公钥证书。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.48756906077348067" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1448" src="https://wechat2rss.xlab.app/img-proxy/?k=477886b8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadoKvickq0uEQWw5ibZ1tGHUW3z7ZzrnLN1IRS0nb66eNN7KDTZKIPL5BZk0VS6tAudDUcQicoUAn5YQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">证书生成</figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">证书实现的核心是加密，但是也可以被用来做认证，比如istio实现展示了如何用双向证书解决身份、通讯安全，：服务器身份（Server identities）被编码在证书里，但服务名称（service names）通过服务发现或 DNS 被检索。安全命名信息将服务器身份映射到服务名称。身份 A 到服务名称 B 的映射表示“授权 A 运行服务 B“。在双向 TLS 握手期间，客户端Envoy做了安全命名检查，以验证服务器证书中显示的服务帐户是否被授权运行目标服务。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>gRPC安全机制</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">谷歌提供了可扩展的安全认证机制，以满足不同业务场景需求，它提供的授权机制主要有四类：</p><ul data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">通道凭证：默认提供了基于 HTTP/2 的 TLS，对客户端和服务端交换的所有数据进行加密传输；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">调用凭证：被附加在每次 RPC 调用上，通过 Credentials 将认证信息附加到消息头中，由服务端做授权认证；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">组合凭证：将一个频道凭证和一个调用凭证关联起来创建一个新的频道凭证，在这个频道上的每次调用会发送组合的调用凭证来作为授权数据，最典型的场景就是使用 HTTP S 来传输 Access Token；</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">Google 的 OAuth 2.0：gRPC 内置的谷歌的 OAuth 2.0 认证机制，通过 gRPC 访问 Google API 时，使用 Service Accounts 密钥作为凭证获取授权令牌。</section></li></ul><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>SSL/TLS认证<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">用go语言显示下服务端和客户端的调用过程:</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">服务端使用了证书文件</p><pre data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;"><span style="display: block;background: url(&#34;https://mmbiz.qpic.cn/mmbiz_png/rrT9ZWSiaWadoKvickq0uEQWw5ibZ1tGHUWWgEaBBdl6gl0nOvSWibm2pcjRvDLeT3c082icJchlhVF9Vdb23hNB1KA/640?wx_fmt=png&#34;) 10px 10px / 40px no-repeat rgb(40, 44, 52);height: 30px;width: 100%;margin-bottom: -7px;border-radius: 5px;"></span><code style="overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;"><span style="line-height: 26px;"><span style="color: #c678dd;line-height: 26px;">func</span> <span style="color: #61aeee;line-height: 26px;">main</span><span style="line-height: 26px;">()</span></span> {<br/>    lis, err := net.Listen(<span style="color: #98c379;line-height: 26px;">&#34;tcp&#34;</span>, port)<br/>    <span style="color: #c678dd;line-height: 26px;">if</span> err != <span style="color: #56b6c2;line-height: 26px;">nil</span> {<br/>        log.Fatalf(<span style="color: #98c379;line-height: 26px;">&#34;failed to listen: %v&#34;</span>, err)<br/>    }<br/>    <span style="color: #5c6370;font-style: italic;line-height: 26px;">// create the TLS credentials from files</span><br/>    creds, err := credentials.NewServerTLSFromFile(<span style="color: #98c379;line-height: 26px;">&#34;../cert/server.crt&#34;</span>, <span style="color: #98c379;line-height: 26px;">&#34;../cert/server.key&#34;</span>)<br/>    <span style="color: #c678dd;line-height: 26px;">if</span> err != <span style="color: #56b6c2;line-height: 26px;">nil</span> {<br/>        log.Fatalf(<span style="color: #98c379;line-height: 26px;">&#34;could not load TLS keys: %s&#34;</span>, err)<br/>    }<br/>    <span style="color: #5c6370;font-style: italic;line-height: 26px;">// create a gRPC option array with the credentials</span><br/>    opts := []grpc.ServerOption{grpc.Creds(creds)}<br/>    <span style="color: #5c6370;font-style: italic;line-height: 26px;">// create a gRPC server object with server options(opts)</span><br/>    s := grpc.NewServer(opts...)<br/>    pb.RegisterSimpleMathServer(s, &amp;rpcimpl.SimpleMathServer{})<br/>    reflection.Register(s)<br/>    <span style="color: #c678dd;line-height: 26px;">if</span> err := s.Serve(lis); err != <span style="color: #56b6c2;line-height: 26px;">nil</span> {<br/>        log.Fatalf(<span style="color: #98c379;line-height: 26px;">&#34;failed to serve: %v&#34;</span>, err)<br/>    }<br/>}<br/></code></pre><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">客户端使用</p><pre data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;"><span style="display: block;background: url(&#34;https://mmbiz.qpic.cn/mmbiz_png/rrT9ZWSiaWadoKvickq0uEQWw5ibZ1tGHUWWgEaBBdl6gl0nOvSWibm2pcjRvDLeT3c082icJchlhVF9Vdb23hNB1KA/640?wx_fmt=png&#34;) 10px 10px / 40px no-repeat rgb(40, 44, 52);height: 30px;width: 100%;margin-bottom: -7px;border-radius: 5px;"></span><code style="overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;"><span style="line-height: 26px;"><span style="color: #c678dd;line-height: 26px;">func</span> <span style="color: #61aeee;line-height: 26px;">GreatCommonDivisor</span><span style="line-height: 26px;">(first, second <span style="color: #c678dd;line-height: 26px;">string</span>)</span></span> {<br/>    <span style="color: #5c6370;font-style: italic;line-height: 26px;">// create the client TLS credentials</span><br/>    creds, err := credentials.NewClientTLSFromFile(<span style="color: #98c379;line-height: 26px;">&#34;../cert/server.crt&#34;</span>, <span style="color: #98c379;line-height: 26px;">&#34;&#34;</span>)<br/>    <span style="color: #5c6370;font-style: italic;line-height: 26px;">// initiate a connection with the server using creds</span><br/>    conn, err := grpc.Dial(address, grpc.WithTransportCredentials(creds))<br/>    <span style="color: #c678dd;line-height: 26px;">if</span> err != <span style="color: #56b6c2;line-height: 26px;">nil</span> {<br/>        log.Fatalf(<span style="color: #98c379;line-height: 26px;">&#34;did not connect: %v&#34;</span>, err)<br/>    }<br/>    <span style="color: #c678dd;line-height: 26px;">defer</span> conn.Close()<br/>    c := pb.NewSimpleMathClient(conn)<br/>    a, _ := strconv.ParseInt(first, <span style="color: #d19a66;line-height: 26px;">10</span>, <span style="color: #d19a66;line-height: 26px;">32</span>)<br/>    b, _ := strconv.ParseInt(second, <span style="color: #d19a66;line-height: 26px;">10</span>, <span style="color: #d19a66;line-height: 26px;">32</span>)<br/>    ctx, cancel := context.WithTimeout(context.Background(), time.Second)<br/>    <span style="color: #c678dd;line-height: 26px;">defer</span> cancel()<br/>    r, err := c.GreatCommonDivisor(ctx, &amp;pb.GCDRequest{First: <span style="color: #c678dd;line-height: 26px;">int32</span>(a), Second: <span style="color: #c678dd;line-height: 26px;">int32</span>(b)})<br/>    <span style="color: #c678dd;line-height: 26px;">if</span> err != <span style="color: #56b6c2;line-height: 26px;">nil</span> {<br/>        log.Fatalf(<span style="color: #98c379;line-height: 26px;">&#34;cound not compute: %v&#34;</span>, err)<br/>    }<br/>    log.Printf(<span style="color: #98c379;line-height: 26px;">&#34;The Greatest Common Divisor of %d and %d is %d&#34;</span>, a, b, r.Result)<br/>}<br/></code></pre><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>GoogleOAuth2.0<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">gRPC 默认提供了多种 OAuth 2.0 认证机制，假如 gRPC 应用运行在 GCE 里，可以通过服务账号的密钥生成 Token 用于 RPC 调用的鉴权，密钥可以从环境变量 GOOGLE_APPLICATION_CREDENTIALS 对应的文件里加载。如果使用 GCE，可以在虚拟机设置的时候为其配置一个默认的服务账号，运行时可以与认证系统交互并为 Channel 生成 RPC 调用时的 access Token。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>自定义安全认证策略<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">参考 Google 内置的 Credentials 实现类，实现自定义的 Credentials，可以扩展 gRPC 的鉴权策略。</p></section><p style="text-align: center;"><img class="rich_pages" data-ratio="1" data-s="300,640" style="" data-type="jpeg" data-w="600" src="https://wechat2rss.xlab.app/img-proxy/?k=b2be6a91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafIbx9xLXQob7gUXll6kdcicUqGYduYY9ibBEic1ibCmbyNGDbZ3Z7RgvSAibRrodrWqB7x3JCxFnrnia3Q%2F640%3Fwx_fmt%3Djpeg"/></p><p><br/></p>



<p><a href="2447804831">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=8b8ce8b5&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447804831%26idx%3D1%26sn%3Db2e66dc27e5a9faf80f4eff9d57dc22e%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 02 Nov 2020 10:46:00 +0800</pubDate>
    </item>
    <item>
      <title>基于对象存储隧道的远控工具开源啦</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804808&amp;idx=1&amp;sn=7d1c9af5c506008c22a8f77cf945fb3e</link>
      <description>基于亚马逊S3\阿里云OSS\腾讯COS通信隧道的远程管理工具</description>
      <content:encoded><![CDATA[<p>
原创 <span>Ramos</span> <span>2020-10-10 11:20</span> <span style="display: inline-block;"></span>
</p>

<p>基于亚马逊S3\阿里云OSS\腾讯COS通信隧道的远程管理工具</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=0492d846&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIAQXNZ9Meiabsl6BZVlY6ARm1FzlicHBmmibqZYQv1VT9C0E0YQIiakaxyLYY6KhJicnFWdBBcIwlRpw%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><p>简介</p></li><li><p>使用介绍：</p></li><li><p>Q&amp;A</p></li></ul><blockquote data-tool="mdnice编辑器" style="border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;"><p style="font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;">对象存储介绍:对象存储服务是云厂商提供的一种海量、安全、低成本、高可靠的云存储服务，适合存放任意类型的文件。容量和处理能力弹性扩展，多种存储类型供选择，全面优化存储成本。方便业务在任何时间、任何地点、任何互联网设备上进行上传和下载数据。</p></blockquote><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>简介<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>Lucian（中文名卢锡安）是一款开源的跨平台网站管理工具</strong></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    不同于市面上其他远控工具，虽然支持各项协议的远控如dns、https、tcp、smtp层出不穷，但是一、各种对Cobra Strike 、冰蝎、恶意dns的流量检测技术逐步完善，从协议的隐蔽性和对抗性来说还远远不够；二、云环境下的渗透测试的目标环境会设置严格的安全组或者在vpc内，不能对外出入流量；三、出入的流量均会经过云安全厂商的检测，存在暴露风险。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    这款新工具的特点在于：</p><ol data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">基础http协议基于云厂家内部的对象存储，绕过对外连接的安全检测机制</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">对象存储支持全球网络，速度快，在使用内部的endpoint时可以无对外流量产生</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">使用云bucket作为数据和命令的跳板作为中转，无需cc服务器，保护安全测试人员</section></li></ol><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">适配国内外主流云厂家的应用场景，已经实现的功能有：</p><ol data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">支持windows、linux、mac系统，只要系统上有jdk1.6到jdk12均可运行</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">支持多种对象存储协议：亚马逊S3\阿里云OSS\腾讯COS</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">内存编译内存运行，无payload文件落地</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">全链路https、数据通过Head和put协议走header包发送，隐蔽性高</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">支持java调用jni方式执行shell（慎用，不兼容的情况下会导致jvm崩溃从而掉线）</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">上线主机数量无限制，后台支持操作命令详细记录</section></li></ol><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>使用介绍：<span style="display: none;"></span></h3><ol data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">安全测试工程师在靶机上编译和运行加载器SennaLoader，当然也可以直接执行java命令运行已编译好的class\jar文件,或者反序列化直接打入这个class。</p><figure style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.30313588850174217" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1148" src="https://wechat2rss.xlab.app/img-proxy/?k=ad486b98&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIAQXNZ9Meiabsl6BZVlY6Ae4vj8aXlYn6peupnBmevgdMQDNaVHnqsxQLLQZMacJfoRfJRvLgYtw%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">执行运行加载器</figcaption></figure></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">加载器从远端下载payload文件Lucian，进行实时内存编译和内存运行（这时候远端的payload文件可以销毁了~）</p></section></li></ol><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.45665961945031713" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="2365" src="https://wechat2rss.xlab.app/img-proxy/?k=8ace9ec5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIAQXNZ9Meiabsl6BZVlY6A5fUafm8Jibet6M8t3MxA3650CyIynZrF1PT5vCQziciawVhOAB563aH6A%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">lucian文件无文件后缀要求，内容为已经正确配置对象存储上线地址</figcaption></figure><ol start="3" data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">自动化执行随机间隔心跳和响应命令的功能，启动上线</p><figure style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.1311320754716981" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="2120" src="https://wechat2rss.xlab.app/img-proxy/?k=ec89d105&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIAQXNZ9Meiabsl6BZVlY6AD6AQVYAQVPFtcF1X76b9ejBdE0OtmuUMS8icLeNQ3cN9bqvfq69sB2Q%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">在对象存储侧显示已经成功上线</figcaption></figure></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">安全测试工程师配置相应的对象存储地址</p><figure style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.9129332206255283" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1183" src="https://wechat2rss.xlab.app/img-proxy/?k=2979e047&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIAQXNZ9Meiabsl6BZVlY6AAm1lS3tAbgBY6MEqKicYdk7z1f3SeLicthUEMnWVe9FOzcnJuvHSaRmA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">已经正确配置对应的对象存储上线地址</figcaption></figure></section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">从远端读取上线主机列表，下发命令、Lucian获取到要执行的命令，执行上报结果</p></section></li></ol><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.2931854199683043" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="2524" src="https://wechat2rss.xlab.app/img-proxy/?k=b6ce8bde&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIAQXNZ9Meiabsl6BZVlY6AfribxABibGsLsw0fpfn3DDZaygp0t2DjW7LH1AYmtpIB3WVYFmznxOGg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">列出上线主机，执行cmd</figcaption></figure><ol start="6" data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><p style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;">安全测试完成，执行-k命令，进行卸载删除,程序自毁</p><figure style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.2552204176334107" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1724" src="https://wechat2rss.xlab.app/img-proxy/?k=d7738061&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIAQXNZ9Meiabsl6BZVlY6AHwzDFial8knn6bYEP0FDOzHXaibsBxIGwXwZx94ibG1yZDc0Kickiam8GbA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">-k指定需要删除的主机id</figcaption></figure><figure style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.3411978221415608" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1102" src="https://wechat2rss.xlab.app/img-proxy/?k=5af7d328&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIAQXNZ9Meiabsl6BZVlY6AztmbJM7BAFyueFzT285wiaEyvVk4IfcHiaqtlYR4h6jnZol5pQBgagCQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">java和class文件均已删除</figcaption></figure></section></li></ol><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>Q&amp;A<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">问：这个工具和蚁剑、冰蝎，哥斯拉有什么区别？</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">答：这不是一个webshell管理工具，是用java写的rat，提供了一种新的中转通道思路，本质还是基于http的。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">问：需要目标系统什么环境，一定要安装jdk吗？</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">答：不需要jdk（java开发套件），需要java（java运行环境），只要能执行java命令即可，javac的功能是为了无需考虑目标机器的java版本，一次执行成功。你也可以编译为jar包、打包为exe直接运行。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">问：对象存储ak、sk需要什么权限？</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">答：需要对bucket下的对象的读写权限，为了避免泄露内置的ak、sk，自己搭建bucket的可以设置为公共读写。最好填入你在渗透测试过程中发现的业务自身的ak、sk访问业务bucket，endpoint填内网域名如<span style="color: rgb(55, 61, 65);font-family: Roboto, Helvetica, Tahoma, Arial, &#34;Hiragino Sans GB&#34;, &#34;Microsoft Yahei&#34;, SimSun, sans-serif;font-size: 14px;text-align: left;background-color: rgb(255, 255, 255);"><a href="https://oss-cn-regionid-internal.aliyuncs.com" target="_blank">https://oss-cn-regionid-internal.aliyuncs.com</a></span>，流量更隐蔽。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">问：github地址？</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">答：<a href="https://github.com/Ramos-dev/OSSTunnel" target="_blank">https://github.com/Ramos-dev/OSSTunnel</a></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">问：嗯，还有呢？</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">答：工具主要面向于合法授权的渗透测试安全人员以及进行常规操作的网站管理员。任何人不得将其用于非法用途以及盈利等目的，否则后果自行承担并将追究其相关责任！</p></section><p style="text-align: center;"><img class="rich_pages" data-ratio="1" data-s="300,640" style="" data-type="jpeg" data-w="600" src="https://wechat2rss.xlab.app/img-proxy/?k=b2be6a91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafIbx9xLXQob7gUXll6kdcicUqGYduYY9ibBEic1ibCmbyNGDbZ3Z7RgvSAibRrodrWqB7x3JCxFnrnia3Q%2F640%3Fwx_fmt%3Djpeg"/></p><p><br/></p>



<p><a href="2447804808">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=2cd5e23f&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447804808%26idx%3D1%26sn%3D7d1c9af5c506008c22a8f77cf945fb3e%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sat, 10 Oct 2020 11:20:00 +0800</pubDate>
    </item>
    <item>
      <title>从安全切面到Security Mesh</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804796&amp;idx=1&amp;sn=cb288239c8c09b4f1f3a7cfb7e32507a</link>
      <description>理解切面防御的关键在于明白它不是安全防御的目标，而是建设的过程和手段。</description>
      <content:encoded><![CDATA[<p>
原创 <span>Ramos</span> <span>2020-10-09 09:25</span> <span style="display: inline-block;"></span>
</p>

<p>理解切面防御的关键在于明白它不是安全防御的目标，而是建设的过程和手段。</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=2dbc2c59&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacwxia16Rkwk1icARxpBYfLWY01TiaL6dCcFU0j7Nfu5m1Lt3nBTfC0NvDWngaiatPBpRse5y2V0c9TXg%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section style="display:none;" data-tools="新媒体管家" data-label="powered by xmt.cn"><br/></section><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><br/></p><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><p>安全切面是什么</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li><p>来源于编程概念</p></li><li><p>以Spring Security示例</p></li></ul><li><p>安全领域的切面</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li><p>解读</p></li><li><p>能解决什么？</p></li><li><p>难点在什么？</p></li></ul><li><p>切面安全的未来是Security Mesh</p></li></ul><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>安全切面是什么</h2><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>来源于编程概念<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在实际企业架构中，业务拥有mvc层次：web接入访问、业务实现处理、数据持久化，各个阶段都需要考虑到应用安全措施。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    但是如果在开发的后期才考虑安全的问题，就可能陷入一个两难的境地：一方面，应用存在严重的安全漏洞，无法满足用户的要求，并可能造成用户的隐私数据被攻击者窃取；另一方面，应用的基本架构已经确定，要修复安全漏洞，可能需要对系统的架构做出比较重大的调整，因而需要更多的开发时间，影响应用的发布进程。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    正确的做法从应用开发的第一天就应该把安全相关的因素考虑进来，并在整个应用的开发过程中，这个时候安全sdl、devsecops都仅仅局限于研发安全。面向切面的编程防御理念提供了这样改造的可能。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    切面的理念是一个编程的范式，在面向过程，面向对象的历史长河中，逐步出现了切面思维。比如安全人员调试漏洞查看线程堆栈报错信息，就是一个典型的面向切面场景。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>以Spring Security示例<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    下面以目前成熟的，使用了切面理念的spring security框架演示，如何为业务保驾护航建立无需考虑具体的通用日志、安全审计等需求，无需每个功能点都自己实现安全能力，大概进行合理配置和接入，就实现了安全管控。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-backh="362" data-backw="558" data-ratio="0.6478365384615384" style="display: block;margin-right: auto;margin-left: auto;width: 100%;height: auto;" data-type="jpeg" data-w="1664" src="https://wechat2rss.xlab.app/img-proxy/?k=14031adc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacwxia16Rkwk1icARxpBYfLWYc88OoscicfjM63jKbtP0FaPCdBhTlvibO57JAc9ia9sajCsvYjzUCibqHA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">通过切面介入安全措施</figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    用户名username参数未严格过滤输入输出，页面需要进行xss过滤处理，原始的做法是安全基于esapi提供安全sdk进行改造，在编程模式上属于耦合在类方法级别。编码在输出的位置过滤特殊字符。检查对每个输出点进行esapi.securityhtml(username,output)。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在切面的理念之上，可以改造为由业务定义接入从数据库取出来的username资源和方案数据</p><pre data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;background: #282c34;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;font-size: 12px;-webkit-overflow-scrolling: touch;"> &lt;bean id=<span style="color: #98c379;line-height: 26px;">&#34;userDetailsService&#34;</span><br/>    class=<span style="color: #98c379;line-height: 26px;">&#34;org.springframework.security.core.securityXSS..JdbcDaoImpl&#34;</span>&gt;<br/>    &lt;property name=<span style="color: #98c379;line-height: 26px;">&#34;dataSource&#34;</span> ref=<span style="color: #98c379;line-height: 26px;">&#34;dataSource&#34;</span> /&gt;<br/> &lt;/bean&gt;<br/> &lt;sec:securityXSS&gt;<br/>    &lt;sec:sec-provider user-service-ref=<span style="color: #98c379;line-height: 26px;">&#34;userDetailsService&#34;</span> /&gt;<br/>    &lt;<span style="color: #c678dd;line-height: 26px;">if</span>:acttrackcallback waf=<span style="color: #98c379;line-height: 26px;">&#34;waf.seccurity.com&#34;</span> /&gt;<br/>    &lt;<span style="color: #c678dd;line-height: 26px;">if</span>:acttrackcallback audit=<span style="color: #98c379;line-height: 26px;">&#34;log.security.com&#34;</span> /&gt;<br/> &lt;/sec:securityXSS&gt;<br/></code></pre><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">项目中定义资源使用的url地址，完成。</p><pre data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;background: #282c34;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;font-size: 12px;-webkit-overflow-scrolling: touch;">&lt;sec:http&gt;<br/>    &lt;sec:intercept-url pattern=<span style="color: #98c379;line-height: 26px;">&#34;/**&#34;</span> access=<span style="color: #98c379;line-height: 26px;">&#34;ROLE_USER&#34;</span> /&gt;<br/>    &lt;sec:form-login /&gt;<br/>    &lt;sec:<span style="color: #e6c07b;line-height: 26px;">logout</span> /&gt;<br/> &lt;/sec:http&gt;<br/></code></pre><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>安全领域的切面</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在上面的Spring Security 示例中，并不是各种配置xml的行为就是表示应用了切面，而是背后的esapi.securityhtml(usernam,output)方法替换改造为由org.springframework.security.core.securityXSS.jdbc.JdbcDaoImpl是切面的关键，采用面向切面的软件安全架构思路来进行安全切入，具体编程方法可以预编译、运行时动态代理或者注入的方式等，实现在不修改源代码的情况下给程序动态添加安全功能。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    这样下来<strong>安全防御体系的理念不再是单点的防御，形成了重新定义如何获取数据，如何贴合业务，如何部署安全措施的防御框架。</strong><img data-backh="314" data-backw="558" data-ratio="0.5617469879518072" style="display: block;margin-right: auto;margin-left: auto;width: 100%;height: auto;" data-type="jpeg" data-w="1328" src="https://wechat2rss.xlab.app/img-proxy/?k=317740a1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWacwxia16Rkwk1icARxpBYfLWY4AEMjiaVhskoqzibmYHJFqWNiccwE9jBkzDchYTTNHU5GS6sL693RQxEQ%2F640%3Fwx_fmt%3Djpeg"/></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    重新结合上图理解下安全切面需要关注的实现技术：</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">切面（Aspect）:定义安全的切入点和通知对象，形成成熟的安全产品和机制。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">连接点（Joint Point）:指被’感知‘到的安全事件、方案、对象、服务、业务数据。这个概念类似于rasp的hook点，sql审计的对象。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">切入点 （Pointcut）：对连接点进行全部操作的定义，对于需要安全看护的点进行环绕增强。需要对数据透视能力，如arms、tlog、链路跟踪、EagleEye，workload之间的访问、授权、认证、加密，MOSN。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">通知（Advice）:对拦截到连接点之后要执行的处理。基于智能计算和处理实现管控，包含安全从业人员的日常工作应急的原则+soar等。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">代理（Proxy）：对目前服务进行安全能力的增强。如日志记录，性能监控，异常处理、熔断限流这样的非核心功能，单独被抽取出来，与业务代码分离，横切在核心业务代码之上。实现形式是多样如sidecar、proxy、gateway。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>解读<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在云原生、物联网、移动互联网、微服务体系、数据安全、AI安全的时代，单独的安全能力不再能由安全团队自己独立完成，必须融入到整体技术体系内，同时要剥离业务复杂，实现安全自主性。安全建设的特点是基于当前企业IT技术架构能力，但是需高于架构视野高标准建设安全能力，完成安全治理。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>    理解切面防御的关键在于明白它不是安全防御的目标，而是建设的过程和手段</strong>。虽深入业务逻辑，但是各自独立发展，整体安全目标依然是“实现治理感知攻防和审计的安全目标。”和零信任、纵深防御等理念并不冲突。我们的日常工作可以说很多都是在做切面安全防御。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    传统的塔防、河防安全防御侧重静态，名词，状态，组织，数据，载体是空间；切面防御侧重动态，动词，行为，调用，算法，载体是时间空间。切面一定需要代理，有了代理好处多多。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>能解决什么？<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">安全建设能力</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    通过安全切面理念把安全能力系统化地融入到技术基础设施和应用服务的内部，同时保持安全响应能力与复杂业务逻辑的结构，形成独立的功能切面，安全既在应用内部，它又是解耦的。比如dauth身份认证的实现就是一个很好的例子。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">业务可见</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    支持从业务方面透视已完成的全方位的安全治理工作。系统足够复杂，防守方会不知道有多少资产，在大体量的组织内，业务复杂性得像一个分布式操作系统，一点点的技术负债就会导致安全管控能力的严重缺失。我们不自觉的，已经在做很多从切面的日常处理工作，如数据安全治理、操作审计、RBAC。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">链路跟踪</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>    获取全链路信息是切面安全的核心。</strong>由于是融入到整个系统内部的，所以安全可以获得大量的这种真实的、完整的、细致的数据来建设异常检测能力、攻击阻断能力，跨应用追溯能力和沙箱隔离能力。这个思路是目前所有甲方的痛点。采集业务方流量数据的稳定性、可靠性、实时性很重要，考虑到应用内外部两部分数据的流动性和量级，属于很难做到但是重要的事情，有余力的可以看下。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">方法论</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>    因为外挂落后了，内生搞不动了，所以那就平行吧。</strong>建立一套和业务相交织且平行的安全层，让安全能够深入业务逻辑，实现细致的观测和攻防。能够不依赖于业务代码更新，进行安全治理。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>难点在什么？<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    安全系统自身的安全性。就像Spring Security看起来很美，但是如果背后的shiro组件出现漏洞，会导致认证绕过漏洞。没有完美的体系，软件是迭代引进的，名为高内聚低耦合，但是安全组件如果“打铁不能自身硬”，自己就会变为攻击者的高价值目标。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    技术难度大。对公司的安全建设来说，干的活还是一样。还得是一步一步解决安全漏洞，逐步进行加固，该响应急的还是得应急。要实现“数据降维视角”，比如通过对调用链路的还原，实现安全内视和追溯，通过代码节点信息，分析和定位的应用内部更精细化的角色信息，需要基础设施整齐划一。安全团队在基本功都具备了的情况下，才有能力寻求新理念打动老板。给出个能不能干成的简单判断标准：<strong>没有service mesh，就搞不定</strong>。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    非一日之功。不仅需要足够的知识，还需要一定的内部资源，可能并不适合能力不足的团队，不依赖业务能独立安全空间做事情 ，同时具备这样的业务平衡能力和建设时间，几乎是不可能的事情。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>切面安全的未来是Security Mesh</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    从上面的描述中可以看到新架构解决旧架构中的哪些问题，能否在进一步深入呢？</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    切面防御的初心是现实中遇到的问题：一、由大量的微服务构成的分布式应用架构也会增加运维、调试、数据可见、和安全管理的复杂性；二、如果说一台服务器可以在宿主机部署检测进程异常调用，在服务级别的业务docker容器中，安全难以再强加于业务；三在互联网公司应急不能像Google一样实现极致的快速发布。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    在业务的服务架构中，一般可以分为数据面和控制面。在和安全接触的点既然要避免外挂式的安全，折中的方案是做业务面和安全控制面的切入，这个说法就被称为切面安全。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    Goolge把安全和sre统称为SRS，BeyondProd把安全做没了，同样可以把面向切面的作为安全生态的基础架构当做临时解决方案给做没了，让切面的思路扩展为终极目标：Security Mesh。（笔者自己发明的安全新名词，留言轻喷）</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    <span style="color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">Security Mesh的目标</span><span style="color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">是让安全切面落地的新理念，解决容器和云原生时代的安全挑战，是保障新基建的安全运营基础设施服务。</span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    Security Mesh概念总结为：作为专用的安全基础设施层，提供提供安全的、快速的、可靠地服务间通讯和资产服务发现，与实际应用部署一起但对应用是透明的，实现了源到服务的安全性，数据链路追踪，热补丁，一系列的<span style="color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;font-size: 16px;text-align: left;">完备安全功能</span></p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    </p></section><p style="text-align: center;"><img class="rich_pages" data-ratio="1" data-s="300,640" style="" data-type="jpeg" data-w="600" src="https://wechat2rss.xlab.app/img-proxy/?k=b2be6a91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafIbx9xLXQob7gUXll6kdcicUqGYduYY9ibBEic1ibCmbyNGDbZ3Z7RgvSAibRrodrWqB7x3JCxFnrnia3Q%2F640%3Fwx_fmt%3Djpeg"/></p><p><br/></p>



<p><a href="2447804796">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=452ea0a8&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447804796%26idx%3D1%26sn%3Dcb288239c8c09b4f1f3a7cfb7e32507a%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 09 Oct 2020 09:25:00 +0800</pubDate>
    </item>
    <item>
      <title>浅谈华为SDL软件安全工程能力</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804789&amp;idx=1&amp;sn=d3807534a20e9983f85fb3a881b1b4f9</link>
      <description>网络安全和隐私保护是公司的最高纲领安全支撑组织架构SDL实践需求设计开发阶段上线前测试时应急响应供应链安全白</description>
      <content:encoded><![CDATA[<p>
原创 <span>Ramos</span> <span>2020-07-21 20:46</span> <span style="display: inline-block;"></span>
</p>

<p>网络安全和隐私保护是公司的最高纲领安全支撑组织架构SDL实践需求设计开发阶段上线前测试时应急响应供应链安全白</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=5da895fa&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIh1uSdcXpfS5NIjj7S5jG0lqBdt5AQTJ32THWjJY6UjcWLtOEibicZ8q5NQ8lzyFFIfg9Ch3f9GSw%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><p>网络安全和隐私保护是公司的最高纲领</p></li><li><p>安全支撑组织架构</p></li><li><p>SDL实践</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li><p>需求</p></li><li><p>设计</p></li><li><p>开发阶段</p></li><li><p>上线前测试时</p></li><li><p>应急响应</p></li><li><p>供应链安全</p></li></ul><li><p>白盒代码扫描</p></li><ul style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;list-style-type: square;" class="list-paddingleft-2"><li><p>目标</p></li><li><p>建设</p></li><li><p>运营层面</p></li><li><p>代码权限管控</p></li></ul><li><p>安全专家</p></li><li><p>参考资料<span style="letter-spacing: 0px;"></span></p></li></ul><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>浅谈华为SDL实践</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    谈华为安全，缺一漏万，笔者认为其是在SDL领域国内最强的公司，其建设的难点也同互联网公司迥然不同，在于历史债务如何处理，如何做工程化，下面简单介绍下软件安全能力建设的部分。笔者希望华为可以更多分享一些安全设计的机制、内部的PSIRT运营、全球网络隐私合规、商业安全工具平台、对客户提供的安全解决方案等。以下内容均基于网络公开信息，笔者已脱敏处理：）</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>网络安全和隐私保护是公司的最高纲领</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    年初华为有任正非签发文《全面提升软件工程能力与实践，打造可信的高质量产品------致全体员工的一封信》，这是一篇最被安全界低估的文章，十年后再看此文的历史地位会堪比亚马逊老板贝佐斯发出的服务化宣言，彻底改变了IT行业。安全圈已经被“以攻促防”思维主导太久了，要转变观念变外挂安全为内生，就得看看华为倡导的扎实的安全工程思想：</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>安全性（Security）</strong>产品有良好的抗攻击能力，保护业务和数据的机密性、完整性和可用性。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>韧性（Resilience）</strong>系统受攻击时保持有定义的运行状态，包括降级，以及遭遇攻击时快速恢复的能力。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>隐私性（Privacy</strong>）遵从隐私保护既是法律法规的要求，也是价值观的体现。用户应该能够适当地控制他们的数据的使用方式。信息的使用政策应该是对用户透明的。用户应该根据自己的需要来控制何时接收以及是否接收信息。用户的隐私数据要有完善的保护能力和机制。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><strong>可靠性和可用性（Reliability&amp; Availability）</strong>产品能在生命周期内长期保障业务无故障运行，具备快速恢复和自我管理的能力，提供可预期的、一致的服务。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    要转变观念，追求打造可信的高质量产品，不仅仅是功能、特性的高质量，也包括产品开发到交付过程的高质量；要从最基础的编码质量做起，视高质量代码为尊严和个人声誉；要深刻理解架构的核心要素，基于可信导向来进行架构与设计；要重构腐化的架构及不符合软件工程规范和质量要求的历史代码；要深入钻研软件技术，尤其是安全技术；要遵守过程的一致性；要改变行为习惯，追求精品；将通过变革形成一套适应上述变化的流程、组织与考核机制。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    互联网公司不要盲目追随DevSecOps文化，只有扎扎实实为用户交付安全的软件，才能从源头上解决安全问题。华为和互联网公司有什么不同呢？它所使用的技术除了云计算、大数据领域外，还会有SDN、5G、IoT，但是和互联网公司一样面临自己（和客户的）攻击面扩大，防护边界模糊、数据泄露风险、隐私保护的问题，华为在网络安全遇到的挑战更甚，面向产品的安全做得也不算差，安全方面专利超过1000件，加入CSA、TCG、TC260等多个安全标准组织、 获10+个主席/副主席安全组织席位。在国际市场上安全方面的应对措施无可挑剔。</p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>安全支撑组织架构</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  还记得，之前怼BBC记者的安迪·帕迪吗？他曾是负责网络安全的白宫高级官员，如今身为华为美国的首席安全官，他的上司John Suffolk是华为全球网络安全和隐私官，曾担任英国政府首席信息官。华为在全球有7个研发团队，此外还有两个专门投入安全研究的实验室。其中谢尔德实验室负责面向未来的安全技术的研究，未然实验室对攻防、渗透、漏洞挖掘、情报积累负责，还有云安全，2012都有安全实验室。不得不佩服华为竟然让外国人当安全大boss，对国外人才的开放透明精神彰显文化自信。<img data-ratio="0.5310344827586206" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1450" src="https://wechat2rss.xlab.app/img-proxy/?k=99164457&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIh1uSdcXpfS5NIjj7S5jG4mVZhHsI9kemic2ic56KgicP1ujkdPpYTFd1DWqib6Jyr7HzIstcDKUFAw%2F640%3Fwx_fmt%3Djpeg"/></p><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>SDL实践</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">  华为是卖产品的，所以主要风险从单产品到集成解决方案系统越来越复杂，以前单产品交付，只要关心安全需求问题、设计和开发引入的问题；逐步多产品交付除了要关心单产品的漏洞外，更要关注产品间的安全依赖，比如从网元到网管系统到本地维护终端到系统集成；后来为用户提供解决方案时，要解决业务功能漏洞、引入的标准化的技术、组件漏洞，设计层面的可信边界扩大、风险增加。华为的是SDL方面的老师，交付的大数据、云、IoT都要端到端有对应的安全解决方案，从初始概念到产品设计、开发、测试、生命周期管理，每个阶段产品的安全性都得到较好的实现：</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>需求<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">在产品概念阶段时，聚焦目标市场（如欧美、国内、俄罗斯）、客户（如终端、家庭用户），行业（如如基站、消费者、安防、云）的安全需求形成需求基线，识别产品需要交付的网络安全需求。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="2160" src="https://wechat2rss.xlab.app/img-proxy/?k=f31e3ef7&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIh1uSdcXpfS5NIjj7S5jGjxlvXSAHxM06XCzFePQCibJtXB6nJoOdrUoHs4ZfUiaYh263G5KdaXQg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">安全需求划分</figcaption></figure><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>设计<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">设计阶段遵循安全设计原则和设计规范，开展产品安全架构和特性设计。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.46471600688468157" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="2324" src="https://wechat2rss.xlab.app/img-proxy/?k=67c9704e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIh1uSdcXpfS5NIjj7S5jG8SGYxQGiaR55MtYYV1F609BDls79cfib9G1R01ialmbdUiaNWziaxdICtuA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">经典的安全设计</figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">这个时候微软的威胁建模体系还是可靠的：</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.41348973607038125" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1364" src="https://wechat2rss.xlab.app/img-proxy/?k=3df121c5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIh1uSdcXpfS5NIjj7S5jGtcIvibW57weluQvHOnT5f69rXRgXicgfPsbUUWiaSeq2U2P8cG7gp3HTA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">威胁建模，一个都不能少</figcaption></figure><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>开发阶段<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    以安全基线、规范、标准、指导书为基准，关注配置管理、交付安全、第三方软件安全是华为进行安全技术检查的checkpoint。遵循安全编码规范，并进行代码的安全扫描和人工检视，确保代码的安全质量。具体措施有安全编码规范里的安全培训、安全SDK、开发中的交叉review、核心代码组织专家开展专项检查、编译时使用安全编译选项。下面会详细讲到。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>上线前测试时<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    内部专职安全测试团队提前识别产品安全问题，并通过独立第三方对产品进行安全验证和渗透测试，确保产品交付的安全。内部构建安全测试用例库和安全测试平台，确保安全测试能力统一，降低漏测率，自动化执行安全测试用例，提升测试效率。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5089538171536286" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="2122" src="https://wechat2rss.xlab.app/img-proxy/?k=73a707b1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIh1uSdcXpfS5NIjj7S5jGvcPlLfnVBWVuaa2396PuZ3cEHC83yriceSgZmnQ9MpVMxCdKxcuAzeA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">安全测试流程</figcaption></figure><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>应急响应<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    上线后有对外通过PSIRT建立预警流程，对内通过工单跟踪解决。PSIRT负责接受、处理华为产品和解决方案相关的安全漏洞，同时华为PSIRT是公司对漏洞信息进行披露的唯一出口。内部漏洞由ctr处理。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>供应链安全<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    产品使用开源/第三方软件之前必须申请，发布前必须通过认证和审核，以确保来源可靠使用可追溯。第三方组件具备产品组件用途反查的能力，发现安全漏洞可迅速查找到关联产品。二进制溯源能力要求对线上版本的二进制，在指定镜像，指定源码下可以编译出来具备一致性。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.44226044226044225" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="2442" src="https://wechat2rss.xlab.app/img-proxy/?k=dfec38c3&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIh1uSdcXpfS5NIjj7S5jGYXZksX1W8TKeSpwwvdFUSN8abYfragkle1ZZwpvpxVNADZDLyNxpmA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">第三方组件引入机制</figcaption></figure><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>白盒代码扫描</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    《全面提升软件工程能力与实践》中提到“代码就像是高楼大厦的一砖一瓦，没有高质量的代码，可信的产品就是空中楼阁。我们要优化并遵循公司各种编程规范，遵从架构与设计原则，熟练使用各种编程库和API，编写出简洁、规范、可读性强、健壮安全的代码”。虽然近年华为因为美国禁令被Synopsys公司限制了不能再采购coverity，但是类似芯片，已经在代码扫描方面提前布局投入了足够多的资源。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    华为公司做安全编码的对标对象是什么呢？是谷歌、阿里、腾讯等国际大厂的安全编码质量规范，20亿美元的研发投入，高标准目标极其依赖于软件工程能力。下面来具体看下怎么实现累计支持7万亿行代码，日均扫描5万项目，扫描次数13万次，日均扫描313亿行代码，平均每小时扫描百万行，平均误报率小于10%的最佳实践：）</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>目标<span style="display: none;"></span></h3><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.38067632850241545" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="2070" src="https://wechat2rss.xlab.app/img-proxy/?k=39b8dfc1&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIh1uSdcXpfS5NIjj7S5jGD0WdBow3bZdnicHMFmKjlv8DJM8KVibmiceJibRuozD8yN5go0Cwib99npQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">要解决的问题</figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">   从目标可以看到华为的思考，目前华为的商业安全工具能力已经将部分的能力移植到华为的devsecops平台，白盒扫描是各项安全措施中效果最快的，但是软件安全没有银弹，根据gartner的报告，代码检查只能发现20%的安全漏洞，SAST和DAST共能发现40%的漏洞。规则是基于已知的策略的限制，或者依赖于功能业务逻辑不能发现问题，笔者认为也许阿里的PRECFIX是未来白盒扫描的方向。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>建设<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    如果说BAT将pmd、p3c、coverity、foritify视为单独的工具，华为建立的自研平台更类似于sonarqube的能力，工程经验是很值得大家学习的，扫描方面做了如下拆解：</p><section data-tool="mdnice编辑器" style="overflow-x: auto;"><table><thead><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><th style="border-top-width: 1px;border-color: rgb(204, 204, 204);text-align: left;background-color: rgb(240, 240, 240);min-width: 85px;">措施</th><th style="border-top-width: 1px;border-color: rgb(204, 204, 204);text-align: left;background-color: rgb(240, 240, 240);min-width: 85px;">说明</th></tr></thead><tbody style="border-width: 0px;border-style: initial;border-color: initial;"><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><td style="border-color: rgb(204, 204, 204);min-width: 85px;">工程拆分</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">将大工程拆分为小工程</td></tr><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: rgb(248, 248, 248);"><td style="border-color: rgb(204, 204, 204);min-width: 85px;">检查引擎拆分</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">按引擎拆分，并行扫描</td></tr><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><td style="border-color: rgb(204, 204, 204);min-width: 85px;">规则拆分</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">按规则拆分，并行扫描</td></tr><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: rgb(248, 248, 248);"><td style="border-color: rgb(204, 204, 204);min-width: 85px;">增量分析</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">只对变更部分扫描</td></tr><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><td style="border-color: rgb(204, 204, 204);min-width: 85px;">与构建协同</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">复用构建过程</td></tr><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: rgb(248, 248, 248);"><td style="border-color: rgb(204, 204, 204);min-width: 85px;">差异化调度</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">小规模拆分本地化扫描，减少调度开销</td></tr><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><td style="border-color: rgb(204, 204, 204);min-width: 85px;">多地域，就近调度</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">与代码仓库构建等服务就近部署，解决网络带宽问题</td></tr><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: rgb(248, 248, 248);"><td style="border-color: rgb(204, 204, 204);min-width: 85px;">缓存</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">避免代码每次下载</td></tr></tbody></table></section><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    规则方面支持owasp topN,CWE编码问题、GDPR风险排查、NVD已知漏洞排查。扫描架构如下：</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5075187969924813" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="2128" src="https://wechat2rss.xlab.app/img-proxy/?k=6beb26c9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIh1uSdcXpfS5NIjj7S5jGvOdBBSDgbeb7wEyBFOkCEn2qOfTGiatCMed8Rf3c7aYD3cAPCR80kcA%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">架构细节</figcaption></figure><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    防误报模型是为了提高缺陷修复的效率，所以对误报类增加了屏蔽处理自动继承、AI自动屏蔽、代码自动修复、智能修复建议。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>运营层面<span style="display: none;"></span></h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    上图中其他文字介绍基本上大家都懂，但是有个3*3运营是什么呢？</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    华为的员工有点像亚马逊，由一群并不是天才的软件工程师构成，虽然早期开发电信级的软件，也有使用cppcheck、checkstyle、cpplint这样的工具类代码检查功能。但是在这时候安全检查工具依赖于新员工入职时的口口相传，具体配置的规则在各个不同的bg、产品线是不同的，而这样原始的技术栈在编译构建完，再跨模块进行审查需要花费大量的时间，这也是SDL太重了的通病，3*3运营体系应运而生。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    3*3体系是指3级检查：IDE检查、门禁级检查、版本级检查。对开发人员在编码、入库、持续集成阶段对检测速度和能力的要求不同，在不同的阶段配置不同的检测规则，较好地兼顾了对检测时间和检测能力的要求。华为是同互联网公司不同的，现在开发的产品可能需要数年时间才面市，所以有时间在最后的大版本发布时，进行全面全量的检测。</p><section data-tool="mdnice编辑器" style="overflow-x: auto;"><table><thead><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><th style="border-top-width: 1px;border-color: rgb(204, 204, 204);text-align: left;background-color: rgb(240, 240, 240);min-width: 85px;"><br/></th><th style="border-top-width: 1px;border-color: rgb(204, 204, 204);text-align: left;background-color: rgb(240, 240, 240);min-width: 85px;">IDE</th><th style="border-top-width: 1px;border-color: rgb(204, 204, 204);text-align: left;background-color: rgb(240, 240, 240);min-width: 85px;">门禁</th><th style="border-top-width: 1px;border-color: rgb(204, 204, 204);text-align: left;background-color: rgb(240, 240, 240);min-width: 85px;">版本</th></tr></thead><tbody style="border-width: 0px;border-style: initial;border-color: initial;"><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><td style="border-color: rgb(204, 204, 204);min-width: 85px;">原则</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">快速、精准</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">快速、精准、增量</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">全面、全量</td></tr><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: rgb(248, 248, 248);"><td style="border-color: rgb(204, 204, 204);min-width: 85px;">检查效率</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">秒级</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">分钟级</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">小时级</td></tr><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><td style="border-color: rgb(204, 204, 204);min-width: 85px;">检查频道</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">随时</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">1次/代码提交</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">1次/天</td></tr></tbody></table></section><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    3层运营:产品、产品线、公司层。产品做具体产品的规则集，例行的工单、缺陷修复，产品线有制定产品线的规则要求，搭建运营平台和人员沟通机制，公司层负责构建总体的代码检测能力，规定，通过数据和服务，实现工具、规则的可视化运营。在扩展性方面，类似于Google的Tricorder，支持插件、引擎的、DSL的多项扩展，为云核、无线、网络等产品线提供能力。</p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;"><span style="display: none;"></span>代码权限管控<span style="display: none;"></span></h3><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.514246947082768" style="display: block;margin-right: auto;margin-left: auto;" data-type="jpeg" data-w="1474" src="https://wechat2rss.xlab.app/img-proxy/?k=25678624&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIh1uSdcXpfS5NIjj7S5jGLTdOJTqInpalmrxYeqNmnMXDbEIQEzmd28SicveFcDvTI3sFsRPaASg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: #888;font-size: 14px;">严格的管控措施</figcaption></figure><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>安全专家</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">    安全是奢饰品，没有钱搞什么SDL，华为专门针对安全的岗位配备了安全SE，简单贴一下JD看下要求吧，要点是华为拥有一大批这样的安全专家。职责描述：</p><ol data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">对软件版本安全设计质量负责，负责产品安全特性的分析与设计，对非安全特性的安全性设计进行把关。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">对公司及产品线下发和本产品/解决方案发生的安全设计问题组织分析排查，避免问题重犯。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">负责公司安全设计要求传递、安全漏洞应急响应技术分析。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">负责本产品/解决方案的安全设计能力提升，对特性SE开展安全设计培训。</section></li></ol><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">任职要求：</p><ol data-tool="mdnice编辑器" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;" class="list-paddingleft-2"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">熟悉安全设计流程和安全设计原则、典型安全架构。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">精通安全设计及威胁分析工具使用，熟悉常见的安全威胁及对应的消减方案。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">安全知识全面，具备安全管理，安全协议，密码算法，认证管理，会话管理、身份管理、隐私保护、可信计算相关能力。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">具备安全漏洞影响分析、漏洞挖掘、漏洞修复能力。</section></li></ol><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;"><span style="display: none;"></span>参考资料</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><a href="http://xinsheng.huawei.com/cn/index.php?app=forum&amp;mod=Detail&amp;act=index&amp;id=4134815" target="_blank">http://xinsheng.huawei.com/cn/index.php?app=forum&amp;mod=Detail&amp;act=index&amp;id=4134815</a>
<a href="https://www.guancha.cn/politics/2019_05_27_503288.shtml" target="_blank">https://www.guancha.cn/politics/2019_05_27_503288.shtml</a></p></section><p><br/></p><p><br/></p><section data-from="xmt-recommend" data-tools="新媒体排版"><a href="http://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804771&amp;idx=1&amp;sn=f5e24080e64234d55c76e6e1b0f12e02&amp;chksm=8445153db3329c2b7bb50ce88cf65f8f37e214403440a616b2152966720a3dc7188b01b1e374&amp;scene=21#wechat_redirect" target="_blank" style="width:100%;" data-linktype="2"><section style="white-space:nowrap;text-align:left;text-decoration:none;display:block;margin:16px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;box-shadow:rgba(0, 0, 0, 0.15) 0 0 12px 0;height:154px;">
									<section style="margin:0;bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;height:154px;">
										<section class="h5_image_link" style="width: 100%;height: 154px;background-size: cover;background-position: 50% center;background-image: url(&#34;https://mmbiz.qpic.cn/mmbiz_jpg/rrT9ZWSiaWadxeo2gfibJC0b3lP8JWqx9aQKHqFibXPSPLbtj8ibpOTsArHiaBydN4CD95azUIFYLJApib1FQDvR5XLQ/640?wx_fmt=jpeg&#34;);display: inherit;font-size: inherit;z-index: -1;"> </section>
										<section style="bottom:0;padding:5px 16px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:rgba(0,0,0,.5);color:#fff;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:16px;margin-top:-35px;">给Twitter设计个安全修复方案</section>
									</section>
								</section></a></section><section data-from="xmt-recommend" data-tools="新媒体排版"><a href="http://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804397&amp;idx=1&amp;sn=4f9810e4767d515cf8d1fd2d9c24a5f4&amp;chksm=84451bb3b33292a56c3f627599b83f3ad602cea7661b732054a94c4d4c01818c563b8262449c&amp;scene=21#wechat_redirect" target="_blank" style="width:100%;" data-linktype="2"><section style="white-space:nowrap;text-align:left;text-decoration:none;display:block;margin:16px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;box-shadow:rgba(0, 0, 0, 0.15) 0 0 12px 0;height:154px;">
									<section style="margin:0;bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;height:154px;">
										<section class="h5_image_link" style="width: 100%;height: 154px;background-size: cover;background-position: 50% center;background-image: url(&#34;https://mmbiz.qpic.cn/mmbiz_jpg/rrT9ZWSiaWac6Ej17HCv2wtztz4sibx52icrybvBa7xEvu0p1ia8UU2lyLxLxusMBvw8oxHwI4SGiaia9ZiaRxlfwhnjg/640?wx_fmt=jpeg&#34;);display: inherit;font-size: inherit;z-index: -1;"> </section>
										<section style="bottom:0;padding:5px 16px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:rgba(0,0,0,.5);color:#fff;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:16px;margin-top:-35px;">从微软、FB、华为的网络安全备忘录说开去</section>
									</section>
								</section></a></section><section data-from="xmt-recommend" data-tools="新媒体排版"><a href="http://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804367&amp;idx=1&amp;sn=adac476c51b2ecb8c8c77ba137414bb3&amp;chksm=84451b91b3329287f6e8244b43e113d77f3b03b5f9c34c72e0a381db4b0a06c1d77382d6c3b6&amp;scene=21#wechat_redirect" target="_blank" style="width:100%;" data-linktype="2"><section style="white-space:nowrap;text-align:left;text-decoration:none;display:block;margin:16px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:4px;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;box-shadow:rgba(0, 0, 0, 0.15) 0 0 12px 0;height:154px;">
									<section style="margin:0;bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;height:154px;">
										<section class="h5_image_link" style="width: 100%;height: 154px;background-size: cover;background-position: 50% center;background-image: url(&#34;https://mmbiz.qpic.cn/mmbiz_jpg/rrT9ZWSiaWadwUrLOGSmlMnMDdjeQw2hWE6llNPfuhH8c8KvWoTKcIrhwmAe3x7fkqlo2bPibibyxBTOuiaK6rlnSQ/640?wx_fmt=jpeg&#34;);display: inherit;font-size: inherit;z-index: -1;"><br/></section><section class="h5_image_link" style="width: 100%;height: 154px;background-size: cover;background-position: 50% center;background-image: url(&#34;https://mmbiz.qpic.cn/mmbiz_jpg/rrT9ZWSiaWadwUrLOGSmlMnMDdjeQw2hWE6llNPfuhH8c8KvWoTKcIrhwmAe3x7fkqlo2bPibibyxBTOuiaK6rlnSQ/640?wx_fmt=jpeg&#34;);display: inherit;font-size: inherit;z-index: -1;"><br/></section><section class="h5_image_link" style="width: 100%;height: 154px;background-size: cover;background-position: 50% center;background-image: url(&#34;https://mmbiz.qpic.cn/mmbiz_jpg/rrT9ZWSiaWadwUrLOGSmlMnMDdjeQw2hWE6llNPfuhH8c8KvWoTKcIrhwmAe3x7fkqlo2bPibibyxBTOuiaK6rlnSQ/640?wx_fmt=jpeg&#34;);display: inherit;font-size: inherit;z-index: -1;"><br/></section><section class="h5_image_link" style="width: 100%;height: 154px;background-size: cover;background-position: 50% center;background-image: url(&#34;https://mmbiz.qpic.cn/mmbiz_jpg/rrT9ZWSiaWadwUrLOGSmlMnMDdjeQw2hWE6llNPfuhH8c8KvWoTKcIrhwmAe3x7fkqlo2bPibibyxBTOuiaK6rlnSQ/640?wx_fmt=jpeg&#34;);display: inherit;font-size: inherit;z-index: -1;"> </section>
										<section style="bottom:0;padding:5px 16px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:rgba(0,0,0,.5);color:#fff;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:16px;margin-top:-35px;">【翻译】英国HCSEC对华为产品安全方面的调查报告</section>
									</section>
								</section></a></section><ul class="list-paddingleft-2" style="max-width: 100%;font-family: -apple-system-font, system-ui, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;width: 577.422px;font-size: 16px;text-align: left;background-color: rgb(255, 255, 255);overflow-wrap: break-word !important;"><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;color: rgba(0, 0, 0, 0.85);max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">周年赠书福利</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;max-width: 100%;min-height: 1em;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;font-weight: bolder;box-sizing: border-box !important;overflow-wrap: break-word !important;">参与方式一</span>：点击下方抽奖小程序，关注公众号 安全乐观主义，将本文转发到朋友圈和微信看一看即可参与！公众号后台将随机抽选取幸运用户，每人赠书一本！</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;max-width: 100%;min-height: 1em;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;font-weight: bolder;box-sizing: border-box !important;overflow-wrap: break-word !important;">参与方式二</span>：为本公众号投稿一篇安全相关的文章，内容形式不限，即可获得赠书一本！赶快参与起来吧~</p></ul><p><br/></p><p><a class="weapp_image_link js_weapp_entry" data-miniprogram-appid="wx4692f08fa6ad3bc2" data-miniprogram-path="pages/lottery/detail/detail?lid=2A6GZHK" data-miniprogram-nickname="活动抽奖" href="" data-miniprogram-type="image" data-miniprogram-servicetype=""><img class="rich_pages" data-ratio="0.8" data-s="300,640" style="" data-type="jpeg" data-w="630" src="https://wechat2rss.xlab.app/img-proxy/?k=f8421a33&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWaeIh1uSdcXpfS5NIjj7S5jGUYnJIicoQLS6zoUjibrz3evGZfqBWWUW5IZqjgOsxcIVicqCjibcTmn5xw%2F640%3Fwx_fmt%3Djpeg"/></a></p><p style="text-align: center;"><img class="rich_pages" data-ratio="1" data-s="300,640" style="" data-type="jpeg" data-w="600" src="https://wechat2rss.xlab.app/img-proxy/?k=b2be6a91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafIbx9xLXQob7gUXll6kdcicUqGYduYY9ibBEic1ibCmbyNGDbZ3Z7RgvSAibRrodrWqB7x3JCxFnrnia3Q%2F640%3Fwx_fmt%3Djpeg"/></p>



<p><a href="2447804789">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=995a3bc9&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447804789%26idx%3D1%26sn%3Dd3807534a20e9983f85fb3a881b1b4f9%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Tue, 21 Jul 2020 20:46:00 +0800</pubDate>
    </item>
    <item>
      <title>给Twitter设计个安全修复方案</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804771&amp;idx=1&amp;sn=f5e24080e64234d55c76e6e1b0f12e02</link>
      <description>不要神化国外的安全建设Twitter的苦衷要解决的问题设计安全方案的原则访问控制架构注意事项不要神化国外的安</description>
      <content:encoded><![CDATA[<p>
原创 <span>Ramos</span> <span>2020-07-20 08:03</span> <span style="display: inline-block;"></span>
</p>

<p>不要神化国外的安全建设Twitter的苦衷要解决的问题设计安全方案的原则访问控制架构注意事项不要神化国外的安</p>
<p></p>



<p>
<img src="https://wechat2rss.xlab.app/img-proxy/?k=6a93c30c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadxeo2gfibJC0b3lP8JWqx9aQKHqFibXPSPLbtj8ibpOTsArHiaBydN4CD95azUIFYLJApib1FQDvR5XLQ%2F0%3Fwx_fmt%3Djpeg"/>
</p>


<section style="display: none;" data-tools="新媒体管家" data-label="powered by xmt.cn"><br/></section><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><p><br/></p></section><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="padding-right: 10px;padding-left: 10px;font-size: 16px;color: black;line-height: 1.6;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;"><ul class="list-paddingleft-2" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;width: 557.438px;"><li><p>不要神化国外的安全建设</p></li><ul class="list-paddingleft-2" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;width: 531.891px;list-style-type: square;"><li><p>Twitter的苦衷</p></li><li><p>要解决的问题</p></li></ul><li><p>设计安全方案的原则</p></li><li><p>访问控制架构</p></li><li><p>注意事项<span style="letter-spacing: 0px;"></span></p></li></ul><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;">不要神化国外的安全建设</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">安全做的不差的NetFlix（参考<a target="_blank" href="http://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804723&amp;idx=1&amp;sn=1b5426539ed9b13b74b5fdfc82ada09a&amp;chksm=8445156db3329c7b115058868c3cc5cad4fb01f4e897ccf454fe1552a861d321f105568771e8&amp;scene=21#wechat_redirect" data-itemshowtype="0" tab="innerlink" data-linktype="2">Netflix的DevSecOps最佳实践</a>），因为财报不理想最近股价大跌，Twitter有高危漏洞但是股价并未受影响，更加说明了笔者的论断：企业业务发展远比安全风险给股价带来的长期影响重要.....</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">此类漏洞举一反三TSRC（参考<a target="_blank" href="http://mp.weixin.qq.com/s?__biz=MjM5NzE1NjA0MQ==&amp;mid=2651202224&amp;idx=1&amp;sn=5e44a0350ab140a201666c1a87f70445&amp;chksm=bd2cc7168a5b4e008318111f45b444dc0eb1546f97e6405cd8201b2f8b981709bbd031e0f57d&amp;scene=21#wechat_redirect" data-itemshowtype="0" tab="innerlink" data-linktype="2">企业安全建设 丨 当我们在谈论推特安全事件时，我们在谈论什么？</a>）给出的解决办法是一、内部系统需要零信任；二、权限类收敛采用框架集成全链路票据，数据操作层集中验票的，想来在腾讯完全落地有难度，也不能让Twitter快速解决问题。笔者看到Twitter内部这么久还没闭环，作为美国股市精神股东真替他们捉急。：）</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">根据最新的媒体报告，Twitter认为此次漏洞原因是”公司检测到了一次协同式社交工程攻击，发动者成功锁定了一些具有访问内部系统和工具权限的Twitter员工。黑客利用这些访问权限控制了许多知名账号和密码，之后便使用其账号发布关于比特币的动态。“，属于内部的人为失误\蓄意破坏\信息窃取这一类风险。上一次出类似的事情是前亚马逊工程师Paige Thompson 被指控利用工作方便来访问Amazon云服务上的Capital One服务器。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Twitter的市值只是1/48个谷歌，1/2个百度，市值决定安全的投入，不能盲目崇拜国外科技公司的安全建设。从历史反复漏洞披露的信息看到，Twitter内部存在不少历史安全问题。黑客简单社工后即可完全控制内部系管理统，利用内部权限可以控制用户Twitter账户，无审核机制，直接修改邮件重置密码，用户信息无隐私保护和数据脱敏。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.5049928673323824" style="margin-right: auto;margin-left: auto;display: block;" data-type="jpeg" data-w="1402" src="https://wechat2rss.xlab.app/img-proxy/?k=a385b64c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadxeo2gfibJC0b3lP8JWqx9ajMRicaKAmzQBbWcxt9dibOGr7Jv3E6C2X6OnMTLUjhtVLbNhC55yapaQ%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 14px;">疑似被攻击的后台面板</figcaption></figure><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;">Twitter的苦衷</h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">Twitter案例中关键突破点是内部系统的高权限被社工或收买了。内部应用通常会涉及敏感数据或功能，例如用于生产系统的调试面板、账户管理系统或具有敏感公司数据的数据流和机器学习模型。Twitter安全性做的不好，是因为：</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">一、现有的商用防护方案又难以覆盖，传统的基于网络、员工身份的隔离方案完全不适用。不能仅仅将这些内部应用程序通过防火墙隔离，网络隔离仍然有可能会被意外配置暴露在公网，而且外部攻击者仍可通过XSS+CSRF或SSRF组合拳攻击，或者通过内网环境中已经隐藏攻击者（黑客或内部人员）。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">二、这类问题一般并视为运维安全和办公网安全和开发安全的三者责任间。与生产环境相比，内部应用程序通常会被安全团队有意无意的忽略，安全团队反馈的吐槽是两个大问题：这类系统太多了，属于历史遗留问题；开发语言多样，没有统一的解决方案。</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">三、安全人员不足：Twitter的安全招聘信息已经挂了两个月了，看来还是缺人惹的祸。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.9007506255212677" style="margin-right: auto;margin-left: auto;display: block;" data-type="jpeg" data-w="1199" src="https://wechat2rss.xlab.app/img-proxy/?k=f64bfe0c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadxeo2gfibJC0b3lP8JWqx9a4RR47FFtQs396gntnRogbILGo2bjWx7ymdiaWicyXs4aHao73bM6EQtg%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 14px;">推特招安全人员的JD是两个月前的</figcaption></figure><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;">要解决的问题</h3><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">所以说现在的攻防趋势是技术上直接攻击越来越难，黑客转而关注间接从内部获取权限，并不仅仅遵循从internert-dmz-db存储的方式，走向了internert-内部用户或内部系统-信任关系-db存储。线上的生产环境经过了白帽子反复蹂躏，基本做到了符合安全基线，背后的开发语言、应用框架、资产管理是相对完善的。但是内部的私搭乱建，各种员工机器的的CI|CD系统，重要的内部服务系统，就有五花八门的开发语言，技术和风险了。</p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><img data-ratio="0.7091690544412608" style="margin-right: auto;margin-left: auto;display: block;" data-type="jpeg" data-w="1396" src="https://wechat2rss.xlab.app/img-proxy/?k=f0a9efdc&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadxeo2gfibJC0b3lP8JWqx9aV93urZXHNQUdyUTC0Zibqax4Khe1icaoHCBicndn1DcVXfKpJmlazZy9Q%2F640%3Fwx_fmt%3Djpeg"/><figcaption style="margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 14px;">间接攻击示意图</figcaption></figure><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;">设计安全方案的原则</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;">风险是普遍了，问题是需要复盘的。假设我们要防御类似于Twitter这样的攻击，需要安全建设的理念是：</p><ul data-tool="mdnice编辑器" class="list-paddingleft-2" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;width: 557.438px;"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">不是ServiceMesh架构不能照搬lstio方案</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">防御方案应该是可扩展的，并且兼容后端的技术栈。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">结合软件开发和发布流程</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">设计出色的技术解决方案还不够，落地才是</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);">应用防御措施时，安全团队和开发项目组都需要参与进来</section></li></ul><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;">访问控制架构</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;line-height: 26px;"><img data-ratio="0.7697790449037776" style="margin-right: auto;margin-left: auto;display: block;" data-type="jpeg" data-w="1403" src="https://wechat2rss.xlab.app/img-proxy/?k=3c4fca14&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadxeo2gfibJC0b3lP8JWqx9aZxvrKBZ7anCyojUJhtSUhznAHFibGCRyWMeJd4EaNiadQWvLtGwCibE1A%2F640%3Fwx_fmt%3Djpeg"/>以上是成形的架构。具体的解决办法是分为五步走：</p><ol data-tool="mdnice编辑器" class="list-paddingleft-2" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;width: 557.438px;"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">设置中间层代理</strong>，以往员工直接单独访问内部系统进行操作，危害性参考有：无网络隔离直接访问内部系统 里面可能包含未脱敏信息 缺少鉴权机制 这时候加个访问层的代理是解决问题的第一步。加入代理的好处多多，可以收敛入口，设置网络隔离，访问系统管理。一切的机制是在隔层的代理上做，代理的形式可以是api网关、统一portal。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">传输层加密</strong>。在准备推进代理的时候，不用等系统开发完成，可以调研引入全链路的tls进行传输层的加密。这里的理由有两个：Twitter这样和客户隐私强相关的企业，必须要防止内部网络层的窃听，每一层的安全措施都要做到底。借鉴google自研的ALTS，参考<a href="https://cloud.google.com/security/encryption-in-transit/application-layer-transport-security?hl=zh-cn" target="_blank">https://cloud.google.com/security/encryption-in-transit/application-layer-transport-security?hl=zh-cn</a>  或者FaceBook的方案 <a href="https://engineering.fb.com/security/service-encryption/" target="_blank">https://engineering.fb.com/security/service-encryption/</a> ，保证应用传输的安全，借用pki证书或者Kerberos机制可以用来表示服务的身份模型，而且具备极强的架构伸缩性。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">做到访问的统一收口</strong>，基于代理开发sso+u2f的机制做到访问的统一收口，逐步梳理系统让加入此机制。u2f机制一定层面上杜绝密码猜解、调用、离职员工访问的途径，后续添加FIDO等零信任访问控制措施。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">收敛员工的使用新版浏览器</strong>，前后端加入监控，日志，埋点，行为检测等功能，由运营风险分析（ORA）团队处置审计。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong>代理添加通用CSRF保护（添加SameSitecookie标志）和XSS保护（Content-Security-Policy标头+随机数），设置内网waf。</strong>比如攻击者有个xss，可以使用csrf获取内部系统信息，这个时候在代理层设置csrf策略，对防护者成本极低，内部应用也无感知，但是收敛面向内部高权限人员xss的危害收益极高。内网的waf听起来会受到的接入阻力较多，但是内网场景固定，干扰项少，实际上内网waf的误报会很少，没有很多的噪音。</section></li></ol><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;">注意事项</h2><h2 data-tool="mdnice编辑器" style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);padding-right: 10px;padding-left: 10px;font-size: 16px;letter-spacing: 0px;word-break: break-word;overflow-wrap: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &#34;PingFang SC&#34;, Cambria, Cochin, Georgia, Times, &#34;Times New Roman&#34;, serif;">拍脑袋出具安全方案不是问题，落地有防护效果才是，以下是几个要注意的点：</h2><ol data-tool="mdnice编辑器" class="list-paddingleft-2" style="margin-top: 8px;margin-bottom: 8px;padding-left: 25px;width: 557.438px;"><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">安全需联合技术团队合作开发维护代理层</strong>，并在出现问题随时响应。有数字取证，安全工程或隐私工程方面的技术经验很重要，有维护高可用、系统稳定性运营经验的团队更重要！</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">基于存量系统增加安全防护系统首先要考虑可维护性</strong>，可用性高于安全性，一定要避免出case。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong>在不影响业务运营的时候同步进行开发和部署。</strong>理想情况下，如果代理服务器出现故障，背后存在关键系统，会阻止正常工作，假设如果代理后面有堡垒机，则如果代理发生故障，将再也无法再登录堡垒机故障排除......</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">推进的节奏不用全面收敛，优先关注高危的风险。</strong> 如何确定要收敛的风险范围做到不遗漏呢？内部多打就好了。</section></li><li><section style="margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);"><strong style="color: black;">向上管理。</strong>这个框架可以帮助确定Twitter距离谷歌的差距在哪里，未来的安全投资方向是什么。有基于事件驱动的安全不可怕，没有将策略传达给高级管理层才可怕。笔者这里提供个简单的示例，点击可右移滑动：</section></li></ol><section data-tool="mdnice编辑器" style="overflow-x: auto;"><table><thead><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><th style="border-top-width: 1px;border-color: rgb(204, 204, 204);background-color: rgb(240, 240, 240);text-align: left;min-width: 85px;"><br/></th><th style="border-top-width: 1px;border-color: rgb(204, 204, 204);background-color: rgb(240, 240, 240);text-align: left;min-width: 85px;">定义</th><th style="border-top-width: 1px;border-color: rgb(204, 204, 204);background-color: rgb(240, 240, 240);text-align: left;min-width: 85px;">防御</th><th style="border-top-width: 1px;border-color: rgb(204, 204, 204);background-color: rgb(240, 240, 240);text-align: left;min-width: 85px;">检测</th><th style="border-top-width: 1px;border-color: rgb(204, 204, 204);background-color: rgb(240, 240, 240);text-align: left;min-width: 85px;">响应</th><th style="border-top-width: 1px;border-color: rgb(204, 204, 204);background-color: rgb(240, 240, 240);text-align: left;min-width: 85px;">恢复</th></tr></thead><tbody style="border-width: 0px;border-style: initial;border-color: initial;"><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><td style="border-color: rgb(204, 204, 204);min-width: 85px;">需要让哪些团队参与</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">账户、运维</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">社会工程学</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">异地登录、xss、异常感知</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">应急流程、公关</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">恢复异常账户</td></tr><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: rgb(248, 248, 248);"><td style="border-color: rgb(204, 204, 204);min-width: 85px;">必须构建什么技术</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">开发流程、数据安全技术</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">培训、邮件网关、零信任</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">身份认证、行为检测</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">工单、操作审计</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">私信、公告板</td></tr><tr style="border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;"><td style="border-color: rgb(204, 204, 204);min-width: 85px;">创建什么流程</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">背景调查，安全顾问理事会</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">培训机制</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">应急响应流程，知识库</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">应急响应流程</td><td style="border-color: rgb(204, 204, 204);min-width: 85px;">媒体应急发布流程</td></tr></tbody></table></section></section><p><br/></p><p>推荐阅读：<br/></p><section data-from="xmt-recommend" data-tools="新媒体排版"><a href="http://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804693&amp;idx=1&amp;sn=681a556976fb8a04af3b2fbd69f3a429&amp;chksm=8445154bb3329c5da1c179b3783036c9146c4ac1c0c5c342e5cb6547fddba6a8838db9d61979&amp;scene=21#wechat_redirect" target="_blank" data-linktype="2" style="width: 100%;"><section style="margin: 16px;text-align: left;border-radius: 4px;box-sizing: border-box;overflow: hidden;box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 12px 0px;height: 154px;"><section style="bottom: 0px;box-sizing: border-box;text-overflow: ellipsis;overflow: hidden;width: 546px;height: 154px;"><section class="h5_image_link" style="font-size: inherit;display: inherit;width: 546px;height: 154px;background-size: cover;background-position: 50% center;background-image: url(&#34;https://mmbiz.qpic.cn/mmbiz_jpg/rrT9ZWSiaWafXrBrPBTxsjYThL0scyraVxrnFmzgjKo6LyOQnffZvdxtcaMV3oQDnIEFEichVRzXm0hk0FOX7vdw/640?wx_fmt=jpeg&#34;);z-index: -1;"> </section><section style="margin-top: -35px;padding: 5px 16px;bottom: 0px;width: 546px;box-sizing: border-box;background-color: rgba(0, 0, 0, 0.5);color: rgb(255, 255, 255);text-overflow: ellipsis;overflow: hidden;font-size: 16px;">安全漏洞？是时候抄底Twitter股票了</section></section></section></a></section><section data-from="xmt-recommend" data-tools="新媒体排版"><a href="http://mp.weixin.qq.com/s?__biz=MzA5Mzg3NTUwNQ==&amp;mid=2447804639&amp;idx=1&amp;sn=76e00b4854560731a9b4cd181ba70ecc&amp;chksm=84451481b3329d97971a9a8ad3dbbcadd561f8de559ef572e71987ae9166fcb635d2a8ab7136&amp;scene=21#wechat_redirect" target="_blank" data-linktype="2" style="width: 100%;"><section style="margin: 16px;text-align: left;border-radius: 4px;box-sizing: border-box;overflow: hidden;box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 12px 0px;height: 154px;"><section style="bottom: 0px;box-sizing: border-box;text-overflow: ellipsis;overflow: hidden;width: 546px;height: 154px;"><section class="h5_image_link" style="font-size: inherit;display: inherit;width: 546px;height: 154px;background-size: cover;background-position: 50% center;background-image: url(&#34;https://mmbiz.qpic.cn/mmbiz_jpg/rrT9ZWSiaWadY1p5iaxQJCKuCBJhYzJvvibu8icI6Tv3U2VpGkhktAmSOoMMKt4LBCecBAroiaW7Pxm0bDx4OFzMdibA/640?wx_fmt=jpeg&#34;);z-index: -1;"> </section><section style="margin-top: -35px;padding: 5px 16px;bottom: 0px;width: 546px;box-sizing: border-box;background-color: rgba(0, 0, 0, 0.5);color: rgb(255, 255, 255);text-overflow: ellipsis;overflow: hidden;font-size: 16px;">浅谈漏洞修复的方法论</section></section></section></a></section><ul class="list-paddingleft-2" style="width: 577.422px;max-width: 100%;font-size: 16px;text-align: left;white-space: normal;font-family: -apple-system-font, system-ui, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);overflow-wrap: break-word !important;"><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 22px;color: rgba(0, 0, 0, 0.85);max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">周年赠书福利</h2><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;max-width: 100%;min-height: 1em;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;font-weight: bolder;box-sizing: border-box !important;overflow-wrap: break-word !important;">参与方式一</span>：点击下方抽奖小程序，关注公众号 安全乐观主义，将本文转发到朋友圈和微信看一看即可参与！公众号后台将随机抽选取幸运用户，每人赠书一本！</p><p data-tool="mdnice编辑器" style="padding-top: 8px;padding-bottom: 8px;max-width: 100%;min-height: 1em;line-height: 26px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;font-weight: bolder;box-sizing: border-box !important;overflow-wrap: break-word !important;">参与方式二</span>：为本公众号投稿一篇安全相关的文章，内容形式不限，即可获得赠书一本！赶快参与起来吧~</p></ul><p><a class="weapp_image_link js_weapp_entry" data-miniprogram-appid="wx4692f08fa6ad3bc2" data-miniprogram-path="pages/lottery/detail/detail?lid=8MXVKB3" data-miniprogram-nickname="活动抽奖" href="" data-miniprogram-type="image" data-miniprogram-servicetype="" href=""><img class="rich_pages" data-ratio="0.8" data-s="300,640" data-w="630" data-type="jpeg" src="https://wechat2rss.xlab.app/img-proxy/?k=d6fde64e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWadxeo2gfibJC0b3lP8JWqx9akWVcBF2Vt8EpqILDhcG8xicT7WpeXFrMFPG8QWMicBqFDVibLzS7fAsRQ%2F640%3Fwx_fmt%3Djpeg"/></a></p><p style="text-align: center;"><img class="rich_pages" data-ratio="1" data-s="300,640" data-w="600" data-type="jpeg" src="https://wechat2rss.xlab.app/img-proxy/?k=b2be6a91&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FrrT9ZWSiaWafIbx9xLXQob7gUXll6kdcicUqGYduYY9ibBEic1ibCmbyNGDbZ3Z7RgvSAibRrodrWqB7x3JCxFnrnia3Q%2F640%3Fwx_fmt%3Djpeg"/></p>



<p><a href="2447804771">阅读原文</a></p>
<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=bae7b2b1&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA5Mzg3NTUwNQ%3D%3D%26mid%3D2447804771%26idx%3D1%26sn%3Df5e24080e64234d55c76e6e1b0f12e02%26subscene%3D0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 20 Jul 2020 08:03:00 +0800</pubDate>
    </item>
  </channel>
</rss>