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

implementing-vulnerability-management-with-greenbone

它能做什么

这个工具可以帮你自动化地对系统进行漏洞扫描,使用的是 Greenbone(OpenVAS)。它会连接到 Greenbone,设置并运行扫描,然后整理结果,让你知道应该优先修复哪些问题。

适用场景

  • ✓自动创建和执行安全扫描。
  • ✓以编程方式获取并解析漏洞报告。
  • ✓把安全扫描整合到你现有的工作流程中。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-vulnerability-management-with-greenbone/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“设置并运行对我的服务器 192.168.1.10 的漏洞扫描,并把结果展示给我。”

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

工作原理

它使用 Python 库与 Greenbone 通信。你只需定义扫描什么、在哪里扫描,工具就会运行扫描,并为你收集报告。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Implementing Vulnerability Management with Greenbone

Overview

Greenbone Vulnerability Management (GVM) is the open-source framework behind OpenVAS, providing comprehensive vulnerability scanning with over 100,000 Network Vulnerability Tests (NVTs). The python-gvm library provides a Python API to interact with GVM through the Greenbone Management Protocol (GMP), enabling programmatic creation of scan targets, task management, scan execution, and report retrieval. This skill covers connecting to GVM via Unix socket or TLS, authenticating, creating scan configs and targets, launching scans, and parsing XML-based vulnerability reports to produce actionable findings.

When to Use

  • When deploying or configuring implementing vulnerability management with greenbone 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

  • Greenbone Community Edition or Greenbone Enterprise Appliance installed
  • Python 3.9+ with python-gvm (pip install python-gvm)
  • GMP access credentials (username/password)
  • Network connectivity to GVM daemon (Unix socket or TCP/TLS)
  • Understanding of CVSS scoring and vulnerability classification

Steps

  1. Install python-gvm: pip install python-gvm
  2. Establish a GMP connection via UnixSocketConnection or TLSConnection
  3. Authenticate with gmp.authenticate(username, password)
  4. Create a target with gmp.create_target(name, hosts=[...], port_list_id=...)
  5. Create a scan task with gmp.create_task(name, config_id, target_id, scanner_id)
  6. Start the scan with gmp.start_task(task_id)
  7. Monitor scan progress with gmp.get_task(task_id)
  8. Retrieve results with gmp.get_report(report_id, report_format_id=...)
  9. Parse the XML report for vulnerabilities, CVSS scores, and affected hosts
  10. Generate a JSON summary report with severity distribution and remediation priorities

Expected Output

A JSON report containing total vulnerabilities found, severity breakdown (critical/high/medium/low), per-host findings with CVE references and CVSS scores, and scan metadata including duration and NVT feed version.

常见问题

什么是 Greenbone/OpenVAS?

它是一个开源系统,用于发现网络和系统中的安全漏洞(vulnerabilities)。

什么是 python-gvm?

它是一个工具,让用 Python 编写的程序能够与 Greenbone/OpenVAS 通信。

什么是 NVT?

NVT 是 Greenbone 用来检查系统中特定漏洞的测试项。

详情

作者的原始描述

Deploy and operate Greenbone/OpenVAS vulnerability management using the python-gvm library over the Greenbone Management Protocol (GMP) to connect via Unix socket or TLS, create scan targets and configs, execute scans, and parse the XML scan reports into actionable findings. Use when automating OpenVAS/GVM scan creation and execution, or programmatically retrieving and parsing vulnerability scan r

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能