본문으로 건너뛰기
Skillpedia
보안6.5k · #14129

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/post-exploit/c2-sliver/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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-sliver container on sandbox-net (daemon mode, gRPC on port 31337) Client: sliver-client pre-installed in sandbox Config: Auto-generated operator config at /workspace/.sliver-configs/decepticon.cfg

Connection 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-server in sandbox — the server runs in its own container
  • sliver-client console is interactive — MUST use a dedicated session (e.g. session="c2") and send subsequent commands with is_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.

repo: BitterSecurity/Decepticon

인기도

GitHub 스타
6.5k
순위
#14129
라이선스
Apache-2.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬