c2-sliver
Skill này làm gì
Hướng dẫn này nói về cách một framework mô phỏng đối thủ mã nguồn mở được dùng trong một đợt tấn công được ủy quyền. Dành cho đội red team cần chạy và theo dõi framework trong quy tắc của đợt kiểm thử.
Khi nào nên dùng
- ✓Khi một đợt kiểm thử được ủy quyền cần một framework lệnh để kiểm tra khả năng phát hiện.
- ✓Khi một nhóm phải theo dõi listener, implant và phiên nào đang hoạt động trong một bài kiểm tra.
- ✓Khi người vận hành cần xác nhận một implant đã kết nối trở lại.
Liên kết skill
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/post-exploit/c2-sliver/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Cho đợt kiểm thử được ủy quyền của chúng tôi, bạn có thể thiết lập listener Sliver và báo cáo xem implant kiểm thử đã kết nối về chưa không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent dùng các công cụ lưu trữ sẵn của framework để khởi động listener, tạo một implant cho mục tiêu được ủy quyền và kiểm tra trạng thái gọi lại trước khi báo cáo.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Sliver C2 Framework
Sliver is an open-source, cross-platform adversary emulation framework by BishopFox. It supports beacon (async) and session (interactive) implants over mTLS, HTTPS, DNS, and WireGuard channels with multi-operator support.
Hosted engagement path
The hosted Run uses an engagement-isolated E2B Sliver companion. Provision it only when an authorized objective requires C2 by calling c2_ensure; c2_status merely observes an existing companion. Use the registered sliver_ MCP tools for listener jobs, implants, sessions, beacons, and commands. The initial tool set includes sliver_start_http_listener, sliver_generate_implant, sliver_list_sessions, and sliver_list_beacons. Call c2_find_tools for an uncommon operation and inspect its native argument schema before invocation. The C2 tab mirrors RPC activity; it is not an interactive control channel.
Use the public HTTPS listenerUrl returned by c2_ensure for an implant unless another reachable listener was explicitly configured. sliver_generate_implant returns an artifact ID; c2_stage_artifact copies that artifact into the engagement terminal sandbox for authorized delivery. To send a terminal file to a Sliver target, call c2_import_artifact with its /workspace path, then use the returned artifact ID with the relevant sliver_ MCP operation. Do not invent a local Docker host, operator config, or CLI session for a hosted run.
Standalone OSS console reference
The following CLI examples apply only when a standalone runtime actually exposes a local Sliver server, a client config, and an interactive terminal. They are not the hosted production path.
Decepticon Setup
Server:
c2-slivercontainer onsandbox-net(daemon mode, gRPC on port 31337) Client:sliver-clientpre-installed in sandbox Config: Auto-generated operator config at/workspace/.sliver-configs/decepticon.cfgConnection Procedure (via bash tool)
# 1. Verify C2 reachable bash(command="nc -z c2-sliver 31337 && echo 'C2_OK' || echo 'C2_DOWN'", description="Check the Sliver C2 server is reachable") # 2. Import operator config (once — skip if already imported) bash(command="ls ~/.sliver-client/configs/ 2>/dev/null | grep -q . || sliver-client import /workspace/.sliver-configs/decepticon.cfg", description="Import the Sliver operator config if not already present") # 3. Start interactive console in dedicated tmux session bash(command="sliver-client console", session="c2", description="Open the Sliver client console") # 4. Run Sliver commands interactively bash(command="https --lhost 0.0.0.0 --lport 443 --domain c2-sliver", is_input=True, session="c2", description="Start an HTTPS listener on port 443") bash(command="sessions", is_input=True, session="c2", description="List active Sliver sessions")IMPORTANT:
- Do NOT generate operator configs manually — use the pre-generated one at
/workspace/.sliver-configs/decepticon.cfg- Do NOT start
sliver-serverin sandbox — the server runs in its own containersliver-client consoleis interactive — MUST use a dedicated session (e.g.session="c2") and send subsequent commands withis_input=True- If "multiple configs found":
bash(command="sliver-client console --config ~/.sliver-client/configs/decepticon_c2-sliver.cfg", session="c2", description="Open the Sliver console with the explicit config")
1. Listener Configuration
All commands below run inside the Sliver console (
session="c2",is_input=True).
HTTPS Listener
# Basic HTTPS listener on 443
https --lhost 0.0.0.0 --lport 443 --domain c2-sliver
# HTTPS with custom certificate (better OPSEC)
https --lhost 0.0.0.0 --lport 443 --domain c2-sliver \
--cert /workspace/certs/cert.pem \
--key /workspace/certs/key.pem
# HTTPS with Let's Encrypt (requires DNS control)
https --lhost 0.0.0.0 --lport 443 --domain c2-sliver --lets-encrypt
DNS Listener
# DNS listener — requires NS record pointing to C2 server
dns --domains c2.<TARGET> --lport 53
# Verify DNS resolution
dig @c2-sliver test.c2.<TARGET> TXT +short
mTLS Listener
# mTLS — encrypted, mutual authentication (recommended for internal pivoting)
mtls --lhost 0.0.0.0 --lport 8888
# mTLS on non-standard port
mtls --lhost 0.0.0.0 --lport 8443
WireGuard Listener
# WireGuard tunnel — full network access through implant
wg --lhost 0.0.0.0 --lport 51820
Câu hỏi thường gặp
Sliver hỗ trợ những gì?
Hướng dẫn cho biết nó hỗ trợ nhiều loại kênh, gồm HTTPS và DNS.
Việc tạo một implant có nghĩa là nó đã chạy không?
Không. Hướng dẫn nói một implant đã tạo không chứng minh rằng việc gọi lại đã xảy ra.
Có giới hạn nào không?
Các hành động bị giới hạn trong mục tiêu được ủy quyền và môi trường lưu trữ của đợt kiểm thử.
Chi tiết
Mô tả gốc của tác giả
Sliver C2 operations through hosted E2B MCP tools or an explicitly available standalone console.
Độ phổ biến
- Sao GitHub
- 6.5k
- Vị trí xếp hạng
- #14129
- Giấy phép
- Apache-2.0
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
detector-overview
6.5kGiúp agent của bạn đọc code mà một công cụ quét đã đánh dấu, rồi quyết định điểm nào là lỗ hổng bảo mật thật và điểm nào là báo động giả.
exploiter-overview
6.5kGiúp agent của bạn ghép nhiều lỗ hổng bảo mật đã xác nhận thành một chuỗi kiểm thử và kiểm tra chuỗi đó có thể gây hậu quả đến đâu.
llm-redteam-overview
6.5kGiúp agent của bạn tìm đúng hướng dẫn red-team AI cho một bài kiểm thử, bao quát 15 nhóm chiến thuật từ prompt injection đến lạm dụng mô hình.
aatmf-t01-prompt-injection
6.5kGiải thích prompt injection, khi các chỉ dẫn ẩn cố ghi đè một hệ thống AI, để chuyên gia bảo mật có thể kiểm tra lỗi này.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.