c2-sliver
できること
このガイドは、オープンソースの攻撃者エミュレーション・フレームワークを、許可された業務の中でどう使うかを扱います。業務のルールの中でフレームワークを実行し、追跡する必要があるレッドチーム向けです。
使う場面
- ✓許可された業務で、検知をテストするためのコマンドフレームワークが必要なとき。
- ✓テストの中で、どのリスナー、インプラント、セッションが有効かを追跡する必要があるとき。
- ✓オペレーターが、インプラントがチェックインしたことを確認する必要があるとき。
スキルのリンク
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/post-exploit/c2-sliver/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私たちの許可された業務のために、Sliverのリスナーを設定し、テスト用のインプラントがチェックインしたかどうかを報告してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはホスト型のフレームワークツールを使い、リスナーを起動し、許可された対象のインプラントを生成します。報告する前に、コールバックの状態を確認します。
技術的な内容(元の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を含む複数の通信経路の種類に対応しています。
インプラントを生成したら、実行されたことになりますか?
いいえ。ガイドによると、生成されたインプラントは、コールバックが発生したことを証明しません。
どのような制限がありますか?
行動は、許可された目的と、業務のホスト型環境の範囲に限られます。
詳細
作者による元の説明
Sliver C2 operations through hosted E2B MCP tools or an explicitly available standalone console.
人気
- GitHubのスター
- 6.5k
- ランキング
- #14129
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
detector-overview
6.5kエージェントが、スキャナーが指摘したコードを読み、本物のセキュリティバグと誤検知を見分けられるよう支援します。
exploiter-overview
6.5kエージェントが、確認済みの複数のセキュリティ上の弱点を一つのテストの連鎖にまとめ、その影響がどこまで及ぶかを確認できるよう支援します。
llm-redteam-overview
6.5kエージェントが、プロンプトインジェクションからモデルの悪用まで、15の戦術グループの中から適切なAIレッドチーム用ガイドを見つけられるよう支援します。
aatmf-t01-prompt-injection
6.5kプロンプトインジェクションを説明します。隠された指示でAIシステムを乗っ取ろうとする手口を、セキュリティテスターが確認できるようにします。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。