Detection Engineering & Incident Response: CVE-2026-42167
Respond to a ProFTPD SQL-injection compromise (CVE-2026-42167). Reconstruct the timeline from the FTP auth log and SQL backend log, see how COPY TO PROGRAM turned injection into RCE, find the attacker's cron persistence, engineer a detection rule for malicious usernames, then contain, eradicate, upgrade, verify and report.
Skills you will practice
- Auth and SQL log correlation
- Timeline reconstruction
- SQL injection IOCs
- COPY TO PROGRAM / RCE analysis
- Persistence hunting
- Detection engineering
- Containment and eradication
- Incident reporting
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
An internet-facing ProFTPD server (CVE-2026-42167 open) logged odd usernames followed by a database COPY TO PROGRAM and a new cron job. 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 USER commands · Correlate the SQL log · What turned injection into RCE?
- Impact and persistence3 steps
Inspect the rogue cron · What persistence? · Record IOCs
- Engineer a detection rule4 steps
Study the sample · Write a rule · Test and tune · Why not flag every quote?
- Contain, eradicate, verify4 steps
Remove the persistence · Patch ProFTPD · Verify the host · Confirm detection holds
- Report2 steps
Write the report · Why least privilege too?
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.