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/host-recon.md
View on GitHub# 妥协后主机画像
> **TECH:** Quiet 本地侦察,给 C2/持久化/外带选路
> **成功:** notes 里有身份、会话、出网、防御产品、是否域成员
> **不是:** BloodHound、winPEAS、横移扫描(`/ad-recon` `/recon` `/privesc-*`)
---
## Windows
```cmd
whoami
whoami /groups
whoami /priv
hostname
systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"Domain"
echo %USERDOMAIN% %USERDNSDOMAIN% %LOGONSERVER%
quser
query session
net session
net share
ipconfig /all
route print
netstat -ano | findstr LISTENING
```
```powershell
Get-CimInstance Win32_ComputerSystem | select Name,Domain,UserName
Get-NetTCPConnection -State Established -ErrorAction SilentlyContinue |
select LocalAddress,RemoteAddress,RemotePort,OwningProcess
Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\* |
select DisplayName | sort DisplayName
```
防御(只记名字,不 bypass):
```cmd
sc query WinDefend
tasklist | findstr /i "MsMpEng CrowdStrike Sentinel CarbonBlack Elastic Qualys Cybereason"
```
出网粗测(对操作者 C2/redirector,不要扫全网):
```cmd
nslookup example.com
curl -I https://<REDIRECTOR>
```
---
## Linux
```bash
id; hostname -f; uname -a
cat /etc/os-release
w; last -n 15
ip a; ip r; ss -tlnp
env | grep -Ei 'PROXY|HTTP|DOMAIN'
ls /home
lastlog | head
```
```bash
# 防御/代理产品(有则记下)
ps aux | grep -Ei 'falcon|sentinel|elastic|qualys|wazuh|osquery|crowdstrike' | grep -v grep
systemctl is-active auditd apparmor ufw 2>/dev/null
```
---
## 记进 notes
```text
user / integrity / admin?
domain-joined: yes/no
interactive sessions:
egress 443/DNS: ok/fail
EDR/AV product names:
shares / logged-on others:
candidate persist: HKCU vs HKLM / user systemd vs /etc/systemd
candidate C2 transport: HTTPS / DNS
```
域成员只记事实。枚举用户/GPO/LAPS → `/ad-recon`。
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 |