Skip to content
RED SAGSkills
hardCybersecurity Analyst interview question

A production Linux server is suspected to be compromised and may lead to legal action. How do you collect evidence in a forensically sound way while limiting business impact?

What the interviewer wants to hear

  • Plan with stakeholders; decide contain versus observe
  • Follow order of volatility: memory and live state first
  • Use trusted tools and write outputs to external storage
  • Hash all evidence and keep chain of custody
  • Snapshot or image disks, then rebuild rather than clean

Model answer

I first agree the plan with the system owner and legal, including whether to contain immediately or observe briefly, and how to keep the service running, for example by failing over to another node. Then I collect evidence by order of volatility. I capture memory using a trusted tool such as AVML or LiME, and record running processes, network connections, logged-in users and open files. Tools run from trusted media, and output goes to external storage, not the suspect disk. Next I take a disk image or a cloud volume snapshot, and copy key logs. Every item is hashed with SHA-256 and recorded in a chain of custody log with who, when and where. Analysis happens on copies. Finally the server is rebuilt from a known good image, not cleaned in place.

Can you answer it under time pressure?

Take a timed hard round and get scored on every answer.

Start mock interview

More hard Cybersecurity Analyst questions