{
  "hunt": {
    "meta": {
      "tlp": "clear",
      "hunt": {
        "handoff": "keep-as-periodic-hunt",
        "trigger": "intel-report",
        "methodology": "model-assisted",
        "applicability": "campaign-specific",
        "justification": "VMware vCenter is critical infrastructure and the primary management plane for virtualized estates. A CVSS 9.8 authentication bypass exploited in the wild by state-linked actors (ARMORY CASTLE) requires an emergency hunt to ensure environment integrity."
      },
      "name": "VMware vCenter Authentication Bypass (CVE-2026-123890)",
      "type": "investigation",
      "labels": [
        "hunt",
        "attack.t1190",
        "initial access"
      ],
      "related": [
        {
          "hunt": "vcenter-lateral-movement-to-esxi",
          "reason": "If this hunt confirms vCenter compromise, the next stage is hunting for movement from vCenter to managed ESXi hosts.",
          "relation": "follows"
        }
      ],
      "targets": {
        "web": {
          "name": "Web server / proxy logs",
          "category": "siem",
          "telemetry": [
            "network"
          ]
        },
        "hunter": {
          "name": "Hunt agent",
          "agent": true
        },
        "analyst": {
          "name": "Tier-2 analyst",
          "role": "analyst"
        },
        "endpoint": {
          "name": "Endpoint telemetry (hb_ surfaces)",
          "category": "endpoint",
          "telemetry": [
            "endpoint"
          ]
        },
        "identity": {
          "name": "Identity / sign-in telemetry",
          "category": "identity",
          "telemetry": [
            "identity"
          ]
        }
      },
      "analysis": "While a rule can fire on a vulnerability finding, this hunt correlates internet exposure, unpatched versions, and behavioral anomalies (like rare source IPs hitting SSO paths) to identify active exploitation that static rules may miss if the attacker uses legitimate-looking admin credentials.",
      "coverage": [
        {
          "stage": "external-vcenter-exposure",
          "steps": [
            "vcenter-exposed-perimeter"
          ],
          "status": "covered"
        },
        {
          "stage": "exploit-vcenter-auth-bypass",
          "steps": [
            "vcenter-anomalous-web-traffic"
          ],
          "status": "covered"
        },
        {
          "stage": "unauthorized-administrator-access",
          "steps": [
            "vcenter-administrator-logons"
          ],
          "status": "covered"
        },
        {
          "stage": "vulnerable-vcenter-inventory",
          "steps": [
            "vcenter-vulnerability-scoping",
            "vcenter-internal-inventory"
          ],
          "status": "covered"
        }
      ],
      "scenario": {
        "stages": [
          {
            "name": "External vCenter Exposure",
            "slug": "external-vcenter-exposure",
            "tactic": "initial-access",
            "techniques": [
              "T1190"
            ],
            "observables": [
              "VMware vCenter Server instances exposed to the internet",
              "Open ports 443, 636, or 389 on vCenter infrastructure"
            ]
          },
          {
            "name": "vCenter Authentication Bypass Exploitation",
            "slug": "exploit-vcenter-auth-bypass",
            "tactic": "initial-access",
            "techniques": [
              "T1190"
            ],
            "observables": [
              "CVE-2026-123890",
              "Requests to VMware Directory Service (vmdir) component",
              "Anomalous HTTP requests to vCenter management interfaces"
            ]
          },
          {
            "name": "Unauthorized Administrator Access",
            "slug": "unauthorized-administrator-access",
            "tactic": "initial-access",
            "techniques": [
              "T1190"
            ],
            "observables": [
              "Administrator login events without corresponding authentication steps",
              "Logins for 'Administrator' from unusual or external source IPs",
              "Anomalous session creation in vCenter"
            ]
          },
          {
            "name": "Vulnerable vCenter Inventory",
            "slug": "vulnerable-vcenter-inventory",
            "tactic": "initial-access",
            "techniques": [
              "T1190"
            ],
            "observables": [
              "vCenter Server version < 8.0 U3m",
              "vCenter Server version < 9.0.2.0200",
              "vCenter Server version 7.0",
              "CVE-2026-123890 vulnerability findings"
            ]
          }
        ],
        "summary": "Chinese state-linked actor ARMORY CASTLE has been exploiting a critical authentication bypass in the VMware Directory Service (CVE-2026-123890) to gain unauthorized Administrator access to vCenter Server. The vulnerability allows attackers with network access to bypass authentication via an alternate path or channel, bypassing existing security controls."
      },
      "severity": "critical",
      "rationale": "Start with any host identified in hb_vulnerability_finding with CVE-2026-123890. If scanner coverage is incomplete, use the software inventory query to find vCenter installations. Prioritize hosts that also appear in hb_exposed_assets.",
      "guardrails": {
        "claims": "no_unsupported",
        "evidence": "citation_required",
        "telemetry": "untrusted",
        "missing_data": "not_benign"
      },
      "hypothesis": "An adversary has exploited a critical authentication bypass in the VMware Directory Service (vmdir) to gain unauthorized administrative access to vCenter, likely originating from an external or anomalous source IP.",
      "parameters": {
        "cve_id": {
          "from": {
            "ref": "VMSA-2026-0009",
            "kind": "article",
            "observed": "2026-11-19"
          },
          "type": "string",
          "default": "CVE-2026-123890",
          "description": "Target CVE identifier."
        },
        "scope_hosts": {
          "type": "list[host]",
          "default": [],
          "description": "Specific vCenter hostnames to narrow the behavioral hunt; leave empty to hunt across all managed hosts."
        },
        "lookback_days": {
          "type": "number",
          "default": "14",
          "description": "Days of history to examine."
        },
        "admin_accounts": {
          "type": "list[string]",
          "default": [
            "Administrator",
            "administrator@vsphere.local",
            "root"
          ],
          "description": "Standard administrative accounts for vCenter management."
        }
      },
      "provenance": {
        "authors": [
          {
            "org": "huntbase.io",
            "name": "Huntbase hunt generation"
          }
        ],
        "generated": {
          "by": "huntbase-hunt-generation",
          "from": "https://www.rapid7.com/blog/post/etr-cve-2026-123890-critical-authentication-bypass-vmware-vcenter",
          "gates": [
            "dry-run",
            "lint",
            "critic"
          ],
          "model": "hb_google/gemini-3-flash-preview"
        }
      },
      "references": [
        {
          "url": "https://www.rapid7.com/blog/post/etr-cve-2026-123890-critical-authentication-bypass-vmware-vcenter",
          "name": "Rapid7 \u2014 CVE-2026-123890: Critical Authentication Bypass in VMware vCenter"
        }
      ],
      "blind_spots": [
        {
          "id": "vcenter-log-gap",
          "risk": "Attackers may use alternate paths that do not generate standard HTTP activity in the management server logs, leaving only vmdir-specific logs as evidence.",
          "stage": "exploit-vcenter-auth-bypass",
          "question": "whether the Directory Service component explicitly logged the bypass attempt",
          "requires": "vCenter internal vmdir audit logs"
        },
        {
          "id": "tls-inspection-missing",
          "risk": "Without TLS inspection, only the URL path is visible; the specific CWE-288 alternate channel payload may be hidden in the encrypted stream.",
          "stage": "exploit-vcenter-auth-bypass",
          "question": "the specific body or headers of the HTTP requests used to bypass authentication",
          "requires": "TLS decryption on management traffic"
        }
      ]
    },
    "name": "VMware vCenter Authentication Bypass (CVE-2026-123890)",
    "description": "This hunt identifies VMware vCenter instances vulnerable to CVE-2026-123890, confirms their internet exposure, and searches for evidence of exploitation through anomalous HTTP requests and unauthorized Administrator logins. The phased flow correlates inventory risk with behavioral signals to identify compromised management planes before lateral movement into the virtualized estate occurs."
  },
  "nodes": [
    {
      "id": "hypothesis",
      "type": "hypothesis",
      "label": "Hypothesis",
      "config": {
        "tags": [],
        "coverage": [
          {
            "stage": "external-vcenter-exposure",
            "steps": [
              "vcenter-exposed-perimeter"
            ],
            "status": "covered"
          },
          {
            "stage": "exploit-vcenter-auth-bypass",
            "steps": [
              "vcenter-anomalous-web-traffic"
            ],
            "status": "covered"
          },
          {
            "stage": "unauthorized-administrator-access",
            "steps": [
              "vcenter-administrator-logons"
            ],
            "status": "covered"
          },
          {
            "stage": "vulnerable-vcenter-inventory",
            "steps": [
              "vcenter-vulnerability-scoping",
              "vcenter-internal-inventory"
            ],
            "status": "covered"
          }
        ],
        "rationale": "An adversary has exploited a critical authentication bypass in the VMware Directory Service (vmdir) to gain unauthorized administrative access to vCenter, likely originating from an external or anomalous source IP.",
        "blind_spots": [
          {
            "id": "vcenter-log-gap",
            "risk": "Attackers may use alternate paths that do not generate standard HTTP activity in the management server logs, leaving only vmdir-specific logs as evidence.",
            "stage": "exploit-vcenter-auth-bypass",
            "question": "whether the Directory Service component explicitly logged the bypass attempt",
            "requires": "vCenter internal vmdir audit logs"
          },
          {
            "id": "tls-inspection-missing",
            "risk": "Without TLS inspection, only the URL path is visible; the specific CWE-288 alternate channel payload may be hidden in the encrypted stream.",
            "stage": "exploit-vcenter-auth-bypass",
            "question": "the specific body or headers of the HTTP requests used to bypass authentication",
            "requires": "TLS decryption on management traffic"
          }
        ],
        "scoping_notes": "Start with any host identified in hb_vulnerability_finding with CVE-2026-123890. If scanner coverage is incomplete, use the software inventory query to find vCenter installations. Prioritize hosts that also appear in hb_exposed_assets.",
        "beyond_detection": "While a rule can fire on a vulnerability finding, this hunt correlates internet exposure, unpatched versions, and behavioral anomalies (like rare source IPs hitting SSO paths) to identify active exploitation that static rules may miss if the attacker uses legitimate-looking admin credentials."
      }
    },
    {
      "id": "vcenter-vulnerability-scoping",
      "type": "query",
      "label": "Identify hosts with reported CVE findings",
      "config": {
        "dsl": "sqlite",
        "role": "scoping",
        "source": "endpoint",
        "content": "SELECT device_uid, resource_uid, cve_uid, severity, first_seen FROM hb_vulnerability_finding WHERE cve_uid = '{{cve_id}}' AND status != 'suppressed'",
        "surface": "hb_vulnerability_finding",
        "description": "Find resources already identified as vulnerable to CVE-2026-123890 by security scanners.",
        "expected_signal": "Rows identify specific vCenter resources known to be vulnerable. Silence means no scanner has reported this CVE yet, but the software inventory step may still find vulnerable versions."
      },
      "parents": [
        {
          "id": "hypothesis"
        }
      ],
      "primitive_config": {
        "dsl": "sqlite",
        "role": "scoping",
        "label": "Identify hosts with reported CVE findings",
        "reads": [
          "device_uid",
          "resource_uid",
          "cve_uid",
          "severity",
          "first_seen"
        ],
        "source": "hb_vulnerability_finding",
        "target": "endpoint",
        "content": "SELECT device_uid, resource_uid, cve_uid, severity, first_seen FROM hb_vulnerability_finding WHERE cve_uid = '{{cve_id}}' AND status != 'suppressed'",
        "silence": "not_evidence_of_absence",
        "expected": "Rows identify specific vCenter resources known to be vulnerable. Silence means no scanner has reported this CVE yet, but the software inventory step may still find vulnerable versions.",
        "verified": "dry-run",
        "verified_at": "2026-11-20"
      }
    },
    {
      "id": "vcenter-exposed-perimeter",
      "type": "query",
      "label": "Internet-exposed vCenter instances",
      "config": {
        "dsl": "sqlite",
        "role": "baseline",
        "source": "endpoint",
        "content": "SELECT domain_or_ip, port, product, version, provider, discovered_at FROM hb_exposed_assets WHERE LOWER(product) LIKE '%vcenter%'",
        "surface": "hb_exposed_assets",
        "description": "Find vCenter management interfaces reachable from the internet, which are at highest risk of exploitation.",
        "expected_signal": "Identifies the external perimeter exposure. Any row represents a high-priority target for the ARMORY CASTLE threat actor."
      },
      "parents": [
        {
          "id": "vcenter-vulnerability-scoping"
        }
      ],
      "primitive_config": {
        "dsl": "sqlite",
        "role": "baseline",
        "label": "Internet-exposed vCenter instances",
        "reads": [
          "domain_or_ip",
          "port",
          "product",
          "version",
          "provider",
          "discovered_at"
        ],
        "source": "hb_exposed_assets",
        "target": "endpoint",
        "content": "SELECT domain_or_ip, port, product, version, provider, discovered_at FROM hb_exposed_assets WHERE LOWER(product) LIKE '%vcenter%'",
        "silence": "not_evidence_of_absence",
        "expected": "Identifies the external perimeter exposure. Any row represents a high-priority target for the ARMORY CASTLE threat actor.",
        "verified": "dry-run",
        "verified_at": "2026-11-20"
      }
    },
    {
      "id": "vcenter-internal-inventory",
      "type": "query",
      "label": "Confirm unpatched vCenter versions",
      "config": {
        "dsl": "sqlite",
        "role": "baseline",
        "source": "endpoint",
        "content": "SELECT device_hostname, package_name, package_version, install_path FROM hb_software_inventory WHERE LOWER(package_name) LIKE '%vcenter%' AND ('{{scope_hosts}}' = '' OR instr(',' || '{{scope_hosts}}' || ',', ',' || device_hostname || ',') > 0)",
        "surface": "hb_software_inventory",
        "description": "Verify specific vCenter version strings to identify unpatched systems that scanners might have missed.",
        "expected_signal": "A list of hosts and their versions. Analyst must compare versions (e.g., < 8.0 U3m) against the advisory to confirm vulnerability."
      },
      "parents": [
        {
          "id": "vcenter-vulnerability-scoping"
        }
      ],
      "primitive_config": {
        "dsl": "sqlite",
        "role": "baseline",
        "label": "Confirm unpatched vCenter versions",
        "reads": [
          "device_hostname",
          "package_name",
          "package_version",
          "install_path"
        ],
        "source": "hb_software_inventory",
        "target": "endpoint",
        "content": "SELECT device_hostname, package_name, package_version, install_path FROM hb_software_inventory WHERE LOWER(package_name) LIKE '%vcenter%' AND ('{{scope_hosts}}' = '' OR instr(',' || '{{scope_hosts}}' || ',', ',' || device_hostname || ',') > 0)",
        "silence": "evidence_of_absence",
        "expected": "A list of hosts and their versions. Analyst must compare versions (e.g., < 8.0 U3m) against the advisory to confirm vulnerability.",
        "verified": "dry-run",
        "verified_at": "2026-11-20"
      }
    },
    {
      "id": "early-stage-assessment",
      "type": "analytic",
      "label": "Risk and priority assessment",
      "config": {
        "cite": "required",
        "tools": [
          "endpoint",
          "identity",
          "web"
        ],
        "context": [
          "vcenter-vulnerability-scoping",
          "vcenter-exposed-perimeter",
          "vcenter-internal-inventory"
        ],
        "objective": "Determine which hosts are vulnerable to CVE-2026-123890 and identify those reachable from the internet.",
        "description": "Synthesize the vulnerability reports, exposure data, and inventory to prioritize high-risk vCenter hosts.",
        "max_iterations": 3,
        "expected_signal": "A prioritized list of vulnerable and exposed hosts.",
        "success_criteria": "A per-host risk assessment citing unpatched versions and exposure status."
      },
      "parents": [
        {
          "id": "vcenter-exposed-perimeter",
          "kind": "merge"
        },
        {
          "id": "vcenter-internal-inventory",
          "kind": "merge"
        }
      ]
    },
    {
      "id": "vcenter-anomalous-web-traffic",
      "type": "query",
      "label": "Anomalous web traffic to sensitive paths",
      "config": {
        "dsl": "sqlite",
        "role": "baseline",
        "source": "web",
        "content": "SELECT src_endpoint_ip, COUNT(DISTINCT device_hostname) AS host_count, COUNT(*) AS request_count, MIN(time) AS first_seen, MAX(time) AS last_seen FROM hb_http_activity WHERE (LOWER(url_path) LIKE '/websso/%' OR LOWER(url_path) LIKE '/vca/%' OR LOWER(url_path) LIKE '/vmdir/%') AND ('{{scope_hosts}}' = '' OR instr(',' || '{{scope_hosts}}' || ',', ',' || device_hostname || ',') > 0) AND time >= datetime('now', '-{{lookback_days}} days') GROUP BY src_endpoint_ip HAVING host_count <= 2 ORDER BY request_count DESC",
        "surface": "hb_http_activity",
        "description": "Detect unexpected HTTP traffic to vCenter management endpoints, specifically the vmdir and websso components.",
        "expected_signal": "A concentration of requests to SSO or Directory Service paths from rare source IPs. High volume from an external IP is highly suspicious."
      },
      "parents": [
        {
          "id": "early-stage-assessment"
        }
      ],
      "primitive_config": {
        "dsl": "sqlite",
        "role": "baseline",
        "label": "Anomalous web traffic to sensitive paths",
        "reads": [
          "src_endpoint_ip",
          "device_hostname",
          "url_path",
          "time"
        ],
        "source": "hb_http_activity",
        "target": "web",
        "content": "SELECT src_endpoint_ip, COUNT(DISTINCT device_hostname) AS host_count, COUNT(*) AS request_count, MIN(time) AS first_seen, MAX(time) AS last_seen FROM hb_http_activity WHERE (LOWER(url_path) LIKE '/websso/%' OR LOWER(url_path) LIKE '/vca/%' OR LOWER(url_path) LIKE '/vmdir/%') AND ('{{scope_hosts}}' = '' OR instr(',' || '{{scope_hosts}}' || ',', ',' || device_hostname || ',') > 0) AND time >= datetime('now', '-{{lookback_days}} days') GROUP BY src_endpoint_ip HAVING host_count <= 2 ORDER BY request_count DESC",
        "silence": "not_evidence_of_absence",
        "baseline": {
          "window": "{{lookback_days}}d",
          "compare": "first_seen"
        },
        "expected": "A concentration of requests to SSO or Directory Service paths from rare source IPs. High volume from an external IP is highly suspicious.",
        "verified": "dry-run",
        "prevalence": {
          "by": "device_hostname",
          "key": [
            "src_endpoint_ip"
          ],
          "rare_below": 3
        },
        "verified_at": "2026-11-20"
      }
    },
    {
      "id": "vcenter-administrator-logons",
      "type": "query",
      "label": "Anomalous Administrator sign-ins",
      "config": {
        "dsl": "sqlite",
        "role": "triage",
        "source": "identity",
        "content": "SELECT device_hostname, actor_user_name, src_endpoint_ip, logon_type, status, time FROM hb_auth_signin WHERE instr(',' || '{{admin_accounts}}' || ',', ',' || actor_user_name || ',') > 0 AND status_id = 1 AND ('{{scope_hosts}}' = '' OR instr(',' || '{{scope_hosts}}' || ',', ',' || device_hostname || ',') > 0) AND time >= datetime('now', '-{{lookback_days}} days')",
        "surface": "hb_auth_signin",
        "description": "Find successful administrative logons from source IPs that do not match known management workstations.",
        "expected_signal": "Administrator logins from unusual IPs. Silence is not evidence of absence if the attacker uses internal proxies or session theft."
      },
      "parents": [
        {
          "id": "early-stage-assessment"
        }
      ],
      "primitive_config": {
        "dsl": "sqlite",
        "role": "triage",
        "label": "Anomalous Administrator sign-ins",
        "reads": [
          "device_hostname",
          "actor_user_name",
          "src_endpoint_ip",
          "logon_type",
          "status",
          "time"
        ],
        "source": "hb_auth_signin",
        "target": "identity",
        "content": "SELECT device_hostname, actor_user_name, src_endpoint_ip, logon_type, status, time FROM hb_auth_signin WHERE instr(',' || '{{admin_accounts}}' || ',', ',' || actor_user_name || ',') > 0 AND status_id = 1 AND ('{{scope_hosts}}' = '' OR instr(',' || '{{scope_hosts}}' || ',', ',' || device_hostname || ',') > 0) AND time >= datetime('now', '-{{lookback_days}} days')",
        "silence": "not_evidence_of_absence",
        "expected": "Administrator logins from unusual IPs. Silence is not evidence of absence if the attacker uses internal proxies or session theft.",
        "verified": "dry-run",
        "verified_at": "2026-11-20"
      }
    },
    {
      "id": "exploitation-triage",
      "type": "analytic",
      "label": "Exploitation triage and correlation",
      "config": {
        "cite": "required",
        "tools": [
          "endpoint",
          "identity",
          "web"
        ],
        "context": [
          "early-stage-assessment",
          "vcenter-anomalous-web-traffic",
          "vcenter-administrator-logons"
        ],
        "objective": "Decide if the anomalous HTTP traffic and Administrator logins indicate successful exploitation of CVE-2026-123890 in the context of vCenter vulnerability and exposure.",
        "description": "Correlate the inventory risk with behavioral signals to confirm successful exploitation of the authentication bypass.",
        "max_iterations": 5,
        "expected_signal": "A high-confidence verdict on whether a specific vCenter host has been compromised.",
        "success_criteria": "A per-host verdict of malicious | suspicious | benign, citing both the unpatched status and the specific anomalous activity."
      },
      "parents": [
        {
          "id": "vcenter-anomalous-web-traffic",
          "kind": "merge"
        },
        {
          "id": "vcenter-administrator-logons",
          "kind": "merge"
        }
      ]
    },
    {
      "id": "verdict-decision",
      "type": "checkpoint",
      "label": "Route on verdict",
      "config": {
        "fuzzy": true,
        "judge": "hunter",
        "question": "the exploitation-triage verdict is malicious or suspicious for at least one host",
        "condition": "the exploitation-triage verdict is malicious or suspicious for at least one host",
        "blind_spot": "vcenter-log-gap",
        "confidence": "high",
        "description": "Route the hunt based on the agent's exploitation verdict.",
        "checkpoint_type": "mandatory"
      },
      "parents": [
        {
          "id": "exploitation-triage"
        }
      ]
    },
    {
      "id": "isolate-compromised-host",
      "type": "action",
      "label": "Isolate compromised vCenter",
      "config": {
        "target": "endpoint",
        "description": "Prevent further lateral movement or exfiltration from a compromised management plane.",
        "instructions": "Isolate the compromised vCenter instance from the network immediately. Capture volatile memory and vCenter audit logs before shutdown.",
        "action_approval": "required"
      },
      "parents": [
        {
          "id": "verdict-decision",
          "branch": "on_supports"
        }
      ]
    },
    {
      "id": "analyst-manual-review",
      "type": "task",
      "label": "Analyst manual review",
      "config": {
        "assignee": "analyst",
        "description": "Verify the agent's findings and confirm if source IPs are authorized.",
        "instructions": "Review the identified web traffic and login events. Confirm if the source IPs belong to authorized management workstations or jump boxes. If exploitation is confirmed, initiate an Incident Response procedure."
      },
      "parents": [
        {
          "id": "verdict-decision",
          "branch": "default"
        },
        {
          "id": "verdict-decision",
          "branch": "on_unavailable"
        },
        {
          "id": "isolate-compromised-host"
        }
      ]
    },
    {
      "id": "remediation-and-closeout",
      "type": "task",
      "label": "Remediation and closeout",
      "config": {
        "assignee": "analyst",
        "description": "Document findings and verify patching progress.",
        "instructions": "Ensure all identified vulnerable hosts are scheduled for emergency patching to fixed versions (e.g., 8.0 U3m or 9.0.2.0200). Record what was examined and any remaining blind spots."
      },
      "parents": [
        {
          "id": "verdict-decision",
          "branch": "on_refutes"
        },
        {
          "id": "analyst-manual-review"
        }
      ]
    }
  ]
}