Logo: Auditing Windows Named Pipe And Rpc Exposure

Auditing Windows Named Pipe And Rpc Exposure

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

Auditéiert lokal Privilegieneskalatioun iwwer Windows-Interprozess-Interfaces. Dobäi stellt en héich privilegéierten Déngscht eng Named Pipe, en RPC-Endpunkt oder e lokale COM-Server bereet, deen e Benotzer mat manner Privilegien erreeche kann an deen eng privilegéiert Aktioun ausféiert, de Benotzer onsécher impersonéiert oder Input vum Benotzer ouni Autorisatioun vertraut. Esou kann e Standardbenotzer privilegéiert Funktioune steieren. Benotzt dëse Skill, wann e Service eng Named Pipe, eng RPC-Interface oder e COM-Server ubitt, deen och fir Net-Administrateuren erreechbar ass. Ëmfaasst ze schwaach Interface-Berechtegungen, onsécher Impersonatioun vun engem verbannene Client, feelend Autorisatioun vum Uruffenden a privilegéiert Aktiounen, déi fir Benotzer mat niddrege Privilegien zougänglech sinn. Den Uruff vun engem Benotzer mat manner Privilegien un d'Interface ass d'Quell, déi privilegéiert Aktioun vum Service ass den Zilpunkt, an de Feeler besteet doran, datt e Standardbenotzer privilegéiert Funktioune steiere kann.

Iwwersiicht

EditeurUnboundCompute
Repositorysecurity-agent-skills
Skill-Nummauditing-windows-named-pipe-and-rpc-exposure
Stären
27
Forks
8
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    UnboundCompute huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Auditing Windows Named Pipe And Rpc Exposure an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-windows-named-pipe-and-rpc-exposure
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Auditing Windows Named Pipe And Rpc Exposure an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Auditing Windows Named Pipe And Rpc Exposure automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Auditing Windows Named Pipe And Rpc Exposure net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-Skill Auditing Windows Named Pipe And Rpc Exposure?

Auditéiert lokal Privilegieneskalatioun iwwer Windows-Interprozess-Interfaces. Dobäi stellt en héich privilegéierten Déngscht eng Named Pipe, en RPC-Endpunkt oder e lokale COM-Server bereet, deen e Benotzer mat manner Privilegien erreeche kann an deen eng privilegéiert Aktioun ausféiert, de Benotzer onsécher impersonéiert oder Input vum Benotzer ouni Autorisatioun vertraut. Esou kann e Standardbenotzer privilegéiert Funktioune steieren. Benotzt dëse Skill, wann e Service eng Named Pipe, eng RPC-Interface oder e COM-Server ubitt, deen och fir Net-Administrateuren erreechbar ass. Ëmfaasst ze...

Firwat Auditing Windows Named Pipe And Rpc Exposure op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Auditing Windows Named Pipe And Rpc Exposure besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Auditing Windows Named Pipe And Rpc Exposure an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-windows-named-pipe-and-rpc-exposure an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Auditing Windows Named Pipe And Rpc Exposure benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Auditing Windows Named Pipe And Rpc Exposure benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Auditing Windows Named Pipe And Rpc Exposure domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Auditing Windows Named Pipe And Rpc Exposure gratis?

Jo. UnboundCompute huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇