c2-sliver
यह क्या करती है
यह गाइड बताती है कि एक ओपन-सोर्स एडवर्सरी एमुलेशन फ़्रेमवर्क अधिकृत एंगेजमेंट में कैसे इस्तेमाल होता है। यह रेड टीमों के लिए है जिन्हें एंगेजमेंट के नियमों के अंदर फ़्रेमवर्क चलाना और उसका ट्रैक रखना है।
कब इस्तेमाल करें
- ✓जब अधिकृत एंगेजमेंट को बचाव की जाँच के लिए कमांड फ़्रेमवर्क चाहिए।
- ✓जब टीम को परीक्षण में कौन से लिसनर, implants और सेशन सक्रिय हैं यह ट्रैक करना हो।
- ✓जब ऑपरेटर को पुष्टि करनी हो कि कोई implant चेक-इन कर चुका है।
Skill का लिंक
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/post-exploit/c2-sliver/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारे अधिकृत एंगेजमेंट के लिए, क्या आप Sliver लिसनर सेट कर सकते हैं और बता सकते हैं कि परीक्षण implant ने चेक-इन किया है या नहीं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट होस्टेड फ़्रेमवर्क टूल से लिसनर शुरू करता है, अधिकृत लक्ष्य के लिए implant बनाता है, और रिपोर्ट करने से पहले उसकी कॉलबैक स्थिति जाँचता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
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
अक्सर पूछे जाने वाले सवाल
Sliver कौन से चैनल सपोर्ट करता है?
गाइड कहती है कि यह कई चैनल प्रकार सपोर्ट करता है, जिनमें HTTPS और DNS शामिल हैं।
क्या implant बनाने का मतलब है कि वह चला?
नहीं। गाइड कहती है कि बना हुआ implant यह साबित नहीं करता कि कॉलबैक हुआ।
कौन सी सीमाएँ लागू होती हैं?
कार्रवाई अधिकृत उद्देश्य और एंगेजमेंट के होस्टेड वातावरण तक सीमित है।
जानकारी
लेखक का मूल विवरण
Sliver C2 operations through hosted E2B MCP tools or an explicitly available standalone console.
लोकप्रियता
- GitHub स्टार
- 6.5k
- रैंकिंग में स्थान
- #14129
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
detector-overview
6.5kयह आपके एजेंट को स्कैनर से चिह्नित कोड पढ़ने और तय करने में मदद करती है कि कौन सी जगहें असली सुरक्षा बग हैं और कौन सी गलत चेतावनी।
exploiter-overview
6.5kयह आपके एजेंट को कई पक्की सुरक्षा कमज़ोरियों को एक परीक्षण श्रृंखला में जोड़ने और जाँचने में मदद करती है कि वह श्रृंखला कितनी दूर तक पहुँच सकती है।
llm-redteam-overview
6.5kयह आपके एजेंट को परीक्षण के लिए सही AI रेड-टीम गाइड खोजने में मदद करती है, प्रॉम्प्ट इंजेक्शन से लेकर मॉडल के दुरुपयोग तक 15 रणनीति समूहों में।
aatmf-t01-prompt-injection
6.5kसमझाती है कि प्रॉम्प्ट इंजेक्शन क्या है, जिसमें छिपे निर्देश AI सिस्टम के नियम बदलने की कोशिश करते हैं, ताकि सुरक्षा परीक्षक उसकी जाँच कर सकें।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।