Day 5: Think like a defender (logs, alerts and the SOC)
Find your own sign-in events in Windows, and learn how a SOC turns logs into alerts.
Security operations is mostly reading. A SOC analyst looks at logs and alerts and decides: normal, suspicious, or an incident. Today you see how that works and read real events on your own computer.
The lesson
- Logs record what happened: who signed in, from where, which file was opened, which process started. Windows, Microsoft 365, firewalls and cloud platforms all write them.
- A SIEM (security information and event management, such as Microsoft Sentinel) collects logs from everywhere in one place, so you can search across them.
- Detections are rules that turn patterns into alerts, for example "10 failed sign-ins then one success from a new country".
- Triage is the analyst's first job: is the alert real? What user, device and time? What happened just before and after? True positives become incidents with a response.
- Query languages do the searching. In Microsoft's tools that is KQL (Kusto Query Language); learning it is one of the most useful things a junior can do.
Today's task (15 to 20 minutes)
On a Windows computer you own (on a Mac or Linux machine, see the note below):
- Open Event Viewer (search for it in the Start menu), then Windows Logs > Security. You may need to run it as administrator.
- Select Filter Current Log and enter event ID
4624(a successful sign-in). Open the newest one and find the account name, the logon type and the time. Logon type 2 is at the keyboard; 10 is Remote Desktop. - Filter for
4625(a failed sign-in). If you see none, that is normal on a home PC; if failure auditing is switched off, Windows does not record them. - In your log, write a three-line triage note for the newest 4624 event: who, when, how, and "expected or not".
Mac or Linux: run last in a terminal to see recent logins and write the same triage note.
Read next on EpiFive
- Investigating AiTM phishing and token theft in Entra sign-in logs: a real investigation, step by step.
- Advanced hunting KQL queries for identity attacks.
- SC-200 study guide: the Microsoft SOC analyst exam.
Tomorrow
Day 6: frameworks. NIST CSF and MITRE ATT&CK sound dry, but they are how security teams think and talk. Read day 6 on the site.