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に貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“サーバー192.168.1.10の脆弱性スキャンを設定して実行し、結果を表示してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このツールは、Greenboneと通信するためのPythonライブラリを使用します。スキャンの対象と範囲を定義すると、ツールがスキャンを実行し、レポートを収集してくれます。
技術的な内容(元の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
- Install python-gvm:
pip install python-gvm - Establish a GMP connection via
UnixSocketConnectionorTLSConnection - Authenticate with
gmp.authenticate(username, password) - Create a target with
gmp.create_target(name, hosts=[...], port_list_id=...) - Create a scan task with
gmp.create_task(name, config_id, target_id, scanner_id) - Start the scan with
gmp.start_task(task_id) - Monitor scan progress with
gmp.get_task(task_id) - Retrieve results with
gmp.get_report(report_id, report_format_id=...) - Parse the XML report for vulnerabilities, CVSS scores, and affected hosts
- 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とは何ですか?
ネットワークやシステムにあるセキュリティ上の欠陥(脆弱性)を見つけるための、オープンソースのシステムです。
python-gvmとは何ですか?
Pythonで書かれたプログラムからGreenbone/OpenVASと通信できるようにするツールです。
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
人気
- GitHubのスター
- 35k
- ランキング
- #8136
- ライセンス
- Apache-2.0
- 更新日
- 2026/8/31
コメント
- …
このリポジトリの他のスキル
abusing-dpapi-for-credential-access
35k特定のタスク向けに用意された指示をAIエージェントに与え、より良く、より速く作業できるようにします。
abusing-shadow-credentials-for-privesc
35kAIエージェントに、明確で構成のしっかりした文章の書き方を教えます。
achieving-cmmc-level-2-compliance
35kエージェントがCMMC Level 2への準拠に向けた環境を整えられるようにします。セキュリティ要件を実装し、必要なドキュメントを管理します。
acquiring-disk-image-with-dd-and-dcfldd
35kエージェントがハードディスクの完全なコピーを作成できるようにします。調査中に情報が失われたり改変されたりしないようにするのに役立ちます。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。