Logo de Auditing Windows Uac And Integrity Boundaries

Auditing Windows Uac And Integrity Boundaries

Organização
UnboundCompute
auditing-windows-uac-and-integrity-boundaries

Audite os limites de elevação e integridade no Windows, em que um processo de integridade média alcança um contexto de alta integridade sem uma solicitação legítima de consentimento, por meio de um binário de elevação automática que carrega uma entrada influenciada por um invasor, um recurso gravável consumido por um processo elevado, uma política de elevação permissiva demais ou um nível de integridade que não restringe a operação como deveria. Use ao revisar como um host diferencia código elevado de não elevado e se um não administrador pode cruzar esse limite sem consentimento real. Abrange abuso de elevação automática, processos elevados que consomem entradas graváveis, políticas de elevação permissivas e níveis de integridade que não restringem uma operação. A influência de integridade média sobre o que um processo elevado consome é a origem, a operação de elevação automática ou a operação elevada é o destino, e alcançar um contexto de alta integridade sem consentimento legítimo é a falha.

Visão geral

Publicado porUnboundCompute
Repositóriosecurity-agent-skills
Nome da habilidadeauditing-windows-uac-and-integrity-boundaries
Estrelas
27
Forks
8
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por UnboundCompute no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Auditing Windows Uac And Integrity Boundaries no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-windows-uac-and-integrity-boundaries
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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-windows-uac-and-integrity-boundaries .claude/skills/auditing-windows-uac-and-integrity-boundaries
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Auditing Windows Uac And Integrity Boundaries em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Auditing Windows Uac And Integrity Boundaries automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Auditing Windows Uac And Integrity Boundaries não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Auditing Windows UAC and integrity boundaries: when elevation happens without a real prompt

Windows separates code that runs elevated from code that does not, marks processes with an integrity level, and asks the user to consent before a process gains administrative rights. That boundary holds only when crossing it requires either a genuine consent prompt or an existing high-integrity context. It breaks when an auto-elevating binary, one the system elevates without prompting, can be steered by a medium-integrity process into loading an input the attacker controls, when an already-elevated process consumes a file, registry value, or path a non-administrator can write, when the elevation policy is broad enough to elevate more than it should, or when an integrity level is set but does not actually gate the operation it is meant to protect. In each case a medium-integrity foothold reaches a high-integrity context without the consent the boundary promised. The bug is elevation without genuine consent. You audit these by finding every way a non-elevated process influences what an elevated one does.

When to use

  • A host has auto-elevating binaries or an elevation policy and you can enumerate what they consume.
  • An elevated process reads a file, registry value, or path that a non-administrator may write.
  • An integrity level is relied on to gate an operation you can test from a medium-integrity context.

Scope check

Audit elevation boundaries only on hosts you own or are authorized to assess, on non-production or a snapshot, using a benign marker that proves the high-integrity context was reached rather than taking real administrative action. A confirmed crossing yields administrative rights, so keep every probe within scope. If you can't name the authorization, stop.

The loop

  1. Establish whether crossing the boundary needs genuine consent or an existing high context first. For each way a medium-integrity process might reach high integrity, determine whether it requires a real consent prompt or an already-elevated context, or whether an auto-elevating binary, a writable consumed input, or a permissive policy lets the crossing happen without consent. This is the false-positive killer: a boundary that always requires genuine consent or existing elevation is not crossed by a medium-integrity foothold. Name the consent-free crossing before crafting a proof.

  2. Enumerate auto-elevating binaries and elevated processes. List the binaries the system elevates without prompting and the processes already running elevated, and for each note the inputs it consumes: files it loads, registry values it reads, paths it resolves, and objects it opens. These consumed inputs are where a medium-integrity process may exert influence.

  3. Check for medium-integrity influence over a consumed input. Determine whether a non-administrator can write a file, registry value, or path that an auto-elevating or elevated process then consumes, so the elevated code acts on attacker-controlled input. A writable consumed input is the crossing.

  4. Check the elevation policy breadth. Determine whether the policy elevates more than it should: auto-elevation that extends to a binary that loads external input, or a configuration that suppresses the prompt for operations that should require it. A broad policy turns an ordinary action into a consent-free elevation.

  5. Check that integrity levels actually gate. Determine whether an operation relied on to be gated by integrity level is truly refused from medium integrity, or whether the object's permissions or the operation's implementation let a medium-integrity process perform it anyway. A level that is set but not enforced is no boundary.

  6. Confirm and record. Confirm by influencing a consumed input or exercising the policy so a benign marker runs in the high-integrity context on an isolated host, without genuine consent. Kill the lead if every crossing requires a real prompt or existing elevation, if no consumed input is writable by a non-administrator, and if the integrity level actually refuses the operation. Record the crossing, the consumed input or policy, and the high-integrity marker, or set a kill_reason.

Where the integrity boundary leaks

  • The consent-free crossing is the finding. Elevation with a genuine prompt is the design; the bug is a medium-integrity foothold reaching high integrity without one. Name how consent is skipped.
  • Auto-elevating binaries that load input are levers. A binary the system elevates without prompting becomes an escalation when a medium-integrity process steers what it loads.
  • Elevated processes consuming writable inputs. An elevated process reading a file, registry value, or path a non-administrator can write acts on attacker input at high integrity.
  • Broad elevation policy skips the prompt. A policy that elevates too much, or suppresses the prompt for operations that should require it, removes the consent the boundary depends on.
  • A set integrity level that does not gate. An integrity level marked on an object but not enforced by its permissions or the operation lets a medium-integrity process act as though the boundary were absent.

Worked example (a confirm and a kill)

Confirm. An auto-elevating binary loads a configuration file from a path a standard user can write. Planting a benign marker configuration there causes the elevated binary to act on it in a high-integrity context at the next run, with no consent prompt, on an isolated host. Confirmed elevation without genuine consent through a writable input to an auto-elevating binary, high, remediation = load inputs to auto-elevating binaries only from administrator-writable locations, require a genuine consent prompt for the operation, and narrow the auto-elevation policy to binaries that consume no external input.

Kill. The same binary loads its configuration only from an administrator-writable location, the elevation policy prompts for the operation, and the integrity level on the target object refuses a medium-integrity write. A standard user cannot influence what the elevated code consumes and cannot elevate without consenting. Killed, kill_reason = "the elevated binary consumes only admin-writable inputs, the operation requires a genuine consent prompt, and the integrity level refuses the medium-integrity write; no consent-free crossing exists."

Rationalizations to reject

  • "The user has to approve elevation." -> Only if the crossing actually prompts; an auto-elevating binary or a writable consumed input reaches high integrity without any prompt, which is the finding.
  • "That binary is signed and trusted." -> Trust in the binary does not sanitize the input it loads; a writable configuration or resource it consumes carries the attacker's influence into the elevated context.
  • "Elevation is a convenience, not a security boundary." -> Whether or not it is called a boundary, crossing it without consent reaches administrative rights, which is the impact this audit measures.
  • "The integrity level is set on that object." -> Set is not enforced; confirm the operation is actually refused from medium integrity rather than only labeled.
  • "Only the installer writes there." -> Confirm the live permissions; a path left writable by a non-administrator is a writable consumed input regardless of who was meant to write it.

Executing this in practice

You need every auto-elevating binary and elevated process with the inputs it consumes, the write permissions on each consumed file, registry value, and path, the elevation policy, and whether each integrity level actually refuses the operation it gates. For each, decide whether a medium-integrity process can influence what the elevated code consumes or cross the boundary without consent. Reading the consumed inputs and the policy settles most leads; planting a benign marker input and observing it act in the high-integrity context on an isolated host settles the rest.

Related

  • hunting-windows-dll-hijacking-and-search-order - a writable library that an auto-elevating binary loads is a consumed input in the sense this skill audits, so the two meet on the elevated load.
  • hunting-windows-service-privilege-escalation - a service escalation reaches a privileged account by a related write-reaches-execution shape, a companion route across the same host.
  • auditing-windows-token-and-privilege-abuse - reaching a high-integrity context grants a token whose privileges that skill then audits as the next lever.
  • detecting-race-conditions - a writable input consumed by an elevated process is often exploitable through a check-to-use window that skill treats generally.
  • FINDING-SCHEMA.md - source = the medium-integrity influence over what an elevated process consumes, sink = the auto-elevating or elevated operation, evidence = a benign marker running in the high-integrity context without genuine consent on an isolated host.

Perguntas frequentes

O que a habilidade de IA Auditing Windows Uac And Integrity Boundaries faz?

Audite os limites de elevação e integridade no Windows, em que um processo de integridade média alcança um contexto de alta integridade sem uma solicitação legítima de consentimento, por meio de um binário de elevação automática que carrega uma entrada influenciada por um invasor, um recurso gravável consumido por um processo elevado, uma política de elevação permissiva demais ou um nível de integridade que não restringe a operação como deveria. Use ao revisar como um host diferencia código elevado de não elevado e se um não administrador pode cruzar esse limite sem consentimento real. Abra...

Por que usar Auditing Windows Uac And Integrity Boundaries no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Auditing Windows Uac And Integrity Boundaries é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Auditing Windows Uac And Integrity Boundaries no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-windows-uac-and-integrity-boundaries. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Auditing Windows Uac And Integrity Boundaries?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Auditing Windows Uac And Integrity Boundaries?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Auditing Windows Uac And Integrity Boundaries com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Auditing Windows Uac And Integrity Boundaries é gratuita?

Sim. A habilidade é publicada no GitHub por UnboundCompute sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇