CompTIA CySA+ (CS0-003) — SOC Analysis, Threat Intelligence & Vulnerability Management
Intermediate-level CompTIA Cybersecurity Analyst (CySA+ CS0-003) flashcards covering exam blueprints, MITRE ATT&CK TTPs, Cyber Kill Chain, the Diamond Model, STIX/TAXII, CVSS v3.1/v4.0 metrics, SCAP (OVAL/XCCDF/CPE/CVE), Wireshark/Zeek/Suricata packet analysis, YARA/Sigma rules, and LOLBins.
- Category
- Global Cybersecurity & InfoSec Certifications — CompTIA Security+ (SY0-701), Network+ (N10-009) & CySA+ (CS0-003), ISC2 CISSP (CAT) & ISACA CISM / CISA
- Level
- intermediate
- Languages
- en → en
- Cards
- 32
- Markdown
- CompTIA CySA+ (CS0-003) — SOC Analysis, Threat Intelligence & Vulnerability Management (.md)
Flashcards (32)
| # | Front (Term / Question) | Back (Definition / Answer) | Example | Multiple-Choice Options |
|---|---|---|---|---|
| 1 | How do Wireshark, Zeek (formerly Bro), and Suricata/Snort differ when analyzing network traffic captures (PCAPs)? | Wireshark dissects full packet payloads interactively, Zeek extracts structured protocol metadata logs (`conn.log`, `dns.log`), and Suricata/Snort match signature rules to alert or drop. | A SOC analyst pivots from a Suricata IDS alert to Zeek's `http.log` and `files.log` via Community ID hash before carving the malicious payload in Wireshark. |
|
| 2 | How do Tactics, Techniques, and Procedures (TTPs) differ within the MITRE ATT&CK Enterprise matrix? | Tactics represent the adversary's technical objective ('why'), Techniques describe how an objective is achieved, and Procedures are specific tool or command implementations. | Mapping an intrusion to MITRE ATT&CK identifies the Credential Access tactic (`TA0006`), the OS Credential Dumping: LSASS Memory sub-technique (`T1003.001`), and the `mimikatz` procedure. |
|
| 3 | In network vulnerability assessment, how do `nmap -sS`, `nmap -sT`, `nmap -sU`, and `nmap -sV -O --script=vuln` operate at the packet level? | `-sS` runs half-open TCP SYN scans (`SYN`->`SYN/ACK`->`RST`), `-sT` completes the 3-way handshake, `-sU` probes UDP ports, and `-sV -O` fingerprints service versions and OS. | Running `sudo nmap -sS -sV -p- -T4 10.20.30.0/24` sends raw TCP SYN probes across all 65,535 ports and interrogates open services to identify outdated OpenSSH daemons. |
|
| 4 | In API security assessment (OWASP API Security Top 10), what is Broken Object Level Authorization (BOLA / IDOR), and how is it detected and remediated? | BOLA (`API1:2023`) occurs when an API endpoint fails to verify that the caller owns the requested object ID, allowing horizontal data harvesting by iterating IDs. | During an API security review, an analyst notices an attacker iterating sequential user IDs in `GET /api/orders/{id}`; developers fix it by validating session ownership on every query. |
|
| 5 | How do YARA rules and Sigma rules differ in their primary detection domain and syntax structure? | YARA scans files and process memory for malware using `meta`, `strings`, and `condition` blocks, whereas Sigma is a vendor-agnostic YAML format for SIEM logs. | An incident responder scans RAM dumps with a YARA rule matching Cobalt Strike beacon strings while compiling a Sigma YAML rule into Splunk SPL and Elastic EQL queries. |
|
| 6 | In memory forensics using the Volatility 3 framework, what do the plugins `windows.pslist`, `windows.pstree`, `windows.psscan`, `windows.malfind`, and `windows.netscan` reveal? | `pslist`/`pstree` walk active EPROCESS linked lists, `psscan` carves hidden unlinked processes from pool memory, `malfind` detects injected RWX shellcode, and `netscan` enumerates network sockets. | When a rootkit unlinks its EPROCESS struct via DKOM to hide from `windows.pslist`, running `vol -f mem.raw windows.psscan` and `windows.malfind` uncovers the hidden hollow process. |
|
| 7 | How does hypothesis-driven threat hunting differ from alert-driven SOC triage? | Alert-driven triage reactively investigates automated SIEM/EDR notifications, whereas threat hunting proactively tests TTP-based hypotheses across telemetry to uncover stealthy intrusions that bypassed alerts. | Formulating the hypothesis that an APT abused IIS web shells to spawn `w3wp.exe -> cmd.exe`, the hunter queries 90 days of EDR process trees and discovers an unalerted breach. |
|
| 8 | How should a cybersecurity analyst tailor vulnerability and incident reports differently for Executive Leadership (Board/C-Suite), IT Operations/DevOps, and Regulatory/Legal stakeholders? | Executives need business risk, financial exposure, and KRIs/KPIs; IT/DevOps need CVE details and remediation steps; Legal/Regulators need forensic timelines and statutory compliance facts. | Following a data breach, the CISO presents business financial exposure and MTTR trends to the Board while handing engineering teams an itemized CSV of CVEs and Ansible playbooks. |
|
| 9 | Which Windows Registry Run keys, scheduled tasks, and WMI objects are primary targets when hunting for endpoint persistence? | Attackers persist via `HKCU/HKLM\...\CurrentVersion\Run` and `RunOnce` keys, Scheduled Tasks (`schtasks`), Windows Services, Startup folders, and WMI `EventFilter`-to-`EventConsumer` subscriptions. | Running Sysinternals `Autoruns64.exe -a * -c -h` exports a CSV of all signed and unsigned registry Run entries, Winlogon notifications, services, and WMI persistence consumers. |
|
| 10 | When analyzing web server access logs or SIEM telemetry, what regex or payload patterns distinguish SQLi, Directory Traversal, XSS, and OS Command Injection? | SQLi uses `' OR 1=1--`/`UNION SELECT`; Path Traversal uses `../`/`%2e%2e%2f`; XSS uses `<script>`/`onerror=`; Command Injection uses `;`, `|`, or `$(whoami)`. | Running `grep -Ei '(\.\./|%2e%2e|union.*select|<script|;\s*(cat|id|wget|curl))' /var/log/nginx/access.log` extracts multi-vector web exploitation attempts from raw HTTP access logs. |
|
| 11 | How do Static Malware Analysis and Dynamic (Sandbox) Malware Analysis differ in tools and techniques? | Static analysis inspects binaries without execution (`strings`, PE headers, `sha256sum`, Ghidra disassembly); Dynamic analysis executes samples inside an isolated sandbox to observe runtime behavior. | An analyst runs `peframe` and `floss` for static import table inspection, finds UPX packing, unpacks the binary, and detonate-monitors registry/API calls in Cuckoo Sandbox. |
|
| 12 | How do credentialed (authenticated) vulnerability scans differ from non-credentialed scans in false positives, visibility, and operational risk? | Credentialed scans log in via SSH/WMI to inspect exact packages and registry keys with minimal false positives, whereas uncredentialed scans infer versions from banners. | An uncredentialed Nessus scan flags an Apache server for an old CVE based on its HTTP banner, which a credentialed SSH scan disproves by verifying Red Hat's backported RPM patch. |
|
| 13 | In confusion matrix evaluation of SOC detection rules, how are True Positives, False Positives, True Negatives, and False Negatives defined, and which is most dangerous? | True Positive alerts on real attacks, False Positive alerts on benign traffic, True Negative ignores benign traffic, and False Negative misses real attacks (most dangerous). | Over-tuning a noisy Suricata rule to suppress False Positives accidentally introduces a False Negative, allowing an attacker's DNS tunneling C2 channel to pass undetected. |
|
| 14 | How does a SOC analyst distinguish C2 beaconing and DNS tunneling from legitimate enterprise web and DNS traffic? | C2 beaconing exhibits regular callback intervals and uniform payload sizes; DNS tunneling shows high-entropy encoded subdomains and anomalous volumes of `TXT` or `NULL` queries. | Querying Zeek `dns.log` reveals 15,000 high-entropy queries like `a8f9d02b1c.c2.badactor.org` with `qtype_name == TXT`, confirming data exfiltration over covert DNS tunneling. |
|
| 15 | Within NIST's Security Content Automation Protocol (SCAP), what are the specific roles of CVE, CPE, XCCDF, and OVAL? | CVE names software vulnerabilities, CPE standardizes product naming, XCCDF defines configuration benchmark checklists, and OVAL expresses declarative machine-state vulnerability tests. | An OpenSCAP agent evaluates a RHEL 9 server against a CIS Benchmark written in XCCDF using OVAL XML definitions to verify kernel parameter compliance. |
|
| 16 | What are the 7 sequential stages of the Lockheed Martin Cyber Kill Chain, and what are its limitations against modern cloud/insider attacks? | Reconnaissance, Weaponization, Delivery, Exploitation, Installation, Command & Control (C2), and Actions on Objectives; it poorly models insider threats and lateral movement. | Blocking a spear-phishing macro attachment at the secure email gateway interrupts the Cyber Kill Chain at Stage 3 (Delivery) before Stage 4 (Exploitation) can execute. |
|
| 17 | What are Living-off-the-Land Binaries (LOLBins / GTFOBins), and which native Windows and Linux utilities are most frequently abused by attackers? | LOLBins are legitimate OS-signed system binaries (`certutil`, `mshta`, `rundll32`, `regsvr32`, `powershell`) abused by attackers to download, execute, or proxy malicious code past whitelisting. | An analyst detects a fileless intrusion in Sysmon Event ID 1 where `certutil.exe -urlcache -split -f` downloads a payload and `rundll32.exe` or `mshta.exe` executes it. |
|
| 18 | In a Snort or Suricata IDS signature rule, what is the role of `content`, `pcre`, `flow:established,to_server`, `sid`, and `rev`? | `flow` matches TCP session state/direction, `content` matches exact payload bytes, `pcre` applies regular expressions, `sid` uniquely identifies the rule, and `rev` tracks rule revisions. | The Suricata rule `alert http $EXTERNAL_NET any -> $HOME_NET any (msg:"Log4j JNDI"; flow:established,to_server; content:"jndi:ldap://"; nocase; sid:2021442; rev:2;)` detects inbound JNDI exploit strings. |
|
| 19 | What are the official exam parameters and four domain percentage weights for the CompTIA CySA+ (CS0-003) certification exam? | Max 85 questions in 165 minutes (750/900 pass): Security Operations (33%), Vulnerability Management (30%), Incident Response (20%), and Reporting (17%). | During the 165-minute CySA+ CS0-003 exam, candidates analyze SIEM regex filters, CVSS vectors, and Nmap/Wireshark outputs across Security Operations (33%) and Vulnerability Management (30%). |
|
| 20 | In a CVSS v3.1 Base Vector string (`AV/AC/PR/UI/S/C/I/A`), what do the Exploitability metrics, Scope (`S`), and Impact metrics represent? | Exploitability includes Attack Vector, Attack Complexity, Privileges Required, and User Interaction; Scope (`U`/`C`) indicates cross-component boundary impact; Impact rates CIA loss. | Log4Shell (`CVE-2021-44228`) carries a critical 10.0 CVSS v3.1 score with vector `AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H` because unauthenticated network requests compromise the underlying host (`S:C`). |
|
| 21 | When remediation patching cannot be applied immediately to a legacy mission-critical system, how do compensating controls and risk exceptions operate? | Compensating controls apply alternative defense-in-depth protections (such as WAF virtual patching or microsegmentation) documented under a time-bound, management-signed formal Risk Exception. | Because an FDA-certified medical imaging server running an end-of-life OS cannot be patched immediately, engineers place it behind an IPS virtual patch and file a 90-day risk exception. |
|
| 22 | During active Incident Response containment, what are the trade-offs between immediate network isolation/credential revocation and 'watch and learn' adversary monitoring? | Immediate isolation halts acute damage like ransomware encryption but tips off attackers; temporary monitoring maps full C2 infrastructure and lateral scope before coordinated eviction. | For active ransomware encryption, the SOC triggers immediate EDR host isolation, whereas for a contained APT espionage implant, responders monitor C2 traffic briefly to identify all compromised hosts. |
|
| 23 | How does CVSS v4.0 refine CVSS v3.1, and how do CISA KEV and EPSS improve real-world vulnerability prioritization? | CVSS v4.0 replaces Scope with Subsequent System CIA impact and Attack Requirements (`AT`); EPSS predicts 30-day exploitation probability and CISA KEV confirms active exploitation. | A vulnerability analyst prioritizes a CVSS 7.5 bug listed in the CISA Known Exploited Vulnerabilities (KEV) catalog with a 0.92 EPSS score ahead of an unexploited CVSS 9.1 bug. |
|
| 24 | What Linux filesystem locations and mechanisms do attackers most commonly abuse to establish reboot persistence, and how do analysts hunt for them? | Attackers abuse cron jobs (`/etc/crontab`, `/var/spool/cron`), `systemd` units (`/etc/systemd/system/`), shell profiles (`~/.bashrc`), SSH `authorized_keys`, SUID binaries, and `LD_PRELOAD` rootkits. | During Linux live response, the analyst inspects `/etc/ld.so.preload`, runs `systemctl list-unit-files --state=enabled`, and checks `find / -perm -4000` for rogue SUID binaries. |
|
| 25 | How do STIX 2.1, TAXII 2.1, and OpenIOC interact to automate Cyber Threat Intelligence (CTI) sharing across organizations? | STIX serializes structured CTI objects in JSON, TAXII provides the HTTPS REST transport protocol, and OpenIOC defines XML host-based indicators of compromise. | An enterprise Threat Intelligence Platform (TIP) polls an ISAC TAXII 2.1 collection endpoint every 15 minutes to ingest STIX 2.1 indicator bundles into SIEM watchlists. |
|
| 26 | According to David Bianco's Pyramid of Pain, why does detecting adversary TTPs impose vastly higher cost on attackers than blocking hash values or IP addresses? | Hash values and IPs at the pyramid base are trivial to alter automatically, whereas TTPs at the apex force adversaries to re-engineer core tradecraft. | Recompiling a payload changes its SHA-256 hash in seconds, but a behavioral EDR rule detecting WMI lateral movement (`T1047`) forces the attacker to abandon their playbook. |
|
| 27 | What is the Traffic Light Protocol (TLP 2.0) developed by FIRST, and what sharing boundaries do `TLP:RED`, `TLP:AMBER+STRICT`, `TLP:AMBER`, `TLP:GREEN`, and `TLP:CLEAR` enforce? | `TLP:RED` is named recipients only, `TLP:AMBER+STRICT` is recipient organization only, `TLP:AMBER` includes clients on need-to-know, `TLP:GREEN` is community-wide, and `TLP:CLEAR` is public. | When CISA shares a zero-day IOC bulletin marked `TLP:AMBER+STRICT`, the receiving SOC may deploy the signatures internally but cannot forward the report to external customers. |
|
| 28 | Which critical Windows Security Event IDs and Sysmon Event IDs must a CySA+ analyst monitor to detect brute-force logins, privilege escalation, log clearing, and process creation? | Windows Security `4624` (logon), `4625` (failed logon), `4672` (admin privileges), `4688` (process creation), `4720` (user created), `1102` (log cleared); Sysmon `1`, `3`, and `10`. | A SIEM correlation rule triggers a P1 alert when a burst of `4625` failed logons is followed by `4624` Logon Type 10 (RDP), `4720` user creation, and `1102` log clearing. |
|
| 29 | What are the four core nodes and two primary axes of the Diamond Model of Intrusion Analysis? | The four core features are Adversary, Capability, Infrastructure, and Victim, arranged across a Socio-Political axis and a Technical axis. | Pivoting in the Diamond Model from a known phishing domain (Infrastructure) combined with a custom Cobalt Strike loader (Capability) attributes the campaign to a specific Adversary. |
|
| 30 | How do Mean Time to Detect (MTTD), Mean Time to Acknowledge (MTTA), Mean Time to Contain (MTTC), and Mean Time to Respond/Recover (MTTR) measure SOC effectiveness? | MTTD measures intrusion dwell time until detection, MTTA measures alert pickup speed, MTTC measures time to isolate threats, and MTTR measures full remediation time. | Deploying automated SOAR enrichment and EDR host-isolation playbooks reduced the SOC's quarterly MTTC from 4 hours to 6 minutes while cutting MTTA by 70%. |
|
| 31 | In Cloud Security Posture Management (CSPM) and Cloud Infrastructure Entitlement Management (CIEM), what high-severity findings are detected via AWS CloudTrail logs? | CSPM detects public S3 buckets and open security groups; CloudTrail analysis flags root logins, `StopLogging` tampering, and `AttachUserPolicy` IAM privilege escalation. | An EventBridge rule monitoring AWS CloudTrail fires an immediate P1 alert when an attacker calls `cloudtrail:StopLogging` or attaches `AdministratorAccess` to a compromised IAM user. |
|
| 32 | How do User and Entity Behavior Analytics (UEBA) platforms use machine learning baselines to detect compromised credentials and insider exfiltration? | UEBA models peer-group and historical baselines across login times, geolocation, and data volume, scoring anomalies like impossible travel or midnight mass repository downloads. | Although an attacker logs in with valid stolen credentials and MFA session cookies, UEBA raises the user's risk score to 95 after detecting impossible travel and 40 GB SharePoint downloads. |
|