Auditing Windows Named Pipe And Rpc Exposure logo

Auditing Windows Named Pipe And Rpc Exposure

Organization
UnboundCompute
auditing-windows-named-pipe-and-rpc-exposure

Audit local privilege escalation through Windows inter-process interfaces, where a privileged service exposes a named pipe, remote procedure call endpoint, or local COM server that a lower-privileged caller can reach and that performs a privileged action, impersonates the caller unsafely, or trusts caller-supplied input without authorization, letting a standard user drive privileged behavior. Use when a service listens on a named pipe, an RPC interface, or a COM server reachable by non-administrators. Covers weak interface permissions, unsafe impersonation of a connecting client, missing caller authorization, and privileged actions exposed to low-privileged callers. The lower-privileged call into the interface is the source, the privileged action the service performs is the sink, and driving privileged behavior as a standard user is the bug.

Overview

PublisherUnboundCompute
Repositorysecurity-agent-skills
Skill nameauditing-windows-named-pipe-and-rpc-exposure
Stars
27
Forks
8
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by UnboundCompute on GitHub. Read the source before you install it.

Installation

Install the Auditing Windows Named Pipe And Rpc Exposure AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-windows-named-pipe-and-rpc-exposure
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Auditing Windows Named Pipe And Rpc Exposure in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Auditing Windows Named Pipe And Rpc Exposure on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Auditing Windows Named Pipe And Rpc Exposure is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the Auditing Windows Named Pipe And Rpc Exposure AI skill do?

Audit local privilege escalation through Windows inter-process interfaces, where a privileged service exposes a named pipe, remote procedure call endpoint, or local COM server that a lower-privileged caller can reach and that performs a privileged action, impersonates the caller unsafely, or trusts caller-supplied input without authorization, letting a standard user drive privileged behavior. Use when a service listens on a named pipe, an RPC interface, or a COM server reachable by non-administrators. Covers weak interface permissions, unsafe impersonation of a connecting client, missing ca...

Why use Auditing Windows Named Pipe And Rpc Exposure on TypingMind?

Because you install it once and use it with any model. Auditing Windows Named Pipe And Rpc Exposure is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Auditing Windows Named Pipe And Rpc Exposure in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-windows-named-pipe-and-rpc-exposure. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Auditing Windows Named Pipe And Rpc Exposure?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Auditing Windows Named Pipe And Rpc Exposure?

As many as you like. As long as a model supports skills, you can use Auditing Windows Named Pipe And Rpc Exposure with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Auditing Windows Named Pipe And Rpc Exposure AI skill free?

Yes. It is published on GitHub by UnboundCompute under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇