Logo von Auditing Windows Named Pipe And Rpc Exposure

Auditing Windows Named Pipe And Rpc Exposure

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

Prüfen Sie lokale Rechteausweitungen über Windows-Schnittstellen für die Interprozesskommunikation. Dabei stellt ein privilegierter Dienst eine Named Pipe, einen RPC-Endpunkt oder einen lokalen COM-Server bereit, auf den weniger privilegierte Aufrufer zugreifen können und der privilegierte Aktionen ausführt, den Aufrufer unsicher imitiert oder ungeprüfte Eingaben des Aufrufers ohne Autorisierung akzeptiert. So kann ein Standardbenutzer privilegiertes Verhalten auslösen. Verwenden Sie diesen Skill, wenn ein Dienst über eine Named Pipe, eine RPC-Schnittstelle oder einen COM-Server erreichbar ist, auf den auch Nichtadministratoren zugreifen können. Behandelt werden schwache Schnittstellenberechtigungen, die unsichere Imitation eines verbindenden Clients, fehlende Autorisierung des Aufrufers und privilegierte Aktionen, die weniger privilegierten Aufrufern offenstehen. Der weniger privilegierte Aufruf der Schnittstelle ist die Quelle, die vom Dienst ausgeführte privilegierte Aktion das Ziel. Der Fehler besteht darin, dass ein Standardbenutzer privilegiertes Verhalten auslösen kann.

Übersicht

HerausgeberUnboundCompute
Repositorysecurity-agent-skills
Skill-Nameauditing-windows-named-pipe-and-rpc-exposure
Sterne
27
Forks
8
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von UnboundCompute auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Auditing Windows Named Pipe And Rpc Exposure in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-windows-named-pipe-and-rpc-exposure
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Auditing Windows Named Pipe And Rpc Exposure in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Auditing Windows Named Pipe And Rpc Exposure automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Auditing Windows Named Pipe And Rpc Exposure nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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.

Häufig gestellte Fragen

Was macht der KI-Skill Auditing Windows Named Pipe And Rpc Exposure?

Prüfen Sie lokale Rechteausweitungen über Windows-Schnittstellen für die Interprozesskommunikation. Dabei stellt ein privilegierter Dienst eine Named Pipe, einen RPC-Endpunkt oder einen lokalen COM-Server bereit, auf den weniger privilegierte Aufrufer zugreifen können und der privilegierte Aktionen ausführt, den Aufrufer unsicher imitiert oder ungeprüfte Eingaben des Aufrufers ohne Autorisierung akzeptiert. So kann ein Standardbenutzer privilegiertes Verhalten auslösen. Verwenden Sie diesen Skill, wenn ein Dienst über eine Named Pipe, eine RPC-Schnittstelle oder einen COM-Server erreichbar...

Warum Auditing Windows Named Pipe And Rpc Exposure in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Auditing Windows Named Pipe And Rpc Exposure besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Auditing Windows Named Pipe And Rpc Exposure in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-windows-named-pipe-and-rpc-exposure ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Auditing Windows Named Pipe And Rpc Exposure nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Auditing Windows Named Pipe And Rpc Exposure verwenden?

So viele Sie möchten. In TypingMind können Sie Auditing Windows Named Pipe And Rpc Exposure mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Auditing Windows Named Pipe And Rpc Exposure kostenlos?

Ja. Der Skill wird von UnboundCompute auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇