Study guide · Incident Response and Forensics
Incident Response and Forensics
Sooner or later it happens: an account is taken over, ransomware encrypts servers, or data leaks out. Whether that turns into a crisis is decided mostly during preparation. On this page you learn how incident response works, from preparation all the way to the lessons learned. The second part covers forensics: how to secure evidence so that it holds up in court, and which data sources an investigation needs. The running example is once again the mid-sized online retailer with a web shop, a warehouse and its own IT team.
Preparation: roles, playbooks and exercises
Under time pressure, every bit of confusion costs valuable minutes. That is why the retailer defines the roles for incident handling in advance. In an emergency it is then clear who decides what. Typical roles are the incident manager who leads the response, plus technical staff, communications and legal. Every role has a deputy, and it is clear how to reach them.
Common incident types have playbooks. A playbook is a step-by-step guide for a specific type of incident, such as phishing or ransomware. It says who decides, which steps follow and which tools to use. The team then responds quickly and consistently, even at night and on weekends.
A plan that nobody knows is useless in an emergency. So the team practices. In a tabletop exercise, the participants sit around a table and talk through a scenario. Roles, decision paths and gaps in the plan become visible without putting a single system at risk. A simulation goes further. It plays through the incident realistically with real or replica systems, alerts and tools, often under time pressure. The two formats complement each other.
With a retainer, the retailer already has a contract with a forensics provider before anything happens. In an emergency, nobody has to collect quotes or look up phone numbers with a search engine. That saves hours.
How an incident unfolds
Common models, such as the one from the American standards institute NIST, divide incident handling into phases. The process starts before the incident.
- Preparation: roles, playbooks, tools and exercises.
- Detection: an alert, a tip or a search points to a possible incident.
- Analysis: the team checks whether it is a real incident and how far it reaches.
- Containment: the spread is stopped.
- Eradication: the cause and the attacker's traces are removed.
- Recovery: systems return to service after being checked.
- Lessons learned: the team draws conclusions that flow back into preparation.
So detection is followed by analysis and containment. An incident can be noticed in three ways. The first is your own systems, such as an alert from the SIEM. The second is an internal advisory. A typical example is an employee who reports a suspicious email. Employees are important sensors. A simple way to report, such as a button for reporting phishing, and quick feedback encourage these tips. The third way is an external advisory. These are warnings from outside, for example from government agencies, CERTs, partners, customers or security researchers. Such tips need a clear intake channel and a quick review.
Threat hunting: searching actively
If you only wait for alerts, you only find what your rules already know. Threat hunting is the proactive search for attackers who have not been detected so far. Threat hunters work with hypotheses. They look for traces that automated systems did not report, such as unusual logins or processes.
So threat hunting is not waiting for alerts, and it is not law enforcement either. It starts with a well-founded assumption and ends with verified findings.