CS0-004 — CompTIA CySA+ V4 Quick Reference

Compact, exam-focused reference for CompTIA CySA+ V4 (CS0-004) incident analysis, threat detection, vulnerability management, and security operations.

Exam Identity and Study Focus

This independent Quick Reference supports candidates preparing for the CompTIA CySA+ V4 (CS0-004) exam from CompTIA. Use it as a compact review sheet for analyst decisions, SOC workflows, evidence sources, vulnerability handling, detection logic, and incident response.

High-Yield Analyst Mindset

Exam situationBest analyst instinct
Alert with incomplete evidenceValidate first; do not assume compromise from one indicator.
Active compromise suspectedScope impact, preserve evidence, then contain based on business risk.
Vulnerability backlogPrioritize by exploitability, exposure, asset criticality, and compensating controls.
Noisy SIEM ruleTune with context, thresholds, allowlists, and better fields; do not disable blindly.
User reports phishingPreserve headers, URLs, attachment hashes, sender details, and affected recipients.
Possible data breachEscalate through incident process; involve legal/privacy/compliance as required by policy.
Malware on endpointIsolate or contain, collect volatile/evidence data if required, then eradicate.
Cloud alertCheck identity activity, resource changes, network exposure, keys/secrets, and audit logs.
Executive reportSummarize impact, risk, business actions, and timeline; avoid tool-only details.
Technical reportInclude evidence, queries, hashes, IOCs, affected assets, timeline, and remediation.

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]

Triage Questions

QuestionWhy it mattersEvidence 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.IAM logs, VPN logs, SSO logs, directory logs
Which assets are involved?Drives severity and containment priority.CMDB, EDR inventory, vulnerability scanner
What is the earliest known activity?Establishes timeline and dwell time.SIEM searches, endpoint telemetry, logs
Is the threat still active?Determines urgency of containment.EDR process tree, network sessions, active logins
What data or systems are at risk?Supports impact assessment and escalation.DLP, database logs, file access, cloud storage logs
What changed recently?Helps identify root cause.Patch logs, deployment logs, IAM changes, firewall changes

Severity and Priority Decision Points

FactorRaises severityLowers severity
Asset criticalityDomain controller, production database, identity provider, payment systemTest host, isolated lab, non-sensitive asset
ExposureInternet-facing, remote access, public cloud resourceInternal-only with strong segmentation
ExploitabilityKnown exploited vulnerability, working exploit, active exploitationTheoretical issue, strong compensating control
PrivilegeAdmin/root/service account involvedLow-privilege account with limited access
ScopeMultiple users, hosts, sites, tenants, or business unitsSingle contained endpoint
Data impactRegulated, confidential, financial, customer, or credentialsPublic data only
PersistenceNew service, scheduled task, startup item, cloud access keyOne failed attempt, blocked by control
Business impactOutage, fraud, ransomware, data lossBlocked scan or benign policy violation

Common Severity Trap

TrapBetter exam answer
Treating every malware alert as criticalDetermine asset value, spread, privilege, and active behavior.
Prioritizing only by CVSSCombine CVSS with exploitability, exposure, asset criticality, and threat intelligence.
Closing alert because user is an adminValidate whether admin behavior matches expected source, time, and change record.
Ignoring failed loginsLook for patterns: password spraying, impossible travel, disabled accounts, distributed sources.
Assuming blocked equals harmlessBlocked attempts can indicate targeting and may require threat hunting or tuning.

Incident Response Phases

PhaseAnalyst tasksOutputs
PreparationPlaybooks, logging, baselines, contacts, access, lab toolsRunbooks, escalation matrix, collection procedures
Detection and analysisValidate, classify, correlate, scope, preserve evidenceTimeline, indicators, impacted assets
ContainmentShort-term and long-term containment based on riskIsolated hosts, blocked IOCs, disabled accounts
EradicationRemove malware, close vulnerability, rotate secrets, remove persistenceClean systems, patched weakness, reset credentials
RecoveryRestore services, monitor for recurrence, validate integrityRecovered systems, heightened monitoring
Post-incident activityLessons learned, metrics, control improvements, reportingFinal report, rule tuning, backlog actions

Containment Choices

ScenarioLikely containmentWatch for
Single infected workstationNetwork isolate via EDR or VLAN quarantineDo not destroy evidence before collection if forensics is required.
Compromised accountDisable account, revoke sessions/tokens, reset credentialsCheck for MFA changes, forwarding rules, OAuth grants.
Web shell on serverRemove from load balancer or restrict accessPreserve web logs, file timestamps, process data.
Active ransomware spreadIsolate segments, disable lateral movement paths, block C2Coordinate with business continuity and backups.
Leaked API keyRevoke/rotate key, review usage, search repositoriesRotation alone is not enough; determine abuse.
Malicious domain/IPBlock at DNS, proxy, firewall, EDRValidate collateral impact and use time-bound blocks if needed.
Public cloud storage exposureRemove public access, review object access logsIdentify downloaded data and misconfiguration source.

Evidence Preservation and Chain of Custody

ConceptExam relevance
IntegrityHash evidence and avoid modifying originals.
Chain of custodyDocument who collected, handled, transferred, and stored evidence.
Volatile dataMemory, network connections, logged-in users, running processes; collect early if required.
Order of volatilityPrioritize data most likely to disappear first.
Time synchronizationUse consistent timestamps and time zones; NTP issues can distort timelines.
Forensic imageBit-level copy for deeper analysis or legal preservation.
Write blockerPrevents modification of source media during acquisition.
Evidence logRecords date/time, collector, system, method, hash, storage location, purpose.

Log and Telemetry Source Matrix

SourceBest for detectingKey fields to inspect
SIEMCross-source correlation, timelines, rule alertsTime, host, user, event type, source, destination
EDR/XDRMalware, process chains, lateral movement, persistenceProcess, parent process, command line, hash, user
Windows Security logsLogons, privilege use, account changesEvent ID, logon type, SID, username, workstation
SysmonProcess creation, network connections, file changesEvent ID, image, command line, hash, parent image
Linux auth logsSSH access, sudo usage, authentication failuresUser, source IP, TTY, command
Web server logsWeb attacks, scanning, exploitation attemptsURI, method, status, user agent, source IP
DNS logsC2, tunneling, malware callbacks, DGAQuery, response, record type, entropy, NXDOMAIN rate
Proxy/SWG logsWeb access, downloads, blocked URLsURL, category, action, user, bytes
Firewall logsNetwork flows, denied traffic, policy hitsSource/destination, port, protocol, action
IDS/IPSExploit signatures, suspicious trafficSignature, severity, packet metadata
NetFlowBeaconing, exfiltration volume, lateral movement5-tuple, bytes, packets, duration
VPN logsRemote access, impossible travel, suspicious geolocationUser, IP, device, MFA result, duration
IAM/SSO logsAccount takeover, risky sign-ins, MFA eventsUser, app, result, IP, device, token events
Email gatewayPhishing, malware attachments, spoofingSender, SPF/DKIM/DMARC, URLs, attachment hash
DLPData movement and policy violationsUser, file, data type, destination, action
Cloud audit logsAPI actions, resource changes, identity misusePrincipal, action, resource, source IP, result
Container logsRuntime behavior, image pulls, orchestration eventsImage, namespace, pod/container, command
WAF logsWeb app attacks and blocked requestsRule, URI, payload, source, action

Windows Event IDs Commonly Seen in Analysis

Event IDMeaningAnalyst use
4624Successful logonIdentify access time, account, logon type, source.
4625Failed logonDetect brute force, spraying, invalid account attempts.
4634LogoffSession timeline support.
4648Explicit credentials usedLateral movement or run-as behavior.
4672Special privileges assignedAdmin-level logon clue.
4688Process creationCommand execution and process lineage.
4697Service installedPersistence or admin software deployment.
4720User account createdUnauthorized account creation.
4726User account deletedAnti-forensics or admin change.
4728 / 4732User added to privileged groupPrivilege escalation.
4740Account locked outBrute force or user issue.
4768 / 4769Kerberos ticket activityKerberos authentication and service ticket analysis.
4776NTLM authenticationLegacy auth and lateral movement clues.
1102Audit log clearedStrong anti-forensics indicator.

Sysmon Event IDs Commonly Seen in Analysis

Event IDMeaningAnalyst use
1Process creationCommand line, parent process, executable path.
3Network connectionProcess-to-network mapping.
7Image loadedDLL loading and suspicious libraries.
8Create remote threadInjection and lateral movement clue.
10Process accessCredential dumping or process tampering.
11File createdDropped payloads or staged tools.
12-14Registry object/value changesPersistence and configuration changes.
15File stream createdAlternate data streams.
22DNS queryProcess-level DNS investigation.

Linux and macOS Artifact Reference

ArtifactPlatformWhat it can show
/var/log/auth.log or /var/log/secureLinuxSSH, sudo, authentication events
~/.bash_historyLinuxUser command history, if not cleared
/etc/passwd, /etc/shadow, /etc/sudoersLinuxAccount and privilege changes
crontab, /etc/cron*LinuxScheduled persistence
systemctl service filesLinuxService-based persistence
journalctlLinuxSystemd logs and service events
last, lastlog, whoLinuxLogin history and active users
LaunchAgents / LaunchDaemonsmacOSPersistence
Unified logsmacOSSystem and application events
Keychain access eventsmacOSCredential access clues

Network Analysis Quick Reference

Common Ports and Protocols

PortProtocolAnalyst significance
20/21FTPCleartext file transfer, credential exposure
22SSH/SFTPRemote administration, tunneling, brute force
23TelnetInsecure remote access
25SMTPMail transfer, spam, phishing infrastructure
53DNSResolution, tunneling, C2, exfiltration
67/68DHCPAddress assignment, rogue DHCP clues
80HTTPWeb traffic, exploit delivery
88KerberosAD authentication
110/143POP3/IMAPEmail retrieval
123NTPTime synchronization, amplification abuse
135/139/445RPC/NetBIOS/SMBWindows lateral movement, file sharing
389/636LDAP/LDAPSDirectory queries and authentication
443HTTPSEncrypted web, C2, API traffic
514SyslogCentralized logging
587SMTP submissionUser mail submission
993/995IMAPS/POP3SSecure email retrieval
1433MS SQL ServerDatabase access
1521Oracle DBDatabase access
3306MySQL/MariaDBDatabase access
3389RDPRemote desktop, brute force, lateral movement
5432PostgreSQLDatabase access
5900VNCRemote control
5985/5986WinRMWindows remote management
6379RedisExposed cache/data store risk
8080/8443Alternate HTTP/HTTPSProxies, admin panels, web apps

TCP Flags

FlagMeaningAnalyst clue
SYNStart connectionSYN flood or scanning if high volume.
SYN-ACKServer responseConfirms open service.
ACKAcknowledgmentSeen in established sessions.
FINGraceful closeFIN scans may evade simple detection.
RSTResetClosed port, refused connection, or interrupted session.
PSHPush dataData transfer clue.
URGUrgentRare; suspicious in scans or evasive traffic.

Suspicious Network Patterns

PatternPossible meaning
Many ports on one hostPort scan
One port across many hostsService sweep
Regular outbound connectionsBeaconing
High DNS query entropyDGA or tunneling
Many NXDOMAIN responsesDGA, typo-squatting checks, misconfig
Large outbound upload to unusual locationExfiltration
SMB/RDP from workstation to many peersLateral movement
New outbound traffic from server segmentCompromise or misconfiguration
TLS to rare domain with self-signed certMalware C2 or test system
HTTP POST bursts after archive creationPossible staged exfiltration

Threat Intelligence Reference

TermMeaningExam use
IOCObservable indicator such as IP, domain, URL, hashFast blocking and matching; often short-lived.
IOAIndicator of attack behaviorMore durable than atomic IOCs.
TTPTactics, techniques, and proceduresMaps adversary behavior to detection and controls.
CampaignCoordinated activity over timeHelps cluster related incidents.
ActorIndividual or group behind activityAttribution is usually low confidence unless supported.
EnrichmentAdding context to raw indicatorReputation, WHOIS, geolocation, passive DNS, sandbox.
ConfidenceDegree of trust in intelligencePrevents overreaction to weak indicators.
RelevanceFit to your environmentHigh-confidence intel may still be irrelevant.
TimelinessFreshness of intelOld IP/domain IOCs may be stale.
STIXStructured format for threat intelligenceSharing and machine-readable context.
TAXIITransport mechanism for threat intel sharingAutomated exchange of STIX data.

Intelligence Source Types

SourceStrengthLimitation
Internal telemetryHighly relevant to environmentMay lack external context.
ISAC/ISAO sharingSector-specificVaries by sector and participation.
Vendor feedsOperationally usefulCan be noisy or overlapping.
Open-source intelligenceAccessible and broadRequires validation.
Government advisoriesAuthoritative for campaigns and critical issuesMay be high level or delayed.
Dark web monitoringCan reveal credential/data exposureRequires careful validation and legal handling.
HoneypotsUseful attacker behavior dataMay not represent production targeting.

Frameworks and Models

Framework/modelUse it forKey exam distinction
MITRE ATT&CKMapping tactics and techniquesBehavior-oriented; useful for detection gaps.
Cyber Kill ChainAttack lifecycle from recon to actionsLinear model; good for explaining progression.
Diamond ModelAdversary, capability, infrastructure, victimGood for pivoting relationships.
Pyramid of PainValue of disrupting different indicatorsHashes are easy to change; TTPs are harder.
CVEUnique vulnerability identifierNames the weakness, not the risk by itself.
CVSSSeverity scoring frameworkUseful input, not the only prioritization factor.
EPSSExploit likelihood estimateHelps prioritize based on probability of exploitation.
KEV catalog conceptKnown exploited vulnerabilitiesPrioritize when relevant to your assets.
NIST CSF conceptIdentify, Protect, Detect, Respond, RecoverHigh-level program framework.
CIS Controls conceptPrioritized safeguardsControl selection and maturity improvement.

Indicator Durability

Indicator typeExampleDurabilityBest use
HashSHA-256 of malwareLowExact file detection
IP addressC2 IPLowShort-term blocking and scoping
DomainMalicious domainLow/mediumDNS/proxy detection
URL pathExploit or payload URLMediumWeb/proxy detection
File pathSuspicious executable pathMediumHost hunting
Registry keyRun key persistenceMediumEndpoint detection
MutexMalware family artifactMediumMalware clustering
Command lineLOLBin misuse patternHighBehavioral detection
TechniqueCredential dumping via LSASS accessHighDurable detection engineering

Attack Pattern Reference

AttackCommon cluesPrimary evidenceDefensive response
PhishingSpoofed sender, urgent language, malicious URL/attachmentEmail headers, gateway logs, URL sandbox, attachment hashQuarantine, block indicators, user notification, credential reset if clicked
Business email compromiseMailbox rules, unusual payment request, changed banking detailsMailbox audit, login history, forwarding rulesDisable forwarding, reset credentials, review financial process
Password sprayingMany usernames, few attempts each, common passwordsIAM, VPN, AD logsBlock source, enforce MFA, lockout tuning, user awareness
Credential stuffingKnown leaked credentials, many services attemptedWAF, IAM, proxy logsMFA, bot controls, credential reset
Brute forceRepeated attempts against one/few accountsAuth logsRate limiting, lockout, IP blocks
Pass-the-hashNTLM use, lateral movement without plaintext passwordWindows logs, EDR, network logsDisable compromised accounts, segment, reduce admin reuse
KerberoastingService ticket requests for SPNs, offline crackingKerberos logs, AD auditRotate service account passwords, use managed service accounts
Web shellUnexpected script file, odd process spawned by web serverWeb logs, file integrity, EDRIsolate server, remove shell, patch app
SQL injectionSuspicious query strings, database errorsWAF, web logs, DB logsParameterized queries, WAF tuning, patch code
XSSScript payload in input/outputWeb logs, app logs, reportsOutput encoding, input validation, CSP
SSRFServer requests internal metadata or internal URLsApp logs, cloud logs, proxy logsEgress controls, metadata protections, input validation
RansomwareFile renames, ransom note, mass encryption, shadow copy deletionEDR, file server logs, process treeIsolate, preserve evidence, restore from clean backups
CryptojackingHigh CPU, mining pool connectionsEDR, DNS/proxy, cloud billing anomalyKill workload, remove miner, fix exposed service
Data exfiltrationLarge outbound transfer, compression, unusual destinationDLP, proxy, NetFlow, cloud logsContain, determine data set, notify stakeholders
Insider misuseAccess outside role, unusual downloads, policy violationDLP, IAM, file access logsInvestigate with HR/legal per policy
Supply chain compromiseTrusted update or dependency behaves maliciouslyEDR, package logs, CI/CD logsPin/verify packages, rotate secrets, rebuild from trusted source

Malware and Endpoint Clues

BehaviorPossible technique
Office app spawns PowerShellMalicious macro or phishing payload
PowerShell with encoded commandObfuscation or fileless execution
rundll32, regsvr32, mshta, wmic unusual usageLiving-off-the-land execution
New scheduled taskPersistence
New service with random namePersistence or remote execution
LSASS memory accessCredential dumping
Security tool disabledDefense evasion
Log cleared after admin logonAnti-forensics
Archive created before outbound uploadExfiltration staging
Process injects into browser/system processDefense evasion or credential theft
Unexpected outbound TLS from serverC2 or unauthorized integration

Living-off-the-Land Binaries to Recognize

ToolNormal useSuspicious use
PowerShellAdministration and automationEncoded commands, download cradle, hidden window
WMI/WMICRemote managementRemote process execution across many hosts
PsExecAdmin remote executionLateral movement with reused admin credentials
CertutilCertificate utilityDownloading/encoding payloads
Regsvr32Register DLLsScriptlet execution from remote URL
Rundll32Execute DLL functionsUnknown DLL from temp/user path
MshtaRun HTML applicationsRemote script execution
Bitsadmin/BITSBackground transferStealthy payload download
SchtasksScheduled tasksPersistence at logon/startup
Net.exeWindows network/admin toolUser/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

Vulnerability Terms

TermMeaningExam distinction
VulnerabilityWeakness that could be exploitedNot the same as an exploit or threat.
ThreatPotential cause of harmActor, event, or condition.
RiskLikelihood and impact of a threat exploiting a vulnerabilityDrives prioritization.
ExposureReachability or accessibility of weaknessInternet-facing exposure raises urgency.
ExploitCode or method to take advantage of a vulnerabilityPublic exploit changes priority.
PatchVendor update correcting weaknessPreferred when feasible and tested.
MitigationReduces risk without fully removing weaknessUseful when patching is delayed.
Compensating controlAlternate control that reduces riskMust be documented and monitored.
ExceptionApproved deviation from policyRequires owner, justification, expiration.
False positiveFinding is not actually presentValidate before closing.
False negativeScanner missed a real issueDangerous; improve coverage and credentials.
Credentialed scanAuthenticated assessmentMore accurate, deeper configuration visibility.
Uncredentialed scanExternal view without credentialsShows attacker-visible exposure but less detail.
Agent-based scanLocal agent reports postureUseful for roaming endpoints.
Passive scanObserves traffic/assets without probingLower disruption, less complete.

Prioritization Inputs

InputWhy it matters
Asset criticalityCritical assets have higher business impact.
Data classificationSensitive data increases impact.
Internet exposureEasier attacker access.
Exploit availabilityRaises likelihood.
Active exploitationStrong urgency signal.
Authentication requiredMay lower likelihood but not eliminate risk.
Privileges requiredAffects attack feasibility.
Attack complexityLower complexity usually higher priority.
Compensating controlsSegmentation, WAF, EDR, hardening may reduce risk.
Business constraintsMaintenance windows and uptime affect remediation plan.
Age of findingLong-open issues indicate process weakness.
Vulnerability chainingMedium issues can combine into high risk.

Risk Formula Concepts

\[ \text{Risk} = \text{Likelihood} \times \text{Impact} \]\[ \text{Residual Risk} = \text{Inherent Risk} - \text{Control Effectiveness} \]

Use formulas conceptually. For the exam, the key is usually which factor changes risk and which remediation is most appropriate, not advanced calculation.

Remediation Decision Matrix

Finding typePreferred actionIf immediate fix is not possible
Missing security patchTest and deploy patchIsolate, restrict access, apply virtual patch/WAF rule
Default credentialsChange/remove defaultsDisable service until remediated
Weak cipher/protocolDisable weak option, enforce secure configurationRestrict access and document exception
Public storage bucketRemove public access, apply least privilegeMonitor access and notify data owner
Exposed admin interfaceRestrict by VPN/jump host/allowlistDisable interface or add strong MFA
Unsupported softwareUpgrade or replaceSegment, monitor, document migration plan
SQL injectionFix code with parameterized queriesWAF rule as temporary mitigation
Misconfigured IAMRemove excessive privilegesApply permission boundary/approval workflow
Container image CVERebuild from patched base imageBlock deployment or isolate workload
Insecure secrets storageMove to secrets manager/vaultRotate exposed secrets and remove from repo

Configuration and Compliance Assessment

Control areaWhat to check
Baseline hardeningSecure build standards, disabled unnecessary services
Patch stateOS, applications, firmware, dependencies
IdentityMFA, privileged accounts, stale accounts, group membership
LoggingRequired audit logs enabled and forwarded
EncryptionData at rest and in transit based on classification
NetworkSegmentation, exposed ports, firewall rules
EndpointEDR status, disk encryption, local admin rights
CloudPublic exposure, IAM policies, audit logs, key rotation
ContainersImage provenance, vulnerabilities, runtime privileges
SecretsNo hardcoded secrets, rotation, vault usage
BackupsBackup success, isolation, restore testing
ExceptionsApproved, time-bound, risk accepted by owner

Detection Engineering Reference

Detection Rule Quality

Rule attributeGood signBad sign
Data sourceReliable logs with needed fieldsMissing or inconsistent telemetry
LogicMaps to adversary behaviorOverly broad keyword matching
ContextUses asset/user criticalitySame severity for all assets
ThresholdBased on baseline and behaviorArbitrary count without tuning
SuppressionReduces known benign noiseHides true positives
TestabilityCan be validated with sample eventsNo test data or expected output
ResponseLinks to playbookNo owner or next action
MaintenanceReviewed after incidents and environment changesStale rule no one owns

Detection Logic Patterns

PatternExample use
ThresholdMore than normal failed logins in a time window
SequencePhishing click followed by new mailbox rule
Rare eventFirst-time admin login from a country
FrequencyBeacon every fixed interval
CorrelationEDR malware hash plus proxy download
Statistical anomalyUser downloads far more data than baseline
Watchlist matchKnown malicious domain queried
Behavior chainRecon, credential access, lateral movement

False Positive Reduction

TechniqueUse when
Add asset contextAdmin servers or scanners trigger known events.
Add user contextService accounts behave differently than humans.
Tune thresholdsRule fires for normal bursty behavior.
Add maintenance-window suppressionAlerts occur during approved changes.
Allowlist carefullyKnown-good signed tool or scanner is noisy.
Use parent/child process logicSingle process name is too broad.
Require multiple signalsSingle weak IOC creates noise.
Review field normalizationRule misses or misfires due to inconsistent fields.

SIEM and Query Concepts

ConceptMeaning
NormalizationMapping vendor-specific fields to common names.
ParsingExtracting fields from raw log text.
CorrelationConnecting events across sources.
AggregationCounting/grouping events over time.
BaselineExpected activity for comparison.
EnrichmentAdding context such as asset owner or threat reputation.
SuppressionTemporarily hiding known benign matches.
DeduplicationRemoving repeated identical events.
Time windowPeriod used for correlation or thresholding.
Ingestion gapMissing logs that create detection blind spots.

Vendor-Neutral Query Examples

Failed logins by user and source:

event.category = authentication
AND event.outcome = failure
GROUP BY user.name, source.ip
COUNT >= threshold
WITHIN time_window

Suspicious PowerShell:

process.name = "powershell.exe"
AND (
  process.command_line CONTAINS "-enc"
  OR process.command_line CONTAINS "IEX"
  OR process.command_line CONTAINS "DownloadString"
)

Possible beaconing:

network.direction = outbound
GROUP BY source.host, destination.domain
CALCULATE regular_interval_score, connection_count
FILTER connection_count >= threshold

Mailbox forwarding rule creation:

event.action IN ("New-InboxRule", "Set-InboxRule", "Create forwarding rule")
AND user.type = "human"

Sigma and YARA Recognition

Sigma-Style Detection Skeleton

title: Suspicious Encoded PowerShell
logsource:
  product: windows
  category: process_creation
detection:
  selection:
    Image|endswith: '\powershell.exe'
    CommandLine|contains:
      - '-enc'
      - '-encodedcommand'
  condition: selection
level: high

YARA-Style Malware Matching Skeleton

rule Suspicious_Macro_Dropper_Example
{
    strings:
        $a = "AutoOpen" nocase
        $b = "CreateObject" nocase
        $c = "powershell" nocase
    condition:
        2 of ($a,$b,$c)
}
Tool/languageBest forNot best for
SigmaSIEM-portable log detectionsDeep file content matching
YARAFile and malware pattern matchingNetwork flow correlation
Snort/Suricata ruleNetwork packet/payload detectionHost-only behavior
RegexField extraction and pattern matchingComplex risk context by itself

Email and Phishing Analysis

ArtifactWhat to inspect
From headerDisplay-name spoofing and sender mismatch
Return-PathBounce address and infrastructure
Received headersMail path and originating server clues
Reply-ToBusiness email compromise clue
SPFWhether sending IP is authorized for domain
DKIMWhether message signature validates
DMARCDomain policy alignment for SPF/DKIM
URLsRedirectors, punycode, lookalike domains, tracking
AttachmentsFile type mismatch, macros, archive nesting, hashes
Message-IDOdd format or infrastructure clue
Language/intentUrgency, payment change, credential request

SPF, DKIM, DMARC Distinction

ControlValidatesAnalyst use
SPFSending server is authorized for domainHelps detect spoofed sending infrastructure.
DKIMMessage has valid cryptographic signatureDetects modification and validates signing domain.
DMARCAlignment and policy using SPF/DKIMIndicates how receivers should handle failures.

Web Application Attack Clues

AttackExample clueBetter control
SQL injection' OR 1=1--, UNION SELECTParameterized queries, input validation
Reflected XSS<script>alert(1)</script> in requestOutput encoding, CSP
Stored XSSMalicious script persists in comments/profileOutput encoding, sanitization
Command injection; cat /etc/passwd, && whoamiAvoid shell calls, input allowlisting
Directory traversal../../etc/passwdNormalize paths, restrict file access
SSRFRequest to metadata/internal IPEgress filtering, metadata protections
Insecure deserializationSerialized payload causing code executionSafe serialization, signing, validation
File inclusionRemote/local file path in parameterRestrict includes, validate paths
IDORChanging object ID accesses another user dataObject-level authorization checks
CSRFState change from forged requestCSRF tokens, SameSite cookies

IAM and Access Control

ConceptMeaningExam decision point
Least privilegeMinimum permissions requiredPreferred over broad admin rights.
Need to knowAccess only to required informationImportant for sensitive data.
RBACPermissions based on roleGood for stable job functions.
ABACPermissions based on attributesGood for dynamic context such as location/device/data label.
DACOwner controls accessFlexible but less centrally controlled.
MACSystem-enforced labelsHigh-control environments.
PAMControls privileged accessUse for admin credentials, session recording, JIT access.
JIT accessTemporary elevated permissionsReduces standing privilege.
JEAAdmin can perform only specific tasksLimits blast radius.
MFAAdditional authentication factorStrong control against password compromise.
SSOOne login across appsImproves management; increases IdP criticality.
FederationTrust between identity providers and servicesCommon for cloud/SaaS access.
Conditional accessPolicy based on risk/contextDevice, location, MFA, user risk.
Service accountNon-human account for servicesMonitor, least privilege, rotate secrets.

Authentication and Authorization Protocols

ProtocolPrimary useHigh-yield distinction
SAMLFederated enterprise SSOXML-based assertions, common with SaaS.
OAuth 2.0Delegated authorizationGrants app access; not primarily authentication.
OpenID ConnectAuthentication layer on OAuth 2.0Provides identity tokens.
KerberosDomain authenticationTicket-based; common in Active Directory.
LDAP/LDAPSDirectory queries/authenticationLDAPS encrypts LDAP traffic.
RADIUSNetwork access authenticationCommon for VPN/Wi-Fi AAA.
TACACS+Device administration AAASeparates authentication, authorization, accounting.

Cloud Security Operations

Shared Responsibility

LayerCustomer usually responsible forProvider usually responsible for
IaaSOS, applications, IAM, data, network rules, logging configurationPhysical data center, hardware, virtualization platform
PaaSApplication code, data, IAM, configurationManaged runtime, platform maintenance
SaaSUsers, data, access policies, tenant configurationApplication infrastructure and service operation

Cloud Security Tool Selection

NeedChoose
Detect risky cloud configurationCSPM
Protect cloud workloads/VMs/containersCWPP
Manage excessive cloud identity permissionsCIEM
Secure SaaS usage and policy enforcementCASB/SSE
Centralize cloud audit eventsCloud-native audit logs into SIEM
Protect secretsSecrets manager/vault
Prevent public storage exposureStorage policy, public access controls, IAM review
Detect anomalous API usageCloud audit log analytics and UEBA
Govern infrastructure changesIaC scanning, policy as code, change control
Protect container imagesImage scanning and trusted registry

Cloud Alert Investigation Checklist

  • Identify the principal: user, role, service account, workload identity.
  • Review action: API call, resource change, policy change, data access, key creation.
  • Check source: IP, geolocation, device, user agent, impossible travel.
  • Determine resource criticality and data classification.
  • Look for privilege escalation: new role, policy attachment, key generation.
  • Search for persistence: access keys, OAuth grants, backdoor roles, new users.
  • Scope lateral activity across accounts, projects, tenants, or subscriptions.
  • Contain by revoking sessions/keys, disabling principal, or restricting resource access.
  • Preserve cloud audit logs before retention or lifecycle rules remove them.

Container and Kubernetes Security

AreaWhat to inspect
Image provenanceTrusted registry, signed images, approved base images
Image vulnerabilitiesOutdated packages, vulnerable dependencies
SecretsNo secrets in image layers, environment variables, or repos
Runtime privilegeAvoid privileged containers and host mounts unless required
Network policyRestrict pod-to-pod and egress traffic
Admission controlEnforce policy before deployment
RBACLeast privilege for service accounts
Namespace separationLimit blast radius
LoggingAPI server, audit logs, container stdout/stderr
PersistenceUnexpected deployments, daemonsets, cronjobs
Supply chainCI/CD integrity, dependency pinning, artifact scanning

Security Tool Selection Matrix

Tool/controlBest useCommon trap
SIEMCentral correlation and alertingSIEM is only as good as ingested logs and tuning.
SOARAutomated enrichment and responseAutomating bad logic can amplify mistakes.
EDREndpoint process, malware, responseDoes not replace patching or least privilege.
XDRCross-domain detection and responseStill needs analyst validation.
NDRNetwork behavior detectionEncrypted traffic may limit payload visibility.
IDSDetect suspicious trafficDetection only unless paired with response.
IPSBlock suspicious traffic inlineCan disrupt business if poorly tuned.
WAFWeb attack protectionTemporary mitigation; code flaws still need fixing.
DLPDetect/control sensitive data movementRequires good data classification.
NACControl network admissionAsset identity and exceptions must be maintained.
UEBADetect abnormal user/entity behaviorNeeds baseline and context.
Vulnerability scannerFind known weaknessesFindings require validation and prioritization.
BASTest controls with simulated attacksNot a substitute for remediation.
Deception techLure and detect attackersMust avoid confusing production operations.
MDM/UEMManage endpoints/mobile devicesCoverage gaps weaken enforcement.
PAMProtect privileged accountsDoes not fix excessive privileges by itself.
Backup platformRecovery from deletion/ransomwareMust be isolated and restore-tested.

Cryptography and Data Protection

NeedUseWatch for
Data confidentiality in transitTLSExpired certs, weak protocols, bad hostname validation
Data confidentiality at restDisk/database/object encryptionKey management and access control matter
IntegrityHashing, digital signaturesHash alone does not prove authenticity unless trusted
Authentication/nonrepudiationDigital signatures, certificatesPrivate key protection is critical
Password storageSalted adaptive hashingDo not encrypt passwords for reversible storage
Key storageKMS/HSM/secrets vaultAvoid hardcoded keys and unmanaged copies
Data minimizationCollect/store only needed dataReduces breach impact
TokenizationReplace sensitive value with tokenUseful for payment or sensitive identifiers
MaskingHide part of data in display/logsDoes not always protect underlying storage
DLP/classificationControl sensitive movementNeeds labels and accurate rules

Risk, Governance, and Reporting

Risk Response Options

ResponseMeaningExample
AvoidStop the risky activityDecommission exposed legacy service
MitigateReduce likelihood or impactPatch, segment, add MFA
TransferShift financial/operational impactCyber insurance, outsourced service
AcceptAcknowledge risk with approvalDocument exception with owner and expiration

Metrics to Recognize

MetricMeaning
MTTDMean time to detect
MTTAMean time to acknowledge
MTTRMean time to respond/restore/remediate, depending on context
Dwell timeTime attacker remains undetected
False positive ratePortion of alerts that are not actionable malicious events
Vulnerability ageHow long a finding has remained open
Patch compliancePercentage of assets meeting patch standard
SLA adherenceWhether response/remediation met defined targets
Control coverageAssets/users/log sources covered by control
Recurrence rateWhether incidents/findings repeat after remediation

Report Audience Matrix

AudienceIncludeAvoid
ExecutivesBusiness impact, risk, decisions needed, trendExcessive raw logs and tool syntax
Technical teamsRoot cause, affected systems, IOCs, remediation stepsVague business-only summaries
Legal/complianceTimeline, data types, preservation status, policy triggersSpeculation beyond evidence
HRUser-related facts when insider or policy issue existsTechnical overload or unapproved disclosure
Customers/partnersApproved impact and action guidanceUnverified details or blame
SOC leadershipMetrics, gaps, tuning, staffing/process needsUnsupported claims

Common Commands and Analyst Utilities

Network and Host Triage

## Active connections and listening services
ss -tulpen
netstat -ano

## DNS investigation
dig example.com
nslookup example.com

## HTTP header and redirect review
curl -I -L https://example.com

## Packet capture
tcpdump -i eth0 host 203.0.113.10 -w capture.pcap

## Hash a file
sha256sum suspicious.bin

## Search logs
grep -i "failed password" /var/log/auth.log

Windows Triage Examples

## Recent processes
Get-Process | Sort-Object StartTime -Descending

## Local users
Get-LocalUser

## Local administrators
Get-LocalGroupMember Administrators

## Network connections with owning process
Get-NetTCPConnection | Select-Object LocalAddress,LocalPort,RemoteAddress,RemotePort,State,OwningProcess

## Scheduled tasks
Get-ScheduledTask | Where-Object {$_.State -ne "Disabled"}

Nmap Use Cases

## Basic service discovery
nmap -sV 192.0.2.10

## Scan top ports on a subnet
nmap --top-ports 100 192.0.2.0/24

## No ping discovery if hosts block ICMP
nmap -Pn 192.0.2.10
Nmap optionMeaning
-sVService/version detection
-sSSYN scan
-OOS detection
-PnTreat host as up; skip host discovery
-pSpecify ports
--top-portsScan most common ports
-oAOutput in multiple formats

Alert-to-Action Playbook Patterns

AlertFirst checksLikely next action
Malware detectedHost, file hash, process tree, user, network activityIsolate if active; collect evidence; remove malware
Multiple failed VPN loginsUser/source pattern, success after failures, MFA statusBlock source, reset account if success, tune detection
Impossible travelGeo/IP, VPN/proxy, device, recent password changeRevoke session and require MFA/reset if suspicious
New admin accountChange ticket, creator, source host, group membershipDisable if unauthorized; investigate creator
EDR disabledUser/process causing change, policy statusRe-enable, isolate if malicious, investigate tampering
DNS tunnelingQuery length, entropy, volume, domain ageBlock domain, inspect host, hunt similar queries
Web attack blocked by WAFPayload, target URI, source frequencyTune/monitor if blocked; escalate if exploitation succeeded
Public cloud storageResource owner, access logs, data typeRemove public access; assess exposure
DLP exfil alertUser, data type, destination, business justificationContain transfer, notify data owner
Vulnerability scanner critical findingAsset exposure, exploitability, ownerValidate and assign urgent remediation

High-Yield Exam Traps

If the question says…Do not jump to…Prefer…
“The alert fired”Assume incident confirmedValidate with correlated evidence.
“A patch is available”Patch production immediatelyFollow change control unless active critical risk requires emergency process.
“User clicked link”Reimage immediatelyCheck credential submission, payload execution, and mailbox/account activity.
“Firewall blocked traffic”Close ticketDetermine whether it indicates targeting or compromised internal host.
“CVSS is high”Always top priorityConsider exposure, exploit activity, asset value, and compensating controls.
“Hash is malicious”Hunt only by hashAdd behavior, filenames, domains, command lines, and parent process.
“Admin account used”Treat as authorizedValidate source, timing, MFA, ticket, and expected admin path.
“Cloud key created”Ignore if by adminCheck whether expected, then inspect usage and permissions.
“Need legal evidence”Collect casuallyPreserve chain of custody and minimize evidence modification.
“Need to reduce alert noise”Disable the ruleTune, 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 Quick Reference 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.

Browse Certification Practice Tests by Exam Family