Auditing Group Policy And Sysvol Trust 标志

Auditing Group Policy And Sysvol Trust

组织
UnboundCompute
auditing-group-policy-and-sysvol-trust

审计群组策略内容和域策略共享目录中的信任问题:低权限主体可以写入策略对象、域共享目录中的策略文件或策略链接,导致该策略在所有适用的机器上运行脚本、设置计划任务、安装软件或更改安全设置;也可能存在存储的凭据或未签名的策略文件,使任何域用户都能以策略身份执行操作。适用于非管理员可能写入策略对象、共享目录文件或策略链接,或其中包含存储密钥的情况。涵盖可写的策略内容、可写链接及其作用范围、嵌入的凭据,以及未签名或所有用户均可读取的策略文件。低权限写入策略内容或链接是源,应用该策略的机器是汇,攻击者可控的策略在这些机器上运行即为漏洞。

Add to TypingMind

概览

发布者UnboundCompute
代码仓库security-agent-skills
技能名称auditing-group-policy-and-sysvol-trust
星标数
27
复刻数
8
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-group-policy-and-sysvol-trust .claude/skills/auditing-group-policy-and-sysvol-trust
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Auditing Group Policy And Sysvol Trust。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Auditing group policy and SYSVOL trust: when a writable policy runs on every machine

Group policy is a domain-wide instruction stream: a policy object names settings, scripts, scheduled tasks, and software, its files live on a share every domain machine reads, and its links decide which machines apply it. Machines apply that policy with high privilege and largely without questioning it. That is safe only when nobody below a domain administrator can change what a policy says, where its files live, or which machines it targets. When a low-privileged principal can write a policy object, edit its files on the share, or alter its link, they run their own scripts and tasks on every machine in scope. A second failure hides in the content itself: a credential stored in a policy file that every domain user can read, or an unsigned policy file a machine applies without verifying its origin. The bug is trust in policy content or scope that a non-administrator can influence. You audit these by reading who can write each policy, its share files, and its links, and what the content discloses.

When to use

  • Policy objects, their files on the domain share, or their links may be writable by non-administrators.
  • A policy file on the share may carry a stored credential readable by any domain user.
  • Policy files may be applied without verifying their origin or may be world-readable on the share.

Scope check

Audit policy and share trust only in directories you own or are authorized to assess, on non-production or a lab domain, making only reversible changes to test policy objects you are permitted to modify and never altering a production policy. A confirmed write runs code on every targeted machine, so keep every probe within scope. If you can't name the authorization, stop.

The loop

  1. Establish who can actually write the policy, its files, and its link first. For each policy object, read the permissions on the object, on its files on the domain share, and on its links, and determine whether a low-privileged principal holds a write to any of them. This is the false-positive killer: a policy whose object, share files, and links are writable only by administrators cannot be turned against the machines it applies to, however powerful its content. Name the specific write before claiming a path.

  2. Enumerate policies, their scope, and their content. List the policy objects, the machines and users each applies to through its links, and the actions each carries: scripts, scheduled tasks, software installation, and security settings. A writable policy with a broad scope and executable content is the highest-value candidate.

  3. Check the write to content. Determine whether a low-privileged principal can edit the policy object or its files on the share to add or change a script, a scheduled task, or an installed package. A write here runs attacker-chosen actions on every machine in scope at the next application.

  4. Check the write to scope. Determine whether a low-privileged principal can create or alter a link, so a policy they control, or an existing policy, applies to machines it should not, extending the reach of a writable policy or pulling a benign machine under a malicious one.

  5. Check the content for disclosed secrets and unverified origin. Determine whether any policy file on the share carries a stored credential readable by domain users, and whether machines apply policy files without verifying their origin, so a tampered or planted file is honored. Both let a low-privileged user act even without a direct write to the object.

  6. Confirm and record. Confirm by making a reversible change to a test policy you are permitted to modify and observing a benign marker action run on a targeted test machine on an isolated lab domain, or by reading a disclosed credential from the share. Kill the lead if the policy object, its share files, and its links are all admin-only writable, if no policy file discloses a usable secret, and if applied files are origin-verified. Record the policy, the write or disclosure, the scope, and the benign proof, or set a kill_reason.

Where policy and share trust leaks

  • The write is the finding, not the policy's power. Policy running with high privilege is by design; a non-administrator write to its content, files, or link is the escalation. Name the write.
  • Writable content runs everywhere in scope. A script or scheduled task added to a writable policy runs on every machine the policy applies to, turning one write into fleet-wide execution.
  • Writable links redraw the target. Control over a link lets an attacker apply a policy they control to new machines or pull machines under a malicious policy, extending reach without touching content.
  • Stored credentials on the share are readable by all. A credential embedded in a policy file on a share every domain user can read is disclosed to every domain user, independent of any write.
  • Unverified policy files are trusted blindly. A machine that applies policy files without checking their origin honors a tampered or planted file, so integrity of the share content is part of the trust.

Worked example (a confirm and a kill)

Confirm. A policy object applied to a broad set of machines has files on the domain share writable by a low-privileged principal. Adding a benign marker scheduled task to the policy files causes that task to run on a targeted test machine at the next policy application on an isolated lab domain, reversed afterward. Confirmed fleet-wide code execution through writable policy content, high, remediation = restrict the policy object, its share files, and its links to administrators, verify the origin of applied policy files, and remove any stored credentials from policy content.

Kill. The same policy object, its files on the share, and its links are writable only by administrators, no policy file on the share carries a readable credential, and machines verify the origin of policy files before applying them. A low-privileged principal can change neither the content, the scope, nor a disclosed secret. Killed, kill_reason = "policy object, share files, and links are all admin-only writable, no credential is disclosed, and applied files are origin-verified; no low-privileged influence reaches the machines."

Rationalizations to reject

  • "Only admins edit group policy." -> Read the actual permissions on the object, its share files, and its links; delegated edit rights and loosened share permissions are exactly what this audit finds.
  • "The share is read-only to users." -> Read-only still discloses any credential stored in a policy file to every domain user; and confirm write permissions per file rather than assuming a blanket read-only.
  • "That policy only sets a wallpaper." -> Check every action the policy carries and whether the content is writable; a writable benign policy can be given a script or task.
  • "Links cannot be changed by users." -> Confirm the link and container permissions; a delegated right over an organizational unit can let a non-administrator alter which policies apply.
  • "Policy files are trusted because they are on the domain share." -> Trust must come from verified origin, not location; a writable or planted file on the share is honored unless its origin is checked.

Executing this in practice

You need every policy object with its permissions, the permissions on its files on the domain share and on its links, the machines each policy applies to, the actions it carries, and any credential stored in its content. For each, decide whether a low-privileged principal can change the content, the scope, or read a disclosed secret, and whether applied files are origin-verified. Reading the permissions and content settles most leads; a reversible change to a permitted test policy that runs a benign marker on a targeted machine on an isolated lab domain settles the rest.

Related

  • hunting-active-directory-acl-abuse-paths - a write over a policy object or its link is one of the object- permission abuses that skill traces, feeding the policy write this one exploits.
  • hunting-windows-credential-material-exposure - a credential stored in a policy file on the share is the kind of exposed material that skill pursues from the access side.
  • hunting-windows-service-privilege-escalation - a policy-installed scheduled task or service is another route to code execution as a privileged account, sharing the planted-execution shape.
  • auditing-workload-secret-exposure-surface - secrets embedded in distributed policy files are the exposure that skill audits across a workload, here in the domain-share form.
  • FINDING-SCHEMA.md - source = the low-privileged write to policy content or link, sink = the machines applying the policy, evidence = a benign marker action running on a targeted machine, or a disclosed credential read from the share, on an isolated lab domain.

常见问题

Auditing Group Policy And Sysvol Trust AI 技能有什么作用?

审计群组策略内容和域策略共享目录中的信任问题:低权限主体可以写入策略对象、域共享目录中的策略文件或策略链接,导致该策略在所有适用的机器上运行脚本、设置计划任务、安装软件或更改安全设置;也可能存在存储的凭据或未签名的策略文件,使任何域用户都能以策略身份执行操作。适用于非管理员可能写入策略对象、共享目录文件或策略链接,或其中包含存储密钥的情况。涵盖可写的策略内容、可写链接及其作用范围、嵌入的凭据,以及未签名或所有用户均可读取的策略文件。低权限写入策略内容或链接是源,应用该策略的机器是汇,攻击者可控的策略在这些机器上运行即为漏洞。

为什么在 TypingMind 中使用 Auditing Group Policy And Sysvol Trust?

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

如何在 TypingMind 中安装 Auditing Group Policy And Sysvol Trust?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-group-policy-and-sysvol-trust。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Auditing Group Policy And Sysvol Trust?

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

Auditing Group Policy And Sysvol Trust 可以搭配多少个 AI 模型使用?

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

Auditing Group Policy And Sysvol Trust AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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