A cybersecurity analyst’s most useful skill is the ability to explain what the evidence shows, what remains uncertain, and what should happen next.
Two connected study paths: Chapters 1–14 build the foundation. Chapters 15–24 deepen detection engineering, network analysis, email and web investigations, forensics, automation, cloud security, incident leadership, and applied practice. Complete the capstones and seek feedback as you develop professional judgment.
This guide develops that skill step by step. It begins with security and networking fundamentals, moves through logs, identity, malware, and endpoint investigation, and brings those ideas together in incident response and practical SOC scenarios.
It is written for beginners and developing analysts. You do not need previous SOC experience, but familiarity with everyday computer use will help. Read the chapters in order when learning; use the glossary and field reference when revising.
How to use this book
Understand the concept. Explain it in plain language before memorizing an acronym.
Examine the example. Identify the relevant users, devices, timestamps, and actions.
Attempt the exercise. Write your reasoning before opening an answer panel.
Practice in a lab. Apply the concepts to logs and tools you are authorized to use.
Scenario names, addresses, and events illustrate investigation methods. A suspicious IP address, an unusual process, or an alert is a lead to investigate, rather than proof of compromise on its own. Validate examples against the actual environment and its normal activity.
Commands and queries may require local configuration, logging, or schema changes. Frameworks and products evolve; consult current official documentation for operational use. Completing the book provides a foundation for further practice, rather than a professional certification.
Your reading desk
Learn at your own pace.
Listen to a chapter, test your understanding, and keep notes as you read.
0 / 24 chapters complete0 quizzes attempted
Progress and notes are saved in this browser on this device. They do not sync across devices. Export a copy to keep your notes.
Device → IP → Port → Protocol → Traffic → Log → Alert → Investigation
Chapter review
Before moving into SIEM + logs + actual SOC investigation, you should be able to explain these without looking them up:
CIA Triad
Asset
Threat
Vulnerability
Risk
Attack surface
Authentication
Authorization
Least privilege
IP address
Port
TCP vs UDP
DNS
HTTP vs HTTPS
Firewall
IDS vs IPS
Malware
Initial access
Persistence
Privilege escalation
Lateral movement
Exfiltration
Applied context
Security controls in everyday life
A control can be preventive, detective, or corrective. MFA helps prevent unauthorized access, an alert detects unusual activity, and a tested backup supports recovery. One control may serve several purposes, and no single control eliminates all risk.
Practice: Choose an account you use. Identify its valuable data, one realistic threat, one weakness, and two controls. Explain which risk each control reduces.
Knowledge check
1. Which term describes a weakness that could be exploited?
Threat
Vulnerability
Asset
Control
Reveal answer & explanation
Vulnerability A vulnerability is a weakness; a threat is a potential cause of harm.
2. What does least privilege mean?
Give everyone administrator access
Grant only the access needed for a task
Disable logging
Trust all internal connections
Reveal answer & explanation
Grant only the access needed for a task Limit permissions to what is needed, for the required time.
Chapter 02 / 24
Networking for Security Analysts
Learn how devices communicate and how network evidence reveals suspicious activity.
What is a network?
A network is simply:
Multiple devices communicating with each other.
For example:
Your laptop
↓
Wi-Fi router
↓
Internet
↓
Google server
Your laptop needs to know:
Who it's talking to
Where that device is
What service it's communicating with
How the communication should happen
That's where IP addresses, MAC addresses, ports and protocols come in.
IP Addresses
An IP address identifies a network interface/device at the network layer.
Example:
192.168.1.25
This is IPv4.
IPv4 looks like:
192.168.1.25
Four numbers separated by dots.
Each number ranges from:
0 → 255
Public vs Private IP
This matters a LOT in investigations.
Private IP
Used inside local/private networks.
Common private ranges:
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
Example:
192.168.1.25
Your phone might have this kind of address on Wi-Fi.
Public IP
An address reachable across the public internet.
Your home router generally has a public IP assigned by your ISP.
So you might have:
Phone
192.168.1.25
↓
Router
203.x.x.x
↓
Internet
The internal address isn't normally directly visible to websites.
MAC Address
A MAC address identifies a network interface at the local network/data-link level.
Example:
A4:7B:9C:12:34:56
Think:
IP = network address
MAC = local hardware/interface identifier
But don't fall into the beginner trap of thinking a MAC address is permanently tied to a person/device in every situation. Modern devices can use randomized MAC addresses, especially for Wi-Fi privacy.
IP vs MAC
Imagine a hotel.
IP address
"Room 302"
MAC address
"The specific device/interface associated with that local network connection."
Different purposes.
Ports
This is extremely important.
Suppose a server has:
192.168.1.10
That identifies the machine.
But the machine may be running:
Web server
SSH
Database
Email service
How does traffic know which service it wants?
Ports.
For example:
192.168.1.10:443
means:
Connect to port 443 on that machine.
Important Ports
Memorize these first:
Port
Protocol/Service
20/21
FTP
22
SSH
23
Telnet
25
SMTP
53
DNS
80
HTTP
443
HTTPS
445
SMB
3389
RDP
3306
MySQL
1433
Microsoft SQL Server
5432
PostgreSQL
Security analyst example
Suppose you see:
192.168.1.50 → 192.168.1.10:3389
You immediately know:
Someone is communicating with the server over RDP.
Then you investigate who, when, why, and whether it's normal.
TCP
TCP = Transmission Control Protocol
TCP establishes a connection before transferring data.
"An internal device communicated with an external IP using TCP on port 443, probably HTTPS."
Mini quiz — don't Google it
Answer these in your own words:
1. What's the difference between an IP address and a MAC address?
2. What does a port identify?
3. What's the main difference between TCP and UDP?
4. What does DNS do?
5. What's the difference between HTTP and HTTPS?
6. What is a packet?
7. What's the difference between inbound and outbound traffic?
8. What's the difference between IDS and IPS?
9. What is NAT used for?
10. If you see:
192.168.1.50 → 8.8.8.8:53 UDP
what do you think is happening?
Give me your answers without worrying about getting them perfect. I'll mark them like a training exercise, correct anything that's wrong, and then we can hit Chapter 3: Windows/Linux fundamentals + logs, which is where cybersecurity analyst work starts getting seriously practical.
Applied context
Read a connection as a five-tuple
A network conversation is often identified by source IP, source port, destination IP, destination port, and transport protocol. Record all five when available. NAT and proxies may change what different sensors observe.
Source IP Source port Destination IP Destination port Protocol
192.0.2.10 51842 198.51.100.20 443 TCP
These are documentation addresses. Port 443 suggests HTTPS, but verify the application protocol, owning process, destination, certificate, and timing. A common port can carry malicious traffic.
Knowledge check
1. What does destination port 443 prove?
The traffic is safe
The destination is trusted
HTTPS may be in use; verify the actual protocol
No investigation is needed
Reveal answer & explanation
HTTPS may be in use; verify the actual protocol Ports are clues. Validate protocol, process, and context.
2. What does DNS usually do?
Maps names to records such as IP addresses
Encrypts every packet
Authenticates every user
Blocks all malicious sites
Reveal answer & explanation
Maps names to records such as IP addresses DNS resolves names using different record types. It is not a universal security control.
Chapter 03 / 24
Operating Systems & Security Logs
Read processes, authentication records, and system logs to reconstruct what happened.
What is an operating system?
An operating system (OS) manages a computer's:
Hardware
Applications
Files
Users
Processes
Network connections
Permissions
Two operating systems you'll constantly encounter:
Windows
Linux
Windows vs Linux
Windows
Common in:
Businesses
Offices
Active Directory environments
Employee laptops
Enterprise servers
Linux
Common in:
Web servers
Cloud infrastructure
Security tools
Network appliances
DevOps
Databases
As an analyst, you need to be comfortable with both.
What is a process?
A process is a program that is currently running.
For example, you open Chrome.
The operating system starts a process for Chrome.
You open PowerShell.
Another process starts.
You can have:
chrome.exe
powershell.exe
explorer.exe
running simultaneously.
Why do analysts care about processes?
Because attackers need to run something.
Imagine a normal employee computer suddenly starts:
Security analysts often investigate Windows events through SIEM platforms rather than manually opening Event Viewer on every computer, but the underlying logs are the same kind of evidence.
Windows Event IDs
Windows assigns numerical IDs to many events.
Some you'll want to recognize:
4624
Successful logon
Meaning:
Someone successfully authenticated.
4625
Failed logon
Meaning:
Authentication failed.
4688
New process created
Meaning:
A process started.
This can be VERY useful during investigations.
4720
User account created
4726
User account deleted
4740
User account locked out
4672
Special privileges assigned to new logon
Potentially interesting because privileged access is involved.
4624
Successful login
↓
4688
PowerShell started
↓
Network connection
↓
New account created
Now things are getting spicy.
You might investigate:
What commands did PowerShell execute?
What IP did the system contact?
What account was created?
What privileges did it receive?
Did files change?
Did the attacker move to another machine?
This is how individual logs become an attack story.
Linux Logs
Linux commonly stores logs under:
/var/log/
You'll encounter files such as:
auth.log
syslog
messages
depending on the Linux distribution and logging configuration.
Authentication activity is particularly interesting.
You might find:
Failed password for user admin
Repeated failures from the same external IP?
Potential brute-force activity.
What is a timestamp?
A timestamp tells you when an event occurred.
Example:
2026-11-09 02:14:33
Time matters enormously in investigations.
Imagine:
02:10 — phishing email received
02:13 — suspicious file opened
02:14 — PowerShell started
02:16 — external connection established
02:20 — data transferred
Timeline Analysis
Security analysts often reconstruct incidents chronologically.
For example:
09:01
User receives phishing email
09:03
Attachment opened
09:03
Malicious process starts
09:04
PowerShell executes
09:05
C2 connection established
09:08
Credentials accessed
09:15
Lateral movement begins
09:30
Data exfiltration
That's much more useful than staring at 10,000 disconnected log entries.
User: shahulan
Source IP: Russia
Time: 03:17
Result: SUCCESS
An unfamiliar geographic location can be an investigation lead. Check VPN use, travel, proxy services, and the reliability of geolocation before drawing a conclusion.
Don't worry about finding the "official" answer. Think like an analyst.
Tell me:
Which event is the first thing that makes you suspicious?
Why?
What would you investigate next?
What could the sequence potentially indicate?
Would you immediately declare it a confirmed incident? Why or why not?
Applied context
Make your timeline reliable
Normalize timestamps to a stated timezone, usually UTC, while preserving original values. Check event time versus ingestion time, clock drift, daylight-saving changes, and missing telemetry. A gap in logs may reflect a collection problem rather than an absence of activity.
Practice: Create a five-row timeline with columns for UTC time, data source, device, identity, action, and confidence. Label observations separately from conclusions.
Knowledge check
1. Why normalize timestamps?
To delete original evidence
To compare events reliably across sources
To hide clock drift
To remove the need for logs
Reveal answer & explanation
To compare events reliably across sources Use a stated timezone and preserve original values.
2. Does a missing event prove nothing happened?
Yes
No, logging coverage and collection can be incomplete
Reveal answer & explanation
No, logging coverage and collection can be incomplete Check audit settings, retention, collection health, and data gaps.
Chapter 04 / 24
SOC Operations & Alert Triage
Move from a security alert to a documented investigation, using context and evidence.
What is a SOC?
SOC = Security Operations Center
It's the team responsible for monitoring and responding to cybersecurity threats.
When investigating an attack, you can map observed behavior to ATT&CK techniques.
That helps analysts communicate what actually happened.
Analyst Workflow
Here's a realistic simplified workflow:
Step 1
Alert arrives
↓
Step 2
Validate the alert
Is it real or noise?
↓
Step 3
Collect evidence
Logs, endpoint telemetry, network data, user activity.
↓
Step 4
Build a timeline
What happened before/during/after?
↓
Step 5
Determine scope
One machine?
One user?
Entire organization?
↓
Step 6
Determine severity
Low?
Medium?
High?
Critical?
↓
Step 7
Contain/escalate if necessary
↓
Step 8
Document everything
Documentation
Don't underestimate this.
A SOC analyst needs to be able to write:
What happened?
What evidence supports it?
What systems/users were affected?
What actions were taken?
What remains unknown?
Bad:
"Looks hacked."
Good:
"Account employee01 experienced 43 failed authentication attempts from external IP X between 02:10–02:13 UTC, followed by a successful authentication. Shortly afterward, PowerShell executed on WORKSTATION-01 and the host established an outbound connection to domain Y. Investigation is ongoing."
The second one can actually be used by another analyst.
Escalation
You don't have to solve every incident yourself.
Junior analyst might discover:
"This appears to be an actual compromise."
Then escalate to:
Tier 2 analyst
Incident response team
Threat hunter
Security engineer
SOC manager
depending on the organization.
Escalating isn't failing.
Failing is sitting on a confirmed compromise because you're afraid to bother someone senior.
Your First SOC Investigation
Alert
Suspicious PowerShell Activity
You have these events:
10:02:11
User: employee01
Event: Microsoft Word opened
File: Invoice.docm
10:02:14
Process: powershell.exe
Parent: WINWORD.EXE
10:02:16
PowerShell:
Downloads file from external domain
10:02:20
Process:
invoice.exe
10:02:22
DNS:
random-example.com
10:02:23
Outbound:
10.0.5.21 → 185.x.x.x:443
10:02:25
User:
employee01
Event:
Successful login to SERVER01
Now don't jump straight to "confirmed malware."
Work it like an analyst.
Your job:
1. What is the first suspicious event?
2. What makes the PowerShell activity suspicious?
3. Why is WINWORD.EXE → powershell.exe worth investigating?
4. What evidence would you want next?
5. What could the attack chain potentially be?
6. Which stage(s) of the attack lifecycle might be occurring?
7. Would you classify this as a false positive, suspicious activity, or confirmed incident based only on this evidence?
8. What would you do next as the analyst?
Take your time and answer it like you're sitting in a SOC.
Once you nail this, Chapter 5 is Windows security + Event IDs + PowerShell investigation, where I'll show you how to read actual Windows security events and start building an attack timeline from them.
Applied context
Write a decision, not just a verdict
A useful triage note states the alert, the evidence reviewed, the scope checked, the assessment and its confidence, remaining unknowns, and the next owner or action. A closed alert should explain why closure is justified.
Example: “The failed logins came from the approved VPN gateway and match the user’s reported password change. No unusual successful logons or follow-on activity were found in the available 24-hour window. Close as benign activity detected by the rule; retain the evidence and review whether tuning is appropriate.”
Knowledge check
1. What does an alert establish?
A confirmed incident
Activity matched a detection condition
A user is guilty
Data was stolen
Reveal answer & explanation
Activity matched a detection condition Investigate the event and supporting context before deciding.
2. Which note best supports a triage decision?
False positive
Looks fine
Evidence reviewed, scope, confidence, and next action
Ignore it
Reveal answer & explanation
Evidence reviewed, scope, confidence, and next action A useful note explains the decision and its limitations.
Chapter 05 / 24
Windows Security & PowerShell
Investigate Windows events, parent–child process relationships, and PowerShell activity.
Why Windows matters
Most organizations use Windows across employee computers, laptops and servers.
Attackers know this. They often exploit Windows features that administrators and employees use every day.
As an analyst, you'll investigate things like:
Who logged into a computer?
Was the login successful?
Which programs were executed?
Did someone create a new account?
Was PowerShell used suspiciously?
Did an attacker gain administrative privileges?
Your primary evidence often comes from Windows Event Logs.
Windows Event Viewer
Windows Event Viewer records activities happening on a computer.
To open it:
Press Win + R.
Type eventvwr.msc.
Press Enter.
Expand Windows Logs.
Select Security.
You'll find records of authentication, account changes, permissions and other security-related activity.
The four important log categories
Log
What it records
Security
Logins, accounts, permissions
System
Operating system events
Application
Application activity
Setup
Installation and update events
Important Windows Event IDs
These are worth learning. You'll encounter them in SOC investigations.
Event ID
Meaning
Why it matters
4624
Successful login
Someone accessed an account
4625
Failed login
Possible password attack
4634
Logoff
Session ended
4648
Explicit credentials used
Alternative credentials supplied
4672
Special privileges assigned
Potential privileged access
4688
Process created
A program was executed
4720
User account created
Possible unauthorized account
4726
User account deleted
Possible evidence destruction
4740
Account locked out
Repeated failed authentication
4768
Kerberos TGT requested
Domain authentication
4769
Kerberos service ticket requested
Access to a domain service
Important: An event ID alone does not prove an attack. You need context.
For example, Event 4720 could be a legitimate HR administrator creating an employee account.
Understanding process execution
This is one of the most important skills in endpoint investigation.
A process is a program currently running.
Examples:
explorer.exe — Windows File Explorer
winword.exe — Microsoft Word
powershell.exe — PowerShell
cmd.exe — Command Prompt
chrome.exe — Google Chrome
svchost.exe — Windows service host
Parent and child processes
Imagine this:
WINWORD.EXE
<caption>Microsoft Word opened by employee</caption>
POWERSHELL.EXE
<caption>Child process launched by Word</caption>
INVOICE.EXE
<caption>Downloaded executable launched by PowerShell</caption>
This is called a process tree.
Why is this suspicious?
Microsoft Word normally shouldn't need to launch PowerShell, download an executable and run it.
This could indicate a malicious document containing a macro or another form of code execution.
But remember: suspicious doesn't automatically mean malicious.
PowerShell investigation
PowerShell is a Windows command-line and scripting environment.
Administrators use it for legitimate tasks. Attackers also abuse it because it can:
Execute scripts.
Download files.
Create users.
Modify system settings.
Interact with network resources.
Run commands without opening traditional applications.
Commands you should recognize
Command
Purpose
Get-Process
Lists running processes
Get-Service
Lists Windows services
Get-LocalUser
Lists local user accounts
Get-ComputerInfo
Displays system information
Get-NetTCPConnection
Shows network connections
Get-ChildItem
Lists files and folders
Get-EventLog
Reads supported event logs
These are primarily investigative or administrative commands.
Suspicious PowerShell patterns
An analyst should pay attention to commands involving:
Encoded commands.
Downloading scripts from unknown domains.
Hidden or unusual execution.
Unexpected execution under privileged accounts.
Commands launched by unusual parent processes.
For example, -EncodedCommand is not automatically malicious, but it deserves investigation when combined with suspicious behavior.
Building an attack timeline
A cybersecurity analyst needs to reconstruct events in chronological order.
Consider this fictional investigation:
Time
Event
09:00
Employee opens an email attachment
09:02
Word launches PowerShell
09:03
PowerShell downloads an executable
09:04
Executable starts running
09:05
Computer contacts an unfamiliar external IP
09:07
New user account created
09:09
Employee account accesses a server
A possible interpretation:
Initial access — malicious attachment opened.
Execution — PowerShell runs.
Payload delivery — executable downloaded.
Command and control — external communication established.
Persistence — new account potentially created.
Lateral movement — access to another server potentially obtained.
These are possible attack stages, not confirmed conclusions. You need supporting evidence for each.
Practical analyst investigation
When you investigate suspicious Windows activity, collect:
Username and account privileges.
Computer hostname.
Event ID and timestamp.
Parent and child process names.
Process command line.
File path and SHA-256 hash.
Source and destination IP addresses.
DNS queries and network connections.
Related logins and account changes.
Then ask:
What happened before the suspicious activity, during it, and after it?
That's how you turn disconnected logs into an investigation.
Your Chapter 5 practical examination
You're the SOC analyst. Your SIEM generates an alert:
All events occurred on workstation WS-014. The successful login used account employee01.
Practice & review
1. Which event first suggests suspicious activity?
4624
4625
4720
4672
Reveal answer & explanation
4625 The failed logins are the first suspicious signals. They could indicate attempted unauthorized access.
2. What does Event ID 4688 tell you?
A user logged out
A process was created
An account was deleted
A password changed
Reveal answer & explanation
A process was created 4688 records process creation. You need the process name, command line and parent process.
3. Why is Event 4720 important?
A new account was created
A computer shut down
A network connection closed
A user logged out
Reveal answer & explanation
A new account was created An unexpected account could be used to maintain access.
4. What does Event 4672 indicate?
Failed login
Special privileges assigned
Account deletion
File downloaded
Reveal answer & explanation
Special privileges assigned This indicates special privileges were assigned to a login session. It does not independently prove privilege escalation.
5. What should you investigate next?
Immediately delete every account
Ignore the alert
Identify who created the account and inspect its privileges and process history
Shut down the entire organization
Reveal answer & explanation
Identify who created the account and inspect its privileges and process history Correct. Establish who performed the action, whether it was authorized, and what happened around it.
One final challenge: Beyond the multiple-choice questions, explain in your own words how an attacker could go from failed logins to creating a privileged account.
Chapter 06 / 24
Malware & Adversary Behaviour
Recognize malware behaviour and use MITRE ATT&CK to describe adversary actions.
What exactly is malware?
Malware means malicious software. It's software designed to harm systems, steal information, disrupt operations or gain unauthorized access.
Not every suspicious program is malware. Analysts examine its behaviour and evidence before making that conclusion.
The main types of malware
1. Ransomware
Encrypts files or systems and demands payment to restore access.
<text color="secondary" size="xs">Example: Files become inaccessible and a ransom note appears.</text>
</box>
2. Trojan
Malicious software disguised as legitimate software.
<text color="secondary" size="xs">Example: A fake invoice application that secretly installs malware.</text>
</box>
3. Worm
Malware that can spread between systems, often without requiring users to manually execute it on every device.
</box>
4. Spyware
Secretly monitors activity and collects information.
</box>
5. Keylogger
Records keyboard input, potentially capturing passwords and sensitive information.
</box>
6. RAT — Remote Access Trojan
Gives an attacker remote access to a compromised system.
</box>
7. Botnet
A collection of compromised devices controlled by an attacker.
</box>
Other terms worth knowing:
Rootkit: Hides malicious activity and maintains privileged access.
Backdoor: A hidden method of accessing a system.
Dropper: Delivers or installs another malicious component.
Loader: Loads additional malware into a system.
Cryptojacker: Secretly uses computing resources to mine cryptocurrency.
How malware infects a computer
Let's walk through a realistic example.
An employee receives an email:
Email
From: billing@unknown-company.example
Subject: Outstanding Invoice — Immediate Payment
Your invoice is attached. Please review and process payment immediately.
Invoice.docm
Microsoft Word macro-enabled document
This is a fictional training example.
The employee opens the attachment.
A possible sequence:
Initial access
Attacker delivers a malicious attachment.
Execution
The document triggers malicious code.
Payload delivery
Malware is downloaded onto the computer.
Persistence
Malware attempts to survive a reboot or maintain access.
Command and control
The infected device communicates with attacker-controlled infrastructure.
Impact
The attacker may steal data, encrypt files or disrupt operations.
This is one possible attack chain, not a mandatory sequence. Real attacks can skip, repeat or reorder stages.
Static vs dynamic malware analysis
This is a major distinction in cybersecurity.
Static analysis means examining a file without executing it.
Examples:
Calculate its SHA-256 hash.
Examine file metadata.
Inspect strings contained in the file.
Check its file type.
Examine its structure and signatures.
Dynamic analysis means observing what a file does while it executes in a controlled environment.
Examples:
Does it create new files?
Does it modify the registry?
Does it launch PowerShell?
Does it connect to an external server?
Does it create new user accounts?
Static analysis
Dynamic analysis
Does not execute the file
Executes in a controlled environment
Examines file characteristics
Observes runtime behaviour
Can be safer and quicker
Can reveal actual behaviour
May miss hidden behaviour
Malware may detect the sandbox
What is a sandbox?
A sandbox is an isolated environment used to examine suspicious files without exposing normal production systems.
Important: Never experiment with unknown malware on your personal laptop. Use an appropriately isolated lab or professional analysis environment.
Hashes and Indicators of Compromise
A hash is a fixed-length value generated from data using a hashing algorithm.
Think of it as a digital fingerprint of a file.
Example:
File: invoice.exe
SHA256:
a3f5c8d9e1b7...
Even a small change to the file will generally produce a different hash.
Common algorithms:
MD5
SHA-1
SHA-256
For security investigations, SHA-256 is generally preferred over MD5 and SHA-1.
What is an IOC?
IOC = Indicator of Compromise.
Examples:
IOC
Example
Malicious IP
185.x.x.x
Suspicious domain
example-malicious.test
File hash
SHA-256 value
Filename
invoice.exe
Registry key
Unexpected persistence entry
Account
Unauthorized administrator
An IOC helps an analyst identify evidence associated with a possible compromise.
But an IOC is not absolute proof. IP addresses can be shared, domains can change ownership, and files can be modified.
MITRE ATT&CK — Your attacker's behaviour map
is a knowledge base documenting how real-world attackers behave.
Instead of simply saying:
"Someone hacked the computer."
You can describe the observed behaviour using standardized tactics and techniques.
The difference between tactics, techniques and procedures
Tactic: What is the attacker trying to achieve?
Technique: How are they trying to achieve it?
Procedure: How did they actually perform it?
Example:
Level
Example
Tactic
Credential Access
Technique
Credential Dumping
Procedure
Using a particular tool to extract credentials
Enterprise ATT&CK tactics
These are the main tactic categories you'll encounter:
Tactic
Meaning
Reconnaissance
Gathering information about a target
Resource Development
Preparing infrastructure and tools
Initial Access
Getting into a system
Execution
Running malicious code
Persistence
Maintaining access
Privilege Escalation
Gaining higher permissions
Defense Evasion
Avoiding detection
Credential Access
Stealing credentials
Discovery
Learning about the environment
Lateral Movement
Moving between systems
Collection
Gathering valuable information
Command and Control
Communicating with compromised systems
Exfiltration
Stealing data out of the environment
Impact
Damaging or disrupting systems
You don't need to memorize every technique today. Understand what each tactic represents.
Malware investigation tools
These are useful tools to recognize as a SOC analyst.
****
Examines network traffic and packets.
<a href="https://www.wireshark.org/">Official website</a>
</box>
****
Checks files, hashes, domains and IP addresses against multiple security engines.
<a href="https://www.virustotal.com/">Official website</a>
</box>
****
Examines running processes and their relationships.
<a href="https://learn.microsoft.com/en-us/sysinternals/">Microsoft Sysinternals</a>
</box>
Records detailed system activity, including process creation and network connections.
<a href="https://learn.microsoft.com/en-us/sysinternals/downloads/sysmon">Official documentation</a>
</box>
One warning: Don't upload confidential company documents, private data or sensitive files to public analysis services such as VirusTotal without authorization.
Practical SOC investigation
Now let's put everything together.
CASE FILE: MAL-006
Suspected Malware Infection
FICTIONAL CORPORATE ENVIRONMENTComputer: HR-014
User: employee02
Investigation timeline:
Time
Observed activity
08:30
Employee opens attachment
08:31
WINWORD.EXE launches PowerShell
08:32
PowerShell downloads unknown executable
08:33
invoice.exe executes
08:34
Unknown external IP contacted
08:36
New scheduled task created
08:40
Large outbound data transfer
YOUR MISSION
Determine what happened, identify the possible attack stages, and recommend the next response.
Knowledge check
Practice & review
1. Which malware category could this represent?
Ransomware only
Trojan or downloader
Worm only
Definitely spyware
Reveal answer & explanation
Trojan or downloader The unknown executable may be a Trojan or downloader. The evidence doesn't establish its exact malware family.
2. Which activity indicates execution?
Employee opens the attachment
WINWORD launches PowerShell
Large data transfer
External IP exists
Reveal answer & explanation
WINWORD launches PowerShell The process launch is evidence of code execution.
3. What does the scheduled task suggest?
Persistence
Reconnaissance
Exfiltration
Initial access
Reveal answer & explanation
Persistence Scheduled tasks can be abused to execute code again later.
4. Which activity suggests possible exfiltration?
Opening Word
Downloading the executable
Large outbound data transfer
Creating a scheduled task
Reveal answer & explanation
Large outbound data transfer Large outbound transfers may indicate data theft. You must inspect the destination and contents where possible.
5. What should you do first as the analyst?
Delete all company files
Ignore it
Follow incident procedures and coordinate containment of the affected endpoint
Immediately pay the attacker
Reveal answer & explanation
Follow incident procedures and coordinate containment of the affected endpoint Containment should follow organizational procedures. Preserve evidence and coordinate with the incident response team.
One question without multiple choice
Imagine you're writing an incident report to your security manager.
Explain what happened in this investigation from the first suspicious event to the final data transfer. Identify at least three MITRE ATT&CK tactics and explain why you chose them.
Chapter 07 / 24
Vulnerability & Patch Management
Interpret vulnerability findings and prioritize remediation using exposure and business impact.
What is a vulnerability?
A vulnerability is a weakness in software, hardware, configurations or security procedures that could be exploited.
Examples:
An outdated Windows operating system.
A web application with SQL injection.
A server using weak passwords.
An exposed database.
A router running outdated firmware.
An incorrectly configured firewall.
Think of a company building a house.
The house = IT infrastructure.
The unlocked window = vulnerability.
The burglar = threat actor.
Breaking through the window = exploit.
The stolen property = impact.
Your job is to help identify and reduce those weaknesses.
Vulnerability vs Threat vs Exploit vs Risk
These terms are related, but they are NOT interchangeable.
Term
Meaning
Vulnerability
A weakness
Threat
Something capable of causing harm
Exploit
A method or code that takes advantage of a weakness
Risk
Potential loss or damage from a threat exploiting a vulnerability
Mitigation
Reducing the likelihood or impact
Remediation
Fixing the underlying problem
Example:
A company's server has an outdated application.
Vulnerability: The application contains a security flaw.
Threat: A cybercriminal may target the server.
Exploit: The attacker uses the flaw to gain unauthorized access.
Risk: Company information could be stolen.
Remediation: Update the application to a secure version.
What is CVE?
stands for Common Vulnerabilities and Exposures.
It is a system that gives publicly known cybersecurity vulnerabilities standardized identification numbers.
For example:
CVE-2021-44228
This identifies the famous Log4Shell vulnerability.
Imagine a company uses 500 different applications.
Instead of describing a vulnerability in a different way every time, security teams can use its CVE identifier to find information about the same vulnerability.
It provides a standardized way to measure the severity of a vulnerability.
The CVSS score ranges from 0.0 to 10.0.
Score
Severity
0.0
None
0.1–3.9
Low
4.0–6.9
Medium
7.0–8.9
High
9.0–10.0
Critical
Example
Imagine you discover two vulnerabilities:
Vulnerability A
9.8 / 10
Potentially severe remotely exploitable weakness.
Vulnerability B
2.1 / 10
Limited impact and difficult exploitation.
Which one should the security team prioritize?
Usually A.
But here's something important:
CVSS severity is not the same as business risk.
A critical vulnerability on an isolated test computer might be less urgent than a high-severity vulnerability on an internet-facing production server containing sensitive customer information.
You must consider:
How exposed is the system?
Is there a known active exploit?
Does the organization use the affected software?
What data does the system contain?
What would happen if it were compromised?
What is a zero-day vulnerability?
A zero-day vulnerability is a security flaw for which the affected vendor has had zero days to provide a fix at the point it is exploited or disclosed.
In practice, the term is commonly used for vulnerabilities exploited before a patch is available.
Example:
A hacker discovers an unknown weakness in a company's operating system and exploits it before the vendor releases a security update.
Why is it dangerous?
No official patch may exist.
Traditional security controls may not detect it.
Organizations may not know they're vulnerable.
Attackers may exploit it before defenders can respond.
Possible temporary protections include:
Disabling the affected service.
Restricting network access.
Applying security workarounds.
Increasing monitoring.
Deploying compensating controls.
Vulnerability scanning vs penetration testing
These are two different activities.
Vulnerability scanning
Identifies known weaknesses and misconfigurations.
Penetration testing
Safely tests whether weaknesses can actually be exploited within an authorized scope.
Vulnerability scanning
Penetration testing
Finds potential weaknesses
Tests security weaknesses
Often automated
Often involves manual testing
Can cover many systems
Usually has a defined scope
Produces vulnerability reports
Produces findings and demonstrated impact
A vulnerability scanner might report that a server has a vulnerable version of software.
A penetration tester may demonstrate whether that weakness allows unauthorized access.
Neither activity guarantees that every vulnerability has been found.
Patch management
A patch is a software update that fixes bugs, security vulnerabilities or other problems.
Patch management is the process of identifying, testing, approving and deploying updates.
Typical patch management lifecycle
Identify
Find outdated or vulnerable software.
Assess
Determine severity, exposure and business impact.
Prioritize
Decide which vulnerabilities need attention first.
Test
Test the patch in a controlled environment.
Deploy
Install the approved patch on affected systems.
Verify
Confirm the patch was successfully installed and the vulnerability is addressed.
Document
Record the changes, results and remaining risks.
Why not install every patch immediately?
Because updates can sometimes break applications, interrupt operations or cause compatibility issues.
For example, an airport operations system cannot simply be taken offline during critical operations without considering operational safety.
That's why patching requires planning and risk assessment.
Vulnerability management tools
These are worth recognizing as a cybersecurity analyst.
****
Scans systems for vulnerabilities and configuration weaknesses.
<a href="https://www.tenable.com/products/nessus">Official website</a>
</box>
Cloud-based vulnerability and security management platform.
<a href="https://www.qualys.com/">Official website</a>
</box>
****
Helps identify, assess and prioritize weaknesses across an organization's devices.
<a href="https://learn.microsoft.com/en-us/defender-vulnerability-management/">Official documentation</a>
</box>
Practical case study — Your first vulnerability report
You're working as a security analyst for a fictional airport company.
Your vulnerability scanner produces this report:
Vulnerability Scan Report
SYSTEM: AIRPORT-OPS-SERVER01
9.8
CVSS Score
| Finding | Details |
|---|---|
| Software | Outdated server application |
| CVE | CVE-2021-44228 |
| Vulnerability | Log4Shell |
| Exposure | Internet-facing |
| Exploit status | Public exploitation known |
| Asset | Airport operations server |
| Data | Operational and employee information |
Your responsibility
Assess the risk, recommend remediation and explain the urgency to your security manager.
Knowledge check
Practice & review
1. What does CVE-2021-44228 identify?
A malware family
The Log4Shell vulnerability
A Windows Event ID
A firewall rule
Reveal answer & explanation
The Log4Shell vulnerability It is the identifier assigned to the Log4Shell vulnerability affecting Apache Log4j.
2. What does CVSS 9.8 indicate?
Low severity
Medium severity
High severity
Critical severity
Reveal answer & explanation
Critical severity A score of 9.0–10.0 is Critical.
3. Why is this finding especially concerning?
The server is internet-facing and exploitation is known
The server has a keyboard
The company uses Windows
The server has a hostname
Reveal answer & explanation
The server is internet-facing and exploitation is known Exposure and known exploitation increase the practical risk.
4. What should happen first?
Ignore it until the next annual scan
Assess exposure and coordinate urgent mitigation with the responsible team
Delete the server immediately
Publish the vulnerability report publicly
Reveal answer & explanation
Assess exposure and coordinate urgent mitigation with the responsible team Urgently assess the affected application and exposure, then coordinate mitigation or patching under the organization's change and incident procedures.
5. Does CVSS alone determine business priority?
Yes, always
No, business impact and exposure also matter
Reveal answer & explanation
No, business impact and exposure also matter Risk-based prioritization combines severity with asset criticality, exposure, exploitability and business impact.
Analyst assignment
Forget the multiple choice for a moment.
Imagine your manager asks:
"We discovered a critical vulnerability on an airport operations server. What would you recommend, and why?"
Give me your response as if you're actually the security analyst.
Combine technical severity with whether the asset is exposed, whether exploitation is known, the privileges required, asset criticality, and available mitigations. CISA’s KEV catalog is evidence of exploitation; EPSS estimates exploitation probability for supported CVEs over a defined future period. Neither replaces local context.
After a patch, verify the running version, rescan when appropriate, and check whether exploitation may already have occurred. A successful installation message alone does not establish that the risk is resolved.
Chapter 08 / 24
Identity, Active Directory & Kerberos
Understand enterprise identity and investigate account compromise, authentication abuse, and privilege changes.
What is Identity and Access Management (IAM)?
IAM stands for Identity and Access Management.
It controls:
Who can access an organization's systems.
What resources they can access.
What actions they're allowed to perform.
How their identity is verified.
Imagine an airport company with 200 employees.
Not everyone should have access to everything.
Employee
Appropriate access
HR officer
Employee records
Finance officer
Financial systems
Airport operations officer
Operations systems
IT administrator
Approved IT management tools
Security analyst
Security monitoring systems
This is IAM in practice.
Authentication vs Authorization
These two terms are essential.
Authentication (AuthN): Proves who you are.
Authorization (AuthZ): Determines what you're allowed to do.
Example:
You log into a company system using your username and password.
That's authentication.
The system allows you to view your own employee records but not payroll records belonging to everyone else.
That's authorization.
What is Active Directory?
(AD) is Microsoft's directory service used by organizations to manage users, computers, groups and permissions in a Windows domain.
Instead of configuring every employee computer individually, administrators can centrally manage them.
This can help attackers avoid account lockout policies.
Analyst indicators:
One source IP targeting many accounts.
Similar login failures across different users.
Unusual authentication patterns.
Attack 3 — Credential stuffing
Attackers use previously leaked username/password combinations against other services.
Why does this work?
Because some people reuse passwords across websites.
Analyst indicators:
Login attempts from unfamiliar locations.
Multiple accounts targeted.
Successful logins following repeated failures.
Unusual access patterns.
Attack 4 — Pass-the-Hash
This is an authentication attack involving the abuse of stolen password hashes.
A password hash is not the original password. However, certain Windows authentication mechanisms can allow attackers to authenticate using stolen hash material without knowing the plaintext password.
Analyst indicators:
Suspicious privileged authentication.
Unexpected access to multiple computers.
Unusual authentication patterns involving NTLM.
Evidence of credential dumping.
Attack 5 — Kerberoasting
Kerberoasting targets service accounts associated with Service Principal Names (SPNs).
At a high level:
An attacker gains access to a domain account.
They request service tickets for accounts with SPNs.
They obtain ticket material.
They attempt offline password cracking.
Weak service account passwords may be recovered.
Why is this dangerous?
Service accounts sometimes have excessive permissions or weak, long-standing passwords.
Analyst indicators:
Unusual volumes of service ticket requests.
Requests involving numerous SPNs.
Unexpected activity from ordinary user accounts.
Suspicious authentication patterns.
Attack 6 — Golden Ticket
A Golden Ticket attack involves forging Kerberos Ticket Granting Tickets using compromised domain Kerberos secrets, particularly the krbtgt account's key.
This is extremely serious because it can allow an attacker to impersonate domain identities.
Analyst indicators:
Suspicious or anomalous Kerberos tickets.
Unusual ticket lifetimes or authentication patterns.
Unexpected privileged domain access.
Other evidence of Domain Controller compromise.
Attack 7 — MFA fatigue
An attacker repeatedly sends authentication approval requests to a victim, hoping the person eventually approves one out of frustration.
Analyst indicators:
Numerous MFA requests.
Repeated denied requests.
Unexpected approval.
Successful login immediately afterward.
Windows Event IDs for identity investigations
You already learned some Windows Event IDs in Chapter 5. Let's expand that knowledge.
Event ID
Meaning
4624
Successful login
4625
Failed login
4648
Explicit credentials used
4672
Special privileges assigned
4720
User account created
4722
User account enabled
4723
Password change attempted
4724
Password reset attempted
4725
User account disabled
4726
User account deleted
4732
Member added to a local security group
4728
Member added to a global security group
4738
User account changed
4740
Account locked out
4768
Kerberos TGT requested
4769
Kerberos service ticket requested
4771
Kerberos pre-authentication failed
4776
NTLM credential validation
Remember: An event is evidence of an action, not proof of malicious intent.
For example, Event 4728 could indicate that an administrator legitimately added a new employee to a security group.
But if an ordinary employee account suddenly adds itself to a privileged group, that's worth investigating.
How to investigate a compromised employee account
Imagine your SIEM generates this alert:
SOC ALERT: Possible Account Compromise
DOMAIN: COMPANY.LOCAL
| Time | Event |
|---|---|
| 01:12 | 20 failed logins for employee04 |
| 01:14 | Successful login from unfamiliar IP |
| 01:16 | Kerberos service tickets requested |
| 01:18 | Employee04 added to Administrators group |
| 01:20 | Login to FILE-SERVER |
| 01:23 | Large number of files accessed |
INITIAL ASSESSMENT
Multiple indicators suggest possible account compromise and privilege escalation.
Your investigation workflow
Identify the account
Who owns employee04? Is this activity expected?
Investigate authentication
Examine failed and successful logins, source IPs, locations and authentication methods.
Investigate privilege changes
Who added employee04 to the Administrators group? Was it authorized?
Investigate lateral movement
Why did employee04 access FILE-SERVER? Which systems were accessed?
Investigate data access
Which files were accessed? Was anything copied or transferred externally?
Contain and escalate
Follow incident response procedures. Coordinate account restriction, credential resets, endpoint isolation and evidence preservation as appropriate.
How organizations defend Active Directory
A good security analyst should understand attacks and their countermeasures.
Strong service account passwords, managed service accounts, monitoring
Golden Ticket
Protect Domain Controllers and krbtgt credentials, monitor Kerberos
MFA fatigue
Number matching, phishing-resistant MFA, user awareness
Privilege escalation
Least privilege, PAM, privileged group monitoring
Some additional concepts:
Microsoft Entra ID: Microsoft's cloud identity and access management platform.
Conditional Access: Applies access rules based on conditions such as device, location and risk.
LAPS: Helps manage and rotate local administrator passwords.
gMSA: Group Managed Service Account; supports managed service account passwords.
Protected Users: An Active Directory security group that applies additional protections to privileged authentication.
Practical examination — Active Directory attack
You're a SOC analyst at a company with 300 employees.
Your SIEM detects the following:
CASE AD-008
Account: finance01
Device: FINANCE-PC-03
Domain: COMPANY.LOCAL
| Time | Event |
|---|---|
| 02:01 | 15 failed login attempts |
| 02:03 | Successful login |
| 02:05 | Event 4769 — Multiple service tickets requested |
| 02:08 | Event 4728 — Account added to privileged group |
| 02:10 | Event 4624 — Login to FILE-SERVER |
| 02:14 | Unusual access to financial records |
All times are fictional and based on a training scenario.
Test your knowledge
Practice & review
1. What is the most likely initial warning sign?
15 failed login attempts
Service tickets requested
Financial records accessed
Group membership changed
Reveal answer & explanation
15 failed login attempts Repeated failures are the earliest suspicious signal in this timeline.
2. Which attack might be associated with unusual service ticket requests?
SQL injection
Kerberoasting
DDoS
Cross-site scripting
Reveal answer & explanation
Kerberoasting Kerberoasting can involve requesting service tickets for accounts with SPNs. More evidence is needed to confirm it.
3. What does Event 4728 indicate?
Successful login
Account added to a global security group
Password reset
Account deleted
Reveal answer & explanation
Account added to a global security group The key question is which group was modified and whether the change was authorized.
4. Which stage does accessing another company's server represent?
Lateral movement
Reconnaissance only
Initial access
Data destruction
Reveal answer & explanation
Lateral movement Moving from one compromised system or account to another system can represent lateral movement.
5. What is the correct analyst response?
Ignore it because the password worked
Immediately delete every employee account
Investigate the account, privilege change and server activity, then coordinate containment
Publish the employee's password
Reveal answer & explanation
Investigate the account, privilege change and server activity, then coordinate containment Correlate the evidence, establish scope, preserve records and follow incident response procedures.
Analyst assignment
This time, no multiple-choice answers.
Your security manager asks:
"An employee's account was compromised. The attacker accessed a file server and added the account to a privileged security group. What happened, how serious is it, and what would you do?"
Explain:
How the attacker might have obtained access.
Why the privileged group change is dangerous.
What lateral movement means in this case.
What evidence you would collect.
How you would contain the incident.
How you would prevent it happening again.
Applied context
Modern identity: passkeys and session theft
Passkeys based on FIDO2/WebAuthn use public-key credentials bound to the relying party. They can resist common credential-phishing attacks better than passwords and one-time codes. Recovery paths and enrollment controls still matter.
MFA does not protect every session automatically. Stolen session cookies or tokens may enable access after authentication. Investigate token use, session properties, application access, and device context; coordinate revocation and credential changes through the response plan.
Chapter 09 / 24
EDR, XDR & Endpoint Investigation
Use endpoint telemetry to connect processes, files, network activity, and response actions.
What is an endpoint?
An endpoint is a device connected to an organization's network.
Examples:
Desktop computers.
Laptops.
Servers.
Workstations.
Mobile devices.
Virtual machines.
Imagine an airport company:
Device
Endpoint?
HR computer
Yes
Finance laptop
Yes
Airport operations workstation
Yes
File server
Yes
Employee smartphone
Yes
Why are endpoints important?
Because attackers frequently target employee devices to gain access to an organization's systems.
If an attacker compromises an employee's laptop, they might attempt to steal credentials, execute malware, or access other systems.
What is EDR?
EDR stands for Endpoint Detection and Response.
EDR software monitors endpoint activity to detect, investigate and respond to potential security threats.
Think of it as a security monitoring system installed across company computers and servers.
What does EDR monitor?
Activity
Example
Processes
PowerShell launching suspicious programs
Files
Unknown executable being created
Network
Computer contacting suspicious IP
Registry
Unexpected startup modification
Accounts
Suspicious account activity
Behaviour
Unusual execution patterns
EDR collects endpoint telemetry and uses detection logic to identify suspicious behaviour.
What can EDR do?
Detect suspicious processes.
Identify malware.
Investigate process relationships.
Alert security analysts.
Isolate compromised devices.
Quarantine malicious files.
Terminate suspicious processes, where supported.
Collect investigation evidence.
Important: EDR doesn't magically prevent every cyberattack. It helps defenders detect and respond to threats.
EDR vs Traditional Antivirus
This distinction matters in interviews.
Traditional antivirus
Primarily identifies and blocks known malicious files and other threats using signatures and additional detection techniques.
EDR
Collects endpoint activity, detects suspicious behaviour and supports investigation and response.
Traditional antivirus
EDR
Focuses on malware prevention and detection
Focuses on detection, investigation and response
Often file-oriented
Also examines behaviour and telemetry
May provide limited investigation context
Provides richer endpoint investigation context
Usually simpler workflows
More advanced response capabilities
Modern antivirus products can also have behavioural detection and response features. The distinction is about capabilities, not a strict boundary.
What is XDR?
XDR stands for Extended Detection and Response.
EDR focuses primarily on endpoints.
XDR brings together security information from multiple sources.
Imagine an organization using:
Endpoint security.
Email security.
Network security.
Cloud security.
Identity security.
An XDR platform can correlate information from these different systems to help analysts see the bigger picture.
XDR correlates the events into a broader incident.
Instead of investigating five unrelated alerts, the analyst can investigate one connected attack story.
What is endpoint telemetry?
This is a term you'll hear constantly.
Telemetry is information collected about system activity.
EDR can collect information such as:
Process creation.
Parent and child processes.
Command-line arguments.
File creation and modification.
Network connections.
User activity.
Registry modifications.
Security events.
Example: Process tree
explorer.exe
Employee opens a document
WINWORD.EXE
Microsoft Word starts
powershell.exe
Word launches PowerShell
invoice.exe
Unknown executable runs
Illustrative process tree showing a potentially malicious execution chain.
An analyst investigates:
Which user started the process?
What was the parent process?
What command-line arguments were used?
Where did the executable come from?
What is its SHA-256 hash?
Did it communicate externally?
Did it create persistence mechanisms?
This is called endpoint investigation.
Behavioural detection
Modern security systems don't only look for known malware files. They also look for suspicious behaviour.
For example, PowerShell is a legitimate Windows tool.
But consider these two situations:
Scenario A
An IT administrator opens PowerShell to check installed services.
Scenario B
Microsoft Word launches PowerShell, which downloads an unknown executable and starts it.
Same program. Very different context.
This is why analysts examine behaviour, relationships and surrounding events.
Important detection terms
Term
Meaning
Behavioural detection
Identifying suspicious actions or patterns
Signature-based detection
Matching known malware signatures
Heuristic detection
Using rules or characteristics to identify potentially malicious activity
Anomaly detection
Identifying activity that differs from expected behaviour
Process tree
Parent-child relationships between processes
Telemetry
Collected activity data
Alert
Notification of potentially suspicious activity
Detection rule
Logic used to identify suspicious behaviour
What is a false positive?
An EDR alerts because an administrator runs a legitimate script.
The alert looks suspicious, but investigation shows it was approved maintenance.
That's a false positive.
What about a false negative?
Malicious activity occurs, but the security system fails to detect it.
That's a false negative.
Both matter. Too many false positives overwhelm analysts; false negatives allow threats to go unnoticed.
EDR response capabilities
Detection is only half the job. EDR also supports response.
Here are common response actions:
Network isolation
Disconnects an endpoint from normal network communications while preserving an approved management connection where supported.
</box>
Quarantine
Prevents a suspicious file from being accessed or executed.
</box>
Process termination
Stops a suspicious running process.
</box>
Account containment
Coordinates account disabling, session revocation or credential resets when compromise is suspected.
</box>
Evidence collection
Collects relevant endpoint information for further investigation.
</box>
A serious warning: Isolating a device can interrupt business operations. Imagine isolating an airport operations workstation during an active flight operation. You need to coordinate with the incident response team and operational management, follow established procedures and consider safety-critical dependencies.
EDR and XDR platforms you should recognize
These are widely used products and platforms in the cybersecurity industry.
****
Endpoint detection, investigation and response.
<a href="https://www.microsoft.com/en-us/security/business/endpoint-security/microsoft-defender-endpoint">Official website</a>
</box>
Endpoint protection, detection and response.
<a href="https://www.sentinelone.com/platform/">Official website</a>
</box>
****
Extended detection and response across connected security data sources.
<a href="https://www.paloaltonetworks.com/cortex/cortex-xdr">Official website</a>
</box>
You don't need to master every platform immediately. The investigation concepts transfer between products.
How a SOC analyst investigates an EDR alert
Here's a workflow worth learning:
Receive alert — Understand what triggered the detection.
Identify endpoint — Determine the affected computer and user.
Inspect process tree — Find the parent, child and related processes.
Examine files — Check filenames, paths, hashes and reputation.
Check network activity — Investigate domains, IPs and connections.
Build timeline — Reconstruct what happened before and after detection.
Determine scope — Check whether other devices or accounts are affected.
Respond — Contain, escalate and document according to incident procedures.
A good analyst doesn't blindly click the quarantine button whenever an alert appears. They establish what's happening, assess the impact and choose an appropriate response.
Practical SOC investigation — Case EDR-009
You're working in a SOC for a company operating 150 computers.
Your EDR platform generates this alert:
EDR ALERT
Suspicious PowerShell Execution
ENDPOINT: HR-PC-014
| Time | Activity |
|---|---|
| 10:02:01 | Employee opens Invoice.docm |
| 10:02:04 | WINWORD.EXE launches PowerShell |
| 10:02:06 | PowerShell downloads unknown file |
| 10:02:09 | invoice.exe executes |
| 10:02:12 | Unknown external IP contacted |
| 10:02:15 | New scheduled task created |
| 10:03:00 | Similar alert appears on another endpoint |
EDR findings
Unknown executable detected.
Suspicious process relationship.
Unusual outbound connection.
Possible persistence.
Second endpoint potentially affected.
Knowledge check
Practice & review
1. Which activity first raises a serious concern?
Employee opens Word
WINWORD.EXE launches PowerShell
Employee logs into Windows
Computer connects to printer
Reveal answer & explanation
WINWORD.EXE launches PowerShell This unusual parent-child relationship deserves investigation, especially given the later download and execution.
2. What does EDR collect to help investigate this?
Only employee names
Endpoint telemetry such as process, file and network activity
Only internet speed
Only screen brightness
Reveal answer & explanation
Endpoint telemetry such as process, file and network activity Telemetry provides evidence to reconstruct endpoint behaviour.
3. What does the scheduled task potentially indicate?
Persistence
Normal shutdown
Data backup only
DNS resolution
Reveal answer & explanation
Persistence Attackers can abuse scheduled tasks to execute code again later.
4. Why is the second endpoint important?
It proves the first alert was false
It may indicate a wider compromise
It means the antivirus is broken
It can be ignored
Reveal answer & explanation
It may indicate a wider compromise You must establish scope. The same attack may be affecting multiple endpoints.
5. What is the most appropriate response?
Ignore the alerts
Delete all company computers
Investigate both endpoints, preserve evidence and coordinate containment
Immediately uninstall EDR
Reveal answer & explanation
Investigate both endpoints, preserve evidence and coordinate containment This combines investigation, scope assessment, evidence preservation and coordinated response.
Analyst assignment
Forget the quiz for a moment.
Your manager asks:
"We detected suspicious PowerShell activity on two employee computers. One computer downloaded an unknown executable, created a scheduled task and contacted an external IP. What do you recommend?"
Explain:
What makes the activity suspicious?
What evidence would you collect?
Why should you investigate the second computer?
Would you isolate the affected computers? Explain your decision.
How would you determine whether data was stolen?
How would you prevent another infection?
Chapter 10 / 24
Incident Response & Evidence
Coordinate containment, preserve evidence, and support recovery with a clear incident record.
What is Incident Response?
Incident Response (IR) is the organized process of identifying, investigating, containing, removing and recovering from cybersecurity incidents.
Imagine an employee opens a malicious attachment.
The malware steals credentials, compromises a server and begins transferring company information.
The security team must:
Detect the attack.
Determine what happened.
Stop it from spreading.
Remove the threat.
Restore affected systems.
Learn how to prevent it happening again.
That entire process is incident response.
What is a security incident?
A security incident is an event, or series of events, that compromises or threatens the confidentiality, integrity or availability of information or systems.
Examples:
Ransomware infection.
Unauthorized account access.
Data theft.
Malware execution.
Compromised administrator account.
Unauthorized changes to critical systems.
Denial-of-service attack.
Remember the distinction:
Term
Meaning
Event
Something happened
Alert
A detection system flags something
Suspicious activity
Activity that needs investigation
Incident
A security event requiring coordinated response
Not every alert is an incident.
The Incident Response Lifecycle
A widely used incident response approach is described in NIST guidance.
The following six phases provide a practical learning model:
Preparation
Get ready before an incident happens.
- Incident response plans.
- Security tools.
- Backups.
- Staff training.
- Contact lists.
</list-item>
<list-item>
Identification
Detect and investigate suspicious activity.
- Examine alerts.
- Review logs.
- Identify affected systems.
- Determine incident severity.
</list-item>
<list-item>
Containment
Limit the damage and prevent further spread.
- Isolate affected devices.
- Disable compromised accounts when appropriate.
- Block malicious communication.
- Restrict affected systems.
</list-item>
<list-item>
Eradication
Remove the threat and its persistence mechanisms.
- Remove malware.
- Eliminate unauthorized accounts.
- Patch exploited vulnerabilities.
- Address the root cause.
</list-item>
<list-item>
Recovery
Restore normal operations safely.
- Restore clean backups.
- Rebuild compromised systems.
- Reset affected credentials.
- Verify system security.
- Monitor for reinfection.
</list-item>
<list-item>
Lessons Learned
Review the incident and improve defenses.
- What happened?
- How did it happen?
- What worked?
- What failed?
- What needs improvement?
</list-item>
Important: NIST's current incident response guidance integrates incident response across broader cybersecurity risk management. These six phases are a useful teaching framework, not a claim that every organization follows one identical sequence.
Understanding Containment
Containment deserves special attention.
Why?
Because an attacker who has compromised one computer may attempt to spread to other computers.
Imagine this:
HR-PC-01
Attacker attempts lateral movement
FILE-SERVER
Potential target
FINANCE-PC
Potential target
Containment
<caption>Security team isolates the affected endpoint and investigates other systems.</caption>
Three types of containment
1. Endpoint containment
Isolate an infected computer using EDR.
2. Network containment
Restrict communication with malicious IP addresses, domains or affected network segments.
3. Identity containment
Disable compromised accounts, revoke active sessions or reset credentials as appropriate.
Short-term vs long-term containment
Short-term
Long-term
Isolate infected endpoint
Rebuild affected endpoint
Temporarily block malicious IP
Implement stronger network controls
Disable compromised account
Reset credentials and improve IAM
Restrict affected server
Apply permanent remediation
A crucial lesson: containment must be planned. You don't blindly disconnect critical infrastructure without considering business and safety consequences.
For example, an airport operations system may support active operational activities. Any containment decision must involve the appropriate operational and security teams.
Incident Severity Classification
Not every incident has the same level of seriousness.
Security teams classify incidents to determine how quickly and carefully they need to respond.
Severity
Example
Suspicious activity blocked with no evidence of compromise
Malware detected on one non-critical workstation
Confirmed compromised employee account
Ransomware spreading across critical company infrastructure
Severity depends on several factors:
Number of affected systems.
Sensitivity of information.
Business impact.
Whether the attacker has administrator privileges.
Whether the attack is ongoing.
Whether data has been stolen.
Whether essential services are disrupted.
Remember: Severity and confidence are different.
You might have a high-severity alert with low confidence, or a confirmed incident with medium business impact.
Digital Evidence and Chain of Custody
When investigating a cyberattack, evidence matters.
You cannot simply tell management:
"Trust me, someone hacked the system."
You need records supporting your findings.
Common digital evidence
Evidence
What it can show
System logs
Events and system activity
Network logs
Communication between devices
EDR telemetry
Process and endpoint activity
Memory image
Information present in RAM
Disk image
Files and data stored on a device
Email headers
Email routing and sender information
File hashes
File identity and integrity checks
Authentication logs
Login and account activity
What is chain of custody?
Chain of custody is the documented record of how evidence was collected, handled, transferred, stored and accessed.
Imagine collecting a compromised laptop.
You should document:
Who collected it?
When was it collected?
Where was it collected?
What condition was it in?
Who handled it afterward?
Where was it stored?
Were forensic copies created?
Were hashes calculated and verified?
Why?
Because evidence may later be reviewed by auditors, investigators, regulators or courts.
What is hashing?
A forensic investigator can calculate a SHA-256 hash of a forensic image.
If the hash remains consistent during verification, that supports the conclusion that the image has not changed.
A hash alone doesn't prove when or how evidence was collected. Proper documentation and handling are also necessary.
Root Cause Analysis
Root Cause Analysis (RCA) means identifying the underlying reason an incident happened.
Example:
A company suffers a ransomware attack.
A weak investigation might conclude:
"An employee opened a malicious attachment."
A proper investigation asks:
Why did the email reach the employee?
Why wasn't the attachment blocked?
Why could the document execute suspicious code?
Why did the employee account have excessive permissions?
Why wasn't the endpoint isolated earlier?
Why were backups accessible to the attacker?
The goal isn't simply to blame someone.
It's to identify the weaknesses that allowed the incident to happen.
Five Whys technique
Imagine ransomware infected a server.
Question
Answer
Why was the server encrypted?
Ransomware executed
Why did ransomware execute?
An attacker deployed it
How did the attacker access the environment?
A compromised administrator account
Why was that account compromised?
Weak authentication and stolen credentials
Why wasn't the compromise detected earlier?
Insufficient monitoring and controls
This helps teams identify improvements instead of stopping at the first obvious explanation.
Incident Response Documentation
Every serious incident should be documented.
A useful incident report includes:
CYBERSECURITY INCIDENT REPORT
TRAINING TEMPLATE
Incident ID: IR-2026-001
Incident type: Malware infection
Severity: High
Detection time: 10:02
Affected system: HR-PC-014
Affected user: employee02
Summary: Suspicious PowerShell activity resulted in the execution of an unknown executable and possible unauthorized external communication.
Evidence collected:
EDR process tree.
PowerShell command-line records.
File SHA-256 hash.
DNS and network logs.
Windows Security Events.
Actions taken:
Endpoint isolated following approval.
Related accounts investigated.
Evidence preserved.
Incident escalated to the response team.
Outstanding questions:
Was sensitive data accessed?
Were other endpoints compromised?
Was persistence established?
Current status: Under investigation.
A good incident report separates:
Confirmed facts.
Suspected activity.
Unknown information.
Actions already taken.
Recommended next actions.
Never present an assumption as a confirmed fact.
Incident Response Roles
A cybersecurity incident is rarely handled by one person.
Different teams have different responsibilities.
Role
Responsibility
SOC Analyst Tier 1
Initial alert monitoring and triage
SOC Analyst Tier 2
Deeper investigation and analysis
Incident Responder
Coordinates containment and recovery
Threat Hunter
Searches for hidden or undetected threats
Digital Forensics Analyst
Collects and examines evidence
Security Engineer
Implements and improves security controls
CISO
Oversees organizational security and major risk decisions
IT Administrator
Supports systems, restoration and remediation
Legal / Compliance
Advises on legal, regulatory and reporting obligations
As a beginner SOC analyst, your job is generally to detect, investigate, document and escalate according to your organization's procedures.
You aren't expected to independently make every major containment or business decision.
Important Incident Response Frameworks
These are useful names to recognize professionally.
— Publishes cybersecurity standards and guidance, including incident response guidance.
— Provides incident handling training and practical guidance.
— Publishes incident response resources and cybersecurity advisories.
— Standard for information security management systems.
You're working as a SOC analyst for a company operating several airport facilities.
Your security monitoring system generates this alert:
INCIDENT REPORT: IR-010
Ransomware Activity Detected
FICTIONAL AIRPORT COMPANY
| Time | Event |
|---|---|
| 09:02 | Employee opens suspicious attachment |
| 09:04 | PowerShell launches |
| 09:06 | Unknown executable runs |
| 09:08 | Multiple files begin getting encrypted |
| 09:10 | EDR detects ransomware behaviour |
| 09:12 | Similar activity detected on FILE-SERVER |
| 09:14 | Operations team reports inaccessible files |
Your mission: Coordinate the initial investigation and recommend incident response actions.
Knowledge check
Practice & review
1. Which incident response phase involves identifying what happened?
Preparation
Identification
Recovery
Lessons Learned
Reveal answer & explanation
Identification Identification involves detecting, validating and assessing the incident.
2. What is the immediate objective of containment?
Write the final report
Prevent further spread and limit damage
Delete all evidence
Reinstall every computer
Reveal answer & explanation
Prevent further spread and limit damage Containment limits the impact while the team investigates and plans remediation.
3. Why is FILE-SERVER especially important?
It has a hostname
It may contain shared or critical company data and may be affected
It is always infected
It cannot be isolated
Reveal answer & explanation
It may contain shared or critical company data and may be affected A server compromise can affect many users and business operations. Its actual impact must be established.
4. What does chain of custody document?
Employee attendance
How evidence is collected, handled and transferred
Internet speed
Software licensing
Reveal answer & explanation
How evidence is collected, handled and transferred It helps establish the integrity and traceability of digital evidence.
5. What happens during eradication?
Remove malware and address the underlying cause
Ignore the incident
Restore files without checking systems
Delete the incident report
Reveal answer & explanation
Remove malware and address the underlying cause Eradication removes the threat and closes the weaknesses that allowed it.
Analyst assignment
Now imagine your security manager asks:
"Ransomware has infected an employee computer and potentially reached an airport operations file server. What should our response team do?"
Answer these six questions:
What makes this a critical incident?
Which systems should be investigated?
How would you contain the infection without unnecessarily disrupting airport operations?
What evidence should be preserved?
How would you eradicate the threat and restore operations?
What improvements would prevent a repeat attack?
Important: In this scenario, operational safety comes first. Coordinate containment with airport operations and incident leadership rather than independently disconnecting safety-critical systems.
Applied context
Recovery is a verification task
Before restoring service, confirm that the entry point is addressed, credentials and sessions are handled, restored data is trustworthy, and monitoring can detect recurrence. Test backups and recovery procedures before an incident.
Define who can approve restoration and what evidence they need. Track recovery objectives, operational dependencies, and lessons learned with named owners.
Chapter 11 / 24
Threat Hunting & Advanced Investigation
Develop hypotheses and test them against security data to find activity that alerts may miss.
What is Threat Hunting?
Threat hunting is the proactive process of searching through systems, networks and security data to discover threats that automated security tools may have missed.
Think about it this way:
Traditional SOC monitoring
Threat hunting
Waits for alerts
Actively searches for threats
Investigates detected activity
Looks for hidden suspicious activity
Often follows detection rules
Tests hypotheses using evidence
Reacts to suspicious events
Proactively searches for attacker behaviour
Example
Your EDR hasn't generated any alerts.
However, you notice:
An employee logs in at 03:15 AM.
The login originates from an unfamiliar location.
PowerShell executes shortly afterward.
A new scheduled task appears.
The computer communicates with an unfamiliar external domain.
No single event necessarily proves an attack.
But together?
That's something worth investigating.
The Threat Hunting Process
A practical threat hunting workflow has five stages:
Create a hypothesis
Decide what suspicious activity you want to investigate.
Example: An attacker may be using compromised employee accounts to access internal servers.
</list-item>
<list-item>
Collect data
Gather relevant logs and telemetry.
- Authentication logs.
- Windows Event Logs.
- EDR telemetry.
- DNS logs.
- Firewall records.
</list-item>
<list-item>
Investigate
Search for unusual patterns and relationships.
- Unusual login times.
- Unexpected PowerShell execution.
- Unknown processes.
- Unusual outbound connections.
</list-item>
<list-item>
Identify findings
Determine whether the evidence indicates malicious activity, legitimate activity or something requiring more investigation.
</list-item>
<list-item>
Improve detection
Create or improve detection rules, document findings and escalate confirmed incidents.
</list-item>
One important distinction: a threat hunt doesn't have to discover an attacker to be successful. It can also identify gaps in monitoring and improve security visibility.
Threat Hunting Hypotheses
A hypothesis is an informed assumption that you investigate using evidence.
Here are five examples:
Hypothesis
What you investigate
An employee account is compromised
Unusual authentication activity
Malware is hiding in PowerShell
Suspicious command execution
An attacker established persistence
Scheduled tasks and startup entries
Data is being stolen
Unusual outbound transfers
An attacker is moving laterally
Connections between internal devices
Example: Compromised account
Your hypothesis:
"An attacker may be using a compromised administrator account outside normal working hours."
You investigate:
Windows Event ID 4624 — successful logon.
Windows Event ID 4625 — failed logon.
Windows Event ID 4672 — special privileges assigned.
VPN authentication records.
Microsoft Entra ID sign-in logs, if applicable.
You discover an administrator account logged in from an unfamiliar source at 02:40 AM.
Next, you check what happened after authentication.
Did the account access unusual servers? Create users? Execute PowerShell? Access sensitive files?
That's threat hunting.
Understanding Indicators of Compromise (IOCs)
During threat hunting, analysts search for Indicators of Compromise.
An IOC is an observable clue that may indicate a system or account has been compromised.
Common IOCs include:
IOC
Example
Malicious IP
185.XX.XX.20
Suspicious domain
invoice-update-example.com
File hash
SHA-256 hash of a known malicious file
Suspicious filename
invoice_update.exe
Registry modification
Unexpected startup entry
Unauthorized account
Unknown administrator account
Unusual network traffic
Unexpected outbound connection
Important: An IOC is not automatically proof of an attack.
A legitimate application could contact an unfamiliar IP. An attacker could also change their infrastructure, making an old IOC useless.
That's why analysts investigate context and behaviour.
IOC vs IOA
These two terms are easy to confuse.
IOC — Indicator of Compromise: Evidence that may indicate compromise has occurred.
IOA — Indicator of Attack: Behaviour suggesting an attack is happening or being attempted.
Example:
IOC: A known malicious file hash appears on a workstation.
IOA: Microsoft Word launches PowerShell and downloads an executable.
IOAs can be particularly useful because attackers can change their tools, filenames and IP addresses, but their behaviours may remain similar.
Behavioural Threat Hunting
This is where you start thinking like a real SOC analyst.
Instead of searching only for known malware, you search for suspicious behaviour.
Behaviour 1: Suspicious process execution
Normal-looking process tree
`explorer.exe`
`chrome.exe`
Suspicious process tree
`WINWORD.EXE`
`powershell.exe`
`unknown.exe`
Word launching PowerShell and an unknown executable is suspicious, but context is needed before declaring it malicious.
Behaviour 2: Persistence
Persistence means an attacker attempts to maintain access to a compromised system.
Common places to investigate:
Windows scheduled tasks.
Registry Run keys.
Windows services.
Startup folders.
Unauthorized accounts.
Suspicious scripts.
Example:
An employee reports that their computer is acting strangely.
You find a scheduled task running an unknown executable every time the computer starts.
You investigate:
Who created the task?
When was it created?
Which executable does it launch?
Where is that executable stored?
What account runs it?
Does the executable communicate externally?
Behaviour 3: Lateral Movement
Lateral movement occurs when an attacker moves from one compromised system to another within an environment.
Example:
Attacker compromises an employee workstation.
Steals the employee's credentials.
Accesses a file server.
Attempts to access an administrator workstation.
Attempts to reach a Domain Controller.
A threat hunter searches for unusual connections, authentication patterns and privilege usage across multiple machines.
Behaviour 4: Data Exfiltration
Data exfiltration means unauthorized transfer of information out of an environment.
Indicators worth investigating:
Unusually large outbound transfers.
Unexpected cloud-storage uploads.
Unfamiliar external destinations.
Large transfers outside normal working hours.
Unusual DNS traffic.
Access to sensitive files by unexpected accounts.
For example, an employee workstation normally uploads 20 MB per day, but suddenly uploads 8 GB overnight.
That doesn't automatically mean data theft. Backups and legitimate synchronization can explain large transfers. But it deserves investigation.
Threat Hunting Tools
These are tools worth recognizing and eventually learning hands-on.
****
SIEM platform for collecting, analysing and correlating security data. Supports KQL queries.
<text color="secondary" size="xs"><a href="https://learn.microsoft.com/en-us/azure/sentinel/">Microsoft Sentinel documentation</a></text>
</box>
****
Searches, analyses and visualizes machine-generated data using SPL.
<text color="secondary" size="xs"><a href="https://www.splunk.com/">Splunk official website</a></text>
</box>
****
Examines network packets to investigate communication between devices.
<text color="secondary" size="xs"><a href="https://www.wireshark.org/">Wireshark official website</a></text>
</box>
****
Provides detailed Windows system activity, including process creation and network connections.
<text color="secondary" size="xs"><a href="https://learn.microsoft.com/en-us/sysinternals/downloads/sysmon">Sysmon documentation</a></text>
</box>
When investigating an incident, you can map observed behaviour to ATT&CK techniques.
For example:
Word opens a malicious attachment.
PowerShell executes a downloaded payload.
A scheduled task maintains persistence.
The attacker accesses another server.
Data is transferred externally.
This gives your investigation a structured picture of the attack.
Threat Hunting vs Incident Response
These two disciplines work together, but they aren't the same.
Threat Hunting
Incident Response
Proactively searches for threats
Responds to confirmed or suspected incidents
Starts with a hypothesis
Starts with an incident or detection
Looks for hidden activity
Limits damage and restores operations
Improves detection coverage
Coordinates containment and recovery
May discover previously unknown threats
Manages the consequences of threats
A threat hunt can discover an incident, at which point the organization follows its incident response procedures.
Practical Threat Hunting Exercise
HUNT-011: Suspicious Administrator Activity
FICTIONAL AIRPORT IT ENVIRONMENT
You are hunting for possible administrator account compromise.
Your SIEM provides these events:
Time
Event
02:10
12 failed logins
02:14
Successful administrator login
02:16
PowerShell launched
02:18
New scheduled task created
02:22
Connection to unfamiliar external IP
02:30
Large outbound data transfer
Your task: Investigate the sequence and determine the appropriate next steps.
Questions for your investigation
What is your initial threat hunting hypothesis?
Which events are the strongest indicators of suspicious activity?
What would you investigate about the administrator account?
How would you determine whether the scheduled task is malicious?
How would you investigate the outbound data transfer?
At what point would you escalate this to incident response?
What evidence would you collect?
Authentication records.
Administrator account details and group memberships.
PowerShell command lines.
Scheduled task configuration and creation records.
Destination IP and network logs.
EDR process tree.
File and process hashes.
Relevant timestamps.
Don't immediately delete the scheduled task or terminate processes without following the response procedure and considering evidence preservation.
Knowledge Check
Practice & review
1. What is threat hunting?
Waiting for antivirus alerts
Proactively searching for hidden threats
Deleting suspicious files
Installing firewalls
Reveal answer & explanation
Proactively searching for hidden threats Threat hunting proactively searches for malicious activity that automated detections may have missed.
2. What is an IOC?
A potential indicator of compromise
A type of firewall
A network protocol
A backup system
Reveal answer & explanation
A potential indicator of compromise An IOC is an observable clue that may indicate compromise.
3. Which is an example of lateral movement?
An employee changing their password
An attacker moving from a workstation to a server
A firewall blocking a connection
A computer installing an update
Reveal answer & explanation
An attacker moving from a workstation to a server Lateral movement involves an attacker moving between systems within an environment.
4. What does baseline analysis help identify?
Computer hardware prices
Normal versus unusual activity
Employee salaries
Internet subscription plans
Reveal answer & explanation
Normal versus unusual activity A baseline helps analysts understand normal activity and spot deviations.
5. Which language is commonly used for Microsoft Sentinel hunting queries?
HTML
CSS
KQL
SQL only
Reveal answer & explanation
KQL KQL is commonly used to query Microsoft Sentinel and Microsoft security data.
Chapter 12 / 24
Cloud Security & Threat Detection
Apply identity, logging, and investigation skills to cloud services and container environments.
What is Cloud Computing?
Cloud computing means accessing computing resources over a network, usually the internet, instead of relying entirely on hardware owned and operated locally.
Instead of buying a physical server, a company can rent computing resources from a cloud provider.
For example, a company might use cloud services to:
Store employee records.
Host its website.
Run business applications.
Store customer databases.
Manage employee accounts.
Back up company information.
Run security monitoring systems.
Major cloud providers
****
Offers services such as EC2, S3, IAM and CloudTrail.
<text color="secondary" size="xs"><a href="https://aws.amazon.com/">Official website</a></text>
</box>
****
Offers Virtual Machines, Entra ID, Storage and Microsoft Defender for Cloud.
<text color="secondary" size="xs"><a href="https://azure.microsoft.com/">Official website</a></text>
</box>
****
Offers Compute Engine, Cloud Storage, IAM and Cloud Logging.
<text color="secondary" size="xs"><a href="https://cloud.google.com/">Official website</a></text>
</box>
The Three Cloud Service Models
You need to understand these three terms because they appear frequently in cybersecurity job descriptions.
IaaS — Infrastructure as a Service
You rent virtual infrastructure such as servers, storage and networking.
Example: AWS EC2 or Azure Virtual Machines.
Customer manages much of the operating system, applications and configuration.
PaaS — Platform as a Service
You use a managed platform to build and run applications without managing the underlying infrastructure.
Example: Azure App Service or Google App Engine.
The provider manages more of the underlying infrastructure.
SaaS — Software as a Service
You use software delivered over the internet.
Example: Microsoft 365, Gmail or Salesforce.
The provider manages the application infrastructure, while customers still manage their users, data and configurations.
Quick comparison
Model
You mainly manage
IaaS
OS, applications, data and configuration
PaaS
Application, data and platform configuration
SaaS
Users, access, data and service configuration
The more managed the service, the more responsibility the provider takes on — but the customer never gets to ignore security.
Shared Responsibility Model
This is one of the most important concepts in cloud security.
Shared Responsibility Model means the cloud provider and the customer share security responsibilities.
Imagine a company stores employee salary information in AWS.
AWS protects the underlying physical infrastructure, but the company must properly configure access to its data.
Cloud provider responsibility
Customer responsibility
Physical data centers
User permissions
Physical servers
Data protection
Core infrastructure
Account security
Infrastructure networking
Cloud configuration
Hardware maintenance
Application security
Responsibilities vary by service and provider.
Example
A company accidentally makes an S3 storage bucket publicly accessible.
An attacker downloads confidential employee records.
Who is responsible for the misconfiguration?
Generally, the customer.
The cloud provider supplies the service, but the customer must configure it securely.
Essential Cloud Security Terminology
Let's build your cloud security vocabulary.
Term
Meaning
Cloud tenant
An organization's isolated cloud environment
Cloud workload
An application, service or computing task running in the cloud
Virtual Machine (VM)
Software-based computer running on virtualized hardware
Object storage
Storage for files and objects, such as S3
Bucket
A storage container, commonly used in object storage
IAM
Identity and Access Management
MFA
Multi-Factor Authentication
API
Application Programming Interface
Security group
Rules controlling network traffic to supported cloud resources
Security posture
Overall state of an environment's security
Misconfiguration
Incorrect or insecure configuration
Secret
Sensitive authentication information such as an API key
Access key
Credential used to authenticate programmatic access
Encryption at rest
Protecting stored data through encryption
Encryption in transit
Protecting data while it moves across networks
Cloud audit log
Record of actions performed in cloud environments
Cloud IAM — Identity and Access Management
Remember Chapter 8, where we studied Active Directory, Kerberos, permissions and privileged accounts?
Cloud IAM applies similar security principles to cloud resources.
For example, imagine a company has:
10 HR employees.
5 finance employees.
3 IT administrators.
1 security analyst.
Should every employee have access to every cloud resource?
Absolutely not.
You apply Least Privilege.
Each person receives only the permissions necessary to perform their job.
Important IAM concepts
1. User: An identity representing a person or service.
2. Role: A collection of permissions that can be assigned or assumed.
3. Policy: A set of rules defining what actions are allowed or denied.
4. Service account / workload identity: An identity used by applications and automated services.
5. MFA: An additional authentication factor beyond a password.
Example: Dangerous permissions
An ordinary employee account has permission to:
Read employee records.
Delete cloud backups.
Create administrator accounts.
Modify security settings.
That's excessive privilege.
A security analyst should investigate why those permissions exist and whether they have been abused.
Cloud Security Threats and Attacks
Cloud environments introduce security risks that SOC analysts must recognize.
1. Public storage exposure
A storage bucket or container is accidentally made accessible to everyone.
Risk: Confidential files become publicly accessible.
</box>
2. Exposed credentials
API keys, passwords or access tokens are leaked through code repositories, configuration files or phishing.
Risk: Attackers use those credentials to access cloud resources.
</box>
3. Account takeover
An attacker compromises a cloud administrator account.
Risk: They may create users, change permissions, access data or disable security controls.
</box>
4. Cryptojacking
Attackers abuse cloud computing resources to mine cryptocurrency.
Risk: High computing costs, degraded performance and compromised workloads.
</box>
5. Cloud ransomware
Attackers compromise cloud accounts, workloads or storage and encrypt or destroy accessible data.
Risk: Data loss, business disruption and potentially expensive recovery.
</box>
6. Cloud misconfiguration
Insecure firewall rules, excessive permissions, exposed services or disabled logging.
Risk: Attackers find weaknesses without necessarily exploiting a software vulnerability.
</box>
A particularly important attack: Stolen cloud credentials
Imagine an attacker obtains an employee's cloud access key.
They might:
Authenticate using the stolen key.
Enumerate cloud resources.
Discover storage buckets.
Access confidential files.
Create additional credentials.
Establish persistent access.
Exfiltrate data.
Notice something?
The attacker might not need malware at all.
They can abuse legitimate cloud services using stolen credentials.
That's why cloud identity monitoring is extremely important.
Cloud Logging and Monitoring
This is where cloud security connects directly to your SOC analyst training.
A SOC analyst needs visibility into what users, applications and services are doing in the cloud.
Important cloud logging services
Provider
Logging service
What it records
AWS
CloudTrail
AWS account and API activity
Microsoft Azure
Activity Log
Azure management-plane operations
Microsoft Entra ID
Sign-in and audit logs
Authentication and identity changes
Google Cloud
Cloud Audit Logs
Administrative and resource activity
For example, AWS CloudTrail can record actions such as:
Someone creating an IAM user.
Someone changing permissions.
Someone accessing an S3 bucket.
Someone disabling a logging service.
Someone creating a new access key.
Example investigation
Your SIEM receives this fictional sequence:
Time
Cloud event
01:15
Unusual successful login
01:17
Administrator role assumed
01:19
New access key created
01:21
Storage bucket accessed
01:25
Large data download begins
01:30
Logging configuration modified
A SOC analyst should investigate the account, source IP, authentication method, API actions, accessed resources and data transfer.
The logging configuration change is particularly concerning because an attacker may be trying to reduce visibility.
Cloud Security Monitoring Tools
These are important products and technologies to recognize.
Detects suspicious activity and potential threats in AWS environments.
<text size="xs" color="secondary"><a href="https://aws.amazon.com/guardduty/">Official website</a></text>
</box>
****
Helps discover vulnerabilities, misconfigurations and threats in Google Cloud.
<text size="xs" color="secondary"><a href="https://cloud.google.com/security-command-center">Official website</a></text>
</box>
Cloud Workload Protection Platform — protects workloads such as VMs and containers
CNAPP
Cloud-Native Application Protection Platform — combines cloud security capabilities across the application lifecycle
You don't need to memorize every vendor's product today. Understand what problem each technology solves.
Containers and Kubernetes Security
Modern applications are often deployed using containers.
What is a container?
A container packages an application and its dependencies so it can run consistently across environments.
Docker is a popular container platform.
What is Kubernetes?
Kubernetes is a platform used to deploy, manage and scale containerized applications.
Important terminology
Term
Meaning
Container
Isolated application environment
Docker
Container platform
Image
Template used to create a container
Registry
Storage location for container images
Kubernetes
Container orchestration platform
Pod
Smallest deployable unit in Kubernetes
Cluster
Group of machines managed together
Node
Machine participating in a cluster
Secret
Sensitive information used by applications
Security risks
Vulnerable container images.
Exposed management interfaces.
Stolen Kubernetes credentials.
Excessive container permissions.
Insecure secrets.
Compromised container registries.
Example
A company deploys an application using a vulnerable container image.
An attacker exploits the vulnerable application and gains access to the container.
The attacker then attempts to access sensitive credentials stored in the environment.
A SOC analyst investigates:
Which container was compromised?
Which image was used?
What process executed?
Did the attacker access secrets?
Did the attacker interact with the Kubernetes API?
Were other containers or nodes affected?
Cloud Threat Hunting — Practical KQL
Let's connect this to Chapter 11.
Microsoft Sentinel uses KQL to query security data.
Here's a fictional example using Azure Activity Logs:
AzureActivity
| where TimeGenerated > ago(24h)
| where OperationNameValue contains "Microsoft.Authorization"
| project TimeGenerated,
Caller,
CallerIpAddress,
OperationNameValue,
ActivityStatusValue
| order by TimeGenerated desc
What does this investigate?
It searches Azure activity records for operations involving authorization resources, which may include changes to access permissions.
Another example:
SigninLogs
| where TimeGenerated > ago(24h)
| where ResultType != "0"
| project TimeGenerated,
UserPrincipalName,
IPAddress,
Location,
ResultDescription
| order by TimeGenerated desc
This searches for unsuccessful sign-in events.
These queries are starting points. Table availability, field names and permissions depend on your Microsoft Sentinel data configuration.
Cloud Security Defenses
Now let's look at how organizations protect their cloud environments.
Security control
Purpose
MFA
Protects accounts against password-only compromise
Least privilege
Limits unnecessary access
Encryption
Protects sensitive information
Network segmentation
Limits access between resources
Logging
Records user and system activity
Backups
Supports recovery after data loss
Security groups
Controls network traffic
Secret management
Protects API keys and credentials
Vulnerability scanning
Finds vulnerable software
Conditional Access
Applies access requirements based on context
Five controls I'd prioritize
Require MFA for privileged accounts.
Prevent public access to sensitive storage.
Remove unused credentials and access keys.
Enable and protect audit logging.
Maintain tested, protected backups.
For critical environments, also monitor changes to security policies, administrator roles and logging configurations.
Practical SOC Case Study — CLOUD-012
CLOUD-012: Suspected AWS Account Compromise
FICTIONAL COMPANY ENVIRONMENT
A company receives several AWS CloudTrail alerts.
Time
Activity
02:00
Employee account logs in from unfamiliar IP
02:03
New IAM access key created
02:06
Administrator permissions assigned
02:09
S3 storage bucket accessed
02:12
8 GB of data downloaded
02:15
CloudTrail logging configuration changed
Your mission: Investigate the account compromise and recommend a response.
Your investigation questions
What is the likely initial compromise?
Why is creating a new access key suspicious?
What evidence would confirm whether the attacker accessed confidential information?
Why might changing CloudTrail logging be dangerous?
How would you contain the compromised identity?
How would you determine whether the attacker accessed other cloud resources?
Expected response priorities
Preserve relevant logs and evidence.
Identify the compromised identity and its permissions.
Revoke or disable compromised credentials through approved procedures.
Review active sessions and other credentials.
Investigate storage access and possible data exfiltration.
Check for additional users, roles and permission changes.
Restore secure logging and verify monitoring.
Escalate to incident response and the appropriate cloud administrators.
Don't just delete the compromised account. You need to understand what the attacker created, changed and accessed before and during containment.
Chapter 12 Examination
Practice & review
1. What does IaaS stand for?
Internet as a Service
Infrastructure as a Service
Identity as a System
Information as a Service
Reveal answer & explanation
Infrastructure as a Service IaaS provides virtual computing infrastructure such as servers, storage and networking.
2. Who is generally responsible for configuring access permissions to a customer's cloud storage?
Only the internet provider
The customer
The computer manufacturer
Nobody
Reveal answer & explanation
The customer The customer is responsible for configuring access to their cloud data and resources.
3. What does AWS CloudTrail primarily record?
Employee salaries
AWS account and API activity
Physical building access
Website design
Reveal answer & explanation
AWS account and API activity CloudTrail records AWS account activity and API calls.
4. What is CSPM used for?
Cloud security posture and misconfiguration management
Creating video games
Managing employee payroll
Encrypting every email automatically
Reveal answer & explanation
Cloud security posture and misconfiguration management CSPM identifies cloud security posture problems, including misconfigurations.
5. An attacker steals an AWS access key. What should the SOC investigate?
Only the employee's browser history
The identity, permissions, API activity and accessed resources
Only the computer wallpaper
Nothing if no malware is detected
Reveal answer & explanation
The identity, permissions, API activity and accessed resources Stolen cloud credentials can be abused directly through legitimate cloud APIs, even without malware.
Applied context
Investigate cloud control-plane activity
Cloud attacks can use legitimate APIs without deploying malware. Review who changed permissions, created credentials, disabled logs, accessed secrets, or modified storage access. Link actions by principal, session, source, resource, and time.
Distinguish control-plane audit events from data-plane access records. Not every data access is logged by default. Confirm logging coverage and retention before asserting that an account did not access data.
Chapter 13 / 24
Practical SOC Investigations
Bring the core skills together in realistic login, malware, network, and privilege investigations.
What does a SOC analyst actually do?
A Security Operations Center (SOC) analyst monitors an organization's digital environment for suspicious activity, investigates security alerts and responds according to established procedures.
A typical shift might look like this:
Receive alerts
SIEM, EDR, email security and cloud security systems generate alerts.
</list-item>
<list-item>Triage alerts
Determine which alerts deserve investigation first.
</list-item>
<list-item>Investigate
Examine logs, accounts, processes, IP addresses and network connections.
</list-item>
<list-item>Determine findings
Classify activity as benign, suspicious or confirmed malicious.
</list-item>
<list-item>Respond and escalate
Follow incident procedures, preserve evidence and notify the appropriate team.
</list-item>
<list-item>Document
Record findings, timestamps, evidence and actions taken.
</list-item>
198.51.100.0/24 is also reserved for documentation examples.
What should you investigate?
1. Destination IP
Research whether the destination is known, expected or associated with suspicious activity.
2. Port and protocol
TCP 443 commonly carries HTTPS traffic.
But encrypted traffic isn't automatically safe.
3. Transfer volume
Why did a workstation transfer 4.8 GB overnight?
4. Device owner
Was an employee performing an authorized backup or file transfer?
5. Application and process
Which process initiated the connection?
6. Data sensitivity
Did the workstation have access to confidential company information?
Wireshark example
Wireshark lets you inspect network packets.
Useful display filters:
ip.addr == 192.168.10.45
Shows packets involving the specified IP.
tcp.port == 443
Shows TCP traffic using port 443.
dns
Shows DNS packets.
http.request
Shows HTTP requests when visible in the capture.
For HTTPS, packet contents are normally encrypted, so you may need endpoint telemetry, DNS records, TLS metadata and proxy logs to understand the connection.
Analyst finding: Unusual outbound transfer requiring investigation for possible data exfiltration.
Practical Investigation 4 — Privilege Escalation
CASE SOC-013-D
Alert: Unauthorized privileged group modification
Account:temp.user
System:DC-01
Time
Event
11:00
User successfully logs in
11:03
New local account created
11:05
Account added to privileged group
11:07
Administrative activity detected
11:10
Access to sensitive file server
Relevant Windows Event ID: 4728 — Member added to a security-enabled global group.
Your investigation
You need to determine:
Who created the account?
Who added it to the privileged group?
Was the change approved?
What permissions were granted?
What did the account access afterward?
Were other systems affected?
Was sensitive information accessed?
Don't assume every new administrator account is malicious. Approved IT maintenance can create legitimate changes.
Analyst finding: Potential unauthorized privilege escalation and account abuse.
Build an Investigation Timeline
This is one of the most valuable skills a SOC analyst can develop.
Imagine the four cases are related to the same attacker.
You discover the following combined timeline:
Attack timeline
09:00 — Initial access attempt
Multiple failed logins against an employee account.
</list-item>
<list-item>
09:05 — Successful authentication
Unusual login succeeds.
</list-item>
<list-item>
09:10 — Execution
Word launches PowerShell and an unknown executable.
</list-item>
<list-item>
09:15 — Persistence
A scheduled task is created.
</list-item>
<list-item>
09:25 — Privilege escalation
An unauthorized account is added to a privileged group.
</list-item>
<list-item>
09:35 — Lateral movement
The compromised account accesses another internal system.
</list-item>
<list-item>
09:45 — Possible exfiltration
Large outbound data transfer begins.
</list-item>
This is why correlation matters.
An individual event might look harmless.
But multiple related events can reveal an attack.
Your job is to connect the evidence, establish what happened and determine the impact.
Hands-on SOC Commands
Windows PowerShell
These are useful defensive investigation commands.
Get-NetTCPConnection |
Select-Object LocalAddress, LocalPort,
RemoteAddress, RemotePort, State
This displays network connections on a Windows machine.
Linux investigation commands
Command
Purpose
ps aux
Lists running processes
ss -tulpn
Displays listening network sockets
who
Shows logged-in users
last
Displays login history
journalctl
Reads system journal logs
ip addr
Displays network interfaces
sha256sum file
Calculates SHA-256 hash
These are useful starting points, not substitutes for a complete investigation.
Your Final SOC Analyst Challenge
You're now the Tier 1 SOC analyst at a fictional company called Maldives Aviation Services.
Your SIEM generates this alert:
INCIDENT MAS-2026-013
Multiple security alerts detected
Time
Observation
01:00
18 failed logins
01:04
Successful administrator login
01:06
PowerShell executed
01:08
Unknown executable launched
01:10
Scheduled task created
01:13
New administrator account created
01:17
Internal file server accessed
01:21
6 GB outbound transfer
Affected systems:
ADMIN-PC-02
FILE-SERVER-01
DOMAIN-CONTROLLER-01
Potential impact:
Compromised administrator credentials.
Unauthorized account creation.
Possible data exfiltration.
Possible lateral movement.
Your assignment
Answer these questions as if you're reporting to your SOC manager.
What is your initial assessment?
Which three events concern you the most, and why?
What evidence would you collect?
How would you establish the attack timeline?
How would you investigate whether data was stolen?
What containment measures would you recommend?
What is your incident severity and confidence?
Write a short incident report for your manager.
Final examination
Practice & review
1. Which Windows Event ID represents a successful logon?
4625
4624
4720
4740
Reveal answer & explanation
4624 4624 records successful logons.
2. What does a process tree help an analyst understand?
Computer pricing
Relationships between processes
Internet subscription speed
Employee salaries
Reveal answer & explanation
Relationships between processes A process tree shows parent-child process relationships.
3. What does 4.8 GB of unusual outbound traffic potentially indicate?
Guaranteed malware infection
Potential data exfiltration requiring investigation
A confirmed firewall failure
Nothing worth investigating
Reveal answer & explanation
Potential data exfiltration requiring investigation Unusual outbound traffic can indicate data exfiltration, but legitimate transfers must also be considered.
4. What should an analyst do before escalating a suspected incident?
Delete all logs
Preserve evidence and document findings
Immediately wipe every device
Ignore unrelated evidence
Reveal answer & explanation
Preserve evidence and document findings Preserving evidence and documenting findings supports an effective investigation.
5. What is the difference between severity and confidence?
You don't need to be an expert in every area for an entry-level position. You do need to demonstrate sound fundamentals and a willingness to learn.
The most common SOC interview questions
These are questions you should be able to answer without reading from a screen.
Question 1: What is cybersecurity?
Strong answer:
"Cybersecurity is the practice of protecting systems, networks, applications and data from unauthorized access, attacks, damage and disruption."
Question 2: Explain the CIA Triad.
Strong answer:
"The CIA Triad consists of Confidentiality, Integrity and Availability. Confidentiality ensures information is only accessible to authorized users. Integrity ensures information remains accurate and unaltered. Availability ensures systems and information remain accessible when needed."
Question 3: What is the difference between a threat and a vulnerability?
Strong answer:
"A threat is something capable of causing harm, while a vulnerability is a weakness that could be exploited by a threat."
Example:
Threat: A cybercriminal.
Vulnerability: An unpatched server.
Exploit: A method used to abuse that weakness.
Risk: The potential damage resulting from exploitation.
Question 4: What is a SIEM?
Strong answer:
"A Security Information and Event Management system collects and analyses logs from multiple sources, correlates events and generates alerts to help security analysts detect and investigate suspicious activity."
Examples: Microsoft Sentinel and Splunk.
Question 5: What is the difference between IDS and IPS?
Strong answer:
"An Intrusion Detection System monitors network activity and identifies potential threats. An Intrusion Prevention System can also actively block or prevent detected malicious traffic."
Question 6: What is the difference between authentication and authorization?
Strong answer:
"Authentication verifies who a user is. Authorization determines what that authenticated user is allowed to access or do."
Question 7: What is phishing?
Strong answer:
"Phishing is a social engineering attack in which an attacker impersonates a trusted person or organization to trick someone into revealing sensitive information, opening malicious attachments or visiting malicious websites."
Question 8: What is an IOC?
Strong answer:
"An Indicator of Compromise is an observable artifact that may indicate a system or account has been compromised. Examples include malicious file hashes, suspicious IP addresses, malicious domains and unauthorized accounts."
Question 9: What is EDR?
Strong answer:
"Endpoint Detection and Response monitors endpoint activity, detects suspicious behaviour and provides investigation and response capabilities. It helps analysts investigate process execution, file activity, network connections and potential malware."
Question 10: What is incident response?
Strong answer:
"Incident response is the structured process of identifying, investigating, containing, eradicating and recovering from cybersecurity incidents, followed by reviewing lessons learned."
Technical questions that separate candidates
These questions test whether you understand what happens during an actual investigation.
Question 11: What would you do if you noticed 50 failed login attempts followed by one successful login?
Strong answer:
"I would treat it as suspicious authentication activity. I would identify the affected account, source IP, timestamps and login locations. I would examine whether MFA was used and review activity following the successful login. I would check for privilege changes, unusual resource access and lateral movement. If compromise is suspected, I would preserve evidence and escalate according to incident response procedures."
Question 12: What is Event ID 4624?
A successful Windows logon.
Other important Event IDs:
Event ID
Description
4624
Successful logon
4625
Failed logon
4634
Logoff
4648
Explicit credentials used
4672
Special privileges assigned
4688
Process created
4720
User account created
4728
Member added to global security group
4740
Account locked out
Question 13: What would you do if Microsoft Word launched PowerShell unexpectedly?
Strong answer:
"I would investigate the parent-child process relationship, PowerShell command line, file hashes, file locations and any network connections. I would examine EDR telemetry and determine whether a malicious document or script was involved. If malicious execution is confirmed or strongly suspected, I would follow the organization's containment and escalation procedures."
Question 14: What is lateral movement?
"Lateral movement is when an attacker moves from one compromised system to another within an organization's environment, often to access additional resources or gain greater control."
Question 15: What is the difference between a false positive and a false negative?
False positive: A security system flags legitimate activity as malicious.
False negative: Malicious activity occurs but the detection system fails to identify it.
Question 16: What is the difference between hashing and encryption?
Hashing
Encryption
One-way transformation
Reversible with the correct key
Used to verify integrity
Used to protect confidentiality
Example: SHA-256
Example: AES
Question 17: What is the difference between TCP and UDP?
"TCP is connection-oriented and provides reliable, ordered delivery. UDP is connectionless and does not guarantee delivery or ordering, but has lower protocol overhead."
Question 18: What would you do if an EDR detected ransomware?
Strong answer:
"I would validate the alert, identify the affected endpoint and examine process activity, file modifications and network connections. I would assess whether the ransomware is spreading and coordinate isolation with the incident response team. I would preserve evidence, investigate other affected systems and support eradication and recovery."
Question 19: What is MITRE ATT&CK?
"MITRE ATT&CK is a knowledge base of adversary tactics and techniques based on observed attacker behaviour. Security analysts use it to understand attacks, map investigation findings and improve detection coverage."
Question 20: What is the difference between vulnerability scanning and penetration testing?
Vulnerability scanning identifies known weaknesses.
Penetration testing attempts to exploit weaknesses within an authorized scope to evaluate real-world security impact.
HR and behavioural interview questions
Technical knowledge isn't everything. Employers also want someone who can communicate, work under pressure and follow procedures.
This is where your aviation operations and safety background can become an advantage.
Question 21: Tell me about yourself.
Here's a possible answer based on your career background:
" I have experience in airport operations and safety, where attention to detail, following procedures, risk awareness and communication are extremely important. My interest in technology and cybersecurity has led me to develop knowledge in networking, Windows security, SIEM, incident response and threat detection. I'm now looking to build a career in cybersecurity, particularly in security operations, where I can combine my operational experience with my technical knowledge."
Don't memorize it word for word. Make it sound like you.
Question 22: Why do you want to become a SOC analyst?
"I enjoy investigating problems, identifying unusual activity and understanding how systems work. Cybersecurity combines technical analysis, critical thinking and risk management. I'm particularly interested in threat detection and incident response because I want to help organizations identify and respond to security threats before they cause significant damage."
Question 23: You don't have professional cybersecurity experience. Why should we hire you?
"Although I'm still developing my professional cybersecurity experience, I've built a foundation in networking, Windows security, SIEM concepts, incident response and cloud security. My previous operational experience has also taught me to follow procedures, remain attentive, communicate clearly and take risks seriously. I'm willing to learn, accept feedback and develop my technical skills."
Question 24: How do you handle pressure?
"In operational environments, I've learned that pressure requires clear communication, prioritization and following established procedures. I avoid making assumptions, assess the situation and focus on the most important risks first."
Question 25: What would you do if you didn't know how to investigate an alert?
"I would first review the alert details and available documentation, then consult relevant procedures and trusted technical resources. If I still couldn't determine the correct response, I would escalate to a senior analyst rather than take an action that could compromise evidence or disrupt business operations."
That's a good answer. Pretending to know everything is a terrible strategy.
How to turn your aviation experience into a cybersecurity advantage
This is worth understanding before you attend interviews.
Your previous work wasn't cybersecurity, but several skills transfer directly.
Aviation operations and safety
Cybersecurity equivalent
Hazard identification
Threat identification
Risk assessment
Cybersecurity risk assessment
Incident reporting
Security incident reporting
Safety procedures
Security policies and procedures
Operational monitoring
Security monitoring
Emergency response
Incident response
Investigation
Security investigation
Regulatory compliance
Security compliance
For example:
An Airport Safety Officer identifies a potential operational hazard, evaluates the risk, follows procedures and reports the findings.
A SOC analyst identifies suspicious activity, evaluates the security risk, follows procedures and reports the findings.
The technical subject is different, but the discipline of investigation and risk management transfers well.
How to answer scenario-based questions
Interviewers often give you a situation and ask what you would do.
Use this five-step structure:
The SOC response formula
Identify
What happened? Which alert was generated?
</list-item>
<list-item>Investigate
What logs, accounts, devices and evidence are relevant?
</list-item>
<list-item>Assess
What is the severity, confidence and business impact?
</list-item>
<list-item>Respond
What containment or escalation actions are appropriate?
</list-item>
<list-item>Document
What happened, what evidence was collected and what actions were taken?
</list-item>
Use this structure when you're stuck. It keeps your answer organized and demonstrates an analyst mindset.
Certifications and practical skills employers recognize
A certificate can help demonstrate learning, but employers also want proof that you can actually investigate security events.
Some useful options:
** — Cybersecurity certifications and training**
Good for networking and cybersecurity fundamentals.
<a href="https://www.netacad.com/">Cisco Networking Academy</a>
</box>
"We have detected unusual activity involving an administrator account. There were 20 failed logins, followed by a successful login from an unfamiliar IP address. Shortly afterward, PowerShell was executed and a new administrator account was created."
Question 1: What would you investigate first?
Question 2: Which Windows Event IDs would you examine?
Question 3: How would you determine whether the account was compromised?
Question 4: What containment measures would you recommend?
Question 5: How would you document and escalate your findings?
Your interviewer then asks:
"Why should we hire you instead of another candidate who already has cybersecurity work experience?"
Your answer sheet
What would you investigate first?
Which Windows Event IDs would you examine?
How would you determine whether the account was compromised?
What containment measures would you recommend?
How would you document and escalate your findings?
Why should we hire you over a candidate with professional cybersecurity experience?
Use these prompts to write your own incident assessment. Compare each claim with the evidence in the scenario.
Chapter 15 / 24 · Advanced study
Detection Engineering & SIEM Queries
Turn a security hypothesis into a reliable, testable detection with documented limitations.
Start with a detection hypothesis
A detection is an argument about observable activity. Begin with an attacker behaviour, explain why it matters, identify the data that can show it, and define the conditions that should generate an alert. “Detect hackers” is not testable. “Identify an office application launching a script interpreter on employee workstations” is much closer.
Write a detection specification before writing the query. Include the owner, purpose, required sources and fields, time window, expected event volume, grouping keys, thresholds, exclusions, severity rationale, investigation steps, and known blind spots. Map to ATT&CK where there is a defensible relationship. Mapping a technique does not establish full coverage of it.
Know the data contract
A SIEM receives records in particular schemas. The same concept may appear as Account, UserPrincipalName, or another field. Confirm the event source, field type, normalization, ingestion delay, retention, timezone, and collection health. A correct query over incomplete data still gives an incomplete result.
Distinguish filtering, grouping, aggregation, joins, and time windows. An overly broad join can multiply records. A grouping key that omits the target account can combine unrelated failures. A threshold without a baseline can create a flood of alerts during an expected password reset.
Worked KQL example: failed logons
This illustrative query targets the SecurityEvent table as commonly used in Microsoft Sentinel. Verify that Windows Security events are ingested and confirm the actual fields and audit settings in your workspace. It groups failed Windows logons; it does not establish a brute-force attack or account compromise.
SecurityEvent
| where TimeGenerated > ago(1h)
| where EventID == 4625
| summarize Failures=count(),
FirstSeen=min(TimeGenerated),
LastSeen=max(TimeGenerated)
by Account, IpAddress, bin(TimeGenerated, 10m)
| where Failures >= 10
| order by Failures desc
One row means the same account and recorded source address met the threshold within an aligned ten-minute bucket. Bucket boundaries can split a burst. A source behind NAT can represent many users. Blank source fields need separate handling. Investigate related successes, other targeted accounts, the logon type, target host, status codes, and normal behaviour.
The same idea in SPL
The following is a schema template, not a ready-to-run query. Replace the index, sourcetype, and field names with those used in your Splunk environment.
index=YOUR_WINDOWS_INDEX sourcetype=YOUR_SOURCETYPE EventCode=4625
| bin _time span=10m
| stats count as failures min(_time) as first_seen
max(_time) as last_seen by Account_Name Source_Network_Address _time
| where failures >= 10
| sort - failures
Use a constrained time range and selective filters. Before operationalizing the result, inspect raw events and validate how multi-value fields, event timestamps, and absent values behave.
Detection tests and quality
Test a known positive, a representative negative, and boundary cases. Include missing fields, delayed events, duplicate ingestion, an expected administrator workflow, and activity split across time buckets. Confirm that required telemetry exists on the systems the rule claims to cover.
Precision is TP / (TP + FP): the fraction of positive detections that were actually positive under your chosen ground truth. Recall is TP / (TP + FN): the fraction of actual positives detected. These measures require labeled data; you cannot calculate recall just by counting production alerts. In a controlled test with eight true-positive alerts, two false positives, and two missed positive cases, precision and recall are both 80%.
Operational measures include alert volume, analyst review time, investigation outcomes, ingestion gaps, and rule execution failures. A low alert count may mean strong prevention, low attack activity, or broken collection. Tune narrowly and document why an exclusion is safe enough, who owns it, and when it should expire.
Detection as maintained code
Store rule logic, test records, expected results, change history, and investigation guidance together. Review changes before production, test rollback, and assign an owner. Revisit detections after incidents, schema changes, software updates, and new attacker behaviours. Sigma can express portable detection logic, but conversion still needs schema mapping and platform validation.
Knowledge check
1. What should come before writing a production detection query?
A testable behaviour hypothesis and data requirements
A random threshold
A list of vendor logos
An assumption that every log exists
Reveal answer & explanation
A testable behaviour hypothesis and data requirements The hypothesis and telemetry requirements establish what can be detected and tested.
2. Does a failed-logon threshold prove account compromise?
Yes
No; it identifies activity needing context
Reveal answer & explanation
No; it identifies activity needing context Correlate successes, target accounts, host context, and later actions.
3. What does precision measure?
TP / (TP + FP)
TP / (TP + FN)
The total number of logs
Query duration only
Reveal answer & explanation
TP / (TP + FP) Precision measures how many positive detections were actually positive.
4. Can production alert counts alone establish recall?
Yes
No; recall needs knowledge of actual positive cases, including misses
Reveal answer & explanation
No; recall needs knowledge of actual positive cases, including misses You need labeled cases or another defensible source of ground truth.
5. Why test events near time-bucket boundaries?
To make the query longer
A burst may be split between buckets
Time never matters
To avoid checking raw events
Reveal answer & explanation
A burst may be split between buckets Aligned bins can split related activity and affect threshold results.
Chapter 16 / 24 · Advanced study
Packet Analysis, TLS & Network Hunting
Read traffic as evidence, understand encryption limits, and correlate observations across network sensors.
Choose the right observation point
A packet capture records what a sensor could see at a particular point and time. A capture inside a host, before NAT, after NAT, or behind a proxy may show different addresses and traffic. SPAN configurations, packet drops, asymmetric routing, offloading, and capture filters affect completeness. Record where and how the capture was collected before interpreting it.
Begin with the question you want answered: Did the host resolve a domain? Was a connection established? How much data moved? What application generated it? Define the relevant time range and endpoints, then compare packet evidence with DNS, proxy, firewall, and endpoint logs.
A practical packet-reading sequence
Scope: confirm capture time, timezone, interface, host, and collection limits.
Inventory: review endpoints, conversations, protocols, duration, and byte counts.
Resolve: relate DNS queries and answers to later connections, while respecting TTLs, caches, and shared infrastructure.
Reconstruct: review connection establishment, resets, retransmissions, direction, and application data where available.
Correlate: identify the owning process, user session, and surrounding host activity.
Useful Wireshark display filters
These are display-filter examples for an existing authorized capture. Display filters select what you view after capture; capture filters use different syntax and decide what is collected.
Use an actual stream identifier from your capture. The address is reserved for documentation. A SYN filter shows attempts, not completed handshakes. http.request does not reveal HTTPS requests hidden inside TLS. Protocol dissection can also depend on how the capture is decoded.
What TLS hides and reveals
TLS protects application content between its endpoints, subject to protocol and configuration. Passive sensors can often observe endpoints, timing, packet sizes, and parts of connection negotiation. Exactly which handshake fields are visible depends on protocol version, session behavior, and features such as Encrypted Client Hello. Do not assume that a hostname or certificate will always be visible.
A legitimate certificate does not establish that the application is trustworthy. Shared hosting and CDNs make IP-based conclusions especially fragile. Decryption requires appropriate access, configuration, and authorization; do not assume a server private key can decrypt modern TLS sessions.
DNS investigation beyond a domain reputation score
Review the querying host and process, record type, frequency, response codes, answer changes, and connection activity that follows. Long labels, high query volume, or many nonexistent names can support a hypothesis, but software updates, telemetry, and misconfiguration may produce similar patterns.
DoH and DoT encrypt DNS traffic on the wire. Endpoint telemetry, approved resolver logs, and network policy may offer visibility that a passive port-53 view lacks. A resolver cache can also make the absence of a fresh query unsurprising.
Use flow and Zeek metadata
Zeek’s connection metadata can summarize endpoints, duration, state, and byte counts; DNS and other protocol logs add context where enabled. Field availability and meaning depend on version and configuration. Match records using identifiers and timestamps rather than assuming all nearby rows are the same conversation.
Periodic outbound connections may resemble beaconing. Check timing variation, payload size, destination infrastructure, process ancestry, and how common the pattern is among other devices. An updater can be periodic too. A large outbound transfer may be backup traffic; determine what process sent it, where it went, and whether the transfer was authorized.
Practice deliverable
Using an approved sample capture, describe one conversation from name resolution through connection closure. Provide the five-tuple, relevant timestamps, visible application details, bytes in each direction, and collection limitations. Add two plausible explanations and identify the host evidence that would discriminate between them.
Knowledge check
1. What does a TCP SYN packet establish?
A connection attempt
A completed application transaction
A successful login
A trustworthy destination
Reveal answer & explanation
A connection attempt Connection establishment and later application activity require additional evidence.
2. Can the filter http.request normally show encrypted HTTPS request bodies without decryption?
Yes
No
Reveal answer & explanation
No TLS encrypts application content; display filtering does not decrypt it.
3. Why record the capture point?
It affects visible addresses and traffic
It never changes interpretation
It removes the need for timestamps
It identifies every user automatically
Reveal answer & explanation
It affects visible addresses and traffic NAT, proxies, routing, and sensor configuration change what is observable.
4. Does periodic traffic prove command and control?
Yes
No; legitimate services can also be periodic
Reveal answer & explanation
No; legitimate services can also be periodic Correlate with process, destination, timing, and environmental context.
5. What is a good next source for an unexplained connection?
The owning process and endpoint telemetry
Only an IP reputation number
A guess based on port 443
The device wallpaper
Reveal answer & explanation
The owning process and endpoint telemetry Host context links network activity to execution and user activity.
Chapter 17 / 24 · Advanced study
Phishing, Email Security & Business Email Compromise
Investigate suspicious messages, account misuse, and business-process fraud as connected problems.
Preserve the actual message
A screenshot helps explain what a recipient saw but often omits essential evidence. Preserve the original message, full headers, message identifier, sender and recipient information, attachments, URLs, delivery time, and relevant mail-platform records. Use approved tooling to inspect attachments and URLs safely rather than opening them on an everyday workstation.
Record the difference between the display name, visible From address, Reply-To address, envelope sender, and the infrastructure that handled the message. Legitimate services can make these differ. A mismatch is a lead, not an automatic malicious verdict.
SPF, DKIM, and DMARC
SPF checks whether the sending infrastructure is authorized for the evaluated envelope identity, commonly the MAIL FROM domain. It does not directly authenticate the visible display name. Forwarding can affect SPF results.
DKIM validates a cryptographic signature over specified message content and headers for the signing domain. It supports integrity checks for the signed portions; it does not establish that the message’s business request is legitimate.
DMARC evaluates whether a passing SPF or DKIM identity aligns with the visible From domain and supplies policy and reporting mechanisms. At least one aligned passing mechanism can satisfy the check. A message can pass authentication and still be phishing when sent from a compromised account or attacker-controlled domain.
Review authentication results recorded by trusted receiving infrastructure. Attackers can insert header-looking content, so establish which header fields your platform actually generated and trusts.
A phishing investigation workflow
Validate the report: preserve the message and determine the recipient’s interaction.
Inspect the lure: identify impersonation, urgency, attachment or URL behavior, and the requested action.
Scope delivery: find related messages using identifiers, subject patterns, sender infrastructure, URLs, and attachment hashes.
Scope impact: investigate clicks, downloads, execution, sign-ins, consent grants, mailbox changes, and data access.
Contain and recover: coordinate message removal, identity response, endpoint investigation, and business-process intervention.
A recipient’s report that they “only opened it” needs clarification. Did they open an attachment, preview a document, submit credentials, grant consent, approve MFA, or run a downloaded file? Translate the answer into a timeline that can be checked against logs.
URLs and attachments
Review the actual target and redirect chain, not just the link label. URL shorteners, cloud-storage links, QR codes, and legitimate document-sharing platforms can conceal the final destination. Defang indicators in reports where appropriate so they are not accidentally activated.
Hashes help identify identical attachments; a modified file has a different hash. File extensions can be misleading. Use metadata, file type, safe static inspection, and approved sandbox evidence. Do not treat a scanner’s zero detections as proof that a file is benign, and do not upload confidential documents to public scanners.
Business email compromise is also process abuse
BEC may use a compromised real mailbox and no malware. Look for payment diversion, invoice changes, payroll redirection, unusual supplier requests, or pressure to bypass verification. Investigate sign-in context, session activity, forwarding and inbox rules, delegated access, sent items, OAuth applications, and changes to recovery information where the platform exposes them.
Work with finance or the affected business team to verify high-impact requests through a known independent contact channel. Replying to the same compromised thread is not independent verification. If money has moved, follow the organization’s fraud-response and banking procedures promptly.
Containment and follow-through
Depending on the incident, response may include disabling malicious rules, revoking sessions or tokens, restricting an account, resetting credentials, removing unauthorized application grants, and searching other mailboxes. Coordinate changes, preserve evidence, and verify that access is actually removed.
After recovery, review why the message was delivered, why the request was credible, and which business controls could interrupt the fraud. Track improvements in mail policy, identity protection, reporting, user education, and payment verification with owners.
Knowledge check
1. Can an email that passes DMARC still be phishing?
Yes
No
Reveal answer & explanation
Yes Authentication does not guarantee a legitimate request or an uncompromised sender.
2. Which artifact best preserves email investigation details?
Only a cropped screenshot
The original message with full headers and relevant platform records
The sender display name alone
A copied subject line
Reveal answer & explanation
The original message with full headers and relevant platform records The original preserves identifiers and routing details missing from screenshots.
3. What does DKIM passing establish?
The request is safe
Validation of a signature for signed portions and its signing domain
The attachment is harmless
The recipient should pay
Reveal answer & explanation
Validation of a signature for signed portions and its signing domain Cryptographic authentication does not validate business intent.
4. What is useful evidence in a mailbox-compromise investigation?
Inbox rules, sign-ins, sessions, and application grants
Only the logo in the signature
Only the subject
Only the display name
Reveal answer & explanation
Inbox rules, sign-ins, sessions, and application grants Correlate identity and mailbox activity to scope unauthorized access.
5. How should a suspicious bank-detail change be verified?
Reply to the same thread
Use a known independent contact channel and approved process
Trust the signature
Assume DMARC settles it
Reveal answer & explanation
Use a known independent contact channel and approved process Independent verification can interrupt fraud even when a real mailbox is compromised.
Chapter 18 / 24 · Advanced study
Web Applications, APIs & Attack Investigation
Understand the application behaviors behind alerts and investigate requests in their full business and identity context.
Follow the request through the system
A web interaction may pass through a CDN, reverse proxy, WAF, application server, API gateway, and database. Each layer sees part of the request. Preserve timestamps, request identifiers, route and method, status, response size, identity, and the relevant application action. Request IDs can link layers more reliably than time alone.
A source IP may belong to a proxy or shared network. Forwarded-client headers are trustworthy only when inserted and handled by known infrastructure. Confirm how your application determines client identity before attributing activity.
Authentication, sessions, and authorization
Authentication establishes an identity according to the system’s mechanism. Session cookies and access tokens represent continuing access. Authorization decides whether that identity may perform a particular action on a particular object. An API that checks login but not ownership can expose another user’s records.
Broken object-level authorization is an API concern: changing an object reference should not let one user read or modify another user’s object without permission. To investigate, compare authenticated principal, requested object, ownership or tenant boundary, action, response, and the application’s authorization decision.
Understand common attack classes
Injection
Untrusted input influences an interpreter such as a database or shell. A suspicious request is an attempted attack until application behavior or downstream evidence supports success. Parameterized queries and safe APIs address particular injection paths.
Cross-site scripting
Attacker-controlled content executes in a victim’s browser within an application context. Output encoding must match context; appropriate sanitization and content security policy can add protection. Check where content was stored or reflected and whether a user actually rendered it.
Server-side request forgery
A server is induced to make requests chosen by an attacker. Investigate application input, server egress, accessed destinations, and returned data. Cloud metadata or internal-service access can increase impact.
Cross-site request forgery
A victim’s browser is induced to submit an unwanted authenticated request. Relevant defenses depend on request design, anti-CSRF tokens, cookie behavior, and origin validation.
File handling flaws
Uploads, path handling, and content processing can create unauthorized reads, writes, or execution. Investigate actual stored files, validation, access controls, and resulting processes.
Read status codes without overclaiming
A 200 response means the server returned a successful HTTP response according to its semantics; it does not prove that a malicious action succeeded. A 403 at the WAF does not prove the origin was never reached through another route. A 500 response may indicate an application error rather than successful exploitation. Use application state and downstream evidence.
Normal behavior also matters. A vulnerability scanner, a developer test, and an attacker can produce similar request patterns. Verify authorization, scope, timing, and the application changes that followed.
Tokens, secrets, and logs
API keys, session cookies, and bearer tokens can grant access to anyone who possesses them. Investigate their creation, permissions, use, lifetime, and revocation paths. Some token designs are self-contained; revocation behavior depends on the system. Do not paste live tokens into public decoders.
Log enough to investigate while avoiding unnecessary secrets or personal data. Prefer request IDs, actor identifiers, resource identifiers, authorization outcomes, and safe metadata. If a sensitive value was logged, treat the log as potentially sensitive evidence and assess exposure.
Example: suspicious object access
09:10Z user=analyst-a GET /api/reports/R-100 status=200
09:11Z user=analyst-a GET /api/reports/R-101 status=200
09:12Z user=analyst-a GET /api/reports/R-102 status=403
These records do not prove unauthorized access. Determine whether the first two reports belonged to the user or were legitimately shared. Check authorization events, response content or safe access metadata, and whether the 403 reflects a different policy. If the app returned another tenant’s report, scope similar requests and coordinate containment with the owner.
Safe practice
Use an intentionally vulnerable training app in an isolated lab, such as OWASP Juice Shop or WebGoat. Study the expected authorization and request flow before reviewing exercise traffic. The learning goal here is to reconstruct cause and impact, explain the control failure, and validate a fix. Do not test third-party production systems without permission.
Knowledge check
1. What must object-level authorization consider?
Only whether someone is logged in
Whether this identity may perform this action on this object
Only the HTTP method
Only the browser version
Reveal answer & explanation
Whether this identity may perform this action on this object Authorization is specific to the actor, action, and resource.
2. Does HTTP 200 prove a malicious database query succeeded?
Yes
No
Reveal answer & explanation
No Correlate application state and downstream evidence.
3. What is SSRF?
A server making attacker-influenced requests
A user changing a password
A type of disk image
A hashing algorithm
Reveal answer & explanation
A server making attacker-influenced requests Server-side request forgery abuses server-side request behavior.
4. What helps correlate CDN and application activity?
A request identifier carried across layers
Only the page color
Only the response code
Only a country flag
Reveal answer & explanation
A request identifier carried across layers Shared identifiers and normalized times support cross-layer reconstruction.
5. Should live bearer tokens be pasted into public debugging tools?
Yes
No; use approved local or private analysis methods
Reveal answer & explanation
No; use approved local or private analysis methods Bearer tokens may grant access and must be handled as secrets.
Chapter 19 / 24 · Advanced study
Digital Forensics & Evidence-Based Reconstruction
Preserve evidence, reason about artifacts, and build findings that another analyst can reproduce.
Define the question and authority
Forensics begins with a scoped question and authority to collect and examine data. Identify the relevant systems, time range, suspected activity, operational constraints, and evidence custodians. Coordinate with incident leadership and legal or privacy specialists when the organization’s procedures require it.
Decide what you need to preserve before changing the system. Network isolation, process termination, shutdown, account changes, and automated remediation can alter evidence. Operational and safety needs can outweigh forensic completeness; record the decision, owner, reason, and effect.
Volatility and acquisition
Memory, running processes, network connections, and ephemeral cloud instances may disappear quickly. Persistent disks and remote logs have different retention and collection challenges. Order collection according to volatility, impact, available tools, and the incident objective rather than following a rigid universal sequence.
Use approved acquisition procedures, known tools, accurate time records, and appropriate media handling. A live collection changes the system by running tools. A disk image and a logical copy preserve different things. Document the method and its limitations instead of describing every collection as a complete image.
Hashes and chain of custody
A cryptographic hash supports content identity checks. Record the algorithm and value at defined points and compare before analysis or transfer as appropriate. A matching hash does not establish that the original source was authentic, that acquisition captured everything, or that an interpretation is correct.
Chain-of-custody records describe collection, possession, transfers, access, and storage. Include the evidence identifier, source, collector, time and timezone, method, tool version, hash where applicable, storage location, and every handover. Work from a verified analysis copy when the procedure permits and protect the original.
Interpret artifacts in combination
Host artifacts can include event logs, file-system metadata, browser history, download records, scheduled tasks, services, autorun locations, process telemetry, and application records. Each artifact was created for a purpose and has specific semantics. Presence, absence, and timestamps must be interpreted in that context.
For example, a file’s existence does not prove execution. A process-creation record supports execution at its recorded time, subject to collection trust and scope. A download record, a file write, and process telemetry together form a stronger chain than a filename alone.
Memory investigation
Memory analysis can expose process information, loaded modules, network context, and other volatile structures supported by the acquisition and tool. Results depend on the operating system, capture quality, tooling, and interpretation. Tools such as Volatility 3 require supported analysis conditions; verify compatibility rather than copying a command from an unrelated lab.
Use multiple views to investigate inconsistencies, and corroborate with disk and endpoint records. A suspicious memory region needs further examination; a tool label by itself is not a complete finding.
Timeline reasoning
Separate event time, file metadata time, observation time, and collection time. Record timezone, clock drift, and ingestion delays. Sorting timestamps is a starting point, not proof of causality. Ask what could have created each artifact and what independent source supports the sequence.
Finding: suspicious script execution
Observation: process creation log records interpreter launch at 10:04Z.
Corroboration: endpoint telemetry links the process to a downloaded script.
Scope: one host examined; remote activity is not yet fully scoped.
Limitation: command-line logging was incomplete before 09:50Z.
Next step: inspect related authentication and network records.
A reproducible finding
State the question, evidence identifier, relevant record or location, tool and method, observation, interpretation, confidence, and limitations. Another analyst should be able to locate the evidence and understand how the conclusion follows. Preserve the query or command, parameters, and output references when useful.
Use precise language: “the available record shows” is different from “the attacker definitely did.” Distinguish facts, supported inferences, and unresolved hypotheses. If evidence conflicts, explain the conflict rather than omitting it.
Knowledge check
1. Does a matching hash prove the source account or device was trustworthy?
Yes
No; it supports a content identity check
Reveal answer & explanation
No; it supports a content identity check Hash identity is not proof of source authenticity or acquisition completeness.
2. What should a forensic finding include?
Only a conclusion
Evidence, method, observation, interpretation, and limitations
Only a screenshot
Only a tool name
Reveal answer & explanation
Evidence, method, observation, interpretation, and limitations Findings should be traceable and reproducible.
3. Does a file on disk prove it executed?
Yes
No
Reveal answer & explanation
No Seek process or other execution evidence.
4. Why record live-collection actions?
They can change system state
They never affect evidence
They replace chain of custody
They eliminate tool limitations
Reveal answer & explanation
They can change system state Document what changed and how it affects interpretation.
5. What is the purpose of a chain-of-custody record?
Track evidence handling and transfers
Prove every hypothesis
Replace hashing
List all employees
Reveal answer & explanation
Track evidence handling and transfers It documents the traceable handling history of evidence.
Chapter 20 / 24 · Advanced study
Python, PowerShell & Analyst Automation
Automate repetitive analysis while preserving data quality, traceability, and human judgment.
Automate a stable question
Start with a task you can perform manually and explain precisely. Examples include counting authentication failures by account, extracting indicators from an approved evidence set, validating required fields, or producing a daily data-quality summary. A script that automates a misunderstood task makes mistakes faster.
Define the input format, required fields, time range, expected output, and failure behavior. Preserve the raw input and produce a separate output. Include the script version, execution time, and parameters in a record when the output supports an investigation.
Read structured data before reaching for regular expressions
JSON and CSV parsers understand structure and escaping. Regular expressions are useful for patterns within text but can mishandle nested JSON, quoted commas, and multiline fields. Validate types, missing fields, and unexpected values explicitly.
Normalize timestamps deliberately. Prefer timezone-aware values and preserve the original string when it is evidence. Do not silently treat local time as UTC. A script that skips malformed rows should report how many were skipped and why.
Worked Python example: count synthetic logon failures
Create events.csv with the shown header and records, then save the script as count_failures.py in your lab. This example uses only Python’s standard library, reads the input, and reports malformed rows. It is a teaching tool, not a complete production detector.
import csv
from collections import Counter
from datetime import datetime
counts = Counter()
skipped = 0
with open("events.csv", newline="", encoding="utf-8") as source:
reader = csv.DictReader(source)
required = {"timestamp", "event_id", "account", "source_ip"}
if not required.issubset(set(reader.fieldnames or [])):
raise ValueError("Missing required columns")
for row in reader:
try:
stamp = datetime.fromisoformat(row["timestamp"].replace("Z", "+00:00"))
if stamp.tzinfo is None:
raise ValueError("Timezone required")
event_id = int(row["event_id"])
account = row["account"].strip()
address = row["source_ip"].strip()
if not account or not address:
raise ValueError("Missing account or source")
if event_id == 4625:
counts[(account, address)] += 1
except (TypeError, ValueError, KeyError):
skipped += 1
for (account, address), count in counts.most_common():
print(f"{account} | {address} | failures={count}")
print(f"Skipped malformed rows: {skipped}")
Expected result for the sample: two failures for lab-user from 192.0.2.10, with zero skipped rows. Notice that this counts the entire file; it does not apply a rolling time window or infer whether the successful logon was malicious.
PowerShell for defensive inspection
PowerShell objects can be filtered and exported without manually splitting formatted text. In an authorized Windows lab with access to Security logs, a constrained example is:
Log access and audit configuration determine what is available. Filter at the source when possible and avoid unbounded queries on busy systems. The human-readable Message can be localized; for automation, inspect the structured event fields and document how you map them.
Reliability and security
Read-only scripts still need scope controls: broad collection can expose sensitive data or overload APIs. Set timeouts, bounded pagination, rate limits, and output size limits. Handle transient errors with limited retries and report persistent failures. Make destructive actions explicit, separately reviewed, and reversible where possible.
Keep tokens and credentials outside source and outputs. Use approved secret storage and least-privilege access. Do not let an extracted filename, command, or indicator become executable shell input. Treat evidence as untrusted data.
Test the analyst outcome
Test valid input, missing columns, malformed timestamps, empty files, duplicate records, and unusual Unicode. Verify the output against a hand-calculated sample. Meaningful tests check the question the script is meant to answer, not merely that it runs.
For your portfolio, include a sanitized sample, usage instructions, expected output, limitations, and tests. A small tool that reliably answers one clear question is stronger evidence of skill than a large unexplained script.
Knowledge check
1. What is a suitable first automation task?
A bounded repetitive task you can explain manually
Automatically deleting every suspicious file
Running unbounded queries everywhere
Copying unknown shell commands
Reveal answer & explanation
A bounded repetitive task you can explain manually A stable, understood question supports reliable automation.
2. Why use a CSV parser instead of splitting on commas?
It understands quoted fields and CSV structure
It proves the data is true
It removes all malformed input
It detects malware
Reveal answer & explanation
It understands quoted fields and CSV structure Structured parsers handle format rules but still need validation.
3. What should happen to malformed input rows?
Silently disappear
Be handled and counted or reported
Always crash without explanation
Become shell commands
Reveal answer & explanation
Be handled and counted or reported Report data quality problems and preserve enough context to investigate.
4. Where should an API token be stored?
In a public repository
In approved secret storage outside source and output
Inside every report
In a screenshot
Reveal answer & explanation
In approved secret storage outside source and output Use least privilege and avoid exposing credentials.
5. Does counting failures over a whole CSV create a rolling-window brute-force detector?
Yes
No
Reveal answer & explanation
No Time-window logic and additional context require explicit implementation.
Investigate identity-driven activity, ephemeral workloads, and cross-service impact in modern environments.
Map the environment before an incident
Cloud environments combine accounts, projects or subscriptions, identities, policies, workloads, networks, data stores, and external integrations. Build an inventory that connects business owners to these resources. Know which audit sources are enabled, where they are retained, and who can disable or alter them.
Identity is often the control point. A long-lived key, temporary role session, workload identity, or application principal can access services without an interactive desktop login. Record the principal, credential or session identifier where available, source, action, resource, and authorization outcome.
Control plane versus data plane
Control-plane activity changes or manages resources, such as creating a key or changing a policy. Data-plane activity uses the service’s data, such as reading an object. The exact distinction and logging configuration vary by provider and service.
When a storage policy becomes public, confirm whether it actually allows the suspected access, what objects are affected, and whether access evidence exists. A policy-change alert proves the change occurred according to the record; it does not alone prove which data was read. If access logs were unavailable, state that limitation.
Investigate a credential compromise
Identify: determine the principal, credential type, effective permissions, and normal use.
Trace: correlate sessions, API calls, policy changes, key creation, and resource access.
Scope: search linked accounts, roles, applications, secrets, and data stores.
Contain: coordinate credential disablement, session or token revocation where supported, policy restrictions, and workload impact.
Recover: address the exposure path, restore trusted configuration, and verify continued logging.
Disabling one key may not invalidate all temporary credentials already issued through it. Confirm provider behavior and the organization’s revocation procedures. Rotate downstream secrets when the investigation supports their exposure.
Container and Kubernetes investigations
A container image is a packaged artifact; a running container is an instance with runtime state. A pod groups one or more containers according to Kubernetes design. Identify the image digest, workload, namespace, node, service account, deployment history, and runtime events. A mutable image tag is weaker identification than a digest.
Useful evidence can include orchestration audit logs, workload definitions, container stdout and stderr, image metadata, registry activity, runtime telemetry, node records, and network observations. An ephemeral workload may disappear before a traditional disk collection, so plan collection and retention in advance.
Examine privileged containers, host mounts, sensitive environment variables, service-account permissions, unexpected executions, and changes to workloads. A broad permission is a risk; correlate actual use before declaring it exploited.
CI/CD is part of the attack surface
Build systems may hold signing keys, deployment credentials, source access, and artifact-publishing rights. Review who changed pipeline definitions, approved runs, accessed secrets, or published artifacts. An attacker can alter the next deployment without touching the production host directly.
Track source commit, build identity, dependency inputs, artifact digest, provenance where available, deployment record, and production observation. An SBOM lists components; it does not prove that the build was trustworthy or that every listed vulnerability is reachable.
Cloud incident documentation
Cloud resources can change rapidly. Preserve resource identifiers, configuration snapshots, policy versions, relevant audit records, and the investigation queries. Avoid relying only on console screenshots. Record which permissions and retention settings limited your visibility.
Separate resource exposure, suspicious access, confirmed access, and confirmed exfiltration. These are different levels of evidence with different response implications. Coordinate provider support, legal, business owners, and incident leadership according to the incident plan.
Knowledge check
1. Does a storage policy change alone prove data exfiltration?
Yes
No
Reveal answer & explanation
No It establishes a configuration change; access and transfer need separate evidence.
2. What better identifies an exact container image?
A mutable tag alone
An image digest
A display name
A screenshot
Reveal answer & explanation
An image digest A digest identifies image content more precisely than a mutable tag.
3. Why investigate CI/CD during a cloud incident?
It can hold deployment rights and influence production artifacts
It cannot affect production
It never contains secrets
It replaces logging
Reveal answer & explanation
It can hold deployment rights and influence production artifacts Build and deployment systems are part of the trust chain.
4. Does disabling one long-lived key always revoke every temporary session it helped create?
Yes
No; verify service-specific behavior and revocation procedures
Reveal answer & explanation
No; verify service-specific behavior and revocation procedures Credential and session lifetimes vary by provider and mechanism.
5. What does an SBOM provide?
A component inventory
A guarantee of a safe build
Proof of no vulnerabilities
Proof of exploitation
Reveal answer & explanation
A component inventory An inventory supports analysis but does not establish overall trust or exploitability.
Chapter 22 / 24 · Advanced study
Risk, Cryptography & Incident Leadership
Connect technical findings to business decisions, resilient controls, and clear communication.
Security work exists to manage risk
A technical finding matters because it can affect people, operations, information, finances, or obligations. Describe the asset, plausible threat, weakness, potential impact, existing controls, and uncertainty. Give decision makers enough information to compare options.
A risk register should have an owner, treatment decision, actions, due dates, residual risk, and review date. Common responses include reducing, avoiding, transferring or sharing, and accepting risk within authority. A security team should not silently accept a business risk on behalf of an owner.
Cryptography as a set of tools
Encryption
Protects confidentiality when implemented and managed correctly. Symmetric encryption uses shared secret key material; asymmetric systems use a key pair. Modes, nonce handling, authentication, and key protection matter.
Hashing
Maps data to a digest for purposes such as content checking. General-purpose hashes are not the right default for storing passwords. Password storage needs a suitable password-hashing scheme with salts and appropriate cost settings.
Message authentication
Mechanisms such as HMAC use secret key material to support integrity and authenticity checks between parties that share it.
Digital signatures
Use asymmetric cryptography to support verification of signed data and the signing key’s involvement. Trust also depends on key ownership, protection, and verification policy.
Certificates
Bind information to a public key under a certification model. A valid server certificate is not a guarantee that a website’s business content is honest.
Use established libraries and organizational standards. Analysts should understand what a mechanism establishes and what evidence it produces, rather than inventing cryptographic schemes.
Key management changes the answer
Encryption is only as useful as the system around its keys. Investigate creation, access, storage, rotation, backup, revocation, and destruction. If an attacker can use the legitimate decryption service with a compromised identity, encrypted storage alone may not prevent data access.
Record whether key material, plaintext, encrypted data, or access permissions were exposed. These are different incidents. Evaluate the actual cryptographic configuration and access path before asserting that encryption eliminates impact.
Vulnerability, threat, and operational priorities
Compare the technical issue with exposure, exploitation evidence, data sensitivity, service criticality, and current controls. A lower-scored issue on a critical exposed identity path may need action before a higher-scored issue on an isolated test system.
Explain options with their likely effect, cost, operational risk, and verification plan. For example, emergency access restrictions may reduce exposure quickly while a tested patch is prepared. Document the residual risk and the owner’s decision.
Incident command and communication
Clear roles prevent parallel teams from making conflicting changes. Identify incident lead, technical investigation lead, communications owner, business owner, and relevant specialists. Use a shared timeline, action log, decision log, and agreed update cadence.
A useful leadership update includes what is known, what is affected, business impact, actions taken, major uncertainties, decisions needed, and the next update time. Avoid raw indicator lists without implications and avoid a confident conclusion unsupported by evidence.
Example: “One employee account shows suspicious access and a new forwarding rule. We have revoked the account’s active sessions and removed the rule. The available logs support mailbox access; the exact message scope is still being determined. Finance is verifying two payment-change requests through known contacts. Next update: 14:30 UTC.”
Metrics that improve decisions
Track data coverage, detection health, investigation outcomes, remediation age by risk, and completion of recovery improvements. Response times need clear definitions: when did the clock start, what counts as detection or containment, and which cases were included? Averages can hide severe outliers.
Do not reward closing alerts without assessing quality. Combine timeliness with evidence quality, case completeness, recurrence, and unresolved risk. Use post-incident reviews to improve systems rather than merely assigning blame.
Resilience and restoration
Recovery time objective describes a target restoration time; recovery point objective describes a target tolerance for data loss measured in time. These are planning objectives, not guarantees. Test dependencies, restoration procedures, backup integrity, and the ability to recover identities and keys.
Practice a tabletop exercise with a business team. Require participants to make decisions with incomplete information, record assumptions, and identify who can approve disruptive containment. Convert findings into owned, dated actions.
Knowledge check
1. Who should own acceptance of a business risk?
An authorized risk owner
An analyst silently closing the alert
Nobody
The scanner vendor
Reveal answer & explanation
An authorized risk owner Risk acceptance needs appropriate authority and documentation.
2. Is a fast general-purpose hash the default choice for storing passwords?
Yes
No; use an appropriate password-hashing scheme
Reveal answer & explanation
No; use an appropriate password-hashing scheme Password storage needs suitable salts and cost settings, not merely a fast digest.
3. Does encrypted storage stop all access through a compromised authorized account?
Yes
No
Reveal answer & explanation
No An account may still be able to ask legitimate services to decrypt data.
4. What belongs in an incident leadership update?
Known facts, impact, actions, unknowns, decisions, and next update
Only raw IP addresses
Only an alarmist verdict
A guaranteed attribution without evidence
Reveal answer & explanation
Known facts, impact, actions, unknowns, decisions, and next update Leaders need implications and decisions as well as technical facts.
5. What does RPO describe?
A target tolerance for data loss measured in time
A guaranteed zero-loss promise
The number of firewall rules
The patch version
Reveal answer & explanation
A target tolerance for data loss measured in time Recovery point objectives guide resilience planning and testing.
Chapter 23 / 24 · Advanced study
The Analyst Practice Lab & Twelve-Week Study Plan
Build practical competence through a safe lab, repeatable exercises, and evidence-based feedback.
Build a lab around the learning goal
You can begin with synthetic logs, a provided packet capture, and a text editor. A more developed lab can include a Windows VM, a Linux VM, and a log collection or analysis tool. Choose components your device can run comfortably. A small reliable lab is better than an overloaded collection of tools.
Use an isolated network, snapshots, test-only identities, and no production credentials. Understand VM networking before running exercises. Keep intentionally vulnerable applications local or explicitly isolated and remove them when finished. You do not need live malware to learn logs, triage, detection, and reporting.
For each exercise, write the objective, expected evidence, collection method, start time, actions, and cleanup plan. Label data as synthetic or lab-generated. Preserve a small representative sample and document what the lab cannot reproduce.
A twelve-week learning sequence
Week
Focus
Required deliverable
1
Security foundations and identity
A risk-and-control map for a fictional small business.
2
Networking, DNS, and TCP
An annotated five-tuple and connection timeline from a training capture.
3
Windows, Linux, and timestamps
A normalized timeline with original timestamps and source limitations.
4
Triage and documentation
Three short cases: benign activity, suspicious activity, and confirmed malicious activity.
5
Endpoint and process analysis
A process-tree investigation with evidence supporting each link.
6
Phishing and identity
A synthetic email investigation including recipient and account scope.
7
Vulnerabilities and risk
A prioritized remediation plan with owners and verification criteria.
8
Queries and detection engineering
A detection specification, test data, expected results, and tuning notes.
9
Web and cloud evidence
A control-plane versus data-plane evidence map.
10
Forensics and automation
A reproducible finding and a small tested parser for synthetic records.
11
Incident response and communication
A containment decision log and a leadership update from a tabletop.
12
Capstones and portfolio review
Complete the next chapter’s cases and revise two previous reports.
The schedule is a suggested order, not a deadline or promise of expertise. Repeat a week when you cannot explain the evidence independently. More experienced learners can use the deliverables as a diagnostic checklist.
A reusable lab worksheet
OBJECTIVE: What question will this lab answer?
ENVIRONMENT: Systems, versions, network boundaries, test identities.
EXPECTED EVIDENCE: Sources, fields, and timestamps.
ACTIONS: Ordered steps performed in the lab.
OBSERVATIONS: What the records actually show.
INTERPRETATION: What follows, and what does not.
VALIDATION: Comparison with known ground truth.
LIMITATIONS: Missing sources, unrealistic assumptions, tool limits.
CLEANUP: Credentials removed, vulnerable services stopped, snapshots handled.
DELIVERABLE: Report, query, detection, or tested script.
Assess your work honestly
Score each category from 0 to 3: 0 means missing; 1 means present but unsupported or incomplete; 2 means adequate and mostly reproducible; 3 means clear, corroborated, and explicit about limitations. Use the score to identify what to practice next, rather than as a professional qualification.
Scope: are affected identities, assets, time range, and boundaries clear?
Evidence: can another person locate and reproduce the important observations?
Reasoning: are facts, inferences, and alternative explanations distinguished?
Response: are actions proportionate, coordinated, and tied to the evidence?
Communication: can both technical and business readers understand the conclusion?
A maximum of 15 is possible for this exercise rubric. A high score on one lab does not establish broad proficiency. Seek independent feedback and revise weak areas.
Practice retrieval and transfer
Explain a concept without looking, solve a related example, then compare your answer with the source. Revisit material after a delay. Vary the scenario so you learn the principle rather than memorizing a case’s names and addresses. Connect the networking, endpoint, identity, and cloud views of the same problem.
Use the glossary flashcards for vocabulary, the chapter questions for recall and interpretation, and the capstones for reasoning. Keep a mistakes log with the error, why it occurred, and the evidence that would have corrected it.
Build a responsible portfolio
Publish only sanitized training work you are permitted to share. Include the question, environment, method, evidence excerpts, findings, limitations, and next steps. Label simulated activity accurately. Never present a lab as an employer incident or include credentials, customer data, or private infrastructure details.
A useful portfolio can be small: one detection with tests, one phishing or endpoint investigation, one packet analysis, one automation tool, and a clear incident report. Explain your own contribution and invite review.
Choose a specialization after the foundation
Possible directions include detection engineering, threat hunting, incident response, digital forensics, cloud security, application security, or security operations leadership. Deepen one area while maintaining the common skills of networking, identity, evidence handling, and communication. Expertise develops through repeated practice, feedback, and exposure to varied systems over time.
Knowledge check
1. Do you need live malware to learn basic triage and detection?
Yes
No; synthetic logs and approved lab activity can teach core skills
Reveal answer & explanation
No; synthetic logs and approved lab activity can teach core skills Many key skills can be practiced without handling live malware.
2. What should a lab define before the exercise?
Objective, boundaries, expected evidence, and cleanup
Only a tool name
Only a completion badge
Only a final score
Reveal answer & explanation
Objective, boundaries, expected evidence, and cleanup These make the exercise purposeful and reproducible.
3. Does finishing a twelve-week plan establish expert status?
Yes
No; proficiency requires demonstrated skills and continued practice
Reveal answer & explanation
No; proficiency requires demonstrated skills and continued practice Time spent and course completion are not equivalent to expertise.
4. What belongs in a public portfolio?
Sanitized authorized training work with honest context
Production credentials
Private customer logs
An invented employment history
Reveal answer & explanation
Sanitized authorized training work with honest context Protect sensitive data and distinguish simulation from real work.
5. What should happen after identifying a reasoning mistake?
Record why it occurred and practice the corrective skill
Hide it
Only memorize the answer
Assume the tool was wrong
Reveal answer & explanation
Record why it occurred and practice the corrective skill A mistakes log supports targeted improvement and transfer.
Chapter 24 / 24 · Advanced study
Capstone Investigations & Analyst Readiness
Combine evidence, test competing explanations, and present decisions through complete investigation cases.
How to work a capstone
Attempt each case before opening its worked assessment. Use the case record template in the field reference. Produce a timeline, affected-asset list, hypotheses, evidence requests, severity rationale, response priorities, and a short leadership update. The supplied records are synthetic and deliberately incomplete.
You are assessed on reasoning, not on guessing a malware family or claiming certainty. A strong answer states what the records support, what alternative explanations remain, and what evidence would change the conclusion.
Case A: Identity and endpoint activity
Synthetic evidence · UTC
Time
Source
Observation
08:41
Identity
18 failed logons for lab.employee from 192.0.2.44.
08:43
Identity
Successful remote logon for lab.employee; source 192.0.2.44.
08:47
Endpoint
A document process launches a script interpreter on LAB-PC-07.
08:48
Endpoint
The script interpreter writes a new executable to the user profile.
08:49
Endpoint
A scheduled task references that executable.
08:55
Network
LAB-PC-07 sends 180 MB to 198.51.100.80 over an encrypted connection.
6 records shown.
Your investigation questions
Which observations support possible unauthorized access, execution, and persistence?
What evidence links the remote logon to the endpoint process, rather than merely placing them near each other in time?
What legitimate explanations should be checked?
What would establish the content and authorization of the outbound transfer?
Which immediate actions are proportionate, and who must coordinate them?
Review the worked assessment
The sequence supports a high-priority hypothesis of account misuse and suspicious endpoint execution with a persistence mechanism. It does not yet establish a specific malware family, prove the remote session caused the process launch, or confirm data exfiltration.
Correlate logon identifiers, user sessions, process ancestry, command lines, file hashes, task creation details, and network ownership. Verify whether the source is an approved VPN or shared gateway and whether an authorized workflow explains the document activity. Determine the transferred data and destination role where possible.
Coordinate endpoint containment, identity session review, and evidence preservation under the incident plan. Search other hosts for the same file, task pattern, and related activity. State the incomplete data scope and remaining uncertainty in the handover.
Case B: Mailbox fraud
A supplier reports an unexpected bank-detail change. A real employee mailbox sent the request in an existing conversation. The message passed the receiving platform’s authentication checks. The identity logs show a new session from unfamiliar infrastructure, and the mailbox audit records show a forwarding rule created shortly afterward.
Does passing authentication resolve the concern?
Which identity, mailbox, and application records should be preserved?
How would you scope other affected messages and recipients?
What independent business verification is needed?
How would you establish that unauthorized access is removed?
Review the worked assessment
Authentication passing is compatible with a compromised real mailbox. The new session, forwarding rule, and fraudulent request support an account-compromise hypothesis, but session legitimacy and authorization should be checked.
Preserve the original message and relevant conversation, headers, mailbox changes, sign-ins, session records, grants, and available access records. Coordinate finance verification through known contacts. Review rule changes, delegated access, tokens, recovery settings, other sent messages, and affected recipients. Follow identity containment procedures and verify the revocation behavior of the platform.
The assessment should distinguish confirmed rule creation and message sending from unverified data exposure. Any payment already made requires the organization’s fraud-response process and rapid business coordination.
Case C: Cloud exposure
A cloud audit record shows a service identity changing a storage policy to allow broader access. The same identity recently created a credential from a build environment. A later object-access record shows a successful read of a sensitive report. Your available logs cover only one project and do not identify the content of any external transfer.
Which observations establish a policy change and a data read?
What do they fail to establish about broader exposure or exfiltration?
Which build, identity, and storage records would you request?
What containment might disrupt legitimate workloads?
What recovery verification should occur before closure?
Review the worked assessment
The audit record supports the policy change; the access record supports a read according to the service’s event semantics. Establish which principal and session performed each action and whether it was authorized. The records do not establish the full dataset scope, cross-project activity, or an external transfer.
Investigate effective permissions, credential provenance, build changes, secret access, related sessions, policy versions, storage access, and logging gaps. Coordinate restriction of the exposure and handling of compromised credentials while assessing production dependencies. Verify session revocation, trusted policy restoration, source compromise remediation, and adequate monitoring.
Do not declare “no further access” based on a project-limited view. State the boundary and assign the cross-project follow-up to an owner.
Timeline challenge
Put these simplified response steps into a defensible order. Real incidents involve overlap and iteration; this exercise checks a basic dependency sequence.
Coordinate proportionate containment and preserve required evidence.
Validate the alert and establish initial facts.
Verify recovery and record improvement actions.
Assess scope, impact, and urgent operational constraints.
Address the cause and prepare trusted restoration.
Use the move buttons to order the steps.
Your final deliverables
Technical report: one complete case with evidence references and a traceable timeline.
Leadership update: no more than 150 words covering facts, impact, actions, uncertainty, and decisions.
Detection improvement: one proposed rule or telemetry improvement, including test cases and blind spots.
Reflection: three assumptions you checked and one skill you will practice next.
Use the previous chapter’s rubric, seek another person’s review where possible, and revise your work. Readiness means you can explain and demonstrate your process within an appropriate role and scope. Expert judgment develops through continued learning, supervised practice, and varied real-world experience.
Knowledge check
1. In Case A, what is still unproven by transfer size alone?
That bytes were observed
The content and unauthorized nature of the transfer
The recorded source host
The recorded time
Reveal answer & explanation
The content and unauthorized nature of the transfer A large transfer alone does not establish exfiltration.
2. In Case B, what makes independent payment verification important?
A real mailbox may be compromised
A passed email check guarantees safety
Only attachments can be malicious
Existing threads cannot be abused
Reveal answer & explanation
A real mailbox may be compromised A known independent channel helps verify the business request.
3. In Case C, what does one-project visibility limit?
Conclusions about activity outside that project
The existence of every recorded event
All possible analysis
The ability to write limitations
Reveal answer & explanation
Conclusions about activity outside that project State the observed scope and request broader evidence.
4. What makes a strong capstone conclusion?
Certainty without evidence
A supported assessment with confidence, limitations, and next actions
A guessed malware name
A long list of acronyms
Reveal answer & explanation
A supported assessment with confidence, limitations, and next actions Analyst conclusions should follow from evidence and identify remaining uncertainty.
5. What should follow completion of the book?
A claim of automatic expert status
Continued practice, feedback, and demonstrated skills
Stopping all learning
Only memorizing terms
Reveal answer & explanation
Continued practice, feedback, and demonstrated skills Expertise requires application and continued development.
Appendix A · Reference
A–Z terminology glossary
Quick practice
The language of security, organized for quick reference.
340 entries
/var/log
Common location for Linux logs.
1433
Microsoft SQL Server
20/21
FTP
22
SSH
23
Telnet
25
SMTP
2FA
Two-factor authentication.
3306
MySQL
3389
RDP
443
HTTPS
445
SMB
4624
Successful logon
4625
Failed logon
4672
Special privileges assigned to new logon
4688
New process created
4720
User account created
4726
User account deleted
4740
User account locked out
4768
Kerberos authentication ticket requested
4769
Kerberos service ticket requested
4771
Kerberos pre-authentication failed
53
DNS
5432
PostgreSQL
80
HTTP
ABAC
Attribute-Based Access Control.
AD
Microsoft Active Directory.
Alert
Notification that potentially suspicious activity occurred.
Anomaly
Activity that deviates from expected behavior.
API Key
Credential used to authenticate API requests.
APT
Advanced Persistent Threat.
ARP
Maps IP addresses to MAC addresses on local networks.
ARP Spoofing
Sending false ARP information to manipulate local network traffic.
Artifact
Digital trace left by activity.
Asset
Anything valuable that needs protection: server, laptop, database, account, etc.
Asymmetric Encryption
Uses public/private key pairs.
Attack
An attempt to compromise a system or asset.
Attack Vector
The method used to gain access or cause harm.
Authentication
Verifying who someone is.
Authentication (AuthN)
Proving who you are.
Authorization
Determining what someone is allowed to do.
Authorization (AuthZ)
Determining what you're allowed to do.
Availability
Systems/data remain accessible when needed.
Azure Activity Log
Azure activity/event logging system.
Backdoor
Hidden method of accessing a system.
Baiting
Using something enticing to trick someone into performing an action.
Baseline
Normal behavior used for comparison.
Bash
Common Linux shell.
Beaconing
Repeated communication from compromised systems to an attacker/C2 server.
Behavioral Detection
Detecting suspicious behavior rather than only known malware signatures.
BOLA
Broken Object-Level Authorization: an authorization flaw that permits access to an object without the required resource-specific permission.
Bot
Compromised device controlled remotely.
Botnet
Network of compromised devices controlled by an attacker.
Broken Access Control
Users can perform actions/access resources they shouldn't.
Brute Force
Repeatedly trying passwords/credentials.
Bucket
Cloud storage container.
Business Email Compromise (BEC)
Attack involving compromised/spoofed business email to trick victims.
Certificate
Digital credential binding an identity to a public key.
Chain of Custody
Documentation showing who handled evidence and when.
Child Process
Process launched by another process.
chmod
Changes file permissions.
chown
Changes file ownership.
CI/CD
Continuous Integration and Continuous Delivery or Deployment: automated processes for building, testing, and releasing software.
CIA Triad
Confidentiality, Integrity, Availability — the three core goals of security.
Ciphertext
Encrypted data.
Cloud Security
Protecting cloud-hosted infrastructure/data.
CloudTrail
AWS service that records API/activity events.
Command and Control (C2)
Communication channel used by attackers to control compromised systems.
Confidentiality
Only authorized people can access information.
Connection
Communication between network endpoints.
Containment
Isolating a compromised device/account.
Control
Security measure used to prevent, detect, or respond to threats.
Control Plane
Interfaces and operations that manage service configuration and resources; distinguish these from service data-access operations.
Cookie
Small piece of data stored by a browser.
Correlation
Connecting multiple events to identify suspicious activity.
Credential Dumping
Extracting credentials from a system.
Credential Stuffing
Using leaked credentials against other services.
Credential Theft
Stealing usernames/passwords/tokens.
Critical
Extremely serious vulnerability.
cron
Linux scheduled-task mechanism.
Cryptojacking
Unauthorized use of systems to mine cryptocurrency.
CSRF
Cross-Site Request Forgery — tricking a user's browser into performing an unwanted action.
CVE
Common Vulnerabilities and Exposures identifier.
CVSS
Common Vulnerability Scoring System.
Dashboard
Visual display of security information.
Data Plane
Operations that use or process a service’s data; precise boundaries and logging vary by service.
DDoS
Distributed Denial-of-Service attack using many systems to overwhelm a target.
Decryption
Converting ciphertext back into readable data.
Defense Evasion
Techniques used to avoid detection.
Defense in Depth
Multiple layers of security controls.
Destination IP
IP address receiving traffic.
Detection Engineering
Designing, testing, deploying, and maintaining security detection logic and its supporting telemetry.
Tactics, Techniques and Procedures used by attackers.
UAC
User Account Control.
UDP
Faster connectionless transport protocol.
User/Account
Identity associated with an event.
Virus
Malware that attaches itself to another file/program and typically spreads when executed.
Vishing
Phishing through voice calls.
VPN
Encrypted connection through another network.
Vulnerability
A weakness that could be exploited.
Vulnerability Assessment
Evaluation of vulnerabilities and their risk.
Vulnerability Scan
Automated search for known weaknesses.
WAF
Web Application Firewall.
WebAuthn
A web standard for public-key authentication using credentials scoped to a relying party.
Whaling
Phishing aimed at senior/high-value individuals.
Wireshark
Network packet-analysis tool.
Worm
Malware capable of spreading automatically across systems/networks.
XDR
Extended Detection and Response across multiple security domains.
XSS
Cross-Site Scripting — injecting malicious scripts into web pages.
Zeek
A network security monitoring framework that produces structured connection and protocol metadata from observed traffic.
Zero Trust
Don't automatically trust something simply because it's inside the network.
Zero-Day
Vulnerability unknown to the vendor or without an available fix at the time of exploitation.
Appendix B · At the desk
Analyst field reference
Seven questions for every investigation
Who? Which user, service account, or identity is involved?
What? What action occurred, and what did the detection actually observe?
When? What is the time range, timezone, and order of events?
Where? Which devices, networks, applications, and cloud resources are involved?
How? What process, session, credential, or access path explains the activity?
What else? What happened before and after? Which alternative explanation fits?
What next? What evidence is missing, and what action is proportionate?
A concise investigation record
CASE ID / OWNER:
ALERT / DETECTION SOURCE:
FIRST OBSERVED / TIMEZONE:
AFFECTED ACCOUNTS & ASSETS:
SUMMARY:
Describe the activity and why it matters.
EVIDENCE & TIMELINE:
List timestamped observations and evidence locations.
Separate observed facts from working hypotheses.
ASSESSMENT:
State severity, confidence, scope, and business impact.
Record alternative explanations and remaining unknowns.
ACTIONS:
Record approvals, containment, evidence preservation,
escalation, and remediation actions with timestamps.
NEXT STEPS / HANDOVER:
Assign owners and identify checks required for closure.
Common interpretation traps
A successful login after failed attempts warrants investigation; it does not establish that an attacker succeeded.
Port numbers suggest common services. Verify the actual protocol and process.
Encoded PowerShell can support administration or abuse. Review the decoded content safely and correlate it with execution context.
A hash is useful for matching file content; an unknown hash is not a clean verdict.
Encryption protects data in transit or at rest according to its design. An encrypted connection does not make its destination trustworthy.
CVSS describes technical severity. Prioritization also needs exposure, exploitation evidence, asset criticality, and business impact.
A repeatable study routine
For each chapter, write a short explanation, attempt the scenario, and record one question you still need to resolve. In a lab, practice collecting evidence and writing a concise report. Revisit the relevant chapter when your explanation depends on an assumption you cannot support.
Appendix C · Continue learning
Further reading
Use these primary sources to check current definitions, framework guidance, and product behaviour. This guide is a learning resource and is not endorsed by these organizations.
NIST Cybersecurity Framework — CSF 2.0 and its Govern, Identify, Protect, Detect, Respond, and Recover functions.
Uses your browser’s speech service. Voices, pronunciation, and availability depend on your device. Some voices require an internet connection. Keep this tab open while listening.