Логотип Auditing Windows Named Pipe And Rpc Exposure

Auditing Windows Named Pipe And Rpc Exposure

Организация
UnboundCompute
auditing-windows-named-pipe-and-rpc-exposure

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

Обзор

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

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

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

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

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

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

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

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

Установка

Установите навык ИИ Auditing Windows Named Pipe And Rpc Exposure в 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-named-pipe-and-rpc-exposure
  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-named-pipe-and-rpc-exposure .claude/skills/auditing-windows-named-pipe-and-rpc-exposure
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

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

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

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

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

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

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

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

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

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

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

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

Auditing Windows named pipe and RPC exposure: when a local endpoint hands out privilege

A privileged Windows service often exposes an interface for others to talk to it: a named pipe, a remote procedure call endpoint, or a local COM server. Those interfaces are safe only when the service restricts who may connect and checks what each caller is authorized to ask for, and only when it does not blindly assume the identity of whoever connects. The exposure is an interface reachable by a lower-privileged caller that then performs a privileged action on the caller's behalf, or impersonates the connecting client in a way that lets a crafted caller flip the trust, or trusts caller-supplied input, a path, a command, a target, without checking the caller's authorization. In each case a standard user drives the privileged service into doing something the user could not do directly. The bug is a privileged action reachable across an inter-process boundary without the authorization that boundary should enforce. You audit these by listing each service's interfaces, who can reach them, and what each exposed operation does with the caller's request.

When to use

  • A privileged service exposes a named pipe, RPC endpoint, or local COM server reachable by non-administrators.
  • An exposed operation performs a privileged action or acts on caller-supplied input.
  • A service impersonates connecting clients and a crafted caller may exploit that impersonation.

Scope check

Audit inter-process interfaces only on hosts you own or are authorized to assess, on non-production or a snapshot, using a benign proof that the privileged action was driven rather than performing a damaging one. A confirmed exposure lets a standard user drive privileged behavior, so keep every probe within scope. If you can't name the authorization, stop.

The loop

  1. Establish whether the interface restricts callers and authorizes each operation first. For each exposed interface, determine whether its permissions limit who may connect and whether the service checks the caller's authorization for each operation, or whether a lower-privileged caller can both reach it and invoke a privileged action. This is the false-positive killer: an interface restricted to administrators, or one that authorizes each operation against the caller, is not driven by a standard user however powerful its actions. Name the reachable operation and the missing check before crafting a call.

  2. Enumerate the service's interfaces and their permissions. List the named pipes, RPC endpoints, and local COM servers each privileged service exposes, and read the access control on each: who may connect, who may invoke. Interfaces reachable by standard users or broad groups are the candidates.

  3. Map each reachable operation to what it does. For each operation a low-privileged caller can invoke, determine whether it performs a privileged action, writes a protected location, runs or configures something, or returns protected data, and whether it acts on caller-supplied input such as a path, a target, or a command.

  4. Check the caller authorization. Determine whether the service verifies the caller is entitled to the operation and its arguments, or whether reaching the interface is treated as sufficient authority. An operation that trusts any connected caller, or trusts caller-supplied input without checking authorization, is the exposure.

  5. Check the impersonation behavior. Determine whether the service impersonates the connecting client and, if so, whether a crafted caller can cause the service to act with more privilege than the caller holds, or whether the service performs a privileged action without dropping to the caller's context where it should. Unsafe impersonation flips the trust in either direction.

  6. Confirm and record. Confirm by connecting as a lower-privileged caller and driving the exposed operation to perform a benign privileged action on an isolated host. Kill the lead if the interface restricts callers to administrators, if each operation authorizes the caller and its input, and if impersonation neither over-grants nor under-drops privilege. Record the interface, the reachable operation, the missing check, and the benign proof, or set a kill_reason.

Where interface exposure leaks

  • The reachable privileged operation is the finding. An interface a standard user can reach that performs a privileged action without authorizing the caller is the escalation. Name the operation and the missing check.
  • Interface permissions drift open. A named pipe, RPC endpoint, or COM server whose access control was loosened for an application lets non-administrators connect to a privileged service.
  • Reaching is treated as authorization. An operation that assumes any connected caller is entitled runs privileged actions for whoever gets in; connectivity is not authorization.
  • Caller-supplied input steers the action. An operation that acts on a caller-supplied path, target, or command without checking authorization lets the caller direct the privileged action.
  • Unsafe impersonation flips trust. A service that impersonates a crafted caller may act with the wrong privilege, either over-granting to the caller or performing a privileged action it should have dropped.

Worked example (a confirm and a kill)

Confirm. A privileged service exposes a named pipe reachable by standard users, and one operation writes a file to a caller-supplied path without checking the caller's authorization. A lower-privileged caller drives it to write a benign marker into a protected location the caller could not write directly, on an isolated host. Confirmed local privilege escalation through an unauthorized privileged operation on a reachable interface, high, remediation = restrict the interface permissions to the callers that need it, authorize each operation and its arguments against the caller, and validate caller-supplied paths and targets before acting.

Kill. The same service restricts the pipe to administrators, authorizes each operation against the caller's token, validates caller-supplied paths, and impersonates the caller so privileged actions run only in the caller's own context. A standard user can neither reach the interface nor drive a privileged action. Killed, kill_reason = "the interface is restricted to administrators and every operation authorizes the caller and its input; a standard user reaches no privileged action."

Rationalizations to reject

  • "It is only a local interface." -> Local is exactly the escalation surface; a standard user on the host reaches the interface, and the question is whether it authorizes them, not whether it is remote.
  • "The service checks that a client connected." -> Connecting is not authorization; confirm the service checks the caller is entitled to the specific operation and its arguments.
  • "Impersonation makes it safe." -> Only if the impersonation actually confines the action to the caller's privilege; a crafted caller or a missed drop can flip the trust the other way.
  • "Only our application calls this pipe." -> If the interface permissions allow standard users, anyone on the host can call it; confirm the access control, not the intended client.
  • "The operation just takes a path." -> A caller-supplied path into a privileged write is precisely the lever; validate the path and authorize the caller rather than trusting the argument.

Executing this in practice

You need every named pipe, RPC endpoint, and local COM server a privileged service exposes, the access control on each, the actions each reachable operation performs, whether it authorizes the caller and its input, and how it impersonates connecting clients. For each reachable operation, decide whether a lower-privileged caller can drive a privileged action without the authorization the boundary should enforce. Reading the permissions and the operation's handling settles most leads; connecting as a lower-privileged caller and driving a benign privileged action on an isolated host settles the rest.

Related

  • hunting-ntlm-coercion-and-relay - the interfaces that coercion triggers abuse to induce outbound authentication are the local endpoints this skill audits, meeting on the exposed interface.
  • hunting-windows-service-privilege-escalation - the privileged service behind the interface is the same service whose configuration that skill audits, a companion route to the same account.
  • auditing-windows-token-and-privilege-abuse - unsafe impersonation on an interface captures a caller's token, the impersonation lever that skill audits from the privilege side.
  • auditing-electron-ipc-trust - a renderer-to-main IPC boundary that trusts a caller without authorization is the application-layer cousin of the operating-system interfaces this skill audits.
  • FINDING-SCHEMA.md - source = the lower-privileged call into the interface, sink = the privileged action the service performs, evidence = a standard user driving a benign privileged action through the interface on an isolated host.

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

Что делает навык ИИ Auditing Windows Named Pipe And Rpc Exposure?

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

Зачем использовать Auditing Windows Named Pipe And Rpc Exposure в TypingMind?

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

Как установить Auditing Windows Named Pipe And Rpc Exposure в TypingMind?

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

Какие модели ИИ могут использовать Auditing Windows Named Pipe And Rpc Exposure?

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

Со сколькими моделями ИИ можно использовать Auditing Windows Named Pipe And Rpc Exposure?

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

Бесплатен ли навык ИИ Auditing Windows Named Pipe And Rpc Exposure?

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

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

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

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

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

Все
Логотип openclaw

Release Openclaw Ci

openclaw
ОрганизацияПопулярный

Запускайте и отслеживайте полный CI-процесс релиза OpenClaw, проверки релиза, контрольные проверки подключений к рабочим провайдерам, подтверждения установки и обновления, а также предварительные проверки секретов релиза; разбирайте ошибки и составляйте сводки.

82.2K
391K
Файлы: 3
Открыть
Логотип openclaw

Release Openclaw Mac

openclaw
ОрганизацияПопулярный

Запускайте или восстанавливайте процессы подписания релизов OpenClaw для macOS, нотариального заверения, обновления appcast и публикации ресурсов.

82.2K
391K
Инструкции
Открыть
Логотип openclaw

Release Openclaw Maintainer

openclaw
ОрганизацияПопулярный

Готовьте, публикуйте, восстанавливайте или проверяйте бета-, стабильные и расширенные стабильные релизы OpenClaw, включая утверждённые обратные переносы изменений.

82.2K
391K
Файлы: 11
Открыть
Логотип openclaw

Release Openclaw Plugin Testing

openclaw
ОрганизацияПопулярный

Планируйте и проводите проверку плагинов OpenClaw перед релизом: проверяйте встроенные плагины, артефакты пакетов, команды жизненного цикла, doctor/fix, обратное преобразование конфигурации, запуск gateway, совместимость SDK, Docker E2E,…

82.2K
391K
Файлы: 1
Открыть

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

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