operating-sliver-c2
Skill này làm gì
Công cụ này giúp thiết lập một máy chủ để mô phỏng các cuộc tấn công mạng được ủy quyền. Nó cho phép bạn tạo các chương trình (gọi là “implants”) có thể dùng để điều khiển máy tính từ xa và thực hiện các hành động sau khi xâm nhập, như thu thập thông tin.
Khi nào nên dùng
- ✓Khi tiến hành kiểm thử bảo mật được ủy quyền trên một mạng.
- ✓Để mô phỏng cách một kẻ tấn công thực sự sẽ hành động.
- ✓Để kiểm tra xem hệ thống phòng thủ có phát hiện các hoạt động đáng ngờ hay không.
Liên kết skill
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/operating-sliver-c2/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
“Hãy thiết lập một máy chủ để kiểm thử xâm nhập và tạo một chương trình cho Windows kết nối về máy chủ đó.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Bạn cài phần mềm máy chủ trên một máy tính. Sau đó, bạn dùng máy chủ này để tạo các chương trình nhỏ (implants). Khi chạy trên máy tính khác, chúng sẽ kết nối ngược về máy chủ, cho phép bạn điều khiển máy đó từ xa.
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.
Operating Sliver C2
Legal Notice: This skill is for authorized security testing, red-team engagements, and educational purposes only. Operating a command-and-control framework against systems you do not own or lack explicit written authorization to test is illegal and may violate computer fraud, wiretap, and abuse statutes. Always work within a signed rules-of-engagement document.
Overview
Sliver is an open-source, cross-platform adversary emulation and command-and-control (C2) framework developed by BishopFox (https://github.com/BishopFox/sliver). It is written in Go and is widely used by red teams as a modern, open alternative to commercial frameworks such as Cobalt Strike. Sliver supports two implant interaction models: sessions (interactive, real-time) and beacons (asynchronous check-in with configurable jitter), and it speaks C2 over Mutual TLS (mTLS), WireGuard, HTTP(S), and DNS. Each implant is dynamically compiled with per-binary, asymmetric encryption keys, so no two implants share static signatures.
Sliver also ships an armory — an alias and extension package manager that installs third-party tooling such as Beacon Object Files (BOFs) and .NET assemblies (e.g., sharpdpapi, seatbelt, rubeus) for in-memory execution. Because Sliver has been adopted by real threat actors (documented by Cybereason, Microsoft, and others), exercising it during sanctioned engagements is valuable both for emulating realistic adversary tradecraft and for validating that defensive controls (EDR, network detection, DNS monitoring) catch its C2 channels. This skill covers deploying the server, generating implants, managing listeners, running post-exploitation, and pivoting through compromised hosts.
When to Use
- When conducting an authorized red-team engagement that requires a resilient, multi-protocol C2 channel
- When emulating a specific threat actor's TTPs that include Sliver (per CTI reporting) during a purple-team exercise
- When validating that EDR and network monitoring detect mTLS/HTTPS/DNS beaconing
- When demonstrating post-exploitation and lateral movement impact for a report
Prerequisites
- A dedicated Linux redirector/team-server host (Sliver server runs on Linux/macOS/Windows; Linux is standard)
- Root or sudo for binding privileged ports (443/53) and installing the multiplayer daemon
- Outbound/inbound network reachability matching the chosen C2 protocol
- Familiarity with Active Directory and post-exploitation concepts
- Signed authorization / rules of engagement
Install Sliver server with the official one-liner, or download release binaries:
# Official installer (downloads latest sliver-server + client)
curl https://sliver.sh/install | sudo bash
# Or download specific release binaries from GitHub
wget https://github.com/BishopFox/sliver/releases/latest/download/sliver-server_linux
wget https://github.com/BishopFox/sliver/releases/latest/download/sliver-client_linux
chmod +x sliver-server_linux sliver-client_linux
Objectives
- Launch the Sliver server console and operate in single- or multiplayer mode
- Start mTLS, HTTPS, and DNS C2 listeners
- Generate session and beacon implants for multiple OS/architectures
- Stage implants and host them for delivery
- Interact with callbacks, run post-exploitation, and dump credentials
- Install and run armory extensions (BOFs and .NET assemblies)
- Pivot through a compromised host into segmented networks
MITRE ATT&CK Mapping
| ID | Technique | Use in this skill |
|---|---|---|
| T1071.001 | Application Layer Protocol: Web Protocols | Sliver HTTP(S) C2 listeners blend implant traffic with normal web traffic |
Related techniques exercised by the workflow:
| ID | Technique |
|---|---|
| T1572 | Protocol Tunneling (WireGuard / pivot tunnels) |
| T1090.001 | Internal Proxy (Sliver pivots) |
| T1059 | Command and Scripting Interpreter (implant execute-assembly / shell) |
| T1620 | Reflective Code Loading (in-memory .NET execution) |
Workflow
Step 1: Start the Sliver server console
Run the server interactively to get the operator console:
sudo ./sliver-server
Inside the sliver > console, confirm version and view help:
sliver > version
sliver > help
Step 2: (Optional) Configure multiplayer for a team
On the server, generate an operator config and start the multiplayer listener:
…
Câu hỏi thường gặp
Tôi có cần sự cho phép để dùng công cụ này không?
Có. Điều quan trọng là phải có sự cho phép bằng văn bản và tuân theo các quy tắc cụ thể trước khi dùng công cụ trên bất kỳ hệ thống nào.
“Implants” và “beacons” là gì?
“Implants” là chương trình cài trên máy mục tiêu để điều khiển nó. “Beacons” là một loại implant đặc biệt, kết nối định kỳ theo cách kín đáo hơn.
Tôi có thể dùng công cụ này trên mọi hệ điều hành không?
Máy chủ có thể chạy trên Linux, macOS hoặc Windows, còn implants có thể được tạo cho Windows, Linux và macOS.
Chi tiết
Mô tả gốc của tác giả
Stand up a Sliver C2 server and mTLS listeners, generate cross-platform implants and beacons, and run post-exploitation, pivoting, and BOF/.NET tooling via the Armory for adversary emulation. Use during authorized, rules-of-engagement-bound red-team engagements that need a full open-source C2 lifecycle spanning server setup, implant generation, and post-exploitation tradecraft.
Độ phổ biến
- Sao GitHub
- 35k
- Vị trí xếp hạng
- #8165
- Giấy phép
- Apache-2.0
- Cập nhật
- 31/8/2026
Bình luận
- …
Thêm skill từ kho mã này
abusing-dpapi-for-credential-access
35kCung cấp cho agent AI của bạn hướng dẫn có sẵn cho một tác vụ cụ thể, giúp nó làm việc tốt hơn và nhanh hơn.
abusing-shadow-credentials-for-privesc
35kDạy agent AI của bạn viết văn bản rõ ràng và có cấu trúc tốt.
achieving-cmmc-level-2-compliance
35kGiúp agent của bạn chuẩn bị môi trường để tuân thủ CMMC Level 2. Triển khai các yêu cầu bảo mật và quản lý tài liệu cần thiết.
acquiring-disk-image-with-dd-and-dcfldd
35kGiúp agent của bạn tạo bản sao chính xác của ổ đĩa. Cách này đảm bảo không mất hay thay đổi thông tin trong quá trình điều tra.
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.