VISTASecurity
  • Vista Platform
  • How it works
  • Insights
  • Docs
  • Release status
  • Mailing list
Try Core
Vista Documentation
  • Editions
  • Vista Platform Platform Overview
  • Cbom
    • CBOM Artifacts
  • Features
    • Algorithm Reference
    • AI Assistant Integration (MCP)
    • Asset Approval Workflow
    • Asset Lifecycle Management
    • AWS Cloud Resource Discovery
    • Azure Cloud Resource Discovery
    • Certificate Chain Management
    • CMDB Integrations
    • CMDB Terminology Glossary
    • Compliance Framework Management
    • Crypto Risks Dashboard
    • Cryptographic Keys
    • Device Interrogation Feature
    • Discovery Feature
    • Fortinet Device Interrogation
    • Viewing Frameworks, Controls & Measurements
    • GCP Cloud Resource Discovery
    • Getting Started checklist
    • Global search (⌘K)
    • Inventory and Lenses
    • Measurement Templates
    • Inviting Members
    • Infrastructure Assets and Crypto Configurations
    • Network Spaces Feature
    • Operational Context
    • Page-local Export
    • PCAP File Ingestion
    • Remediation
    • Scopes
    • Enhanced Sensor Registration & Management Guide
    • Spreadsheet Import
    • Third-Party Systems and External Connections
    • Unified Crypto Inventory
  • Guides
    • Audit Logging User Guide
    • Cloud and Device Management Separation – Migration Guide
    • Device Auto-Discovery Troubleshooting Guide
    • Device Interrogation User Guide
    • Tenant Administrator Guide
    • Tenant User Guide
  • Operating VistaPlatform
    • Container runtime images (source of truth)
    • Platform Administrator Guide
    • Releases & Versioning
    • Service Startup and Shutdown Procedures
    • Configuration
      • Platform Integrations Configuration Guide
    • Deployment Documentation
      • Database Deployment Readiness – Sensor Management Enhancements
      • Database Migration Guide
      • Device Agent Deployment Guide
      • Managed vs In-Cluster Data Services (EKS)
      • Deployment Migration Checklist
      • Production Deployment Checklist
      • Deployment Propagation Guide
      • Vista RKE2 v1 β€” Customer Documentation
        • Vista β€” RKE2 Cluster Provisioning Guide
        • Vista Deployment Guide β€” RKE2 v1
        • Vista RKE2 Deployment β€” Pre-Flight Checklist
        • Vista Security Overview β€” RKE2 v1
        • Vista Support Bundle
    • Monitoring
      • Compliance Engine Event Processing Alerts
      • Compliance Log Management & Retention
      • Production Monitoring & Alerting Setup
      • System Monitoring & Alerting Guide
    • Operations
      • Notification Provider Integration Guide
    • Security
      • πŸ”’ Security Architecture for Cloud-Hosted Control Plane
      • Bootstrap Certificate Management
      • Certificate Management Operations Guide
      • Secrets Management Guide
    • Troubleshooting
      • Asset Approval Workflow Issues – Resolution Documentation
      • Troubleshooting Guide
      • Runbooks
        • Gateway Runbook
        • Recovery and Resume After Reboot
Vista/Docs

πŸ”’ Security Architecture for Cloud-Hosted Control Plane

🚨 Problem Statement

Traditional sensor architectures require inbound firewall rules, creating security and deployment challenges:

  • Security Risk: Control plane must accept inbound connections from sensors
  • Deployment Blocker: Enterprise networks often block inbound connections
  • Compliance Issue: May violate network security policies
  • Attack Surface: Control plane becomes a target for attacks

πŸ›‘οΈ Solution: Outbound-Only Communication

Architecture Principles

  1. Sensors initiate all connections (outbound only)
  2. No inbound firewall rules required
  3. Control plane responds with commands via HTTP responses
  4. Webhook support for real-time updates (optional)
  5. Air-gapped export for isolated environments

Communication Patterns

Pattern 1: Heartbeat + Commands (Primary)

Sensor β†’ Control Plane: POST /api/v1/sensors/{id}/heartbeat
Control Plane β†’ Sensor: HTTP Response with commands

Pattern 2: Polling (Fallback)

Sensor β†’ Control Plane: GET /api/v1/sensors/{id}/commands
Control Plane β†’ Sensor: HTTP Response with commands

Pattern 3: Webhooks (Optional)

Control Plane β†’ Sensor: POST /webhook (if sensor exposes endpoint)

πŸ”§ Implementation Details

Sensor Communication Flow

// 1. Sensor registers (outbound only)
POST /api/v1/sensors/register
{
  "registration_key": "REG-550e8400-20260420-A7B3C9",
  "name": "sensor-dc01",
  "platform": "linux",
  "version": "0.5.1",
  "profile": "datacenter_host"
}

// 2. Sensor sends heartbeat (outbound only)
POST /api/v1/sensors/{id}/heartbeat
{
  "sensor_id": "sensor-dc01-eth0-20241215",
  "status": "active",
  "last_heartbeat": "2026-04-28T10:30:00Z",
  "uptime": 3600,
  "memory_usage": 52428800,
  "cpu_usage": 15.5,
  "packets_captured": 15000,
  "discoveries_made": 45,
  "errors": 0
}

// 3. Control plane responds with commands
HTTP 200 OK
{
  "sensor_id": "sensor-dc01-eth0-20241215",
  "timestamp": "2026-04-28T10:30:00Z",
  "commands": [
    {
      "id": "cmd-001",
      "type": "update_config",
      "priority": 5,
      "payload": {
        "reporting_interval": 60,
        "active_probing": true
      },
      "requires_ack": true
    }
  ]
}

// 4. Sensor submits discoveries (outbound only)
POST /api/v1/sensors/{id}/discoveries
{
  "sensor_id": "sensor-dc01-eth0-20241215",
  "discoveries": [...],
  "batch_id": "batch-123",
  "timestamp": "2026-04-28T10:30:00Z",
  "count": 5
}

Security Features

1. Mutual TLS (mTLS)

  • Client certificates for sensor authentication
  • Server certificates for control plane verification
  • Certificate rotation support
  • No shared secrets in configuration

2. Encrypted Storage

  • AES-256-GCM encryption for local data
  • Ephemeral keys (generated at startup)
  • Secure deletion of sensitive data
  • Air-gapped export capability

3. Network Security

  • Outbound HTTPS only (port 443)
  • No inbound connections required
  • BPF filtering for relevant traffic only
  • Minimal network footprint

4. Command Security

  • Command signing and verification
  • Expiration timestamps for commands
  • Priority-based processing
  • Acknowledgment requirements

🌐 Deployment Scenarios

Scenario 1: Connected Environment

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Sensor        β”‚    β”‚  Control Plane   β”‚
β”‚   (Outbound)    │───▢│  (Cloud)         β”‚
β”‚   Port 443      β”‚    β”‚  Port 443        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Requirements:

  • Outbound HTTPS access to control plane
  • No inbound firewall rules
  • Standard enterprise proxy support

Scenario 2: Air-Gapped Environment

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Sensor        β”‚    β”‚  Export File     β”‚
β”‚   (Offline)     │───▢│  (USB/SFTP)      β”‚
β”‚   Local Storage β”‚    β”‚  Manual Transfer β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Requirements:

  • Encrypted local storage
  • Export file generation
  • Manual transfer process
  • Import at control plane

Scenario 3: Hybrid Environment

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Sensor        β”‚    β”‚  Control Plane   β”‚    β”‚   Webhook       β”‚
β”‚   (Polling)     │───▢│  (Cloud)         │───▢│   Service       β”‚
β”‚   + Webhook     β”‚    β”‚                  β”‚    β”‚   (Optional)    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Requirements:

  • Primary: Outbound polling
  • Fallback: Webhook for urgent updates
  • Graceful degradation

πŸ” Security Benefits

1. Reduced Attack Surface

  • No inbound ports exposed on sensors
  • Control plane not directly accessible from sensors
  • Minimal network exposure

2. Enterprise Compliance

  • Standard outbound HTTPS (port 443)
  • No special firewall rules required
  • Compatible with proxy servers

3. Scalability

  • No connection limits on control plane
  • Stateless communication
  • Horizontal scaling support

4. Fault Tolerance

  • Sensors continue operating if control plane is down
  • Local storage for offline operation
  • Automatic retry mechanisms

πŸ“‹ Implementation Checklist

Sensor Implementation

  • Outbound-only HTTP client
  • mTLS certificate support
  • Encrypted local storage
  • Command processing
  • Air-gapped export
  • Heartbeat mechanism

Control Plane Implementation

  • Heartbeat endpoint
  • Command generation
  • Discovery ingestion
  • Webhook support
  • Air-gapped import
  • Certificate management

Security Implementation

  • mTLS authentication
  • Command signing
  • Encrypted storage
  • Secure deletion
  • Certificate rotation
  • Audit logging

πŸš€ Deployment Guide

1. Sensor Deployment

# Install sensor with outbound-only configuration
./crypto-sensor --register --verbose

# Environment variables
export CONTROL_PLANE_URL="https://crypto-inventory.company.com"
export REGISTRATION_KEY="REG-550e8400-20260420-A7B3C9"
export USE_TLS="true"

2. Firewall Configuration

# Required outbound rules
iptables -A OUTPUT -p tcp --dport 443 -j ACCEPT

# No inbound rules required!

3. Proxy Configuration

# Standard HTTPS proxy support
export HTTPS_PROXY="https://proxy.company.com:8080"
export HTTP_PROXY="http://proxy.company.com:8080"

🎯 Benefits Summary

Aspect Traditional Outbound-Only
Firewall Rules Inbound + Outbound Outbound only
Security Risk High Low
Deployment Complex Simple
Compliance Difficult Easy
Scalability Limited High
Fault Tolerance Poor Excellent

πŸ” Monitoring & Alerting

Sensor Health Metrics

  • Heartbeat frequency
  • Command processing time
  • Discovery submission rate
  • Error rates
  • Storage usage

Control Plane Metrics

  • Sensor registration rate
  • Command queue depth
  • Discovery processing rate
  • API response times
  • Certificate expiration

Security Metrics

  • Failed authentication attempts
  • Certificate validation failures
  • Command processing errors
  • Storage encryption status
  • Network connectivity issues

Defense-in-Depth for Internal Service Communication

HMAC-SHA256 Service Authentication

All service-to-service HTTP calls must be signed using HMAC-SHA256 via shared/serviceauth. This provides application-layer authentication on top of mTLS transport security.

Why mTLS alone is not sufficient:

  • mTLS authenticates the transport but not the application-level caller identity
  • If an attacker gains network access (e.g., container escape), mTLS does not prevent unauthorized API calls
  • HMAC signing ensures that only services with the INTERNAL_AUTH_SECRET can make internal API calls

Implementation:

  • Signing (caller side): Use serviceauth.SignRequestFromEnv(req) or create a serviceauth.NewSigner(secret) for explicit control
  • Verification (receiver side): Use serviceauth.NewVerifier(secret) in a RequireInternalAuth() middleware
  • Headers: X-Internal-Call, X-Internal-Timestamp, X-Internal-Signature
  • Clock skew tolerance: 5 minutes maximum
  • Secret management: INTERNAL_AUTH_SECRET env var, auto-generated by start-session.sh

Protected internal endpoints:

  • POST /api/v1/audit-service/activity-logs β€” audit log ingestion
  • POST /api/v1/audit-service/job-execution-logs/* β€” job execution logging
  • POST /api/v1/resource-tracker/metrics β€” resource metrics ingestion

This architecture ensures secure, scalable, and enterprise-ready sensor deployment without requiring inbound firewall rules or compromising network security.

← Security Bootstrap Certificate Management β†’

View source on GitHub Β· Published from 470d8ee

On this page
  • 🚨 Problem Statement
  • πŸ›‘οΈ Solution: Outbound-Only Communication
  • Architecture Principles
  • Communication Patterns
  • Pattern 1: Heartbeat + Commands (Primary)
  • Pattern 2: Polling (Fallback)
  • Pattern 3: Webhooks (Optional)
  • πŸ”§ Implementation Details
  • Sensor Communication Flow
  • Security Features
  • 1. Mutual TLS (mTLS)
  • 2. Encrypted Storage
  • 3. Network Security
  • 4. Command Security
  • 🌐 Deployment Scenarios
  • Scenario 1: Connected Environment
  • Scenario 2: Air-Gapped Environment
  • Scenario 3: Hybrid Environment
  • πŸ” Security Benefits
  • 1. Reduced Attack Surface
  • 2. Enterprise Compliance
  • 3. Scalability
  • 4. Fault Tolerance
  • πŸ“‹ Implementation Checklist
  • Sensor Implementation
  • Control Plane Implementation
  • Security Implementation
  • πŸš€ Deployment Guide
  • 1. Sensor Deployment
  • 2. Firewall Configuration
  • 3. Proxy Configuration
  • 🎯 Benefits Summary
  • πŸ” Monitoring Alerting
  • Sensor Health Metrics
  • Control Plane Metrics
  • Security Metrics
  • Defense-in-Depth for Internal Service Communication
  • HMAC-SHA256 Service Authentication
VISTASecurity

Vista Platform is a self-hosted cryptographic system of record for continuous discovery, evaluation, action, and proof.

Vista Platform

How it works
Governance
Post-Quantum
Core, Enterprise & MSP
Try Core

Resources

About
Insights
Documentation
Release status
GitHub β†—
info@vistasecurity.io
Join the mailing list

Β© 2026 Lakeshore Labs LLC. Vista Security is a brand of Lakeshore Labs LLC. All rights reserved.