Detection Engineering & Incident Response: CVE-2023-38646
Respond to a Metabase unauthenticated H2 JDBC RCE compromise (CVE-2023-38646). Reconstruct the timeline from the access and service logs, see how an H2 JDBC connection string executed code at connect time, pre-auth, find the scheduled-task persistence, engineer a detection rule for database-validation requests using the H2 engine with an INIT clause, then contain, eradicate, upgrade, verify and report.
Skills you will practice
- Log analysis
- detection and IR; Incident-handling lifecycle; Code injection / JDBC abuse and IOCs; Security Operations domain
Certifications this lab maps to
This lab builds hands-on skills that appear on these certification exams. thinQtank Learning runs instructor-led training camps for each — click one to see upcoming classes.
The scenario
A Metabase host (CVE-2023-38646 open) logged requests matching CVE-2023-38646 from 198.51.100.27, followed by signs of code execution. You are the responder. Classify it.
What you will do
- Open and classify the incident4 steps
Open the incident · Read the alert · Read the ticket · Classify it
- Reconstruct the timeline3 steps
Pull the attacker's requests · Correlate the service log · What is the impact?
- Scope the exposure3 steps
Inspect the triage capture · What persistence? · Record IOCs
- Engineer a detection rule4 steps
Study the sample · Write a rule · Test and tune · Why this pattern?
- Contain, eradicate, verify5 steps
Contain · Upgrade Metabase · Eradicate the persistence · Verify the host · …
- Report2 steps
Write the report · Why eradicate, not just patch?
How this lab works
A real Linux-style console. Commands run against real files, so hashes, hex dumps and comparisons give real results.
A file browser where you can place evidence into the lab, either the file provided or one of your own.
Reset a single step, a whole task or the entire lab. The environment is rebuilt so you can try again cleanly.
Progress saves after every step. Close the tab and come back later; your files and answers are waiting.