Video summary

SOC Automation Project (Home Lab) | Part 3

Main summary

Key takeaways

Technology

Summary

Part 3 of the SOC automation home-lab series configures TheHive and Wazuh, then connects a Windows 10 client to Wazuh. The goal is to get both platforms running and have the client report security events.

TheHive setup

  • Configure Cassandra, TheHive’s database, by setting its cluster name and replacing localhost addresses with the server’s public IP. Stop Cassandra, remove its old data files, restart the service, and verify that it is running.
  • Configure Elasticsearch for data indexing and queries, including its cluster name and network host. The tutorial uses a single-node setup rather than configuring discovery for a larger cluster.
  • Update file ownership so the TheHive user can access its required storage directory.
  • Edit TheHive’s application configuration to point to Cassandra, Elasticsearch, storage, and the server’s public IP. Cortex and MISP are left enabled as configured by default. Cortex supports enrichment and response, while MISP provides cyber-threat-intelligence capabilities.
  • Start and enable the services, then verify that Cassandra, Elasticsearch, and TheHive are running. Access the TheHive dashboard on port 9000.

Troubleshooting: If login fails because Elasticsearch is down, create a JVM options file to limit Elasticsearch’s Java memory use. The presenter sets the limit to 2 GB for the lab VM, then restarts Elasticsearch.

Wazuh and Windows client setup

  • Log in to the Wazuh dashboard with the administrator credentials obtained during the previous installment. If needed, extract the Wazuh installation archive and read its password file to retrieve the admin and API-user passwords.
  • Add a Windows agent in the dashboard using the Wazuh server’s public IP. Run the generated installation command in an elevated PowerShell window.
  • Start the Wazuh service on Windows and check the dashboard until the agent changes from disconnected to active. The client’s security events can then be queried.

Outcome and next step

By the end, TheHive and Wazuh are running, and the Windows 10 machine is checking in to Wazuh. The next installment will generate telemetry and create an alert related to Mimikatz usage.

Main speaker/source

  • MyDFIR presenter — provides the home-lab walkthrough and troubleshooting guidance.

Rate this summary

Your feedback will help improve summaries.

Improve this summary

Reprocess with a stronger model when the summary feels incomplete or inaccurate.

Pro

Translate summary in another language

Pro

Ask questions to this video

Chat for follow-up questions, clarifications, and source-backed answers.

Coming soon

Share this summary

Original video