关于 building-patch-tuesday-response-process
该技能为安全团队和 IT 运维团队提供 Microsoft Patch Tuesday 补丁响应流程,涵盖公告分级、分批测试部署及修复验证。
主要功能
- 01补丁风险分级与响应时限
- 02按部署环分批测试和发布
- 03补丁后漏洞扫描与合规报告
适用场景
- 01制定每月 Microsoft 补丁处理流程
- 02优先处理零日和已遭利用漏洞
- 03核验部署结果并整理合规状态
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ mukul975/ anthropic-cybersecurity-skills --skill building-patch-tuesday-response-process安装后在 Claude Code 中输入/building-patch-tuesday-response-process确认已加载。
包含的文件
除 SKILL.md 外,安装时一起下载的参考资料和脚本。
LICENSEassets/template.mdreferences/api-reference.mdstandards.mdworkflows.mdscripts/agent.pyprocess.py详细介绍
构建补丁星期二响应流程
概述
Microsoft 在每月第二个星期二发布安全更新(“补丁星期二”),修复 Windows、Office、Exchange、SQL Server、Azure 服务及其他产品中的漏洞。2025 年,Microsoft 全年修复了超过 1,129 个漏洞——较 2024 年增长 11.9%——因此结构化的响应流程至关重要。主要风险类型包括权限提升(49%)、远程代码执行(34%)和信息泄露(7%)。本技能涵盖构建可重复的补丁星期二响应工作流,从初始公告审查到测试、部署和验证。
何时使用
- 在环境中部署或配置构建补丁星期二响应流程能力时
- 建立与合规要求一致的安全控制时
- 为该领域构建或改进安全架构时
- 执行需要此实施的安全评估时
前置条件
- 可访问 Microsoft 安全响应中心(MSRC)更新指南
- 漏洞管理平台(Qualys VMDR、Rapid7、Tenable)
- 补丁部署基础设施(WSUS、SCCM/MECM、Intune 或第三方)
- 镜像生产配置的测试环境
- 变更管理流程(基于 ITIL 或同等标准)
- 用于跨团队协调的沟通渠道
核心概念
补丁星期二时间线
| 日期 | 活动 | 负责人 |
|---|---|---|
| T+0(星期二太平洋时间上午 10 点) | Microsoft 发布补丁和公告 | Microsoft |
| T+0(星期二下午) | 安全团队审查公告并分类 | 安全运营 |
| T+1(星期三) | Qualys/厂商扫描签名更新 | 漏洞管理平台 |
| T+1-T+2 | 为零日漏洞部署紧急补丁 | IT 运营 |
| T+2-T+5 | 在预发布环境中测试补丁 | QA/IT 运营 |
| T+5-T+7 | 部署到试点组(设备群的 5-10%) | IT 运营 |
| T+7-T+14 | 部署到生产环 1(服务器) | IT 运营 |
| T+14-T+21 | 部署到生产环 2(工作站) | IT 运营 |
| T+21-T+30 | 验证扫描和合规报告 | 安全运营 |
补丁分类框架
| 类别 | 标准 | 响应 SLA |
|---|---|---|
| 零日 / 已被利用 | 已确认主动利用,列入 CISA KEV | 24-48 小时 |
| 严重 RCE | CVSS >= 9.0,远程代码执行,无需认证 | 3-5 天 |
| 严重且存在利用 | 公开利用代码或 EPSS > 0.7 | 7 天 |
| 高危 | CVSS 7.0-8.9,权限提升 | 14 天 |
| 中危 | CVSS 4.0-6.9 | 30 天 |
| 低危 / 信息性 | CVSS < 4.0,纵深防御 | 下一个维护窗口 |
需监控的 Microsoft 产品类别
| 类别 | 产品 | 风险级别 |
|---|---|---|
| Windows 操作系统 | Windows 10、11、Server 2016-2025 | 严重 |
| Exchange Server | Exchange 2016、2019、Online | 严重 |
| SQL Server | SQL 2016-2022 | 高 |
| Office 套件 | Microsoft 365、Office 2019-2024 | 高 |
| .NET Framework | .NET 4.x、.NET 6-9 | 中 |
| Azure 服务 | Azure AD、Entra ID、Azure Stack | 高 |
| Edge/浏览器 | Edge Chromium、IE 模式 | 中 |
| 开发工具 | Visual Studio、VS Code | 低 |
工作流
步骤 1:补丁星期二前准备(前一个星期一)
Preparation Checklist:
[ ] Confirm WSUS/SCCM sync schedules are active
[ ] Verify test environment is available and current
[ ] Review outstanding patches from previous month
[ ] Confirm monitoring dashboards are operational
[ ] Pre-stage communication templates
[ ] Ensure rollback procedures are documented
[ ] Verify backup jobs ran successfully on critical servers
步骤 2:当日分类(补丁星期二)
Triage Process:
1. Monitor MSRC Update Guide (https://msrc.microsoft.com/update-guide)
2. Review Microsoft Security Blog for advisory summaries
3. Cross-reference with CISA KEV additions (same day)
4. Check vendor advisories (Qualys, Rapid7, CrowdStrike analysis)
5. Identify zero-day and actively exploited vulnerabilities
6. Classify each CVE by severity and applicability
7. Determine deployment rings and timeline for each patch
8. Submit emergency change request for zero-day patches
9. Communicate triage results to IT Operations and management
步骤 3:扫描与差距分析
# Post-Patch-Tuesday scan workflow
def run_patch_tuesday_scan(scanner_api, target_groups):
"""Trigger vulnerability scans after Patch Tuesday updates."""
for group in target_groups:
print(f"[*] Scanning {group['name']}...")
scan_id = scanner_api.launch_scan(
target=group["targets"],
template="patch-tuesday-focused",
credentials=group["creds"]
)
print(f" Scan launched: {scan_id}")
# Wait for scan completion, then generate report
results = scanner_api.get_scan_results(scan_id)
missing_patches = [r for r in results if r["status"] == "missing"]
# Categorize by Patch Tuesday release
current_month = [p for p in missing_patches
if p["vendor_advisory_date"] >= patch_tuesday_date]
return {
"total_missing": len(missing_patches),
"current_month": len(current_month),
"zero_day": [p for p in current_month if p.get("actively_exploited")],
"critical": [p for p in current_month if p["cvss"] >= 9.0],
}
步骤 4:基于环的部署策略
Ring 0 - Emergency (0-48 hours):
Scope: Zero-day and actively exploited CVEs only
Method: Manual or targeted push (SCCM expedite)
Targets: Internet-facing servers, critical infrastructure
Approval: Emergency change, verbal CISO approval
Rollback: Immediate rollback if service degradation
Ring 1 - Pilot (Day 2-7):
Scope: All critical and high patches
Method: WSUS/SCCM automatic deployment
Targets: IT department machines, test group (5-10%)
Approval: Standard change with CAB notification
Monitoring: 48-hour soak period, check for BSOD, app crashes
Ring 2 - Production Servers (Day 7-14):
Scope: All security patches
Method: SCCM maintenance windows (off-hours)
Targets: Production servers by tier
Approval: Standard change with CAB approval
Monitoring: Application health checks, performance baseline
Ring 3 - Workstations (Day 14-21):
Scope: All security patches + quality updates
Method: Windows Update for Business / Intune
Targets: All managed workstations
Approval: Pre-approved standard change
Monitoring: Help desk ticket monitoring for issues
Ring 4 - Stragglers (Day 21-30):
Scope: Catch remaining unpatched systems
Method: Forced deployment with restart
Targets: Systems that missed prior rings
Approval: Compliance-driven enforcement
步骤 5:验证与报告
Post-Deployment Validation:
1. Re-scan environment with updated vulnerability signatures
2. Compare pre-patch and post-patch scan results
3. Calculate patch compliance rate per ring and department
4. Identify failed patches and investigate root causes
5. Generate compliance report for management review
6. Update risk register with residual unpatched vulnerabilities
7. Document exceptions and compensating controls
最佳实践
- 订阅 MSRC 通知和供应商分析博客,以获取早期情报
- 维护一个专门的 Patch Tuesday 作战室或 Slack/Teams 频道
- 始终在正常的环计划之外修补零日漏洞
- 在广泛部署之前,针对关键业务应用程序测试补丁
- 逐月跟踪补丁合规性指标,以进行趋势分析
- 为每个部署环维护回滚流程
- 与应用程序所有者协调进行兼容性测试
- 记录所有例外情况,包括补偿性控制和审查日期
常见陷阱
- 在没有基于环的测试的情况下同时部署所有补丁
- 修补后未进行扫描以验证修复效果
- 在没有基于风险优先级排序的情况下同等对待所有补丁
- 忽略累积更新依赖关系,导致补丁失败
- 未在维护窗口内考虑服务器重启要求
- 未能向业务利益相关者传达补丁状态
相关技能
- implementing-rapid7-insightvm-for-scanning
- performing-cve-prioritization-with-kev-catalog
- implementing-vulnerability-remediation-sla
- implementing-patch-management-workflow
评论
支持 Markdown