Wazuh Windows Sysmon 标志

Wazuh Windows Sysmon

组织
gensecaihq
wazuh-windows-sysmon

解读 Wazuh Windows EventChannel 和 Sysmon 告警:登录、权限、账户和服务事件、Sysmon 检测组、字段路径和登录类型,并将 Windows Event ID 映射到 Wazuh 规则;适用于所有 Windows 或 Sysmon 告警,以及以 Windows 为重点的威胁搜寻。

Add to TypingMind

概览

发布者gensecaihq
代码仓库Wazuh-Autopilot
技能名称wazuh-windows-sysmon
星标数
61
复刻数
15
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 gensecaihq 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Wazuh Windows Sysmon AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/wazuh-windows-sysmon
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gensecaihq/Wazuh-Autopilot.git /tmp/Wazuh-Autopilot
mkdir -p .claude/skills
cp -r /tmp/Wazuh-Autopilot/backend/app/skills/wazuh-windows-sysmon .claude/skills/wazuh-windows-sysmon
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Wazuh Windows Sysmon,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Wazuh Windows Sysmon。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Wazuh Windows Sysmon 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Wazuh Windows and Sysmon

Windows logs reach Wazuh through the EventChannel collector and are decoded as JSON under data.win.*. Security-log rules live in the windows_security group; Sysmon rules in the sysmon group.

Field paths

FieldContent
data.win.system.eventIDWindows Event ID
data.win.system.channelSecurity, System, Microsoft-Windows-Sysmon/Operational, …
data.win.system.computerHost name as Windows reports it
data.win.eventdata.targetUserName / subjectUserNameAccount acted on / acting account
data.win.eventdata.logonTypeLogon type (below)
data.win.eventdata.ipAddress / workstationNameSource of a network logon
data.win.eventdata.status / subStatusFailure reason codes
data.win.eventdata.image, parentImage, commandLine, hashesSysmon process fields
data.win.eventdata.destinationIp, destinationPortSysmon network fields
data.win.eventdata.targetObjectSysmon registry target

Security log: Event ID → Wazuh rule

Windows eventWazuh rule (level)Notes
Event ID 4624 logon successrule 60106 (level 3)Workstation variant: rule 60118 (level 3)
Event ID 4625 logon failurerule 60122 (level 5)Parent: rule 60105 (level 5)
Repeated Event ID 4625rule 60204 (level 10)Correlation: multiple Windows logon failures within 240s
Event ID 4740 account locked outrule 60115 (level 9)
Event ID 4720 / Event ID 4722 account created / enabledrule 60109 (level 8)
Event ID 4738 account changedrule 60110 (level 8)
Administrators group changedrule 60154 (level 12)Privilege escalation / persistence
Event ID 4672 special privileges assignedrule 67028 (level 3)In the WEF baseline ruleset; noisy on its own — join with 4624 for the same logon
Event ID 1102 audit log clearedrule 60117 (level 9)Also rule 593 (level 9, "Microsoft Event log cleared") — defence evasion, always investigate
Audit policy changedrule 60112 (level 8)
Event ID 7045 new service installed (System log)rule 61138 (level 5)Persistence / lateral movement (PsExec creates a service)

Logon types

2 interactive, 3 network (SMB, most lateral movement), 4 batch, 5 service, 7 unlock, 8 network cleartext, 9 new credentials (runas /netonly; pass-the-hash indicator with NTLM), 10 remote interactive (RDP), 11 cached. Type 3 or 10 from workstation to workstation is unusual in most environments.

Sysmon detection groups

Sysmon events are decoded under generic sysmon_event* groups; Wazuh's behavioural detections sit in sysmon_eid*_detections groups — query these, not the raw event groups:

GroupSysmon eventExample rules
sysmon_eid1_detectionsProcess creationrule 92000 (level 4, scripting interpreter spawned a new process), rule 92002 (level 6, scripting interpreter spawned a Windows command shell)
sysmon_eid3_detectionsNetwork connectionrule 92104 (level 15, suspicious binary created network connection), rule 92103 (level 6, LDAP activity from PowerShell)
sysmon_eid7_detectionsImage loadedrule 92151 (level 12, binary loaded PowerShell automation library — unmanaged PowerShell)
sysmon_eid8_detectionsCreateRemoteThreadrule 92400 (level 12, possible code injection on explorer.exe)
sysmon_eid10_detectionsProcess accessrule 92900 (level 12, LSASS accessed with read permissions — credential dumping)
sysmon_eid11_detectionsFile createdrule 92213 (level 15, executable dropped in folder commonly used by malware)
sysmon_eid13_detectionsRegistry value setrule 92301 (level 12, suspicious file extension in registry ASEP), rule 92307 (level 3, new service creation found in registry)

Sysmon Event ID 22 (DNS query) is decoded (group sysmon_event_22) but the stock ruleset has few detections on it — DNS hunting needs custom rules (example to create: custom rule 100400 for queries to newly registered domains).

Procedure

  1. Read data.win.system.eventID, channel and the key eventdata fields before the rule description.
  2. For authentication: build the sequence per account and source — failures (rule 60122) → lockout (rule 60115) or success (rule 60106) → privileges (rule 67028) → group change (rule 60154). Success after a failure burst from the same source is the escalation point.
  3. For process detections: parent → child → command line → network → file drops, all on the same agent within minutes (get_wazuh_alerts agent_id="<id>" rule_groups=["sysmon"]).
  4. Check prevalence with get_alerts_aggregated before calling a rule "suspicious" — some Sysmon rules fire constantly for admin tooling.
  5. Map to ATT&CK from the behaviour (see mitre-attack-mapping); rule.mitre is a hint.

Noise

Service accounts with type 5 logons, backup/monitoring accounts, SCCM/Intune, Windows Update spawning scripting hosts, IT admin PowerShell. Record the benign pattern so detection-engineer can scope a level-0 child rule.

Output

add_finding with the Event ID sequence (account, source IP/workstation, logon type, timestamps), Sysmon process chain and verdict; link_mitre for supported techniques (e.g. T1110, T1078, T1021.001, T1543.003, T1070.001, T1003.001, T1055).

常见问题

Wazuh Windows Sysmon AI 技能有什么作用?

解读 Wazuh Windows EventChannel 和 Sysmon 告警:登录、权限、账户和服务事件、Sysmon 检测组、字段路径和登录类型,并将 Windows Event ID 映射到 Wazuh 规则;适用于所有 Windows 或 Sysmon 告警,以及以 Windows 为重点的威胁搜寻。

为什么在 TypingMind 中使用 Wazuh Windows Sysmon?

因为您只需安装一次,就能搭配任何模型使用。Wazuh Windows Sysmon 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Wazuh Windows Sysmon?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/wazuh-windows-sysmon。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Wazuh Windows Sysmon?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Wazuh Windows Sysmon 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Wazuh Windows Sysmon 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Wazuh Windows Sysmon AI 技能免费吗?

是的。gensecaihq 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇