Question 220
On a flat LAN, hosts suddenly associate the default gateway's IP with an unfamiliar MAC address and send traffic through a rogue device. What attack is most directly indicated?
- TCP SYN flood
- ARP spoofing
- FTP cleartext credential exposure
- DNS tunneling
Explanation
Correct Answer
B:ARP spoofing poisons neighbor mappings so traffic is redirected to an attacker-controlled MAC. Switch logs, ARP captures and gateway identity are useful for confirmation.
Incorrect Answers
A:TCP SYN flood may exhaust TCP connection tracking with many incomplete handshake initiations, yet cannot establish how to explain an unauthorized gateway MAC association.
C:FTP cleartext credential exposure can transmit classic FTP control-channel credentials without transport encryption; this case requires investigators to explain an unauthorized gateway MAC association.
D:DNS tunneling embeds data or signaling in DNS requests and responses. It does not redirect LAN traffic by sending forged ARP mappings between neighboring hosts.
Question 221
A workstation issues authenticated SMB connections to many peer computers, followed by remote service creation events. Which activity pattern is being reconstructed?
- TCP SYN flood
- SMB lateral movement
- ARP spoofing
- FTP cleartext credential exposure
Explanation
Correct Answer
B:SMB-based lateral movement can use admin shares and remote execution mechanisms to operate on other hosts. Credentials and service events are needed to distinguish misuse from legitimate administration.
Incorrect Answers
A:For TCP SYN flood, the operation is to exhaust TCP connection tracking with many incomplete handshake initiations; what matters here is to characterize host-to-host SMB remote execution.
C:ARP spoofing helps inject false IPv4-to-MAC mappings within a local broadcast segment; it does not characterize host-to-host SMB remote execution.
D:FTP cleartext credential exposure may transmit classic FTP control-channel credentials without transport encryption, yet cannot establish how to characterize host-to-host SMB remote execution.
Question 222
A capture includes FTP USER and PASS commands visible in readable form before a data transfer. What security weakness is demonstrated?
- ARP spoofing
- TCP SYN flood
- DNS tunneling
- SMB lateral movement
- UDP amplification flood
- FTP cleartext credential exposure
Explanation
Correct Answer
F:Traditional unencrypted FTP transmits control commands, including login information, in plaintext. The packet capture can expose credentials but does not itself show who physically typed them.
Incorrect Answers
A:To explain readable FTP login fields in packets, ARP spoofing is insufficient: it can inject false IPv4-to-MAC mappings within a local broadcast segment.
B:TCP SYN flood is intended to exhaust TCP connection tracking with many incomplete handshake initiations; it will not explain readable FTP login fields in packets.
C:DNS tunneling can carry encoded application data inside DNS query and response exchanges; this misses the need to explain readable FTP login fields in packets.
D:For SMB lateral movement, the operation is to move between Windows hosts using file sharing and remote management paths; what matters here is to explain readable FTP login fields in packets.
E:UDP amplification flood describes how to multiply traffic through reflectors responding to spoofed-source UDP requests; it does not explain readable FTP login fields in packets.
Question 223
Web logs contain encoded apostrophes and UNION SELECT fragments in a request parameter followed by database errors. Which exploit class deserves immediate investigation?
- Server-side request forgery
- SQL injection
- OS command injection
- Path traversal
Explanation
Correct Answer
B:SQL injection abuses untrusted input interpreted as database query syntax. Examine the vulnerable query context, database logs and response behavior before concluding that data was actually extracted.
Incorrect Answers
A:Although Server-side request forgery can induce a server to request attacker-chosen URLs on its own network path, it does not identify query-structure manipulation in a web request.
C:OS command injection can cause an application to interpret user input as shell command syntax; the objective is to identify query-structure manipulation in a web request.
D:To identify query-structure manipulation in a web request, Path traversal is insufficient: it can reach unintended filesystem paths by manipulating relative directory components.
Question 224
A comment field stores a script-like payload that later runs in other users' browsers under the site's origin. Which vulnerability does this demonstrate?
- Path traversal
- Server-side request forgery
- Cross-site request forgery
- Cross-site scripting
Explanation
Correct Answer
D:Stored cross-site scripting occurs when unsafely rendered content executes in visitors' browser contexts. The investigator should examine the stored payload, output encoding and affected sessions.
Incorrect Answers
A:Path traversal can reach unintended filesystem paths by manipulating relative directory components; analysts instead need to classify a script payload triggered by viewing stored comments.
B:Server-side request forgery is suited to induce a server to request attacker-chosen URLs on its own network path, but not to classify a script payload triggered by viewing stored comments.
C:Using Cross-site request forgery may induce authenticated browser requests without the user's intended authorization; it cannot independently classify a script payload triggered by viewing stored comments.
Question 225
An HTTP request repeatedly uses ../ sequences in a filename parameter to read a configuration file outside the intended document directory. What attack technique is most consistent?
- Server-side request forgery
- Cross-site scripting
- OS command injection
- SQL injection
- Path traversal
Explanation
Correct Answer
E:Directory traversal manipulates path resolution to escape an allowed directory. Canonical path processing and access control determine exploitability; suspicious strings alone do not prove a successful read.
Incorrect Answers
A:Server-side request forgery may induce a server to request attacker-chosen URLs on its own network path; these events do not investigate a web request escaping the document root.
B:Cross-site scripting can execute attacker-supplied active content in a victim's browser origin; this case requires investigators to investigate a web request escaping the document root.
C:OS command injection can cause an application to interpret user input as shell command syntax; this will not investigate a web request escaping the document root.
D:SQL injection can influence backend SQL query semantics through unsafe parameter handling; analysts instead need to investigate a web request escaping the document root.
Question 226
Application access logs show a user parameter appended with shell separators and subsequent execution of an operating-system utility. Which exploit is indicated?
- OS command injection
- SQL injection
- Cross-site scripting
- Server-side request forgery
Explanation
Correct Answer
A:Command injection occurs when unsanitized input becomes part of an operating-system command. The examiner should correlate web requests with process creation and server-side command output.
Incorrect Answers
B:SQL injection helps influence backend SQL query semantics through unsafe parameter handling; it does not explain server-side utility execution following crafted input.
C:Cross-site scripting may execute attacker-supplied active content in a victim's browser origin, yet cannot establish how to explain server-side utility execution following crafted input.
D:Server-side request forgery may induce a server to request attacker-chosen URLs on its own network path; these events do not explain server-side utility execution following crafted input.
Question 227
A web application's URL-fetch feature requests a cloud instance metadata address after receiving an attacker-supplied URL. Which vulnerability is implicated?
- Cross-site request forgery
- Server-side request forgery
- SQL injection
- OS command injection
Explanation
Correct Answer
B:SSRF makes a trusted server issue requests to unintended internal or privileged destinations. Evidence includes application request parameters, outbound connections and the accessed internal endpoint.
Incorrect Answers
A:Cross-site request forgery is intended to induce authenticated browser requests without the user's intended authorization; it will not identify internal metadata access through a web fetch feature.
C:For SQL injection, the operation is to influence backend SQL query semantics through unsafe parameter handling; what matters here is to identify internal metadata access through a web fetch feature.
D:OS command injection describes how to cause an application to interpret user input as shell command syntax; it does not identify internal metadata access through a web fetch feature.
Question 228
A logged-in administrator is tricked into visiting a malicious page that causes the browser to submit an unauthorized settings change using existing session cookies. Which exploit is involved?
- Server-side request forgery
- Path traversal
- OS command injection
- Cross-site request forgery
- Cross-site scripting
- SQL injection
Explanation
Correct Answer
D:CSRF relies on a browser automatically attaching an authenticated session to an unintended cross-origin request. Anti-CSRF tokens and appropriate SameSite policies can help, but the investigator must confirm the request and user context.
Incorrect Answers
A:Server-side request forgery may induce a server to request attacker-chosen URLs on its own network path, but here we must classify a forged state-changing request using an existing session.
B:Path traversal can reach unintended filesystem paths by manipulating relative directory components; the objective is to classify a forged state-changing request using an existing session.
C:To classify a forged state-changing request using an existing session, OS command injection is insufficient: it can cause an application to interpret user input as shell command syntax.
E:Cross-site scripting can execute attacker-supplied active content in a victim's browser origin; this misses the need to classify a forged state-changing request using an existing session.
F:For SQL injection, the operation is to influence backend SQL query semantics through unsafe parameter handling; what matters here is to classify a forged state-changing request using an existing session.
Question 229
A file's creation time predates the operating system installation, while NTFS change records indicate a much later modification. Which concealment technique could explain the inconsistency?
- Timestamp manipulation
- Steganographic embedding
- Secure overwriting
- Encrypted evidence container
Explanation
Correct Answer
A:Timestomping deliberately changes file timestamps to distort an activity timeline. Cross-check independent journals and application records before asserting which timestamp was manipulated.
Incorrect Answers
B:Using Steganographic embedding may conceal a payload inside a benign-looking media carrier; it cannot independently explain contradictory file times suggesting deliberate alteration.
C:Although Secure overwriting can destroy recoverable remnants by overwriting accessible storage areas, it does not explain contradictory file times suggesting deliberate alteration.
D:Encrypted evidence container may hide the meaning of stored data behind cryptographic key material, but here we must explain contradictory file times suggesting deliberate alteration.
Question 230
A suspect used a utility to overwrite freed disk sectors repeatedly before an investigator acquired the drive. Which anti-forensic approach was attempted?
- Secure overwriting
- Encrypted evidence container
- Log deletion
- Timestamp manipulation
Explanation
Correct Answer
A:Data wiping seeks to replace residual bytes so deleted content cannot be recovered through ordinary carving. Modern SSD remapping and TRIM complicate simple claims about exactly which physical cells were overwritten.
Incorrect Answers
B:Encrypted evidence container can hide the meaning of stored data behind cryptographic key material; this will not classify purposeful destruction of deleted-data remnants.
C:Log deletion can erase locally retained event records to obstruct reconstruction; analysts instead need to classify purposeful destruction of deleted-data remnants.
D:Timestamp manipulation is suited to forge or modify timestamps to mislead chronological analysis, but not to classify purposeful destruction of deleted-data remnants.