Quick concept refresh before IT Mastery practice and original practice questions
SOC Triage Workflow
flowchart TD
A[Alert or report] --> B[Validate signal]
B --> C{True positive?}
C -- No --> D[Close as false positive or benign true positive]
C -- Yes --> E[Classify severity]
E --> F[Scope users, hosts, data, and time window]
F --> G{Active threat?}
G -- Yes --> H[Contain according to playbook]
G -- No --> I[Preserve evidence and continue analysis]
H --> J[Eradicate root cause]
I --> J
J --> K[Recover and monitor]
K --> L[Lessons learned, tuning, report]
Notes and examples
Triage Questions
Question
Why it matters
Evidence sources
What triggered the alert?
Identifies detection logic and possible blind spots.
SIEM rule, EDR alert, IDS signature, user report
Is the activity expected?
Separates malicious behavior from admin or business activity.
Change tickets, asset owner, maintenance windows
Who is involved?
Determines account risk and possible identity compromise.
Validate collateral impact and use time-bound blocks if needed.
Public cloud storage exposure
Remove public access, review object access logs
Identify downloaded data and misconfiguration source.
Response phase decision path
flowchart TD
A[Alert or report received] --> B{Is activity validated?}
B -- No --> C[Collect more evidence]
C --> B
B -- Yes --> D{Is harm ongoing?}
D -- Yes --> E[Contain spread or access]
D -- No --> F[Scope affected systems and data]
E --> F
F --> G[Eradicate root cause]
G --> H[Recover and monitor]
H --> I[Lessons learned and reporting]
Incident response phase reminders
Phase
Analyst focus
Common mistake
Preparation
Playbooks, contacts, tools, training, logging
Waiting until incident to define roles
Detection and analysis
Validate, scope, classify, prioritize
Declaring breach from one weak signal
Containment
Limit damage and spread
Taking systems offline without considering business impact
Pin/verify packages, rotate secrets, rebuild from trusted source
Malware and Endpoint Clues
Behavior
Possible technique
Office app spawns PowerShell
Malicious macro or phishing payload
PowerShell with encoded command
Obfuscation or fileless execution
rundll32, regsvr32, mshta, wmic unusual usage
Living-off-the-land execution
New scheduled task
Persistence
New service with random name
Persistence or remote execution
LSASS memory access
Credential dumping
Security tool disabled
Defense evasion
Log cleared after admin logon
Anti-forensics
Archive created before outbound upload
Exfiltration staging
Process injects into browser/system process
Defense evasion or credential theft
Unexpected outbound TLS from server
C2 or unauthorized integration
Notes and examples
Living-off-the-Land Binaries to Recognize
Tool
Normal use
Suspicious use
PowerShell
Administration and automation
Encoded commands, download cradle, hidden window
WMI/WMIC
Remote management
Remote process execution across many hosts
PsExec
Admin remote execution
Lateral movement with reused admin credentials
Certutil
Certificate utility
Downloading/encoding payloads
Regsvr32
Register DLLs
Scriptlet execution from remote URL
Rundll32
Execute DLL functions
Unknown DLL from temp/user path
Mshta
Run HTML applications
Remote script execution
Bitsadmin/BITS
Background transfer
Stealthy payload download
Schtasks
Scheduled tasks
Persistence at logon/startup
Net.exe
Windows network/admin tool
User/group changes, share discovery
Vulnerability Management Workflow
flowchart TD
A[Asset inventory] --> B[Scan or assess]
B --> C[Validate findings]
C --> D[Prioritize risk]
D --> E[Assign remediation owner]
E --> F[Patch, configure, isolate, or accept]
F --> G[Rescan and verify]
G --> H[Report metrics and exceptions]
H --> A
Notes and examples
Vulnerability Terms
Term
Meaning
Exam distinction
Vulnerability
Weakness that could be exploited
Not the same as an exploit or threat.
Threat
Potential cause of harm
Actor, event, or condition.
Risk
Likelihood and impact of a threat exploiting a vulnerability
Drives prioritization.
Exposure
Reachability or accessibility of weakness
Internet-facing exposure raises urgency.
Exploit
Code or method to take advantage of a vulnerability
Public exploit changes priority.
Patch
Vendor update correcting weakness
Preferred when feasible and tested.
Mitigation
Reduces risk without fully removing weakness
Useful when patching is delayed.
Compensating control
Alternate control that reduces risk
Must be documented and monitored.
Exception
Approved deviation from policy
Requires owner, justification, expiration.
False positive
Finding is not actually present
Validate before closing.
False negative
Scanner missed a real issue
Dangerous; improve coverage and credentials.
Credentialed scan
Authenticated assessment
More accurate, deeper configuration visibility.
Uncredentialed scan
External view without credentials
Shows attacker-visible exposure but less detail.
Agent-based scan
Local agent reports posture
Useful for roaming endpoints.
Passive scan
Observes traffic/assets without probing
Lower disruption, less complete.
Prioritization Inputs
Input
Why it matters
Asset criticality
Critical assets have higher business impact.
Data classification
Sensitive data increases impact.
Internet exposure
Easier attacker access.
Exploit availability
Raises likelihood.
Active exploitation
Strong urgency signal.
Authentication required
May lower likelihood but not eliminate risk.
Privileges required
Affects attack feasibility.
Attack complexity
Lower complexity usually higher priority.
Compensating controls
Segmentation, WAF, EDR, hardening may reduce risk.
Business constraints
Maintenance windows and uptime affect remediation plan.
Use formulas conceptually. For the exam, the key is usually which factor changes risk and which remediation is most appropriate, not advanced calculation.
flowchart LR
A[Asset inventory] --> B[Discover vulnerabilities]
B --> C[Validate findings]
C --> D[Prioritize risk]
D --> E[Remediate or mitigate]
E --> F[Verify fix]
F --> G[Report status]
G --> A
Prioritization factors
Do not prioritize remediation by scanner severity alone. Combine technical severity with business context.
Factor
Why it matters
Asset criticality
A medium issue on a crown-jewel system may outrank a high issue on a low-value lab host
Internet exposure
Externally reachable systems are easier to attack
Exploit availability
Known working exploit increases urgency
Active exploitation
Evidence of attacks raises priority
Data sensitivity
Systems with regulated or confidential data carry higher impact
Privilege required
No-auth remote issues are generally more urgent
Compensating controls
WAF, segmentation, EDR, or hardening may reduce immediate risk
Patch complexity
Downtime, dependencies, and testing affect remediation planning
Business deadline
Critical operations may require mitigation before patching
Vulnerability age
Long-open findings can indicate process failure
Scanner result interpretation
Finding type
Analyst caution
Unauthenticated scan
Faster and safer but may miss local/package/configuration issues
Authenticated scan
More complete but depends on credential scope and health
Agent-based scan
Good for roaming endpoints but requires deployment and maintenance
Network scan
Finds exposed services but may not see internal host state
Web app scan
Useful for application flaws but can create noise or affect fragile apps
Container image scan
Finds package/library issues before deployment
Cloud configuration scan
Detects risky permissions, public storage, insecure networking
False positive
Validate before escalating as confirmed risk
False negative
May occur if scanner lacks access, signatures, or context
Remediation versus mitigation
Action
Use when
Example
Remediation
You can remove the vulnerability
Apply vendor patch
Mitigation
You reduce likelihood or impact temporarily
Add WAF rule, disable service, restrict access
Compensating control
Alternative control provides comparable risk reduction
Network segmentation around unsupported system
Risk acceptance
Business formally accepts residual risk
Exception with owner and review date
Risk transfer
Shift financial/operational impact
Cyber insurance or outsourced responsibility
Avoidance
Stop the risky activity
Decommission exposed legacy app
Vulnerability management traps
Trap: “Highest CVSS always first.” Better answer: prioritize by exploitability, exposure, asset value, and business impact.
Trap: “Patch immediately in production.” Better answer: follow change control, test when appropriate, and use mitigation if urgent.
Timeline, data types, preservation status, policy triggers
Speculation beyond evidence
HR
User-related facts when insider or policy issue exists
Technical overload or unapproved disclosure
Customers/partners
Approved impact and action guidance
Unverified details or blame
SOC leadership
Metrics, gaps, tuning, staffing/process needs
Unsupported claims
Audience-based reporting
Audience
Wants
Avoid
Executive leadership
Business impact, risk, timeline, decision needed
Raw logs and tool jargon
Technical team
Affected systems, evidence, root cause, fix steps
Vague “secure it” statements
Legal/compliance
Facts, scope, timeline, evidence handling
Speculation
Asset owner
Operational impact and remediation plan
Security-only language
Customer/user communication
Clear impact and required action
Over-disclosure before facts are confirmed
Incident commander
Status, blockers, next actions
Unprioritized detail dump
Good security report structure
Executive summary
Scope and methodology
Key findings
Risk rating and business impact
Evidence
Affected assets
Recommended remediation
Compensating controls or exceptions
Validation plan
Appendices for technical detail
Metrics to understand
Metric
Use
MTTD
Mean time to detect
MTTR
Mean time to respond or recover, depending on context
Dwell time
Time attacker remains undetected
False positive rate
Detection quality and analyst workload
Patch compliance
Remediation program health
Vulnerability age
Backlog and process risk
Incident count by type
Trend analysis
Phishing click rate
Awareness and control effectiveness
Control coverage
Visibility and protection gaps
Common Commands and Analyst Utilities
Network and Host Triage
## Active connections and listening servicesss -tulpen
netstat -ano
## DNS investigationdig example.com
nslookup example.com
## HTTP header and redirect reviewcurl -I -L https://example.com
## Packet capturetcpdump -i eth0 host 203.0.113.10 -w capture.pcap
## Hash a filesha256sum suspicious.bin
## Search logsgrep -i "failed password" /var/log/auth.log
Notes and examples
Windows Triage Examples
## Recent processesGet-Process|Sort-ObjectStartTime-Descending## Local usersGet-LocalUser## Local administratorsGet-LocalGroupMemberAdministrators## Network connections with owning processGet-NetTCPConnection|Select-ObjectLocalAddress,LocalPort,RemoteAddress,RemotePort,State,OwningProcess## Scheduled tasksGet-ScheduledTask|Where-Object{$_.State-ne"Disabled"}
Nmap Use Cases
## Basic service discoverynmap -sV 192.0.2.10
## Scan top ports on a subnetnmap --top-ports 100 192.0.2.0/24
## No ping discovery if hosts block ICMPnmap -Pn 192.0.2.10
Nmap option
Meaning
-sV
Service/version detection
-sS
SYN scan
-O
OS detection
-Pn
Treat host as up; skip host discovery
-p
Specify ports
--top-ports
Scan most common ports
-oA
Output in multiple formats
Alert-to-Action Playbook Patterns
Alert
First checks
Likely next action
Malware detected
Host, file hash, process tree, user, network activity
Isolate if active; collect evidence; remove malware
Multiple failed VPN logins
User/source pattern, success after failures, MFA status
Block source, reset account if success, tune detection
Impossible travel
Geo/IP, VPN/proxy, device, recent password change
Revoke session and require MFA/reset if suspicious
New admin account
Change ticket, creator, source host, group membership
Disable if unauthorized; investigate creator
EDR disabled
User/process causing change, policy status
Re-enable, isolate if malicious, investigate tampering
DNS tunneling
Query length, entropy, volume, domain age
Block domain, inspect host, hunt similar queries
Web attack blocked by WAF
Payload, target URI, source frequency
Tune/monitor if blocked; escalate if exploitation succeeded
Public cloud storage
Resource owner, access logs, data type
Remove public access; assess exposure
DLP exfil alert
User, data type, destination, business justification
Contain transfer, notify data owner
Vulnerability scanner critical finding
Asset exposure, exploitability, owner
Validate and assign urgent remediation
High-Yield Exam Traps
If the question says…
Do not jump to…
Prefer…
“The alert fired”
Assume incident confirmed
Validate with correlated evidence.
“A patch is available”
Patch production immediately
Follow change control unless active critical risk requires emergency process.
“User clicked link”
Reimage immediately
Check credential submission, payload execution, and mailbox/account activity.
“Firewall blocked traffic”
Close ticket
Determine whether it indicates targeting or compromised internal host.
“CVSS is high”
Always top priority
Consider exposure, exploit activity, asset value, and compensating controls.
“Hash is malicious”
Hunt only by hash
Add behavior, filenames, domains, command lines, and parent process.
“Admin account used”
Treat as authorized
Validate source, timing, MFA, ticket, and expected admin path.
“Cloud key created”
Ignore if by admin
Check whether expected, then inspect usage and permissions.
“Need legal evidence”
Collect casually
Preserve chain of custody and minimize evidence modification.
“Need to reduce alert noise”
Disable the rule
Tune, enrich, suppress narrowly, or improve parsing.
Rapid Review Checklist
Before Exam Day
Know the difference between alert, event, incident, vulnerability, threat, and risk.
Practice choosing between containment, eradication, and recovery actions.
Review common Windows, Linux, DNS, web, firewall, IAM, and cloud log clues.
Memorize high-value Windows Event IDs for authentication, process creation, account changes, and log clearing.
Be able to explain IOC vs TTP, SIEM vs SOAR, EDR vs IDS, CSPM vs CWPP vs CIEM.
Review phishing header fields and SPF/DKIM/DMARC distinctions.
Practice vulnerability prioritization using exploitability, exposure, criticality, and business impact.
Understand when to escalate to legal, privacy, HR, management, or system owners.
Read questions for words such as first, best, most likely, next, and primary.
Practical Next Step
Use this Cheat Sheet to identify weak areas, then move into timed CS0-004-style practice questions and scenario-based labs that require you to triage alerts, prioritize vulnerabilities, interpret logs, and choose the best next analyst action.
Notes and examples
Final quick checklist
Before you start a CS0-004 practice set, make sure you can answer these quickly:
What evidence confirms an alert is a real incident?
What should be contained first: host, account, network path, email, or cloud key?
What evidence is volatile and should be preserved early?
Which findings deserve priority when scanner severity and business risk differ?
Which log source best supports the investigation?
What is the difference between remediation, mitigation, and risk acceptance?
What should an executive report include?
What root cause must be fixed before recovery?
What detection should be improved after lessons learned?
What answer choice is safest, least disruptive, and aligned with the incident phase?
Next step: start a timed CompTIA CySA+ V4 (CS0-004) topic drill, review every detailed explanation, and turn each missed question into a short decision rule for your final question bank pass.
Last-pass study strategy
For a final review, do not try to reread everything. Focus on decisions.
Read the scenario carefully. Identify the asset, threat, business impact, evidence, and current phase of response.
Separate alert from incident. An alert is a signal; an incident requires validation and impact assessment.
Prioritize by risk, not noise. Severity, exploitability, asset criticality, exposure, and compensating controls matter.
Preserve evidence before destructive actions. Especially in forensic or legal-sensitive scenarios.
Match the tool to the question. Scanner, SIEM, EDR, packet capture, SOAR, DLP, WAF, CASB, IAM logs, cloud-native logs, and forensics tools solve different problems.
Choose the least disruptive effective action. Contain the threat while minimizing business impact.
Answer as an analyst. Communicate clearly, document findings, escalate appropriately, and verify remediation.
Giving executives raw logs instead of business impact
Digital forensics review
Evidence handling basics
Concept
Meaning
Why it matters
Chain of custody
Documented control of evidence
Supports integrity and admissibility
Hashing
Integrity verification
Shows evidence was not altered
Forensic image
Bit-level copy where appropriate
Preserves original media
Write blocker
Prevents modification of source media
Protects evidence
Volatile data
Data lost on shutdown
Memory, network connections, running processes
Timeline analysis
Event reconstruction
Helps determine attack sequence
Scope
Systems, accounts, data, and time period affected
Drives response and reporting
Notes and examples
Order of volatility
Collect the most volatile evidence first when it is safe and appropriate.
More volatile
Less volatile
CPU/register/cache state
Disk images
Memory contents
Archived logs
Network connections
Backups
Running processes
Printed documentation
Logged-in users
Long-term records
Temporary files
Historical reports
Host artifacts to recognize
Artifact
What it can show
Process list
Suspicious running programs
Parent-child process tree
Execution chain
Command history
User or attacker actions
Scheduled tasks/cron jobs
Persistence
Registry run keys
Windows persistence
Services/daemons
Auto-start mechanisms
Prefetch/shimcache/amcache-style artifacts
Program execution evidence
Browser history/downloads
Phishing or drive-by activity
Event logs
Authentication, process, service, policy events
File metadata
Creation, modification, access clues
Memory dump
Malware, credentials, network connections
Application and API security review
Common web vulnerabilities
Vulnerability
What it means
Better remediation direction
SQL injection
User input alters database query
Parameterized queries, input validation
Command injection
User input executes OS commands
Avoid shell execution, sanitize input, least privilege
Cross-site scripting
Attacker script runs in user browser
Output encoding, CSP, input handling
CSRF
User is tricked into submitting authenticated action
Anti-CSRF tokens, SameSite cookies
SSRF
Server is tricked into making requests
Egress controls, allowlists, metadata protection
Path traversal
Access files outside intended directory
Canonicalize paths, restrict file access
Insecure deserialization
Untrusted object data causes code or logic abuse
Avoid unsafe deserialization, integrity checks
Broken access control
User accesses unauthorized function/data
Server-side authorization checks
Security misconfiguration
Unsafe defaults or exposed admin features
Hardening, configuration review
Vulnerable dependency
Flawed third-party component
SCA, patching, dependency management
Notes and examples
API security review
Risk
Clue
Control
Broken object-level authorization
User can access another user’s object ID
Enforce authorization per object
Excessive data exposure
API returns more fields than needed
Minimize response data
Lack of rate limiting
Automated abuse succeeds
Throttling and abuse detection
Weak token handling
Long-lived or exposed tokens
Short lifetimes, rotation, secure storage
Poor input validation
Malformed requests trigger errors
Schema validation and sanitization
Shadow APIs
Unknown or undocumented endpoints
API inventory and gateway controls
Secure SDLC and testing
Method
Purpose
SAST
Static source/code analysis before runtime
DAST
Dynamic testing of running application
SCA
Third-party dependency and license/vulnerability analysis
IAST
Instrumented testing during application execution
Fuzzing
Sending malformed inputs to find crashes or flaws
Threat modeling
Identifying design-level risks early
Code review
Human review for logic and security flaws
Secrets scanning
Detecting hardcoded keys and credentials
CI/CD controls
Automated security checks in pipelines
Cloud, container, and hybrid security review
Cloud security decision points
Scenario
Think about
Public storage bucket
Data exposure, access policy, object logs
Overprivileged role
Least privilege, role assumption, permissions boundary
Leaked access key
Revoke, rotate, find use, check persistence
Public management port
Security group/network ACL, bastion, ZTNA
Unencrypted data store
Encryption at rest, key management, data sensitivity
Missing logs
Enable cloud audit logs before incident
Suspicious API call
Identity, source IP, user agent, role, time
Container escape concern
Host hardening, runtime security, patching
Image vulnerability
Rebuild from patched base image
Kubernetes secret exposure
Rotate secrets, RBAC review, audit logs
Notes and examples
Shared responsibility reminder
In cloud scenarios, the provider and customer share responsibilities, but the customer is commonly responsible for identity configuration, data classification, access policies, workload configuration, and application security. Do not assume the provider fixes insecure customer settings.
Container and Kubernetes clues
Item
Security relevance
Image
May contain vulnerable packages or secrets
Registry
Needs access control and signing/scanning
Runtime
Detect suspicious container behavior
Namespace
Logical isolation boundary
RBAC
Controls Kubernetes permissions
Secrets
Must be protected and rotated
Admission control
Enforces deployment policy
Network policy
Limits pod-to-pod communication
Privileged container
High risk; may access host resources
Immutable infrastructure
Rebuild rather than manually patch running instances