Practice: from alert to timeline
15 min · 2 ejercicio(s)
An investigation is a loop: pivot on an indicator, look at the surrounding events, pick the next indicator. KQL is your pivot tool.
Pivot checklist
- Start with the indicator from the alert (an IP, a user, a host).
- Search it in every index:
source.ip: 203.0.113.66in web logs, the same IP asdestination.ipin endpoint data. - Narrow down by outcome (
event.outcome, status codes) to find what worked for the attacker. - Write down timestamps. A timeline is the most valuable output of an investigation.
Questions to ask
| Question | Example query |
|---|---|
| Did it succeed? | source.ip: 185.220.101.47 and event.outcome: success |
| What else did the account do? | user.name: deploy and event.category: process |
| Where did it connect to? | host.name: srv-web-01 and event.category: network |
| What did the attacker get? | source.ip: 203.0.113.66 and http.response.body.bytes > 1000000 |
Write it down
Save useful queries in Kibana (Save query) and add them to the case. A colleague taking over the incident at 3 a.m. should be able to rerun every step.