Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyberark/pipeviewer
A tool that shows detailed information about named pipes in Windows
https://github.com/cyberark/pipeviewer
blueteam cybersecurity namedpipe namedpipes redteam redteam-tools research-tool windows
Last synced: 4 days ago
JSON representation
A tool that shows detailed information about named pipes in Windows
- Host: GitHub
- URL: https://github.com/cyberark/pipeviewer
- Owner: cyberark
- License: apache-2.0
- Created: 2022-12-22T12:35:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-15T09:55:35.000Z (about 2 months ago)
- Last Synced: 2024-12-21T12:02:59.806Z (11 days ago)
- Topics: blueteam, cybersecurity, namedpipe, namedpipes, redteam, redteam-tools, research-tool, windows
- Language: C#
- Homepage:
- Size: 17.1 MB
- Stars: 577
- Watchers: 11
- Forks: 48
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![GitHub release][release-img]][release]
[![License][license-img]][license]
![Downloads][download]
A GUI tool for viewing Windows Named Pipes and searching for insecure permissions.The tool was published as part of a research about Docker named pipes:
["Breaking Docker Named Pipes SYSTEMatically: Docker Desktop Privilege Escalation – Part 1"](https://www.cyberark.com/resources/threat-research-blog/breaking-docker-named-pipes-systematically-docker-desktop-privilege-escalation-part-1)
["Breaking Docker Named Pipes SYSTEMatically: Docker Desktop Privilege Escalation – Part 2"](https://www.cyberark.com/resources/threat-research-blog/breaking-docker-named-pipes-systematically-docker-desktop-privilege-escalation-part-2)## Overview
PipeViewer is a GUI tool that allows users to view details about Windows Named pipes and their permissions. It is designed to be useful for security researchers who are interested in searching for named pipes with weak permissions or testing the security of named pipes. With PipeViewer, users can easily view and analyze information about named pipes on their systems, helping them to identify potential security vulnerabilities and take appropriate steps to secure their systems.## Usage
Double-click the EXE binary and you will get the list of all named pipes.
## Build
Build the PipeViewer project using Visual Studio or the command line. Here's how:
### Using Visual Studio
Open `PipeViewer.sln` in Visual Studio.
Navigate to Build > Batch Build > Select "Release" for PipeViewer and click `Build`.
### Using Command Line
Open a Command Prompt and navigate to your project directory.
```bash
cd path\to\PipeViewer
msbuild PipeViewer.sln /p:Configuration=Release /p:Platform="Any CPU"
```
- Make sure that MSBuild is added to your system's PATH or provide the full path to the MSBuild executable.
The executable will be created in: 'C:\path\to\PipeViewer\PipeViewer\bin\Release'.When downloading it from GitHub you might get error of block files, you can use PowerShell to unblock them:
```powershell
Get-ChildItem -Path 'D:\tmp\PipeViewer-main' -Recurse | Unblock-File
```## Warning
We built the project and uploaded it so you can find it in the releases.
One problem is that the binary will trigger alerts from Windows Defender because it uses the NtObjerManager package which is flagged as virus.
Note that James Forshaw talked about it [here](https://youtu.be/At-SWQyp-DY?t=1652).
We can't change it because we depend on third-party DLL.## Features
* A detailed overview of named pipes.
* Filter\highlight rows based on cells.
* Bold specific rows.
* Export\Import to\from JSON.
* PipeChat - create a connection with available named pipes.## Demo
https://user-images.githubusercontent.com/11998736/215425682-c5219395-16ea-42e9-8d1e-a636771b5ba2.mp4## Credit
We want to thank James Forshaw ([@tyranid](https://github.com/tyranid)) for creating the open source [NtApiDotNet](https://github.com/googleprojectzero/sandbox-attacksurface-analysis-tools/tree/main/NtApiDotNet) which allowed us to get information about named pipes.## License
Copyright (c) 2023 CyberArk Software Ltd. All rights reserved
This repository is licensed under Apache-2.0 License - see [`LICENSE`](LICENSE) for more details.## ❤️ Showcase
* Presented at Insomnihack 2023 ["Breaking Docker's Named Pipes SYSTEMatically"](https://www.youtube.com/watch?v=03z6o_YOw8M)
* Presented at TyphoonCon 2023 ["Breaking Docker's Named Pipes SYSTEMatically"](https://typhooncon.com/breaking-dockers-pipes/)
* A case study by Nir Chako while using Pipeviewer ["Piping Hot Fortinet VCulnerabilities"](https://pentera.io/resources/research/two-zero-days-forticlient-vpn-2024/)## References
For more comments, suggestions or questions, you can contact Eviatar Gerzi ([@g3rzi](https://twitter.com/g3rzi)) and CyberArk Labs.[release-img]: https://img.shields.io/github/release/cyberark/PipeViewer.svg
[release]: https://github.com/cyberark/PipeViewer/releases[license-img]: https://img.shields.io/github/license/cyberark/PipeViewer.svg
[license]: https://github.com/cyberark/PipeViewer/blob/master/LICENSE[download]: https://img.shields.io/github/downloads/cyberark/PipeViewer/total?logo=github