← Free resources
guideDownload (.md)
SIEM investigation cheat sheet
Syntax differs between products; the moves do not.
1. Filter
Narrow to the data, time range and entity.
event_type=auth action=failure earliest=-24h
2. Aggregate
Count by a field to reveal a pattern.
... | stats count, distinct_count(user) as users by src_ip
- Many failures, one user → brute force
- Few failures each, many users → password spraying
3. Find the rare
Sort ascending. In a healthy environment, unusual values are worth a look.
... | stats count by parent_process, process | sort count
4. Pivot
Take one entity and search every source.
src_ip=203.0.113.77 OR dest_ip=203.0.113.77
Useful questions
| Question | Look at |
|---|---|
| Did the login succeed after the failures? | 4624 following 4625 from the same source |
| What ran on the host? | 4688 / Sysmon 1, with parent process |
| Did it call out? | DNS, proxy, Sysmon 3 |
| Was persistence added? | New services (7045), scheduled tasks, Run keys |
| Did the account change anything? | 4720, 4728, 4732, mailbox rules |
Habits
- Always state the time zone
- Save the query you used in the ticket
- Corroborate in a second data source before concluding
Put it into practice
Guides help; doing the work helps more.
