跳到正文
Skillpedia
安全35k · #8095

implementing-patch-management-workflow

它能做什么

这个技能可以帮你梳理电脑和系统的软件更新流程,确保更新安全、高效地完成,从而防范故障和攻击。

适用场景

  • ✓当你要让系统自动接收更新时。
  • ✓当你要规划如何测试和发布新更新时。
  • ✓当你需要确认系统已防护已知漏洞时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-patch-management-workflow/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-patch-management-workflow/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“如何设置系统,让更新在应用到所有电脑之前先经过测试?”

每周 5 个新技能,1 分钟读完。

工作原理

这个技能会介绍一套分步骤的更新管理流程,包括:确定需要哪些更新,在安全环境中测试,然后逐步推送到所有系统。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Implementing Patch Management Workflow

Overview

Patch management is the systematic process of identifying, testing, deploying, and verifying software updates to remediate vulnerabilities across an organization's IT infrastructure. An effective patch management workflow reduces the attack surface while minimizing operational disruption through structured testing, approval gates, and phased rollouts.

When to Use

  • When deploying or configuring implementing patch management workflow capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Prerequisites

  • Vulnerability scan results identifying missing patches
  • Patch management tools (WSUS, SCCM/MECM, Ansible, Intune, Jamf)
  • Test environment mirroring production
  • Change management process (ITIL or equivalent)
  • Asset inventory with OS and application versions

Core Concepts

Patch Lifecycle Phases

  1. Discovery: Identify available patches from vendors and vulnerability scans
  2. Assessment: Evaluate patch applicability and risk
  3. Prioritization: Rank patches by severity, exploitability, and asset criticality
  4. Testing: Validate patches in non-production environment
  5. Approval: Change advisory board (CAB) review and approval
  6. Deployment: Phased rollout to production systems
  7. Verification: Confirm successful installation and no regressions
  8. Reporting: Document compliance metrics and exceptions

Patch Categories

  • Security Patches: Address CVEs and security vulnerabilities
  • Critical Updates: Non-security bug fixes affecting stability
  • Service Packs: Cumulative update collections
  • Feature Updates: New functionality (Windows feature updates, etc.)
  • Firmware Updates: BIOS/UEFI, NIC, storage controller firmware
  • Third-Party Patches: Adobe, Java, Chrome, Firefox, etc.

Deployment Rings (Phased Rollout)

Ring Environment % of Fleet Soak Time Purpose
Ring 0 Lab/Test N/A 24-48 hrs Functional validation
Ring 1 IT Early Adopters 5% 48-72 hrs Real-world pilot
Ring 2 Business Pilot 15% 5-7 days Broader compatibility
Ring 3 General Deployment 50% 7-14 days Main rollout
Ring 4 Mission Critical 30% After Ring 3 Final deployment

Workflow

Step 1: Configure Patch Sources

# WSUS (Windows Server Update Services)
# Configure WSUS server to sync with Microsoft Update
# Via PowerShell on WSUS server:
Install-WindowsFeature -Name UpdateServices -IncludeManagementTools
& "C:\Program Files\Update Services\Tools\WsusUtil.exe" postinstall CONTENT_DIR=D:\WSUS

# Configure GPO for WSUS clients
# Computer Configuration > Administrative Templates > Windows Components > Windows Update
# Specify intranet Microsoft update service location: http://wsus-server:8530
# Ansible: Configure patch repositories for Linux
# roles/patch-management/tasks/configure_repos.yml
---
- name: Configure RHEL patch repository
  yum_repository:
    name: rhel-patches
    description: RHEL Security Patches
    baseurl: https://satellite.corp.local/pulp/repos/patches
    gpgcheck: yes
    gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled: yes

- name: Configure Ubuntu patch sources
  apt_repository:
    repo: "deb https://apt-mirror.corp.local/ubuntu {{ ansible_distribution_release }}-security main"
    state: present
  when: ansible_os_family == "Debian"

Step 2: Automated Patch Assessment

# patch_assessment.py - Correlate vulnerability scans with available patches
import subprocess
import platform
import json

def get_windows_pending_patches():
    """Query Windows Update for pending patches via PowerShell."""
    ps_cmd = """
    $Session = New-Object -ComObject Microsoft.Update.Session
    $Searcher = $Session.CreateUpdateSearcher()
    $Results = $Searcher.Search("IsInstalled=0 AND Type='Software'")
    $Results.Updates | ForEach-Object {
        [PSCustomObject]@{
            Title = $_.Title
            KB = ($_.KBArticleIDs -join ',')
            Severity = $_.MsrcSeverity
            Size = [math]::Round($_.MaxDownloadSize / 1MB, 2)
            Published = $_.LastDeploymentChangeTime.ToString('yyyy-MM-dd')

…
常见问题

什么是“漏洞”?

漏洞是软件中的安全缺陷,恶意人员可能利用它们造成破坏或窃取信息。

什么是“补丁”?

补丁就像是修复这些安全缺陷的“创可贴”,由软件开发者自己发布。

为什么要先测试再应用更新?

这样可以确保更新不会引入新问题,或在推送给所有用户之前,不会破坏其他系统功能。

详情

作者的原始描述

Patch management is the systematic process of identifying, testing, deploying, and verifying software updates to remediate vulnerabilities across an organization's IT infrastructure. An effective patc

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8095
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能