pale-knight/redteam-skill / skills/tunnel
tunnel
VerifiedNetwork reachability and pivoting after an operator already has a foothold. Use to make previously unreachable hosts, subnets, services or listener directions reachable via Ligolo-ng, Chisel, GOST v3, SSH/native forwarding, socat/netsh, Microsoft Dev Tunnels, DNS/HTTP/QUIC fallback transports, and multi-hop routing. This module does not exploit services, obtain credentials, or own C2/persistence. Its success condition is changed reachability: the operator can route/connect to the intended internal network/service through the selected foothold.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.5 KB |
| references/SOURCES.md | markdown | 639 B |
| references/chisel-gost.md | markdown | 1.2 KB |
| references/dev-tunnels.md | markdown | 1.0 KB |
| references/fallback-transports.md | markdown | 585 B |
| references/ligolo-ng.md | markdown | 1.7 KB |
| references/multi-hop.md | markdown | 749 B |
| references/native-forwarding.md | markdown | 896 B |
references/dev-tunnels.md
View on GitHub# Microsoft Dev Tunnels / Legitimate Tunnel Services
## 1. 定位
Microsoft Dev Tunnels 用于把本地服务临时暴露到 Internet,并支持访问控制。红队中可把它当作**reachability primitive**,不是默认 C2 框架。
## 2. CLI
安装当前官方 `devtunnel` CLI 后先检查:
```bash
devtunnel --version
devtunnel -h
```
典型合法功能流:
```text
login/authenticate
→ create tunnel
→ add/host local port
→ obtain public tunnel endpoint
→ operator connects
```
命令和 auth model 可能随 preview/GA 变化,因此以当前 Microsoft docs 为准。
## 3. 红队适用场景
```text
foothold only has outbound Microsoft/cloud reachability
need to expose one local/internal web service temporarily
traditional inbound path impossible
```
## 4. 边界
```text
Dev Tunnel used to expose/connect a service → /tunnel
Dev Tunnel used inside a long-lived command-and-control protocol → /post (C2/OPSEC)
```
## 5. 清理
测试后删除 tunnel resource/host process,确认公网 endpoint 不再可达。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |