implementing-endpoint-detection-with-wazuh
它能做什么
这个工具可以帮你搭建 Wazuh 安全系统来监控电脑。你可以管理接入的设备、创建自定义安全规则,并检查这些规则是否生效。
适用场景
- ✓当你要搭建新的安全监控系统时。
- ✓当你需要创建自定义规则来检测特定威胁时。
- ✓当你需要验证安全规则是否正常工作时。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-endpoint-detection-with-wazuh/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我设置 Wazuh,检测我所有电脑上的可疑活动,一旦出现问题就提醒我。”
每周 5 个新技能,1 分钟读完。
工作原理
该工具会使用你的凭据连接 Wazuh。它可以列出受监控的设备,搜索安全告警,并测试新的检测规则,确保其按预期运行。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Implementing Endpoint Detection with Wazuh
Overview
Wazuh is an open-source SIEM and XDR platform for endpoint monitoring, threat detection, and compliance. This skill covers managing agents via the Wazuh REST API, creating custom decoders and rules in XML for organization-specific detections, querying alerts, and testing rule logic using the logtest endpoint.
When to Use
- When deploying or configuring implementing endpoint detection with wazuh 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
- Wazuh Manager 4.x deployed with API enabled
- Python 3.9+ with
requestslibrary - API credentials (username/password for JWT authentication)
- Understanding of Wazuh decoder and rule XML syntax
Steps
Step 1: Authenticate to Wazuh API
Obtain JWT token via POST to /security/user/authenticate.
Step 2: List and Monitor Agents
Query agent status, versions, and last keep-alive via /agents endpoint.
Step 3: Query Security Alerts
Search alerts by rule ID, severity, agent, or time range.
Step 4: Test Custom Rules with Logtest
Use the /logtest endpoint to validate decoder and rule logic against sample log lines.
Expected Output
JSON report with agent inventory, alert statistics, rule coverage, and logtest validation results.
常见问题
什么是 Wazuh?
Wazuh 是一款免费程序,用于监控电脑和网络的安全,检测威胁并确保安全规则正常运行。
什么是“代理”(agent)?
代理是安装在被监控电脑上的小程序,它们会把安全信息发送给 Wazuh 主系统。
什么是“规则”?
规则是 Wazuh 用来识别被监控电脑上可疑或危险行为的指令。
详情
作者的原始描述
Deploys and configures Wazuh SIEM/XDR for endpoint detection, covering agent authentication and management, custom decoder and rule XML creation, alert querying via the Wazuh REST API, rule testing with wazuh-logtest, and automated active-response actions. Use when setting up endpoint detection and response, writing or testing custom Wazuh rules, or querying and triaging Wazuh alerts.
热度
- GitHub 星标
- 35k
- 排名
- #8036
- 许可证
- Apache-2.0
- 更新时间
- 2026/8/31
评论
- …
同一仓库的更多技能
abusing-dpapi-for-credential-access
35k为你的 AI 智能体提供针对特定任务的现成指令,让它完成得更好、更快。
abusing-shadow-credentials-for-privesc
35k教你的 AI 智能体写出清晰、结构良好的文本。
achieving-cmmc-level-2-compliance
35k帮助你的智能体搭建符合 CMMC Level 2 合规要求的环境。它会落实安全要求,并管理必要的文档。
acquiring-disk-image-with-dd-and-dcfldd
35k帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。