Wazuh Architecture
Wazuh Architecture
Ali
Digitally signed
by Ali Ali
DN: c=LB,
st=Beirut, l=AA,
o=MISC,
Ali
ou=ISC, cn=Ali
Ali
Date:
2024.10.23
20:47:52 +03'00'
Wazuh
SIEM Components
General Best Practices for SIEM Architecture
AA0 The Wazuh indexer is a highly scalable, full-text search and analytics engine. This central component indexes and stores alerts
generated by the Wazuh server.
The Wazuh server analyzes data received from the agents. It processes it through decoders and rules, using threat intelligence to look
for well-known indicators of compromise (IOCs). A single server can analyze data from hundreds or thousands of agents, and scale
horizontally when set up as a cluster. This central component is also used to manage the agents, configuring and upgrading them
remotely when necessary.
The Wazuh dashboard is the web user interface for data visualization and analysis. It includes out-of-the-box dashboards for security
events, regulatory compliance (e.g., PCI DSS, GDPR, CIS, HIPAA, NIST 800-53), detected vulnerable applications, file integrity monitoring
data, configuration assessment results, cloud infrastructure monitoring events, and others. It is also used to manage Wazuh
configuration and to monitor its status.
Wazuh agents are installed on endpoints such as laptops, desktops, servers, cloud instances, or virtual machines. They provide threat
prevention, detection, and response capabilities. They run on operating systems such as Linux, Windows, macOS, Solaris, AIX, and
HP-UX.
Ali Ali, 2024-02-12T20:03:14.332
SIEM Components
WAZUH
We can link the agent with third party for enrichment purpose
Monitor usage, Viewing environment usage metrics like CPU, RAM. Metricbeat helps you monitor
your servers and the services they host by collecting metrics from the operating system and services.
This guide describes how to get started quickly with metrics collection. You’ll learn how to:
install Metricbeat on each system you want to monitor
specify the metrics you want to collect
send the metrics to Elasticsearch
visualize the metrics data in Kibana
SIEM Components
WAZUH
SIEM Components
Wazuh, Indexer
Index Description
wazuh-alerts Stores alerts generated by the Wazuh server. These are created
each time an event trips a rule with a high enough priority.
wazuh-archives Stores all events (archive data) received by the Wazuh server,
whether or not they trip a rule.
wazuh-monitoring Stores data related to the Wazuh agent status over time. It is used
by the web interface to represent when individual agents are or
have been Active, Disconnected, or Never connected.
wazuh-statistics Stores data related to the Wazuh server performance. It is used by
the web interface to represent the performance statistics.
SIEM Components
Wazuh, Indexer
SIEM Components
Wazuh, Manger-Server
The Wazuh agent continuously sends events to the Wazuh server for
analysis and threat detection
To start shipping this data, the agent establishes a connection with the
server service for agent connection, which listens on port 1514 by default
(this is configurable)
The Wazuh server then decodes and rule-checks the received events,
utilizing the analysis engine
Events that trip a rule are augmented with alert data such as rule ID and rule
name
Events can be spooled to one or both of the following files, depending on
whether or not a rule is tripped:
The file /var/ossec/logs/archives/archives.json contains all events whether they tripped a
rule or not
The file /var/ossec/logs/alerts/alerts.json contains only events that tripped a rule with
high enough priority (the threshold is configurable)
The Wazuh messages protocol uses AES encryption by default, with 128 bits per block and
256-bit keys. Blowfish encryption is optional
SIEM Components
Wazuh, Agent, Wazuh indexer communication
Wazuh server uses Filebeat to send alert and event data to the Wazuh
indexer, using TLS encryption
Filebeat reads the Wazuh server output data and sends it to the Wazuh
indexer (by default listening on port 9200/TCP)
Once the data is indexed by the Wazuh indexer, the Wazuh dashboard is
used to mine and visualize the information
The Wazuh dashboard queries the Wazuh RESTful API (by default listening
on port 55000/TCP on the Wazuh server) to display configuration and status-
related information of the Wazuh server and agents
It can also modify agents or server configuration settings through API calls.
This communication is encrypted with TLS and authenticated with a
username and password
SIEM Components
Wazuh, Ports
Jehad Lala