Dev.to Security πŸ” Cybersecurity πŸ‘ 0 πŸ“– 11 min read

SOC Analyst Full Course for Beginners (2026): SIEM, EDR, MITRE, Automation

A SOC analyst does one job: find the one bad line in millions of logs. This is the whole path from zero, in 12 chapters and about 18 minutes. I spent years at an MSSP handling phishing, BEC and incident tickets before mo

SOC Analyst Full Course for Beginners (2026): SIEM, EDR, MITRE, Automation

A SOC analyst does one job: find the one bad line in millions of logs. This is the whole path from zero, in 12 chapters and about 18 minutes. I spent years at an MSSP handling phishing, BEC and incident tickets before moving to Azure security, and this is the course I wish I had on day one: one idea per chapter, every hard word explained in one line, no tool sales.

Everything on screen is either a public standard page (NIST, MITRE), or a lab simulation with made-up data (contoso.com, finance.lead, LAB-WIN11-01). No customer data, no real victim.

The 10-step roadmap

  1. Understand the SOC and its tiers
  2. Know the standards: NIST and ISO 27001
  3. Read logs: network, syslog, Windows event IDs
  4. Understand attackers through MITRE ATT&CK
  5. Analyze a phishing email
  6. Use a SIEM
  7. Use an EDR
  8. Handle incidents with NIST SP 800-61
  9. Hunt
  10. Automate with playbooks

Chapter 1. What a SOC is

SOC means Security Operations Center: the company's guard team, 24 hours a day, 7 days a week. Three words you must keep apart from day one:

Word Meaning Example
Event Any activity that gets logged one login, one file change
Alert A rule says that event may be bad 37 failed sign-ins then one success
Incident One or more related alerts, probably real, needs action strange sign-in + new inbox rule

2,400,000 events become 180 alerts and 3 incidents; event, alert and incident defined

Millions of events become a few hundred alerts and a handful of incidents. People work in three tiers: Tier 1 receives alerts, triages by playbook and closes the obvious false positives; Tier 2 connects many log sources, finds the scope and decides to isolate; Tier 3 hunts, does forensics and writes new detections. The fourth role hiring a lot right now is the security automation engineer, who saves Tier 1 from clicking by hand.

Tier 1 triages by playbook, Tier 2 investigates and decides to isolate, Tier 3 hunts and writes detections

Chapter 2. Standards: NIST CSF, NIST SP 800-61, ISO 27001

A SOC does not make its own rules. It follows three standards.

  • NIST Cybersecurity Framework 2.0 splits security into six functions: Govern, Identify, Protect, Detect, Respond, Recover. The SOC lives mostly in Detect and Respond.
  • NIST SP 800-61 is the incident handling guide: Prepare, Detect and analyze, Contain, Eradicate, Recover, then learn. Revision 3 (April 2025) re-sorts the same steps under the six CSF functions; revision 2 is withdrawn.
  • ISO/IEC 27001:2022 is the information security management standard. Companies get certified through an audit. The 2022 version has 93 controls; the ones that touch the SOC are 5.7 (threat intelligence), 5.24 to 5.28 (incident management), 8.15 (logging) and 8.16 (monitoring).

In an audit nobody asks how good you are. They ask for evidence: where do logs come from, how long are they kept, which rules are watching, how was last week's incident handled, who has access to what. So the SOC leaves a trail for everything: tickets with timestamps, comments, reports. If it is not written down, to the auditor it never happened. You will also meet PCI DSS (card payments) and SOC 2 (US SaaS); both ask for the same logging and monitoring.

Chapter 3. Basics: network, log transport, Windows event IDs

Network. TCP has a handshake and makes sure data arrives; UDP is fast but packets can get lost. Learn the common ports by heart: 22 SSH, 53 DNS, 80/443 HTTP/HTTPS, 445 SMB, 3389 RDP, 514 syslog. When you see 3389 open to the Internet, something is wrong.

Log transport. Syslog is the protocol for firewalls, switches and Linux servers: port 514, or TLS on port 6514 for encryption. Banks usually pick TCP plus TLS so no log gets lost. CEF still travels over syslog but in a standard format, so the SIEM can split the fields by itself. Plain syslog is one line of text; you need a parser before you can filter by user or IP.

Windows event IDs the SOC watches: 4624, 4625, 4688, 4728 and 4732, 1102, 7045

Windows event IDs.

Event ID Meaning Why the SOC cares
4624 Successful logon (logon type 2 keyboard, 3 network, 10 Remote Desktop) who, from where, how
4625 Failed logon brute force, password spray
4688 New process created the one to catch malicious PowerShell
4728 / 4732 User added to a privileged group privilege escalation
1102 Audit log cleared almost always someone wiping tracks
7045 New service installed a favorite way to stay persistent

Chapter 4. What attackers do: Kill Chain and MITRE ATT&CK

The Cyber Kill Chain splits an attack into seven steps: Reconnaissance, Weaponization, Delivery, Exploitation, Installation, Command and control, Actions on objectives. It is the big-picture story, good for telling your boss.

MITRE ATT&CK is much more detailed. A tactic is the goal, a technique is the method, and each has a code (T1566 is phishing). The SOC uses ATT&CK to classify alerts and to check which techniques it can actually detect.

Four attack types you will see most:

  • Phishing: an email that tricks you into clicking a link, opening a file or typing a password.
  • BEC (business email compromise): a mailbox is taken over to redirect a payment, usually with no malware at all. Signs: an inbox rule that forwards mail, and a login from a strange place.
  • Ransomware: files encrypted, ransom demanded. First isolate the machine, then restore from a clean backup. The general advice is not to pay, but that decision belongs to leadership, legal and insurance, not to the SOC.
  • Lateral movement: from the first machine to the next over RDP, SMB or PsExec. Sign: one account logging into many machines in a short time.

IOC vs IOA. An IOC is a trace of something that already happened (a hash, an IP, a domain): easy to block, but attackers change them fast. An IOA is behavior during an attack, for example Word opening PowerShell. Good detection is based on behavior.

Chapter 5. Hands-on: a phishing email in four steps

  1. Header. SPF says whether the sending server may send for that domain. DKIM is a digital signature that proves the content was not changed. DMARC says what to do when SPF or DKIM fails: let it through, quarantine or reject. The most common trick is still simple: display name "CEO", real address a random Gmail, reply-to pointing somewhere else.
  2. Link or file. Open it in a sandbox or look it up in threat intel. Never click it on your own machine.
  3. Scope. Who else got this email? Who clicked? Who typed a password? Check the email logs and the sign-in logs.
  4. Respond. Anyone who typed a password: reset it and revoke the session. Then purge the email from every mailbox.

These four steps work with any tool.

Chapter 6. SIEM: turning logs into alerts

The SIEM is the brain of the SOC. It collects logs from identity, endpoint, email, firewall and cloud into one place, normalizes them and runs rules. What a SIEM can do and single tools cannot is correlation: linking one strange login to one new inbox rule to one odd file on a laptop.

Tools: Microsoft Sentinel, Splunk, QRadar, Google SecOps, Elastic. I use Sentinel the most, but the logic is the same everywhere. Take the sign-in logs, count failures by user and IP; an IP that fails many times and then gets in is suspicious.

SigninLogs
| where TimeGenerated between (ago(1h) .. now())
| summarize Failed = countif(ResultType != "0"), Success = countif(ResultType == "0") by UserPrincipalName, IPAddress
| where Failed between (11 .. 100000) and Success between (1 .. 100000)
index=wineventlog EventCode=4625 | stats count by src_ip, user | where count > 10

The same sign-in rule in KQL (Microsoft Sentinel) and SPL (Splunk): the logic is the same

A good rule takes six steps: define the behavior and map it to MITRE; write the query; test it on old data; set the schedule and the threshold; map the entities (user, IP, host); document how to handle it. Then tune, or you drown in false positives: raise the threshold, exclude scanners and service accounts, use watchlists (VPN IPs, VIP users). Every week, find the rule with the most false positives and fix that one first.

Chapter 7. EDR: looking inside the machine

Antivirus blocks known bad files. EDR records every behavior on the machine: processes, network connections, files, registry. So it catches things nobody has seen before. Example: Word opens PowerShell with an encoded command. No file is flagged as malware, but one look at the process tree and you know.

Tools: Microsoft Defender for Endpoint, CrowdStrike, SentinelOne. During an incident you can isolate the machine (it keeps only the connection to the EDR), scan it, quarantine the file, block a hash or an IP, collect an investigation package, and use live response to run commands remotely.

Trap question: the EDR says the malware was already remediated. Do we still investigate? Yes. It only tells you the file was removed, not how it got in or what it did first. Check the process tree, network connections, scheduled tasks, and whether other machines have the same file. Then close it.

Chapter 8. Incident response with NIST SP 800-61

Four phases: Prepare, Detect and analyze, Contain, eradicate and recover, Learn.

  • Preparation: playbooks, permissions and tools ready before anything happens.
  • Detection and analysis: is the alert real, how far does it reach? Set the severity from three things: impact (which data or system), scope (one user or many), confidence (confirmed or suspected). A compromised admin account is critical; a user who clicked but did not type a password is low.
  • Containment (short term: isolate the machine, revoke sessions; long term: patch the entry point), eradication (remove the malware, the inbox rule, the rogue account), recovery (bring the service back and watch it closely).
  • Post-incident: write the root cause and the lessons, add a new rule so next time you catch it earlier.

Two underrated skills. Reporting to a non-technical boss: one paragraph with what happened, the business impact and whether it is contained, then timeline, root cause, recommendations; technical details in the appendix. Shift handover: which incidents are open, waiting on whom, what to watch; update the ticket before the handover, not after. Write each step with the time as you do it. That is also your audit evidence from chapter 2.

Chapter 9. Threat hunting with ATT&CK and threat intel

Waiting for a rule to fire is reactive. Threat hunting is going to look: proactive. It starts with a hypothesis, which comes from threat intel about campaigns hitting your industry, MITRE techniques you have no rule for, old incidents, and changes in your environment.

Five steps: write the hypothesis and map it to ATT&CK; decide which logs you need; query and pivot (expand by user, IP, machine); conclude (real: open an incident; normal: write it down so you exclude it next time); improve (turn the query into a new rule). A hunt that finds nothing is never wasted.

Example hypothesis: if a mailbox is compromised, the attacker creates an inbox rule to hide mail right after a login from a strange country (ATT&CK T1564.008, Email Hiding Rules). The logs you need are inbox rule logs and sign-in logs:

OfficeActivity
| where Operation in ("New-InboxRule", "Set-InboxRule")
| project TimeGenerated, UserId, ClientIP, Parameters

Another hypothesis to practice: lateral movement. One account logging into many machines, or one employee laptop using RDP to another: event 4624 with logon type 3 and 10.

Threat intel works two ways. Reactive: a strange IP or hash? Look it up on VirusTotal or AbuseIPDB. Proactive: load IOC lists into the SIEM so rules compare them with your own logs automatically.

Chapter 10. Playbooks and SOC automation

Automation turns ten minutes of clicking into seconds. The word playbook has two meanings: a document ("for this alert type, do step one, two, three") and SOAR, those steps as a workflow a machine runs. In Sentinel that is Logic Apps; elsewhere Splunk SOAR, Google SecOps SOAR, or your own Python.

Where to start? Not with the tool. Ask for numbers: which alert eats the most Tier 1 time, and what percent is false positive? Then do three things: an enrichment playbook that attaches IP, user and recent sign-ins to every incident; auto-close the known harmless patterns with a weekly review; and tune the noisiest rules.

A playbook I build often: a suspicious sign-in incident is created; the playbook checks the IP reputation, writes it into the incident, posts to Teams; if the IP is bad it asks the analyst one question; approve, and it revokes the session, disables the account and opens a ticket.

The playbook: get IP and user, IP reputation, add a comment, Teams message, then a human approves before revoke and disable

The most important rule: reading data and sending notifications can be fully automatic; disabling accounts, isolating machines and blocking IPs need a human to approve. Always exclude VIP and break-glass accounts. The risk of automation is being wrong at scale. Three more things make a playbook real: a managed identity with least privilege, retry plus an error branch when a step fails, and the playbook in Git so every change has a history.

Chapter 11. Measuring results and the learning path

Two numbers: MTTD (time from attack to detection) drops when you collect enough logs and write behavior rules; MTTR (time from detection to resolution) drops with playbooks and a clear escalation path. Also track the false positive rate per rule, MITRE coverage and SLA breaches.

Certifications: Security+ or CySA+, or SC-200 if you go the Microsoft way. But what gets you hired is a home lab: a free SIEM, five rules, one playbook, on GitLab.

Where are you on this roadmap? Tell me in the comments under the video.

Sources

Official Microsoft Learn:

Standards and frameworks:

  • NIST Cybersecurity Framework 2.0: https://www.nist.gov/cyberframework
  • NIST SP 800-61 Rev. 3, Incident Response Recommendations and Considerations for Cybersecurity Risk Management: https://csrc.nist.gov/pubs/sp/800/61/r3/final
  • ISO/IEC 27001:2022 (overview page on the ISO site, search "ISO/IEC 27001")
  • MITRE ATT&CK, technique T1566 Phishing (MITRE ATT&CK site)
  • MITRE ATT&CK, technique T1564.008 Email Hiding Rules (MITRE ATT&CK site)

Lab data only (contoso.com). Lab screens are redrawn simulations, not screenshots of any real tenant. Facts checked: November 24, 2026.

Thanks for reading! I'm Cuong, and on CD Security Lab I rebuild real Microsoft security cases in a safe lab and explain them simply. Follow along:

Got a question about your own tenant? Drop it in the comments.

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.