Question 20
Similar malicious executables appear on unpatched machines in multiple subnets without evidence of employees opening attachments. Which endpoint compromise technique fits this case?
- Kernel rootkit
- Ransomware
- Self-propagating worm
- Keystroke logging
- Credential dumping
Explanation
Correct Answer
C:A worm can exploit reachable services to propagate automatically. Network segmentation and timely patches limit lateral spread.
Incorrect Answers
A:A kernel rootkit manipulates operating-system internals to hide activity and retain elevated control; that is relevant to stealth through kernel manipulation but does not directly account for automated service-based replication.
B:Ransomware deliberately denies access to data, commonly through encryption, to extort payment when the underlying evidence concerns extortion through encrypted files rather than the stated automated service-based replication.
D:A keylogger captures user input at the host; this characterizes recording local keyboard input, whereas the reported condition is automated service-based replication.
E:Credential dumping extracts passwords, hashes, or tokens from accessible stores or process memory; the operational difference is theft of stored or in-memory credentials versus the scenario's automated service-based replication.
Question 21
A request parameter changes a database query's meaning, and unexpected rows appear when untrusted text is concatenated into SQL. Which application attack technique is most consistent with the evidence?
- Cross-site request forgery
- SQL injection
- Server-side request forgery
- Directory traversal
Explanation
Correct Answer
B:SQL injection exploits an application's failure to separate user data from query structure. Parameterized queries prevent data being interpreted as SQL commands.
Incorrect Answers
A:CSRF abuses an existing authenticated browser session to send state-changing requests in a setting defined by unauthorized use of an existing browser session; the observed issue is user input altering database commands.
C:SSRF tricks a server into making requests on behalf of an attacker, potentially reaching internal endpoints; this characterizes server fetching an internal URL, whereas the reported condition is user input altering database commands.
D:Path traversal escapes an application's allowed file path through inadequate path normalization or validation for the specific concern of file path escaping an allowed directory, not the requirement involving user input altering database commands.
Question 22
A stored user comment causes visitors' browsers to execute attacker-controlled JavaScript in the application's origin. Which application attack technique is most consistent with the evidence?
- Server-side request forgery
- Cross-site request forgery
- Cross-site scripting
- Directory traversal
Explanation
Correct Answer
C:Cross-site scripting places untrusted script into content a browser treats as executable. Context-aware output encoding and safe rendering reduce risk.
Incorrect Answers
A:SSRF tricks a server into making requests on behalf of an attacker, potentially reaching internal endpoints for situations characterized by server fetching an internal URL; the case points instead to script executing in visitors' browsers.
B:CSRF abuses an existing authenticated browser session to send state-changing requests for situations characterized by unauthorized use of an existing browser session; the case points instead to script executing in visitors' browsers.
D:Path traversal escapes an application's allowed file path through inadequate path normalization or validation; that is relevant to file path escaping an allowed directory but does not directly account for script executing in visitors' browsers.
Question 23
An authenticated employee's browser submits an unintended account-change request triggered by visiting an unrelated site. Which application attack technique is most consistent with the evidence?
- SQL injection
- Cross-site request forgery
- Directory traversal
- Server-side request forgery
Explanation
Correct Answer
B:CSRF abuses an existing authenticated browser session to send state-changing requests. Anti-CSRF tokens and appropriate same-site controls are defenses.
Incorrect Answers
A:SQL injection exploits an application's failure to separate user data from query structure; it handles user input altering database commands, while the decisive evidence in the question is unauthorized use of an existing browser session.
C:Path traversal escapes an application's allowed file path through inadequate path normalization or validation; that is relevant to file path escaping an allowed directory but does not directly account for unauthorized use of an existing browser session.
D:SSRF tricks a server into making requests on behalf of an attacker, potentially reaching internal endpoints for the specific concern of server fetching an internal URL, not the requirement involving unauthorized use of an existing browser session.
Question 24
A URL-preview endpoint fetches a cloud instance metadata address when supplied as a user-controlled URL. Which application attack technique is most consistent with the evidence?
- Cross-site request forgery
- Directory traversal
- Cross-site scripting
- Server-side request forgery
Explanation
Correct Answer
D:SSRF tricks a server into making requests on behalf of an attacker, potentially reaching internal endpoints. Egress policy and URL validation help.
Incorrect Answers
A:CSRF abuses an existing authenticated browser session to send state-changing requests; this characterizes unauthorized use of an existing browser session, whereas the reported condition is server fetching an internal URL.
B:Path traversal escapes an application's allowed file path through inadequate path normalization or validation; that is relevant to file path escaping an allowed directory but does not directly account for server fetching an internal URL.
C:Cross-site scripting places untrusted script into content a browser treats as executable; it handles script executing in visitors' browsers, while the decisive evidence in the question is server fetching an internal URL.
Question 25
A download handler returns a sensitive file outside its intended folder after a request supplies parent-directory path components. Which application attack technique is most consistent with the evidence?
- Server-side request forgery
- Cross-site scripting
- SQL injection
- Directory traversal
- Cross-site request forgery
Explanation
Correct Answer
D:Path traversal escapes an application's allowed file path through inadequate path normalization or validation. Constraining resolved paths prevents escape.
Incorrect Answers
A:SSRF tricks a server into making requests on behalf of an attacker, potentially reaching internal endpoints; the operational difference is server fetching an internal URL versus the scenario's file path escaping an allowed directory.
B:Cross-site scripting places untrusted script into content a browser treats as executable; it handles script executing in visitors' browsers, while the decisive evidence in the question is file path escaping an allowed directory.
C:SQL injection exploits an application's failure to separate user data from query structure; this characterizes user input altering database commands, whereas the reported condition is file path escaping an allowed directory.
E:CSRF abuses an existing authenticated browser session to send state-changing requests when analysts encounter unauthorized use of an existing browser session; this question instead describes file path escaping an allowed directory.
Question 26
A message tailored to the payroll director references a real project and sends the director to a counterfeit sign-in page. Which social-engineering method is represented by the event?
- Business email compromise
- SMS phishing
- Voice phishing
- Spear phishing
Explanation
Correct Answer
D:Spear phishing targets a particular person or role using credible contextual details to increase success. Sender verification and phishing-resistant authentication help.
Incorrect Answers
A:Business email compromise exploits account control or impersonation to redirect payments or sensitive information when the underlying evidence concerns fraudulent payment redirection rather than the stated targeted deceptive email.
B:Smishing delivers a phishing lure over SMS rather than email for situations characterized by malicious link in a text message; the case points instead to targeted deceptive email.
C:Vishing uses a voice conversation to manipulate victims into disclosure or action; the operational difference is telephone-based credential solicitation versus the scenario's targeted deceptive email.
Question 27
A finance employee receives an apparent executive instruction to change a supplier's bank details, with no malware attachment. Which social-engineering method is represented by the event?
- Voice phishing
- Pretexting
- Spear phishing
- Business email compromise
Explanation
Correct Answer
D:Business email compromise exploits account control or impersonation to redirect payments or sensitive information. Out-of-band approval checks matter.
Incorrect Answers
A:Vishing uses a voice conversation to manipulate victims into disclosure or action when the underlying evidence concerns telephone-based credential solicitation rather than the stated fraudulent payment redirection.
B:Pretexting creates a believable role or scenario to obtain information or access; its distinguishing scope is fabricated authority story, not the reported fraudulent payment redirection.
C:Spear phishing targets a particular person or role using credible contextual details to increase success for the specific concern of targeted deceptive email, not the requirement involving fraudulent payment redirection.
Question 28
A caller posing as help-desk staff persuades a user to reveal a one-time code over the phone. Which social-engineering method is represented by the event?
- Spear phishing
- Voice phishing
- Pretexting
- SMS phishing
Explanation
Correct Answer
B:Vishing uses a voice conversation to manipulate victims into disclosure or action. Support staff should not solicit authentication codes.
Incorrect Answers
A:Spear phishing targets a particular person or role using credible contextual details to increase success; the operational difference is targeted deceptive email versus the scenario's telephone-based credential solicitation.
C:Pretexting creates a believable role or scenario to obtain information or access; this characterizes fabricated authority story, whereas the reported condition is telephone-based credential solicitation.
D:Smishing delivers a phishing lure over SMS rather than email for the specific concern of malicious link in a text message, not the requirement involving telephone-based credential solicitation.
Question 29
A mobile phone receives a delivery-themed text with a short URL that leads to a false identity portal. In a separate workstream, the team must also handle targeted deceptive email. Which TWO of the listed methods or controls correspond to these distinct requirements? Choose TWO.
- Voice phishing
- Spear phishing
- Pretexting
- SMS phishing
Explanation
Correct Answers
B:Spear phishing targets a particular person or role using credible contextual details to increase success; this specifically explains targeted deceptive email among the independent requirements in the combined case.
D:Smishing delivers a phishing lure over SMS rather than email; for this multi-part scenario, the pertinent observation is malicious link in a text message.
Incorrect Answers
A:Vishing uses a voice conversation to manipulate victims into disclosure or action for the specific concern of telephone-based credential solicitation, not the requirement involving malicious link in a text message and targeted deceptive email.
C:Pretexting creates a believable role or scenario to obtain information or access when the underlying evidence concerns fabricated authority story rather than the stated malicious link in a text message and targeted deceptive email.
Question 30
An intruder invents a detailed facilities-inspection story to persuade reception to disclose a server-room access procedure. Which social-engineering method is represented by the event?
- SMS phishing
- Spear phishing
- Business email compromise
- Pretexting
- Voice phishing
Explanation
Correct Answer
D:Pretexting creates a believable role or scenario to obtain information or access. Identity and authorization checks matter more than the story's detail.
Incorrect Answers
A:Smishing delivers a phishing lure over SMS rather than email; the operational difference is malicious link in a text message versus the scenario's fabricated authority story.
B:Spear phishing targets a particular person or role using credible contextual details to increase success when analysts encounter targeted deceptive email; this question instead describes fabricated authority story.
C:Business email compromise exploits account control or impersonation to redirect payments or sensitive information in a setting defined by fraudulent payment redirection; the observed issue is fabricated authority story.
E:Vishing uses a voice conversation to manipulate victims into disclosure or action; its distinguishing scope is telephone-based credential solicitation, not the reported fabricated authority story.