SSH Brute Force & Sudo Detection with OpenSearch SIEM
Advanced · 60 minutes · 100 points
Deploy a single-node OpenSearch container, ship realistic SSH authentication logs and Apache web server logs into it, then craft detection queries that identify SSH brute-force attacks and suspicious sudo privilege escalation sessions. Save your findings as named alerts annotated with MITRE ATT&CK technique IDs (T1110 and T1548). This lab mirrors a real-world SIEM onboarding workflow used by security operations teams.
What you’ll learn
- Deploy and configure a single-node OpenSearch instance with security disabled for lab use
- Generate and ingest realistic SSH auth logs and Apache access logs into OpenSearch indices
- Write DSL queries that detect SSH brute-force (T1110.001) and suspicious sudo sessions (T1548.003)
- Persist detection queries as named saved searches with MITRE ATT&CK technique tags in OpenSearch
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: ubuntu:22.04
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- At least 4GB RAM available for Docker
- Ports 9200 and 5601 free on the host
Topics: opensearch, siem, ssh-brute-force, privilege-escalation, mitre-attack, T1110.001, T1548.003, log-ingestion, detection-engineering, dsl-queries
Create a free account to start this lab.