Video summary

SOC Automation Project (Home Lab) | Part 5

Main summary

Key takeaways

Technology

Summary

In the final installment of the SOC Automation Project home-lab series, the presenter connects Wazuh, Shuffle (a SOAR platform), and TheHive (case management) to build an automated alert-to-response workflow. The example starts with a Mimikatz detection and demonstrates analyst-approved IP blocking on an Ubuntu host.

Tutorial and key steps

  1. Send Wazuh alerts to Shuffle

    • Create a Shuffle workflow with a webhook trigger, then add its URL to Wazuh’s integration configuration.
    • Filter the integration by Wazuh rule ID 100,002 instead of sending every alert at a selected severity level.
    • Restart the Wazuh manager, generate test telemetry, and verify that the alert arrives in Shuffle.
    • An initial failure is traced to an incorrectly composed URL with an extra http/https mismatch. Correcting the URL allows events through.
  2. Extract and check a file hash

    • Use a regex capture step in Shuffle to extract the SHA-256 value from Wazuh’s hash field, which includes a prefix such as sha256=.
    • The presenter uses ChatGPT to help draft the regex and checks that Shuffle outputs only the hash.
    • A VirusTotal hash lookup initially returns a 404. Comparing the Shuffle app’s URL with VirusTotal’s API documentation reveals that the app uses an outdated endpoint. The presenter forks and edits the app to use the documented file-ID endpoint.
    • The returned VirusTotal data includes analysis statistics. At the time of recording, 63 of 71 scanners detected the sample hash as malicious.
  3. Create an alert in TheHive

    • Create a dedicated TheHive organization and users, including a service account for Shuffle. The tutorial recommends following least privilege in a real environment rather than granting broad permissions.
    • Authenticate Shuffle to TheHive using the service account’s API key.
    • Map Wazuh event details—such as time, host, user, process ID, command line, rule ID, severity, and tags—to a TheHive alert.
    • Run a test to confirm that the alert is created and available for analysts to review.
  4. Email the analyst

    • Configure the workflow to email selected alert details, including the detection time, title, and affected host.
    • Test delivery using a disposable email address.
  5. Demonstrate analyst-approved active response

    • Use a second workflow to request a JWT token from the Wazuh API, then prompt an analyst to decide whether to block a source IP.
    • Configure the Wazuh manager with the firewall-drop active response, which adds a firewall rule on the Ubuntu agent.
    • The tutorial notes that the active-response name used through the API includes a timeout suffix. The Wazuh agent-control utility can list the available response names.
    • After correcting the Shuffle request to pass the IP in the alert data, the presenter confirms that analyst approval triggers the block and that the IP appears in Ubuntu’s iptables.

Product feature highlighted

The presenter discusses SquareX’s disposable browser and file viewer as investigation aids for interactively inspecting suspicious websites and reviewing potentially risky documents without setting up a personal sandbox. Claims about data handling and destruction of session artifacts are attributed to SquareX. This is a sponsor promotion, not an independent test or review.

Practice assignment

The presenter’s homework is to build a low-spec cloud Ubuntu machine, install a Wazuh agent, and create a workflow that:

  • Sends all level-5 alerts to Shuffle.
  • Enriches source IPs with VirusTotal.
  • Emails an analyst to ask whether to block the IP.
  • Creates a TheHive alert.
  • Adds the IP to iptables if the analyst approves.

The example opens inbound access broadly for the lab. Treat this as a demonstration setup, not a recommended production firewall policy.

Main speaker and sources

  • Main speaker: MyDFIR presenter, providing the walkthrough and lab assignment.
  • Tools and references: Wazuh, Shuffle, TheHive, VirusTotal API documentation, ChatGPT (for regex assistance), and SquareX (sponsor segment).

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