Threats, Vulnerabilities, and Mitigations

490 questions

Question 21Question

A security analyst is reviewing endpoint telemetry and forensic artifacts across several compromised systems. Match each malware classification on the left with its corresponding technical indicator of compromise (IoC) or behavior on the right.

Click a left item, then click its matching right item

Items

Kernel-Mode Rootkit
Fileless Malware
Logic Bomb
User-Space Keylogger

Matches

Show answer & explanation

Answer

Kernel-Mode Rootkit matches SSDT modification to hide processes; Fileless Malware matches executing payload directly in memory via VirtualAllocEx without disk artifacts; Logic Bomb matches dormant malicious script triggered by a specific event condition; User-Space Keylogger matches API hooking via SetWindowsHookEx with WH_KEYBOARD_LL.
Each malware classification is accurately paired with its distinct technical telemetry indicator: Kernel-mode rootkits manipulate kernel structures like SSDT; Fileless malware runs in memory using native process injection APIs without disk files; Logic bombs await specific logical condition triggers; Keyloggers register keyboard hooks like SetWindowsHookEx.

Step-by-Step Solution

1
Analyze telemetry indicating system-level modification and stealth mechanisms.
Identify that SSDT manipulation at the OS kernel level is characteristic of Kernel-Mode Rootkits.
Rootkits aim to maintain persistent access while cloaking their presence from monitoring tools via kernel hooking.
2
Evaluate memory-only execution signatures without file system footprint.
Correlate VirtualAllocEx injection into legitimate host processes to Fileless Malware.
Fileless malware avoids detection by traditional antivirus by running strictly in memory.
3
Identify event-driven execution triggers embedded in dormant code.
Associate conditional execution based on database changes or user actions with a Logic Bomb.
Logic bombs execute malicious code only when specific logical conditions are satisfied.
4
Examine input event interception telemetry.
Match SetWindowsHookEx keyboard hooking API calls to a User-Space Keylogger.
Keyloggers require mechanisms to intercept and record user inputs across applications.

Key Concept

Identifying Malware Types via Technical Telemetry and Indicators of Compromise (IoCs)
Question 22Question

During a comprehensive security audit following a series of distinct security events across a global enterprise, threat intelligence analysts are categorizing observed activities by threat actor type, attributes, and primary attack vectors. Match each threat actor profile on the left with the enterprise scenario on the right that best exemplifies its characteristic capabilities, motivation, and attack vector.

Click a left item, then click its matching right item

Items

Organized Crime Syndicate
Malicious Insider
Shadow IT / Unintentional Insider
Nation-State Advanced Persistent Threat (APT)

Matches

Show answer & explanation

Answer

Organized Crime Syndicate matches the double-extortion ransomware deployment; Malicious Insider matches the exfiltration of proprietary files using legitimate credentials following a passed-over promotion; Shadow IT / Unintentional Insider matches the unauthorized transmission of databases into an unvetted public cloud AI service; Nation-State APT matches the custom zero-day exploits and Living-off-the-Land persistence.
The correct pairings accurately map threat actor attributes to realistic attack vectors: Organized Crime Syndicate matches the financial extortion ransomware scenario; Malicious Insider matches authorized access abuse driven by internal grievance; Shadow IT / Unintentional Insider matches unsanctioned cloud tool adoption for business tasks; and Nation-State APT matches stealthy, highly sophisticated zero-day and LotL techniques for strategic persistence.

Step-by-Step Solution

1
Analyze threat actor motivations and sophistication levels
Identify financial intent for criminal syndicates, internal access/grievance for insiders, convenience/lack of policy awareness for unintentional actors, and stealth/strategic advantage for nation-states.
Threat actor attributes directly influence their choice of targets, tools, and vectors.
2
Evaluate attack vectors and operational indicators for each scenario
Ransomware and RaaS correlate to organized crime; authorized access abuse correlates to malicious insiders; unsanctioned SaaS usage correlates to shadow IT; zero-days and LotL tactics correlate to nation-state APTs.
Mapping indicators to actor capabilities allows precise classification during threat analysis.
3
Match each actor to its corresponding scenario based on intent, capability, and vector
Pair left_1 with right_2, left_2 with right_1, left_3 with right_3, and left_4 with right_4.
Each pairing represents the defining characteristics of that threat actor profile according to security domain standards.

Key Concept

Threat Actor Attributes, Motivations, and Attack Vectors
Question 23Question

An enterprise security architect is designing compensating controls for legacy operational technology (OT) controllers on an industrial network. The controllers run an end-of-life operating system that cannot be patched or upgraded due to critical vendor warranty constraints. Which TWO of the following technical mitigation techniques should the security architect implement to prevent privilege escalation and lateral movement without impacting system stability? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Implement application allowlisting policies on the host controllers to restrict execution strictly to pre-approved operational binaries and scripts.; Isolate the host controllers within microsegmented network zones using firewalls to limit communications strictly to essential industrial protocols.

Answer

The correct mitigations are implementing application allowlisting on host controllers and isolating the controllers within microsegmented network zones using firewalls.
Application allowlisting and microsegmentation provide robust compensating controls for legacy environments where patching is impossible. Application allowlisting prevents malicious code from running locally to escalate privileges, while microsegmentation restricts lateral movement by limiting network communications strictly to required operational protocols.

Step-by-Step Solution

1
Analyze host constraints and vulnerability risks
Patching is not viable due to legacy OS limitations and vendor warranties, requiring host-based compensating controls that block unauthorized binary execution.
Host security must prevent exploit execution without altering legacy application software.
2
Select execution control mitigation
Application allowlisting ensures only explicitly approved binaries and scripts are permitted to execute.
Allowlisting prevents privilege escalation tools and dropped payloads from running even if vulnerability vectors exist.
3
Select network containment mitigation
Microsegmentation enforces network layer isolation around host controllers.
Restricting communications strictly to necessary industrial control protocols stops lateral movement across network segments.

Key Concept

Enterprise Hardening and Compensating Security Controls for Legacy Systems
Question 24Question

An incident response team investigates a physical intrusion where an unauthorized cellular bridge was connected inside a financial firm's network distribution room. Reviewing access logs and security footage reveals that an attacker contacted the facilities desk pretending to be an official state electrical inspector. The attacker claimed an imminent safety violation required an emergency inspection of the transfer switches to avoid immediate facility shutdown. Driven by the fear of operational disruption, the staff member generated a temporary badge and granted unescorted access without cross-referencing the official vendor schedule. Which social engineering attack vector and primary principles of influence were combined to execute this breach?

Show answer & explanation

Answer: Pretexting leveraging authority and urgency

Answer

Pretexting leveraging authority and urgency
Pretexting is the technique of establishing a fabricated scenario or identity to trick a victim into disclosing sensitive information or granting unauthorized physical/logical access. The threat actor manipulated human behavior by claiming official inspector status (authority) and warning of immediate power shutdown (urgency), prompting staff to bypass standard identity verification rules.

Step-by-Step Solution

1
Analyze the attack mechanism described in the scenario
Identified that the attacker created a complex invented story (acting as a fake electrical inspector needing emergency access) to trick staff into granting entry.
Creating a fabricated scenario to manipulate a target into providing access or information defines pretexting.
2
Evaluate the psychological principles of influence applied by the threat actor
Recognized that posing as an official inspector appeals to authority, while threatening an immediate facility shutdown creates extreme urgency.
Social engineers leverage authority to compel compliance with perceived figures of power and urgency to rush victims into bypassing standard security verification protocols.
3
Differentiate the correct vector and influence principles from distractors
Ruled out physical piggybacking (tailgating), physical lure placement (baiting), and compromised website drive-bys (watering hole).
The breach relied on direct communication, persona fabrication, and high-pressure compliance demands rather than passive physical entry or technical site compromise.

Key Concept

Pretexting and Psychological Principles of Influence in Social Engineering
Question 25Question

Match each social engineering attack vector to the enterprise incident scenario that best exemplifies its delivery method and tactics.

Click a left item, then click its matching right item

Items

Watering Hole Attack
Voice Phishing (Vishing)
Typosquatting
Baiting

Matches

Show answer & explanation

Answer

Watering Hole Attack matches the compromised industry news portal scenario; Voice Phishing matches the targeted helpdesk phone calls scenario; Typosquatting matches the character substitution domain replica scenario; Baiting matches the malware-laden USB drive parking lot scenario.
Each social engineering vector is uniquely aligned with its underlying vehicle: watering hole targets trusted third-party websites; vishing relies on phone-based social engineering and pretexting; typosquatting targets URL typing mistakes; and baiting exploits curiosity through physical media dropped in accessible areas.

Step-by-Step Solution

1
Analyze the watering hole vector.
Identified that watering hole attacks target websites frequented by a specific organization or demographic to compromise visitors.
Matching to the scenario involving a compromised niche industry news portal frequented by target contractors.
2
Analyze the voice phishing (vishing) vector.
Identified that vishing uses telephony infrastructure to impersonate trusted entities and manipulate victims.
Matching to the scenario involving targeted phone calls to helpdesk staff posing as executives.
3
Analyze the typosquatting vector.
Identified that typosquatting relies on mistyped URLs containing slight character variations.
Matching to the scenario involving a domain registered with subtle character substitutions.
4
Analyze the baiting vector.
Identified that baiting relies on physical or digital promises that entice victims through curiosity or financial incentive.
Matching to the scenario involving USB drives labeled with tempting titles left in a parking lot.

Key Concept

Social Engineering Attack Vectors and Vectors of Influence
Question 26Question

A security analyst investigates an incident where an attacker compromised a containerized microservice pod and used stolen service account credentials to move laterally and extract confidential data from an internal backend database. The current environment relies primarily on an ingress Web Application Firewall (WAF) and perimeter firewalls, which permitted all internal pod-to-pod traffic once the perimeter was traversed. Which of the following technical mitigation strategies should the organization implement to enforce least privilege access and restrict lateral movement within the container environment?

Show answer & explanation

Answer: Implement a service mesh architecture with mutual TLS (mTLS) and explicit identity-based service authorization policies.

Answer

Implementing a service mesh architecture with mutual TLS (mTLS) and explicit identity-based service authorization policies.
The correct strategy involves deploying a service mesh with mutual TLS (mTLS) and explicit service authorization policies. In microservice environments, service mesh controls enforce microsegmentation by authenticating service identities cryptographically via mTLS and enforcing granular policies that block unauthorized pod-to-pod communication, directly stopping lateral movement.

Step-by-Step Solution

1
Analyze the incident scenario and attack vector
Identified that once the perimeter was breached, the attacker performed lateral movement across internal container pods due to lack of internal access controls.
Perimeter controls (WAF/ingress firewalls) do not prevent east-west lateral movement inside a cluster once a single service is compromised.
2
Evaluate enterprise hardening strategies based on Zero Trust principles
Determined that microsegmentation and identity-based access controls are required to restrict inter-service communication.
Zero Trust mandates explicit verification for every request, regardless of whether it originates inside or outside the network boundary.
3
Select the appropriate technical control for containerized microservices
Selected service mesh with mTLS and identity-based authorization rules as the optimal technical mitigation.
Service mesh provides cryptographic identity (via mTLS certificates) to microservices and enforces fine-grained authorization policies to prevent unauthorized lateral traffic.

Key Concept

Enterprise Microsegmentation and Zero Trust Hardening
Question 27Question

A security analyst is investigating anomalous network activity within a corporate VLAN. Systems on the subnet experience intermittent latency, and central syslog feeds capture repeated notifications from the primary switch indicating rapid MAC address movement (flapping) for the default gateway across several access ports. Concurrently, network packet captures reveal that the switch has entered a fail-open state, broadcasting unicast frames meant for specific internal servers out of all physical ports on the VLAN. Which of the following attacks is MOST likely occurring?

Show answer & explanation

Answer: MAC Flooding attack

Answer

The MAC Flooding attack is the correct answer because filling the switch CAM table forces the device into fail-open mode, resulting in unicast traffic flooding and MAC flapping indicators.
The correct answer is MAC Flooding because floods of fake MAC addresses exhaust the switch memory buffer (CAM table). Once full, the switch transitions to a hub-like operational mode (fail-open), forwarding all incoming unicast packets out to every port, which generates MAC flapping alerts for legitimate MAC addresses as bogus frames overwrite table slots.

Step-by-Step Solution

1
Analyze the switch syslog indicators.
Identified rapid MAC address flapping for the default gateway MAC address across multiple physical access ports.
MAC flapping indicates that the switch MAC table is receiving conflicting port binding entries in rapid succession.
2
Evaluate the packet capture behavior.
Observed unicast network traffic being broadcast out of all switch ports on the VLAN.
Switches only broadcast unicast frames to all ports when their Content Addressable Memory (CAM) table memory is exhausted (fail-open state).
3
Correlate symptoms with known network attack signatures.
Confirmed MAC Flooding (CAM Table Overflow) as the unique attack mechanism causing both fail-open unicast flooding and MAC address flapping.
CAM table depletion is the primary diagnostic signature of a MAC flooding attack.

Key Concept

MAC Flooding / CAM Table Overflow Attack Indicators
Question 28Question

During a post-incident investigation, a security analyst discovers that an attacker executed a multi-channel campaign against an organization. First, remote administrators received text messages during a off-hours maintenance window directing them to a fake portal to re-authenticate their multi-factor credentials due to an urgent server outage. Second, the attacker telephoned the helpdesk, impersonated the Chief Information Security Officer, and pressured an technician into bypassing standard identity verification to reset a high-privilege account password immediately. Which of the following social engineering attack vectors and influence principles were demonstrated in this incident? (Select TWO)

Select all that apply

Show answer & explanation

Answer: Smishing leveraging urgency to capture administrative credentials; Vishing leveraging authority to bypass helpdesk verification procedures

Answer

The attack involved smishing leveraging urgency to capture administrative credentials, and vishing leveraging authority to bypass helpdesk verification procedures.
The scenario describes two distinct communication channels: text messaging (SMS) to lure administrators into revealing credentials under time pressure (smishing combined with urgency), and voice phone calls impersonating executive leadership to force policy bypasses (vishing combined with authority).

Step-by-Step Solution

1
Analyze the vector used in the SMS message targeting remote administrators.
Identified SMS-based messaging (smishing) exploiting time sensitivity during off-hours maintenance (urgency).
Phishing via SMS text messaging is classified specifically as smishing.
2
Analyze the vector used in the telephone call to the helpdesk.
Identified voice-based communication (vishing) using executive impersonation (authority).
Phishing over voice telephony is classified specifically as vishing, and posing as CISO leverages senior management hierarchy.

Key Concept

Identification of social engineering attack vectors (Smishing, Vishing) and psychological principles of influence (Urgency, Authority).
Estimated Time:2m 0s
Question 29Question

A threat intelligence team at a global maritime logistics provider is investigating an intrusion into their vessel tracking and scheduling infrastructure. The investigation reveals that an Advanced Persistent Threat (APT) group maintained continuous, undetected access for nine months after obtaining valid third-party vendor API credentials. Forensic analysis indicates the threat actor deployed proprietary, custom-built malware operating exclusively in volatile memory to conduct long-term intelligence gathering. Which TWO of the following attributes and attack vectors typically characterize this specific category of threat actor in contrast to casual hacktivists or script kiddies?

Select all that apply

Show answer & explanation

Answer: High technical sophistication manifested through custom, fileless memory malware engineered to bypass endpoint defenses; Substantial financial and operational resources enabling long-term persistence and stealthy cyber espionage

Answer

The threat actor described is characterized by high technical sophistication utilizing custom in-memory malware and substantial financial and operational resources enabling long-term persistence.
The correct selections accurately identify nation-state APT attributes: high technical sophistication demonstrated by custom fileless in-memory malware and extensive resource funding supporting prolonged, stealthy cyber espionage.

Step-by-Step Solution

1
Analyze the incident scenario indicators
Identified long-term presence (nine months), proprietary memory-only malware, and third-party vendor credential abuse, indicating a nation-state Advanced Persistent Threat (APT).
Threat actor categorization relies on observing intent, capability, sophistication, funding, and attack vectors.
2
Evaluate capability and sophistication characteristics
Developing custom fileless payloads requires high technical sophistication, distinguishing APTs from lower-skilled actors.
Script kiddies and low-tier actors rely on known, off-the-shelf exploit scripts rather than custom memory malware.
3
Evaluate resource levels and motivation attributes
Sustaining a multi-month stealthy cyber espionage campaign requires extensive resource backing and long-term strategic intent.
Hacktivists typically seek short-term public disruption for awareness, whereas nation-states fund stealthy, persistent surveillance.

Key Concept

Threat Actor Attributes and Attack Vectors
Question 30Question

During a comprehensive security audit of an enterprise microservices web platform, an analyst examines two service implementations. Service 1 is an avatar generator that receives a user-supplied web URL via an HTTP POST request, fetches the image resource directly from that URL using a server-side HTTP client, and stores it in internal object storage without restricting target IP addresses or domains. Service 2 is a catalog search service that accepts input strings from search queries and directly concatenates them into dynamic SQL strings executed against the backend database.

Which of the following vulnerability classifications are present in these microservices, and which recommended controls effectively mitigate them? (Select THREE.)

Select all that apply

Show answer & explanation

Answer: Server-Side Request Forgery (SSRF) is present in Service 1 because the application fetches remote resources based on user-supplied URLs without restricting outbound requests or validating target IP destinations.; SQL Injection (SQLi) is present in Service 2 because user input is directly concatenated into database query strings instead of using prepared statements or parameterized queries.; Implementing strict egress network filtering, URL domain allowlists, and blocking access to loopback and internal private IP ranges remediates the SSRF vulnerability in Service 1.

Answer

The application suffers from Server-Side Request Forgery (SSRF) in the avatar microservice and SQL Injection (SQLi) in the catalog search microservice. Effective mitigations include implementing egress network filtering, URL allowlisting, and restricting internal IP access for the avatar service, as well as replacing dynamic string concatenation with parameterized queries for the catalog search service.
The correct options accurately identify the two software vulnerabilities present in the scenario and specify an effective mitigation strategy for the SSRF flaw. Service 1 exhibits Server-Side Request Forgery (SSRF) because it fetches remote content based on client-provided URLs without constraining destination addresses or prohibiting requests to loopback/private IPs. Service 2 exhibits SQL Injection (SQLi) because input is dynamically concatenated into database queries. Remediating SSRF requires strict egress network filtering, URL allowlisting, and blocking access to internal management interfaces.

Step-by-Step Solution

1
Analyze Service 1 behavior (fetching external URL server-side).
Identified Server-Side Request Forgery (SSRF). The server trusts user input to make backend HTTP requests without validating if the destination IP is internal or forbidden.
When a server receives a URL from a client and retrieves the resource without restricting target address space, it creates an SSRF vulnerability.
2
Analyze Service 2 behavior (dynamic string concatenation into SQL statements).
Identified SQL Injection (SQLi). Untrusted input directly alters database command syntax.
Direct concatenation of user-supplied data into database queries allows attackers to break out of data context into query code context.
3
Evaluate appropriate technical mitigation controls for identified vulnerabilities.
Confirmed that egress network controls, URL allowlisting, and disabling access to private IP blocks mitigate SSRF, while parameterization mitigates SQLi.
Defensive controls must directly address the architectural root cause (preventing unauthorized server requests for SSRF, and isolating data from query execution logic for SQLi).

Key Concept

Software vulnerability identification and remediation (SSRF and SQL Injection)
Question 31Question

An aerospace engineering enterprise recently completed a third-party technical audit of its internal infrastructure. Match each security weakness scenario on the left with the corresponding cryptographic or control vulnerability on the right.

Click a left item, then click its matching right item

Items

An internal portal encrypts session tokens using AES-CBC without a message authentication code, permitting unauthorized modification of encrypted payload flags.
An IoT gateway uses a single pre-installed asymmetric key pair compiled directly into firmware across 10,000 deployed field sensors.
A firmware update distribution server verifies binary signatures using SHA-1 digest comparisons.
A legacy VPN gateway supports 512-bit Diffie-Hellman groups during TLS key agreement negotiations.

Matches

Show answer & explanation

Answer

Each scenario correctly pairs with its underlying vulnerability: the unauthenticated AES-CBC portal matches the bit-flipping vulnerability; the firmware with identical keys matches key reuse from improper key management; SHA-1 signature verification matches the hash collision vulnerability; and 512-bit Diffie-Hellman negotiation matches weak key exchange implementation.
The correct pairings align each operational scenario with its underlying technical failure: CBC mode without MAC enables ciphertext bit manipulation; shared embedded keys breach isolation principles through key reuse; SHA-1 signature checks are susceptible to collision attacks; and 512-bit DH groups fail to withstand parameter cracking.

Step-by-Step Solution

1
Analyze the session token scenario using AES-CBC without MAC.
Identified bit-flipping vulnerability from unauthenticated cipher mode usage.
Without authentication tags (e.g., HMAC), CBC ciphertext bits can be modified by an adversary to predictably manipulate plaintext values upon decryption.
2
Evaluate the IoT firmware deployment containing a shared key pair.
Identified improper key management resulting in private key reuse.
Hardcoding and reusing a single private key across thousands of endpoints compromises all devices if a single unit is extracted and reverse-engineered.
3
Review the firmware update server using SHA-1 for signature validation.
Identified hash collision vulnerability inherent to deprecated digest algorithms.
SHA-1 is cryptographically broken due to practical collision attacks, allowing forged software binaries to pass verification.
4
Examine the VPN gateway accepting 512-bit Diffie-Hellman parameters.
Identified weak key exchange implementation with low parameter length.
512-bit DH key exchange parameters do not provide adequate work factor security and permit attackers to precompute discrete logs to recover session keys.

Key Concept

Identification and remediation of cryptographic protocol weaknesses and security control flaws
Estimated Time:2m 0s
Question 32Question

A security technician is analyzing a compromised workstation log after an administrative staff member manually ran an executable disguised as a printer driver update. Forensic analysis reveals that upon execution, the payload established persistence via Windows Task Scheduler to maintain access across reboots and initiated command-and-control traffic. The telemetry confirms the file did not perform automated network vulnerability scans or attempt self-replication to other network hosts. Which of the following malware characteristics and operational indicators are demonstrated in this scenario? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Trojan classification based on masquerading as authorized software to induce user execution; Host-based persistence created via OS task scheduling mechanisms

Answer

The scenario demonstrates Trojan classification based on masquerading as authorized software to induce user execution, as well as host-based persistence created via OS task scheduling mechanisms.
The scenario highlights two key operational indicators: first, the executable disguised itself as a legitimate driver update to induce a user to launch it, which defines Trojan malware. Second, endpoint forensic logs show scheduled task creation, which is a key indicator of compromise establishing host persistence.

Step-by-Step Solution

1
Analyze the initial execution vector described in the host telemetry.
The payload relied on disguising itself as a legitimate printer driver update requiring manual user execution, matching Trojan delivery.
Trojans hide inside seemingly legitimate software to trick users into executing malicious code.
2
Examine the endpoint persistence behavior.
The malware configured Windows Task Scheduler to maintain execution rights across reboots.
Scheduled task creation is a standard indicator of compromise used to establish persistent execution.
3
Evaluate negative telemetry indicators (lack of self-replication and scanning).
The file is confirmed not to be a worm because it lacks autonomous self-propagation capabilities.
Differentiating worms from Trojans requires identifying self-replication functionality.

Key Concept

Malware Types and Indicators of Compromise
Question 33Question

A hospital security team wants to join a trusted non-profit network to exchange sector-specific threat intelligence with peer healthcare organizations. Which of the following resources best fulfills this requirement?

Show answer & explanation

Answer: Information Sharing and Analysis Center (ISAC)

Answer

Information Sharing and Analysis Center (ISAC)
Information Sharing and Analysis Centers (ISACs) are trusted, non-profit resources tailored to specific industry verticals (such as healthcare, financial services, or aviation) that allow peer entities to share critical cybersecurity intelligence.

Step-by-Step Solution

1
Analyze the organization's requirements
The requirement asks for a trusted, sector-specific network dedicated to sharing cyber threat intelligence among peer healthcare entities.
Identifying key constraints helps determine the correct source classification.
2
Evaluate intelligence source definitions
Information Sharing and Analysis Centers (ISACs) are non-profit communities built specifically for industry sector collaboration and information exchange.
ISACs exist to collect, analyze, and disseminate cyber threat information within critical infrastructure and specialized sectors.

Key Concept

Information Sharing and Analysis Centers (ISACs)
Question 34Question

An organization's finance department receives an email requesting an immediate change to a trusted vendor's direct deposit bank account details before a scheduled wire transfer. The email features legitimate company logos, uses appropriate financial terminology, and references recent specific purchase order numbers, but originates from a slightly altered external domain. Which of the following social engineering attacks is depicted in this scenario?

Show answer & explanation

Answer: Spear phishing

Answer

Spear phishing is the correct answer because the attack specifically targets finance department personnel with tailored, context-specific information like genuine purchase order details to perform financial theft.
Spear phishing describes a social engineering attack that targets specific organizations or individuals using custom-tailored details—such as accurate contract references and specific financial context—to increase credibility and the likelihood of success.

Step-by-Step Solution

1
Analyze the attack medium and target specificity
The message was delivered via email specifically to the finance department rather than a broad broadcast or SMS.
Identifying the medium (email) and target specificity (finance department) narrows the vector down to email-based social engineering.
2
Examine the level of customization in the attack message
The email incorporates realistic logos, proper terminology, and valid internal purchase order numbers.
High contextual customization tailored to a specific organization or vendor relationship is the defining attribute of spear phishing.
3
Differentiate from general phishing and other social engineering variants
General phishing is sent en masse without customized context, while watering hole, smishing, and pharming rely on different mechanisms or media.
Matching customized email targeting against specific attack definitions confirms spear phishing.

Key Concept

Spear phishing involves crafted, highly targeted messages leveraging stolen or researched context to deceive specific targets.
Question 35Question

During an incident response investigation on a compromised domain controller, a security team suspects the persistent presence of a rootkit alongside other malicious artifacts. Which of the following technical indicators of compromise (IoCs) specifically confirm the presence of a rootkit on the host? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Hooked system call table pointers diverting kernel API requests to mask running malicious process IDs; Direct Kernel Object Manipulation (DKOM) modifying active data structures to conceal open network sockets

Answer

The correct indicators confirming the presence of a rootkit are hooked system call table pointers diverting kernel API requests and Direct Kernel Object Manipulation (DKOM) modifying active data structures to conceal open network sockets.
Rootkits operate at deep operating system levels (often within kernel space) to maintain persistent, invisible control over a host. Intercepting API calls via system call table hooking and modifying kernel memory through Direct Kernel Object Manipulation (DKOM) allow the rootkit to bypass administrative detection tools and mask running processes and active sockets.

Step-by-Step Solution

1
Analyze the core operational mechanism of rootkit malware
Identify that rootkits aim to conceal malicious activity by operating at the kernel or system driver level
Rootkits modify lower-level operating system structures to stealthily hide processes, files, network connections, and privileges from administrative discovery tools.
2
Evaluate the technical telemetry presented in each indicator
System call hooking and Direct Kernel Object Manipulation (DKOM) directly match kernel-level evasion techniques utilized by rootkits
By intercepting system calls and modifying kernel memory structures directly, rootkits prevent native tools from displaying malicious artifacts.
3
Differentiate rootkit telemetry from worm propagation and perimeter defenses
Automated network SMB sweeps represent worm behavior, while firewall configurations are security controls rather than compromise indicators
Rootkits are defined by stealth and kernel manipulation rather than network self-replication mechanisms or defensive policy settings.

Key Concept

Kernel-Level Evasion and Rootkit Indicators of Compromise
Question 36Question

A Security Operations Center (SOC) analyst investigates alerts from a managed network switch. The syslog outputs reveal that a single switch port learned over 100,000 unique source MAC addresses in less than one minute. Subsequent packet analysis shows that unicast traffic intended for specific hosts on VLAN 10 is now being broadcast to all physical ports on the switch, allowing an unauthorized system to capture unencrypted data frames. Which of the following attack types is indicated by these log entries, and what primary operational state change causes the switch to exhibit this behavior?

Show answer & explanation

Answer: MAC flooding, where Content Addressable Memory (CAM) table exhaustion forces the switch into a fail-open state that broadcasts unicast frames across all ports.

Answer

MAC flooding (CAM table overflow) is occurring, which exhausts switch memory and forces it to enter a fail-open state where unicast frames are flooded across all physical switch ports.
The correct answer identifies MAC flooding (CAM table overflow). Managed switches maintain a Content Addressable Memory (CAM) table to map MAC addresses to physical ports. When an attacker floods a port with thousands of randomized source MAC addresses, the CAM table fills to capacity. To maintain connectivity, switches enter a 'fail-open' mode, broadcasting all incoming unicast traffic out of every port in that VLAN. This permits packet sniffers connected to any port on the switch to intercept traffic not intended for them.

Step-by-Step Solution

1
Analyze the log indicators
Identified rapid learning of over 100,000 source MAC addresses on a single port within one minute.
Switches have finite Content Addressable Memory (CAM) tables to store MAC-to-port mappings; an extreme influx of unique MAC addresses indicates deliberate memory saturation.
2
Assess the observed switch network behavior
Observed unicast traffic being broadcast to all physical switch ports.
When a switch's CAM table is fully saturated, it cannot record new addresses or lookup destination ports for incoming frames, forcing it to fall back to broadcasting (unicast flooding) like a network hub.
3
Map indicators to attack taxonomy
Determined that MAC flooding (CAM table overflow) accurately accounts for both the syslog anomaly and the fail-open packet broadcasting behavior.
Other attacks like ARP poisoning, MAC spoofing, or VLAN hopping alter routing or header tags but do not cause CAM table exhaustion leading to switch-wide fail-open unicast flooding.

Key Concept

Switch CAM Table Overflow / MAC Flooding Attack Indicators
Question 37Question

A corporate security operations center is investigating four distinct security incidents involving social engineering vectors across physical, web, domain, and email boundaries. Match each incident description on the left with its corresponding social engineering attack classification on the right.

Click a left item, then click its matching right item

Items

A threat actor gains physical access to a high-security server room by maintaining close distance behind an authorized technician entering through a restricted access control door.
A threat actor infects a third-party industry news repository heavily frequented by target defense contractors with zero-day exploit code.
A threat actor registers a domain that substitutes a Cyrillic character for a Latin character in an enterprise client portal URL to capture authentication tokens.
A threat actor impersonates the Chief Executive Officer via an urgent, out-of-band email instructing the financial controller to execute an immediate emergency wire transfer.

Matches

Show answer & explanation

Answer

The incident involving physical access through a restricted entry corresponds to Tailgating; the third-party news portal infection corresponds to a Watering Hole Attack; the domain registration using lookalike characters corresponds to Typosquatting (Homoglyph Attack); and the urgent executive wire transfer directive corresponds to Business Email Compromise (Executive Impersonation).
Each scenario maps directly to its specific social engineering attack vector: physical trailing without authorization is tailgating; compromising a trusted industry forum to infect visitors is a watering hole attack; registering visual lookalike domains with international characters is typosquatting via homoglyphs; and impersonating C-level executives to mandate wire transfers is Business Email Compromise.

Step-by-Step Solution

1
Analyze physical boundary security breach description
Identify that unauthenticated physical entry achieved by closely following authorized personnel is Tailgating.
Tailgating exploits social norms and physical proximity to bypass electronic entry controls.
2
Analyze web portal compromise incident description
Identify that compromising a specialized third-party site trusted and frequented by a target sector is a Watering Hole Attack.
Watering hole attacks leverage the target audience's routine browsing habits to execute drive-by downloads.
3
Analyze domain URL manipulation incident description
Identify that substituting visually indistinguishable foreign characters into a web address is a Homoglyph-based Typosquatting attack.
Typosquatting and homoglyphs exploit visual trickery in web addresses to deceive users during credential entry.
4
Analyze fraudulent financial email incident description
Identify that executive authority impersonation aimed at transferring corporate funds is Business Email Compromise (BEC).
BEC campaigns leverage organizational hierarchy and fake urgency to bypass standard approval checks.

Key Concept

Categorization of social engineering attack vectors across physical, web, domain, and email environments.
Estimated Time:2m 0s
Question 38Question

An application security auditor reviews network traffic logs and backend code snippets for a cloud-hosted Web API. The audit reveals two specific behaviors:

1. When a client submits a malformed query request, the server responds with an HTTP 500 Internal Server Error containing full stack traces, database schema details, and unhandled exception data.
2. The endpoint `/api/v1/account` accepts a user-supplied parameter `account_id` and retrieves requested profile records without checking whether the requesting user's token has permission to access that specific account.

Which of the following application vulnerabilities are directly illustrated by these findings? (Select TWO).

Select all that apply

Show answer & explanation

Answer: Improper error handling leading to sensitive information disclosure; Broken Object Level Authorization (BOLA) / Insecure Direct Object Reference (IDOR)

Answer

The application exhibits improper error handling (information disclosure via raw stack traces) and Broken Object Level Authorization / Insecure Direct Object Reference (accessing unauthorized records via parameter manipulation).
The correct selections describe the two distinct findings in the scenario: exposing raw stack traces and internal schema information when errors occur is improper error handling, while trusting user-supplied resource identifiers without enforcing permissions is Insecure Direct Object Reference (IDOR) / Broken Object Level Authorization (BOLA).

Step-by-Step Solution

1
Analyze Finding 1 (Server Error Behavior)
The server exposes internal database schemas and full application stack traces upon receiving invalid inputs.
This represents improper error handling, which discloses sensitive implementation details that aid attackers in reconnaissance.
2
Analyze Finding 2 (API Endpoint Behavior)
The application allows clients to supply arbitrary `account_id` values and fetches data without comparing the user's session rights against the target resource.
This is an Insecure Direct Object Reference (IDOR), also classified under OWASP as Broken Object Level Authorization (BOLA).
3
Evaluate Incorrect Distractors
Discard XSS and MFA options as they confuse client-side script injection and identity verification with internal trace exposure and access authorization checks.
Ensures precise categorization of vulnerability classes according to standard application security taxonomies.

Key Concept

Identifying application security vulnerabilities including information disclosure via improper error handling and authorization flaws like IDOR/BOLA.
Question 39Question

A security analyst reviews wireless intrusion prevention system (WIPS) alert logs following reports of intermittent connectivity issues at a corporate office. The log reveals that multiple wireless workstations simultaneously disconnected from the corporate SSID 'Enterprise-Secure' after receiving spoofed 802.11 Subtype 12 management frames. Immediately following the disconnection, the affected workstations attempted to re-authenticate against an unauthorized access point broadcasting the same SSID on an adjacent channel, but using a degraded WPA2-PSK security mechanism instead of 802.1X WPA3-Enterprise. Which TWO of the following wireless attack indicators and techniques are demonstrated in this scenario?

Select all that apply

Show answer & explanation

Answer: 802.11 deauthentication frame injection used to disrupt active client connections; An Evil Twin deployment combined with a wireless security protocol downgrade attack

Answer

The scenario demonstrates an 802.11 deauthentication frame injection attack and an Evil Twin access point deployment executing a wireless protocol downgrade.
The scenario highlights two distinct indicators: 802.11 Subtype 12 management frames (which define deauthentication messages used to disconnect clients) and an unauthorized access point broadcasting a matching SSID while offering a weaker security posture (which defines an Evil Twin executing a protocol downgrade attack).

Step-by-Step Solution

1
Analyze the log indicators regarding client disconnection
Unauthenticated 802.11 Subtype 12 management frames are identified as deauthentication frames that forcibly disconnect clients from the legitimate AP.
Deauthentication frames are transmitted in cleartext in standard 802.11 management frames, allowing attackers to spoof AP MAC addresses and sever client connections.
2
Analyze the log indicators regarding client re-association and security mechanisms
Clients attempt to connect to a rogue access point using the same SSID ('Enterprise-Secure') on a different channel with a degraded cipher (WPA2-PSK instead of 802.1X WPA3-Enterprise).
An unauthorized AP broadcasting a matching network name is an Evil Twin, and forcing clients to use weaker authentication is a downgrade attack.

Key Concept

Identifying wireless attack indicators, specifically 802.11 deauthentication frame injection, Evil Twin rogue access points, and security downgrade techniques.
Estimated Time:1m 30s
Question 40Question

A software security engineer is reviewing static code analysis findings for a legacy file rendering service. The report identifies two vulnerabilities: one where unvalidated user input is directly concatenated into a shell command string, allowing arbitrary system execution, and another where arithmetic calculations for buffer allocation fail to validate integer limits, leading to potential heap buffer overflows. Which of the following remediation techniques should the team implement to directly fix these code-level software vulnerabilities? (Select TWO).

Select all that apply

Show answer & explanation

Answer: Replace direct shell command execution calls with parameterized API functions and strict input allowlists.; Implement explicit integer bounds checking and range validation before dynamic memory allocation calls.

Answer

The team should replace direct shell execution calls with parameterized API functions (and strict allowlisting) to address command injection, and implement explicit integer bounds checking prior to dynamic memory allocation to prevent heap buffer overflows.
Replacing shell calls with parameterized execution prevents malicious input from breaking out of data context into executable commands. Additionally, checking integer upper limits before allocating dynamic memory prevents integer overflow wrap-arounds from yielding undersized buffers.

Step-by-Step Solution

1
Analyze the first vulnerability (OS Command Injection).
Identify that directly passing user input to system shell execution permits arbitrary command execution.
Eliminating shell invocation through safe parameterized interfaces or strict input validation remediates command injection.
2
Analyze the second vulnerability (Integer Overflow leading to Buffer Overflow).
Identify that unverified integer arithmetic can wrap around, causing undersized memory allocation.
Performing explicit bounds checks before memory allocation prevents integer overflow from triggering heap corruption.
3
Evaluate remediation options for appropriateness.
Select parameterized execution and explicit bounds checking as code-level fixes, while discarding network-level and authentication-focused controls.
Software vulnerabilities must be addressed with relevant code security controls rather than unrelated identity or network mechanisms.

Key Concept

Remediating Application Code Vulnerabilities (Command Injection & Memory Management Flaws)
Estimated Time:1m 30s
PreviousPage 2 / 25Next
Threats, Vulnerabilities, and Mitigations Practice Questions — CompTIA Security+ — Page 2 | Examkin