Логотип Auditing Windows Uac And Integrity Boundaries

Auditing Windows Uac And Integrity Boundaries

Организация
UnboundCompute
auditing-windows-uac-and-integrity-boundaries

Проверяйте границы повышения привилегий и уровней целостности в Windows: процесс со средним уровнем целостности переходит в контекст с высоким уровнем без настоящего запроса на подтверждение. Это может происходить через автоматически повышающий привилегии двоичный файл, загружающий данные под контролем злоумышленника, доступный для записи ресурс, который использует процесс с повышенными привилегиями, слишком широкую политику повышения привилегий или уровень целостности, который не ограничивает нужную операцию. Используйте этот навык, чтобы проверить, как система отделяет код с повышенными привилегиями от обычного и может ли пользователь без прав администратора преодолеть эту границу без реального подтверждения. Проверяйте злоупотребление автоматическим повышением привилегий, использование процессами с повышенными привилегиями доступных для записи данных, слишком разрешительную политику и уровни целостности, которые не ограничивают операции. Влияние процесса со средним уровнем целостности на данные, используемые процессом с повышенными привилегиями, — источник, операция с автоматическим повышением или повышенными привилегиями — приёмник, а переход в контекст с высоким уровнем без настоящего подтверждения — уязвимость.

Обзор

ИздательUnboundCompute
Репозиторийsecurity-agent-skills
Название навыкаauditing-windows-uac-and-integrity-boundaries
Звёзды
27
Форки
8
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — UnboundCompute. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Auditing Windows Uac And Integrity Boundaries в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-windows-uac-and-integrity-boundaries
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
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-windows-uac-and-integrity-boundaries .claude/skills/auditing-windows-uac-and-integrity-boundaries
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Auditing Windows Uac And Integrity Boundaries в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Auditing Windows Uac And Integrity Boundaries, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Auditing Windows Uac And Integrity Boundaries не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

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.

Часто задаваемые вопросы

Что делает навык ИИ Auditing Windows Uac And Integrity Boundaries?

Проверяйте границы повышения привилегий и уровней целостности в Windows: процесс со средним уровнем целостности переходит в контекст с высоким уровнем без настоящего запроса на подтверждение. Это может происходить через автоматически повышающий привилегии двоичный файл, загружающий данные под контролем злоумышленника, доступный для записи ресурс, который использует процесс с повышенными привилегиями, слишком широкую политику повышения привилегий или уровень целостности, который не ограничивает нужную операцию. Используйте этот навык, чтобы проверить, как система отделяет код с повышенными п...

Зачем использовать Auditing Windows Uac And Integrity Boundaries в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Auditing Windows Uac And Integrity Boundaries — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Auditing Windows Uac And Integrity Boundaries в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-windows-uac-and-integrity-boundaries. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Auditing Windows Uac And Integrity Boundaries?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Auditing Windows Uac And Integrity Boundaries?

С любым количеством. В TypingMind вы можете использовать Auditing Windows Uac And Integrity Boundaries с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Auditing Windows Uac And Integrity Boundaries?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — UnboundCompute. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип affaan-m

Quarkus Security

affaan-m
СообществоПопулярный

Рекомендации по безопасности в Quarkus: аутентификация, авторизация, JWT/OIDC, RBAC, проверка входных данных, CSRF, управление секретами и безопасность зависимостей.

39.1K
261.1K
Инструкции
Открыть
Логотип affaan-m

Quarkus Verification

affaan-m
СообществоПопулярный

Цикл проверок для проектов Quarkus: сборка, статический анализ, тесты с покрытием, сканирование безопасности, нативная компиляция и проверка diff перед выпуском или PR.

39.1K
261.1K
Инструкции
Открыть
Логотип affaan-m

Springboot Security

affaan-m
СообществоПопулярный

Рекомендации по Spring Security для аутентификации и авторизации, валидации, CSRF-защиты, работы с секретами и заголовками, ограничения частоты запросов и обеспечения безопасности зависимостей в сервисах на Java Spring Boot.

39.1K
261.1K
Инструкции
Открыть
Логотип affaan-m

Agent Architecture Audit

affaan-m
СообществоПопулярный

Полная диагностика приложений на основе агентов и LLM. Проверяйте регрессии в обёртках, загрязнение памяти, сбои в управлении инструментами, скрытые циклы исправлений и ошибки рендеринга в 12-слойном стеке агента. Получайте список проблем, упорядоченный по критичности, и исправления, ориентированные на код. Необходимый инструмент для разработчиков, создающих приложения с агентами, автономные циклы или функции на основе LLM.

39.1K
261.1K
Инструкции
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇