Back to Wazuh

Remoted Module

docs/ref/modules/remoted/README.md

4.14.41.7 KB
Original Source

Remoted Module

The remoted module is responsible for managing secure communication between Wazuh agents and the manager. It handles agent connections, authentication, message routing, and event enrichment.

Key Features

  • Multi-protocol Support: TCP and UDP communication protocols
  • Stateless Metadata Enrichment: Automatic enrichment of agent events with metadata
  • Agent Keep-Alive Processing: Monitoring and tracking agent connection status
  • Event Batching: High-performance event aggregation and forwarding
  • Group Management: Dynamic agent group assignment and configuration distribution

Components

Overview

The remoted module serves as the primary entry point for all agent communications. It:

  1. Receives agent messages via TCP or UDP connections
  2. Authenticates and validates messages using agent keys
  3. Extracts metadata from agent keep-alive messages
  4. Enriches events with agent and host metadata
  5. Forwards events to the analysis engine for processing
  6. Manages agent groups and configuration synchronization
  • wazuh-manager-db: Stores agent information and connection status
  • wazuh-manager-analysisd: Consumes enriched events for rule evaluation
  • agent-upgrade: Handles agent update notifications
  • inventory-sync: Synchronizes agent inventory data