Hands-on security labs for Elasticsearch
Realistic cases instead of isolated exercises: investigate an incident as a SOC analyst, write detection rules that are scored on precision and recall, and onboard raw logs as a content engineer. Every lab runs in your browser against a live Elasticsearch cluster and is graded automatically.
The labs are free. You only need an account so that your progress, points and saved queries are kept.
- scenario labs
- 9
- graded tasks
- 47
- roles: SOC, detection, content
- 3
Lab catalogue
Each lab is a fictional incident at the logistics company Kestrel with a week of synthetic logs. Tasks, hints and solutions are available after signing in.
🛡️ SOC analysts
Triage, investigation, threat huntingWork real alerts end to end: confirm the attack, build the timeline, scope the impact and prove hunting hypotheses across several data sources. The same workflow as in your SIEM, without risk.
- Beginner25 min
Friday night push storm
Triage an MFA fatigue alert on the cloud console and scope what the attacker did with the account.
KQLES|QLMITRE ATT&CK: T1621, T1098.001, T1530, T1136.003
7 tasks · 100 points
- Intermediate35 min
From invoice to exfiltration: the incident timeline
Rebuild the attack on wks-fin-07 step by step for the incident report, from the macro to the cleared event log.
ES|QLEQLMITRE ATT&CK: T1566.001, T1059.001, T1003.001, T1569.002, T1567, T1070.001
7 tasks · 100 points
- Advanced40 min
Hypothesis hunt on the web server
Prove a hunting hypothesis across four indices: from SSH brute force to a hidden cryptominer and shared attacker infrastructure.
ES|QLMITRE ATT&CK: T1110.001, T1078, T1105, T1496
6 tasks · 100 points
🎯 Detection engineering
Rules, tuning, MITRE ATT&CKWrite rules in KQL, EQL and ES|QL against a week of data with the attack and plenty of legitimate look-alikes. The grader reports true and false positives, precision and recall, like a rule review.
- Intermediate35 min
Detections for cloud identity attacks
Write rules for MFA fatigue and IAM backdoors that catch the attack and stay quiet on IT's routine work.
ES|QLEQLKQLMITRE ATT&CK: T1621, T1098.001, T1098.003, T1562.008
5 tasks · 100 points
- Intermediate40 min
Endpoint rules for the Kestrel intrusion
Turn the attack on wks-fin-07 into precise EQL and ES|QL detections, without alerting on IT scripts or the nightly backup.
EQLES|QLMITRE ATT&CK: T1204.002, T1027, T1003.001, T1070.001, T1048
5 tasks · 100 points
- Beginner25 min
Web attack detections for the shop
Rules for SQL injection tools, error spikes, admin brute force and bulk exports, tuned against a week of normal shop traffic.
KQLES|QLMITRE ATT&CK: T1190, T1110, T1213
4 tasks · 100 points
🧩 Content engineering
Parsing, ECS, data onboardingOnboard raw logs: write Grok and DISSECT patterns, fix broken parsers, map fields to ECS and prove with a query that the data answers the SOC's questions.
- Beginner30 min
Onboard the edge firewall
Turn raw iptables lines into ECS fields with Grok and DISSECT, categorize them and use the result for a first analysis.
ES|QLGrokDISSECTECS4 tasks · 100 points
- Intermediate35 min
Fix the broken sshd parser
A colleague's sshd pattern silently drops lines. Find the gap, fix it, map the fields to ECS and prove the result.
ES|QLGrokECS4 tasks · 100 points
- Advanced40 min
Parse the shop application log
Build a structured view of a custom application log: header, key=value pairs and types, then answer business and security questions.
ES|QLGrokDISSECT5 tasks · 100 points
How labs work
- ✅ Answers and rules are checked automatically: your query runs against the lab cluster and is compared with the reference result.
- 🎯 Detection rules are tested against the whole week of data: every attack event must match, legitimate look-alikes must not. You see true and false positives, precision and recall.
- 💡 Hints are there when you are stuck, but each one costs 20 % of the task's points. Revealing the solution after three attempts gives 0 points for that task.
- 📈 Your points and completed labs appear on your dashboard, and team leads can assign labs and follow the progress.
🧪 Sandbox
Free query editor for KQL, ES|QL and EQL on all lab data. Try ideas, save your queries and share them by link.
New to the query languages? The free courses teach KQL, ES|QL, EQL, Grok and ECS step by step. Courses →
Frequently asked questions
- Do I need an account for the labs?
- Yes. The labs are free, but they are only available to registered users, so your progress, points and saved queries are kept. Sign up with GitHub, Google or your e-mail address in under a minute.
- What do the labs cost?
- Nothing. All labs, the sandbox and the team features are free. Querynaut is a non-profit project supported by voluntary donations.
- Which roles are the labs for?
- For SOC analysts (triage, investigation, threat hunting), detection engineers (rules, tuning, MITRE ATT&CK) and content engineers (parsing with Grok and DISSECT, ECS mapping, data onboarding).
- Do I need my own Elasticsearch cluster?
- No. All queries run in your browser against a hosted, read-only Elasticsearch cluster with synthetic security data.
- Can I assign labs to my team?
- Yes. Team leads can assign labs with a due date and follow each member's points and progress.
Ready for your first incident?
Create a free account and start with a beginner lab. Hints help when you get stuck.