Curated

Threats, Vulnerabilities, and Mitigations 3 (2.4)

0 votes

Questions49

  1. Question 1

    Threats, Vulnerabilities, and Mitigations

    A new malware outbreak is suspected to be a worm. Which observations support that conclusion? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersA. Exploitation of an unpatched network service on each victimB. Network bandwidth saturated by replication trafficE. Identical executables appearing on many hosts within minutesF. Outbound scanning of neighbouring hosts for open ports

    AWhy this is right: Worms commonly spread by exploiting unpatched vulnerabilities in network services.

    BWhy this is right: Constant replication and scanning generate traffic that can saturate links.

    CWhy not this: Dormancy until a set date describes a logic bomb, not a worm's spreading behavior.

    DWhy not this: Needing a user to open a file on every host points to a virus or trojan; a worm spreads without user action.

    EWhy this is right: Self-replication produces the same malicious file on many systems in a short time.

    FWhy this is right: Worms scan for reachable hosts with vulnerable services in order to spread.

    Worms replicate on their own across networks by scanning for and exploiting vulnerable hosts, producing identical copies and heavy traffic. A date-triggered dormant payload is a logic bomb trait, not a worm indicator.

    Open this question
  2. Question 2

    Threats, Vulnerabilities, and Mitigations

    All files on a file server are encrypted, and a note demands cryptocurrency payment for a decryption key. What type of malware is responsible?

    Show the answer

    Correct answerD. Ransomware

    AWhy not this: A logic bomb runs its payload when a condition is met; the payload here is not defined by that trigger.

    BWhy not this: Spyware secretly monitors and collects user data; it does not encrypt files or demand payment.

    CWhy not this: A rootkit hides malware and maintains privileged access; it does not hold data for ransom.

    DWhy this is right: Ransomware encrypts victim data and demands payment, usually cryptocurrency, for the decryption key.

    Ransomware encrypts or locks data and demands payment for access. Spyware only gathers information covertly and does not lock files or demand payment.

    Open this question
  3. Question 3

    Threats, Vulnerabilities, and Mitigations

    Malware exploited a flaw in a network service and copied itself to every reachable host. What type of malware is it?

    Show the answer

    Correct answerB. Worm

    AWhy not this: A keylogger records keystrokes and has no mechanism to copy itself across a network.

    BWhy this is right: A worm replicates itself across a network by exploiting vulnerabilities, without needing a host file.

    CWhy not this: A Trojan relies on deception to get installed and does not copy itself to other hosts.

    DWhy not this: A virus attaches to host files and usually needs a user to run the infected file to spread.

    A worm is standalone malware that spreads itself across networks, typically by exploiting vulnerabilities. A virus needs a host file and a user action to spread.

    Open this question
  4. Question 4

    Threats, Vulnerabilities, and Mitigations

    What does an attacker do in an RFID cloning attack?

    Show the answer

    Correct answerD. Copy a badge's stored credential data onto a blank tag

    AWhy not this: This describes tailgating, which bypasses the reader instead of duplicating a badge.

    BWhy not this: This describes brute force, which guesses values instead of copying a real credential.

    CWhy not this: This describes an environmental attack on equipment, not a copy of credential data.

    DWhy this is right: Cloning duplicates the data on a valid tag so the copy is accepted by the reader.

    RFID cloning reads the data stored on a legitimate tag and writes it to another tag, which the reader then accepts as genuine. Guessing codes is brute force, a different attack that never copies an existing credential.

    Open this question
  5. Question 5

    Threats, Vulnerabilities, and Mitigations

    After hours, a server room's HVAC setpoint was changed remotely and the temperature is climbing toward shutdown thresholds. No doors or badge readers were touched. What type of attack is this?

    Show the answer

    Correct answerC. Environmental attack

    AWhy not this: Supply chain compromise taints products or vendors before delivery, not live cooling settings.

    BWhy not this: RFID cloning copies badge data, and no badge or reader was involved.

    CWhy this is right: Tampering with HVAC to overheat equipment attacks the physical environment, harming availability.

    DWhy not this: Brute force means forcing or guessing access, but no access control was attacked here.

    Manipulating cooling to push equipment toward failure is an environmental attack on the facility's physical conditions, targeting availability. Brute force would involve forcing or guessing access, which did not occur here.

    Open this question
  6. Question 6

    Threats, Vulnerabilities, and Mitigations

    A server room door uses a four-digit keypad. Logs show hundreds of failed entries overnight, followed by one success. Which actions best reduce this risk? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Alert security when repeated failed entries occurC. Lock the keypad temporarily after a few failed attemptsD. Require a badge in addition to the PIN

    AWhy not this: Shielding stops covert badge reads, but the attack here is PIN guessing at the keypad.

    BWhy this is right: Alerting on repeated failures lets staff respond before the guessing succeeds.

    CWhy this is right: Lockout caps how many guesses an attacker can make, which defeats exhaustive PIN guessing.

    DWhy this is right: A badge adds a factor the attacker cannot guess, so the PIN alone no longer grants entry.

    EWhy not this: A new PIN every 90 days is still one of 10,000 codes, so overnight guessing can find it just as fast.

    The attacker is guessing PINs, so limit attempts, add a second factor that guessing cannot supply, and detect the guessing as it happens. Shielded sleeves stop badge skimming, which is a different attack and does nothing against PIN guessing.

    Open this question
  7. Question 7

    Threats, Vulnerabilities, and Mitigations

    A web form field accepts 20 characters, but an attacker submits thousands and the application crashes with a memory error. Which attack is this?

    Show the answer

    Correct answerD. Buffer overflow

    AWhy not this: Replay resends previously captured valid traffic; nothing is being resent here.

    BWhy not this: Directory traversal uses path sequences to reach files outside the intended folder, not oversized input.

    CWhy not this: Privilege escalation raises access rights; a crash from oversized input is not that.

    DWhy this is right: Input far larger than the allocated buffer overwrites adjacent memory and causes a crash.

    Sending more data than a memory buffer can hold overwrites adjacent memory and can crash the program, which is a buffer overflow. Privilege escalation is about gaining higher rights, not about overrunning input memory.

    Open this question
  8. Question 8

    Threats, Vulnerabilities, and Mitigations

    The same signed payment request, unmodified, reaches the server twice, minutes apart, and both are processed. Which control best prevents the second from being accepted?

    Show the answer

    Correct answerA. Single-use nonces

    AWhy this is right: A nonce makes each message unique, so the server rejects any message it has already seen.

    BWhy not this: Canonicalization blocks directory traversal in file paths and has no effect on repeated messages.

    CWhy not this: Parameterized queries separate code from data to stop injection; they do not detect repeated requests.

    DWhy not this: Stack canaries detect stack buffer overflows, which are not involved when a valid request is resent.

    The signature is valid both times, so the fix is making each message usable once. A single-use nonce, often with a timestamp, lets the server reject a repeated request. Parameterized queries only stop SQL injection.

    Open this question
  9. Question 9

    Threats, Vulnerabilities, and Mitigations

    An attacker captures a valid session token on the network and resubmits it later to access the account. Which attack is this?

    Show the answer

    Correct answerB. Replay

    AWhy not this: Forgery means making the server accept a crafted request, not resending a real captured token.

    BWhy this is right: The attacker reuses genuine captured data without altering it, which defines a replay attack.

    CWhy not this: Directory traversal reaches files outside the web root through path manipulation.

    DWhy not this: Privilege escalation raises rights on an account the attacker already has access to.

    Retransmitting previously captured valid data to gain access is a replay attack. Forgery involves crafting a fake request or credential, not reusing a genuine captured one.

    Open this question
  10. Question 10

    Threats, Vulnerabilities, and Mitigations

    Attackers set up an access point copying the company's SSID in a café so nearby staff connect to it. What is this attack?

    Show the answer

    Correct answerA. Evil twin

    AWhy this is right: A copycat access point luring users with a legitimate SSID is an evil twin.

    BWhy not this: DNS poisoning forges name records; it does not involve a fake wireless network.

    CWhy not this: Credential replay reuses captured credentials; it is not a fake access point.

    DWhy not this: A deauthentication flood forces clients off a network; it does not impersonate the SSID.

    An evil twin is a rogue access point that imitates a legitimate network's SSID to lure clients into connecting, letting the attacker capture traffic and credentials. A deauthentication flood only disconnects clients.

    Open this question
  11. Question 11

    Threats, Vulnerabilities, and Mitigations

    A resolver's cache holds a forged record, so users typing a bank's URL reach an attacker's site. What is this attack?

    Show the answer

    Correct answerD. DNS poisoning

    AWhy not this: Credential replay resubmits captured authentication data; it does not alter name resolution.

    BWhy not this: Amplified DDoS floods a target with oversized replies; it does not redirect users.

    CWhy not this: On-path attacks intercept traffic in transit; here the cached resolver data itself is forged.

    DWhy this is right: A forged cached record that redirects a legitimate name to a malicious address is DNS poisoning.

    DNS poisoning inserts false records into a resolver's cache so that legitimate names resolve to attacker-controlled addresses. An on-path attack intercepts live traffic and does not depend on corrupting cached DNS data.

    Open this question
  12. Question 12

    Threats, Vulnerabilities, and Mitigations

    A company's firewall shows a flood of large DNS responses arriving from thousands of public resolvers, answering queries that none of the company's hosts sent. What does this indicate?

    Show the answer

    Correct answerB. A reflected DDoS attack

    AWhy not this: Cache poisoning plants false records in a resolver; it does not flood a host with responses.

    BWhy this is right: Many servers answering queries the victim never sent shows spoofed requests reflected onto the victim.

    CWhy not this: Domain hijacking takes over a domain's registration; it does not send floods of replies.

    DWhy not this: Beaconing is small, regular outbound traffic from an infected host, not a flood of inbound replies.

    Unrequested replies from many legitimate servers mean someone sent queries with the company's address as the source, so the servers' replies converge on it: a reflected DDoS. DNS cache poisoning corrupts a resolver's records rather than flooding a host with replies.

    Open this question
  13. Question 13

    Threats, Vulnerabilities, and Mitigations

    Small DNS queries sent to open resolvers produce responses many times larger, all directed at one victim. What is this attack?

    Show the answer

    Correct answerB. Amplified DDoS

    AWhy not this: Poisoning plants forged records in a resolver cache to redirect users; it does not multiply traffic.

    BWhy this is right: Small requests that trigger much larger responses toward the victim are the signature of amplification.

    CWhy not this: Credential replay reuses captured authentication data; it is not a traffic flood.

    DWhy not this: On-path attacks intercept or alter traffic between two parties; they do not generate floods.

    An amplified DDoS uses a service that answers a small request with a much larger response, multiplying the attacker's bandwidth against the victim. DNS poisoning corrupts resolver data to redirect users and does not flood a target.

    Open this question
  14. Question 14

    Threats, Vulnerabilities, and Mitigations

    Which log pattern most strongly indicates a brute force attack?

    Show the answer

    Correct answerC. Thousands of failed logins on one account

    AWhy not this: A successful login from a new location suggests compromised credentials or impossible travel.

    BWhy not this: Spreading single failures across many accounts is the signature of password spraying.

    CWhy this is right: A rapid burst of failures on one account shows systematic guessing of its password.

    DWhy not this: One off-hours login is only an anomaly and shows no repeated guessing.

    Brute force repeatedly guesses against a target account, producing a burst of failed logins on it. One failure per account across many accounts is spraying instead.

    Open this question
  15. Question 15

    Threats, Vulnerabilities, and Mitigations

    Logs show one failed login each for 400 different accounts from one IP address over two hours, all using the password "Spring2024!". No account was locked out. Which attack is this?

    Show the answer

    Correct answerA. Password spraying

    AWhy this is right: One password tried across many accounts, staying under each account's lockout threshold, is spraying.

    BWhy not this: A rainbow table attack reverses stolen password hashes offline and leaves no failed logins in logs.

    CWhy not this: Credential stuffing replays username and password pairs from past breaches, not one shared guess.

    DWhy not this: Brute force would show many guesses against one account, not one failure on each of many accounts.

    Password spraying tries one common password against many accounts, so each account sees too few failures to trigger lockout. Brute force is tempting but would produce many guesses against a single account.

    Open this question
  16. Question 16

    Threats, Vulnerabilities, and Mitigations

    Which change most increases the time a brute force attack needs to guess a password?

    Show the answer

    Correct answerD. Doubling the password length

    AWhy not this: Rotation does not enlarge the keyspace; a short password is still quick to exhaust.

    BWhy not this: Unique passwords per site limit credential reuse, not the time to guess one password.

    CWhy not this: Hiding a field does not change how many password combinations must be tried.

    DWhy this is right: More characters multiply the keyspace, so exhausting every combination takes far longer.

    Each added character multiplies the number of combinations, enlarging the keyspace an attack must search. Frequent rotation is tempting but does not make any single guessing run harder.

    Open this question
  17. Question 17

    Threats, Vulnerabilities, and Mitigations

    A researcher shows that two different documents produce the identical MD5 digest. What has the researcher demonstrated?

    Show the answer

    Correct answerD. A hash collision

    AWhy not this: A downgrade forces a weaker protocol version and has nothing to do with matching digests.

    BWhy not this: Key stretching slows password hashing to resist guessing and does not describe matching digests.

    CWhy not this: Rainbow tables map precomputed hashes back to passwords; they do not pair two inputs with one digest.

    DWhy this is right: Two distinct inputs yielding one digest is the definition of a hash collision.

    A collision occurs when two different inputs produce the same hash value, which undermines the hash's integrity guarantee. A rainbow table is a precomputed lookup of hashes for recovering passwords, not a method of finding matching digests for two inputs.

    Open this question
  18. Question 18

    Threats, Vulnerabilities, and Mitigations

    Logs show clients that support TLS 1.2 repeatedly negotiating TLS 1.0 after their handshakes were tampered with. Which action best mitigates this?

    Show the answer

    Correct answerC. Disable legacy protocol versions on the server

    AWhy not this: Account lockout limits password guessing and has no effect on protocol version negotiation.

    BWhy not this: Fresh certificates do not stop the negotiation from falling back to a weak protocol version.

    CWhy this is right: If the server refuses old versions, a tampered handshake cannot force a fallback to a weak protocol.

    DWhy not this: Port 80 carries plain HTTP and does not control which TLS or SSL version is negotiated.

    A downgrade attack forces both sides to negotiate an older, weaker protocol. Removing support for legacy versions on the server leaves nothing weak to fall back to. Rotating certificates does not stop the fallback, because the weakness lies in the protocol version, not the certificate.

    Open this question
  19. Question 19

    Threats, Vulnerabilities, and Mitigations

    An attacker prepares many variants of a benign and a malicious contract, seeking any pair with the same digest; success is expected after about 2^(n/2) tries for an n-bit hash. Which change best raises the cost of this attack?

    Show the answer

    Correct answerB. Switch to a hash function with a longer digest

    AWhy not this: Salting protects stored passwords and does not affect matching digests of two contracts.

    BWhy this is right: A longer digest raises the 2^(n/2) work needed to find any matching pair.

    CWhy not this: Encrypting the contract hides its content but leaves the matching-digest search unchanged.

    DWhy not this: The attack finds matching digests, so changing the signing key does not make a match any harder.

    This is a birthday attack, whose effort is about 2^(n/2), so doubling the digest length squares the work needed. Rotating the signing key does not help, because the attacker needs matching digests, not the key.

    Open this question
  20. Question 20

    Threats, Vulnerabilities, and Mitigations

    An attacker hashes many random messages, hoping any two will yield the same digest sooner than brute force predicts. Which attack is this?

    Show the answer

    Correct answerB. Birthday attack

    AWhy not this: A replay attack resends captured valid messages and does not search for matching digests.

    BWhy this is right: Finding any matching pair among many hashes exploits the birthday paradox, so far fewer tries are needed.

    CWhy not this: A downgrade attack forces weaker protocol versions and does not search for matching digests.

    DWhy not this: A dictionary attack tests likely passwords against a known hash, not for any two matching messages.

    A birthday attack uses probability: matching any two values among many needs far fewer attempts than matching one specific value. A dictionary attack tries likely passwords against a target hash and does not look for two matching inputs.

    Open this question
  21. Question 21

    Threats, Vulnerabilities, and Mitigations

    Which of the following indicate concurrent session usage on one account that the user does not expect? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Overlapping logins on one account from two unrelated networksD. Two live sessions on one account from different IP addressesE. One account signed in on several devices at the same moment

    AWhy this is right: Overlapping logins from unrelated networks show simultaneous use, suggesting the credentials may be shared or stolen.

    BWhy not this: An odd hour on the usual network is out-of-cycle logging; there is only one session, so nothing is concurrent.

    CWhy not this: A lockout results from failed attempts crossing a threshold; it does not show multiple simultaneous sessions.

    DWhy this is right: Two active sessions at once from different IP addresses is the classic sign of concurrent session usage.

    EWhy this is right: One account active on several devices at once is multiple concurrent sessions, which may be unexpected.

    Concurrent session usage means one account holds multiple active sessions at once, often from different devices or networks, which can mean shared or stolen credentials. A lockout after failed attempts is a different indicator and involves no simultaneous sessions.

    Open this question
  22. Question 22

    Threats, Vulnerabilities, and Mitigations

    A web proxy repeatedly blocks requests to a known malicious domain from one workstation, at exact five-minute intervals, while its user is away from the desk. What should the analyst conclude?

    Show the answer

    Correct answerC. Malware on the host is likely trying to reach its server

    AWhy not this: Regular timing while the user is absent rules out deliberate browsing; a person would not request on a fixed timer.

    BWhy not this: The proxy is logging and blocking normally; nothing indicates it is short of resources or unavailable.

    CWhy this is right: Fixed-interval requests to a malicious domain with nobody at the desk point to malware beaconing to its server.

    DWhy not this: The blocked requests appear in the logs; nothing in the scenario shows gaps or deleted entries.

    Blocked requests to a malicious domain at fixed intervals with no user present indicate automated beaconing from malware, so the host needs investigation even though the proxy blocked it. Deliberate browsing would not repeat on a timer while the user is away.

    Open this question
  23. Question 23

    Threats, Vulnerabilities, and Mitigations

    A security analyst sees 40 user accounts locked out within ten minutes, all after repeated failed sign-ins from one external IP address. Which conclusion is BEST supported?

    Show the answer

    Correct answerD. An automated password-guessing attempt is under way

    AWhy not this: The logs recorded the failed attempts, so nothing suggests they were erased; missing logs would show gaps instead.

    BWhy not this: Describes impossible travel, which involves successful logins from distant places, not failed attempts that trigger lockouts.

    CWhy not this: Lockouts come from failed authentication counts, not from server resource shortage, which would cause slowness or outages.

    DWhy this is right: Mass lockouts from failed sign-ins at one source match automated guessing hitting the lockout threshold across many accounts.

    A burst of lockouts across many accounts from one source shows automated guesses repeatedly exceeding the lockout threshold. Impossible travel needs successful sign-ins from distant locations, which are not described here.

    Open this question
  24. Question 24

    Threats, Vulnerabilities, and Mitigations

    A new laptop arrives with many unneeded vendor-installed applications that use up storage and memory. What are these applications called?

    Show the answer

    Correct answerA. Bloatware

    AWhy this is right: Bloatware is unneeded preinstalled software that wastes storage and memory.

    BWhy not this: A trojan masquerades as legitimate software to deliver malicious code; the vendor apps here are merely unwanted.

    CWhy not this: Spyware secretly monitors the user; the stem describes resource use, not covert data collection.

    DWhy not this: A worm self-replicates across networks; preinstalled applications do not spread themselves.

    Bloatware is unwanted software preinstalled on a device that consumes resources and adds attack surface. A trojan is wrong because it disguises malicious code as legitimate software, which is not described here.

    Open this question
  25. Question 25

    Threats, Vulnerabilities, and Mitigations

    A user's laptop sends browsing history, periodic screenshots and clipboard contents to an unknown external server. Nothing is encrypted and nothing spreads to other hosts. What is the most likely malware?

    Show the answer

    Correct answerD. Spyware

    AWhy not this: A keylogger records keystrokes only, so it does not account for screenshots or browsing history.

    BWhy not this: A logic bomb runs a payload when a condition is met; it is not a monitoring and exfiltration tool.

    CWhy not this: A rootkit conceals malware with deep privileges; hiding is its job, not collecting this activity data.

    DWhy this is right: Spyware secretly monitors varied user activity and sends the data to an outside party, as described here.

    Spyware covertly gathers a range of user activity, such as browsing, screenshots and clipboard data, and sends it to a third party. A keylogger is tempting, but it records only keystrokes and would not capture screenshots or browsing history.

    Open this question
  26. Question 26

    Threats, Vulnerabilities, and Mitigations

    A document's embedded macro copies itself into other documents each time the file is opened. What type of malware is this?

    Show the answer

    Correct answerC. Virus

    AWhy not this: A logic bomb waits for a trigger condition and does not replicate into other documents.

    BWhy not this: A worm self-propagates across networks without a host file or user action.

    CWhy this is right: A virus replicates by inserting itself into other files, here through a macro that runs on opening.

    DWhy not this: A keylogger records keystrokes; it does not copy itself into documents.

    Malware that copies itself into other files when the infected file is opened is a virus; with macros it is a macro virus. A worm is wrong because it spreads independently across networks rather than infecting files through user action.

    Open this question
  27. Question 27

    Threats, Vulnerabilities, and Mitigations

    Antivirus finds the same malicious code appended to several legitimate executables on a workstation. It reached a second PC only when a user ran one of those files from a USB drive. Which type of malware is this?

    Show the answer

    Correct answerB. Virus

    AWhy not this: A worm spreads by itself over a network; here a user had to run the file for it to move.

    BWhy this is right: A virus attaches to legitimate host files and spreads when users run or share them.

    CWhy not this: A trojan is a separate program disguised as useful software; it does not infect existing executables.

    DWhy not this: A rootkit hides malware and maintains privileged access; it does not attach to files to replicate.

    A virus inserts its code into legitimate host files and spreads when users run or share those files. A worm is tempting, but it would spread on its own across the network without needing a user to run an infected file.

    Open this question
  28. Question 28

    Threats, Vulnerabilities, and Mitigations

    A user signs in from Chicago, and 20 minutes later the same account signs in from Singapore. Which indicator does this show?

    Show the answer

    Correct answerC. Impossible travel

    AWhy not this: Lockout results from repeated failed sign-ins; the scenario shows two successful logins in different places.

    BWhy not this: Out-of-cycle logging concerns log entries at unusual times, not the distance between login locations.

    CWhy this is right: Two logins from distant places within minutes cannot both be the real user, which defines impossible travel.

    DWhy not this: Resource inaccessibility is a service or file that cannot be reached, not a pair of distant logins.

    Impossible travel is two sign-ins from locations too far apart for the user to have covered in the time between them, suggesting stolen credentials. Account lockout needs repeated failed attempts, and none are described here.

    Open this question
  29. Question 29

    Threats, Vulnerabilities, and Mitigations

    A file server suddenly runs at 100% CPU and its disk is nearly full, with no planned workload. What is this an indicator of?

    Show the answer

    Correct answerD. Abnormal resource consumption

    AWhy not this: Impossible travel involves logins from distant locations in a short time, which is not shown.

    BWhy not this: Concurrent session usage is one account logged in several times at once; no sessions are mentioned.

    CWhy not this: Blocked content is a filter or proxy denying access to a resource, not high hardware utilization.

    DWhy this is right: Unexplained CPU and disk usage with no workload is a classic resource consumption indicator of malicious activity.

    Unexplained spikes in CPU, memory, disk or bandwidth are resource consumption indicators and can point to malware such as a cryptominer or a data staging process. Blocked content refers to filters denying requests, which is not described.

    Open this question
  30. Question 30

    Threats, Vulnerabilities, and Mitigations

    A link in an email makes a logged-in user's browser silently submit a transfer to their bank. Which attack is this?

    Show the answer

    Correct answerC. Cross-site request forgery

    AWhy not this: Replay resends previously captured data. This request is newly created by the victim's browser.

    BWhy not this: Directory traversal reads files outside the web root. No file path is involved.

    CWhy this is right: The browser sends a forged request with the user's valid session, so the bank trusts it.

    DWhy not this: Buffer overflow sends oversized input to corrupt memory. Nothing here is oversized.

    Cross-site request forgery makes a victim's browser send an unwanted request that the site trusts because the user is authenticated. Replay is tempting, but it resends captured traffic and does not trick the browser into creating a new request.

    Open this question
  31. Question 31

    Threats, Vulnerabilities, and Mitigations

    Which input in a file-name parameter is a typical directory traversal attempt?

    Show the answer

    Correct answerC. ../../../etc/shadow

    AWhy not this: Oversized input is a buffer overflow attempt, not a path manipulation.

    BWhy not this: This alters a database query's logic, so it is SQL injection.

    CWhy this is right: The ../ sequences move up the directory tree to reach a file outside the web root.

    DWhy not this: This injects script into a page, a different injection attack.

    Repeated ../ sequences climb out of the intended directory to reach files elsewhere on the server, which is directory traversal. The quote-based string is tempting, but it is SQL injection aimed at a database query.

    Open this question
  32. Question 32

    Threats, Vulnerabilities, and Mitigations

    Web server logs show requests to a file-download page that ask for system files outside the web root, such as /etc/passwd. Which three controls best mitigate this? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Map file requests to server-side identifiers instead of raw pathsC. Run the web service under a low-privilege account with limited file accessF. Canonicalize and validate requested paths against an allowlist

    Path validation, least-privilege file access and identifier mapping stop or limit requests that escape the web root. Parameterized queries are tempting, but they only defend against injection into database queries.

    Open this question
  33. Question 33

    Threats, Vulnerabilities, and Mitigations

    Files on a finance server are encrypted, and a note demands payment for the decryption key. What type of malicious code is this?

    Show the answer

    Correct answerA. Ransomware

    AWhy this is right: Encrypting files and demanding payment for the key is the defining behavior of ransomware.

    BWhy not this: A keylogger records keystrokes to steal input; it does not encrypt files.

    CWhy not this: Spyware covertly collects user information; it does not encrypt files or demand payment.

    DWhy not this: A rootkit hides attacker presence deep in the system; it is not used to demand ransom.

    Ransomware encrypts a victim's data and demands payment for the key. Spyware secretly gathers information and does not lock files.

    Open this question
  34. Question 34

    Threats, Vulnerabilities, and Mitigations

    An attacker authenticated to a file server by presenting an NTLM hash taken from memory on a compromised workstation; no password was cracked or guessed. Which attack is this?

    Show the answer

    Correct answerA. Credential replay

    AWhy this is right: The captured hash was reused as-is to authenticate, which is credential replay (pass-the-hash).

    BWhy not this: On-path sits between two parties in transit; the hash came from workstation memory.

    CWhy not this: Brute force guesses many passwords for an account; nothing was guessed here.

    DWhy not this: Spraying tries one common password across many accounts; no guessing took place.

    Presenting a captured hash directly to authenticate is credential replay (pass-the-hash); the password is never recovered. Brute force and spraying both guess passwords, which did not happen here.

    Open this question
  35. Question 35

    Threats, Vulnerabilities, and Mitigations

    A script left by a former administrator deletes all databases the moment his account is removed from the directory. Which type of malicious code is this?

    Show the answer

    Correct answerC. Logic bomb

    AWhy not this: A rootkit conceals attacker access and processes; it is not defined by a destructive trigger.

    BWhy not this: A Trojan poses as useful software to get installed; this script was planted and runs on a trigger.

    CWhy this is right: Dormant code that fires its payload when a condition is met, here account removal, is a logic bomb.

    DWhy not this: A worm spreads itself across networks; this script does not replicate.

    A logic bomb stays dormant until a set condition occurs, here the account's removal, then runs its destructive payload. A Trojan disguises itself as legitimate software and is not tied to a trigger condition.

    Open this question
  36. Question 36

    Threats, Vulnerabilities, and Mitigations

    An attacker on a local network wants to intercept a client's traffic to its gateway. Which methods could do this? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Rogue access point with a matching SSIDB. Rogue DHCP server naming the attacker as gatewayD. ARP poisoning against the gateway

    AWhy this is right: Clients that join the lookalike access point send all their traffic through the attacker.

    BWhy this is right: Handing out the attacker's address as default gateway routes client traffic through the attacker.

    CWhy not this: Spoofed-source queries make resolvers flood a victim; they send nothing through the attacker.

    DWhy this is right: Forged ARP replies map the gateway's IP to the attacker's MAC, so traffic flows through the attacker.

    EWhy not this: A SYN flood exhausts the gateway's connection table; it denies service and routes no traffic through the attacker.

    ARP poisoning, a rogue DHCP server and a rogue access point each steer a client's traffic through the attacker's device. Spoofed-source queries to open resolvers and a SYN flood are denial-of-service techniques that intercept nothing.

    Open this question
  37. Question 37

    Threats, Vulnerabilities, and Mitigations

    After joining public Wi-Fi, a user's banking session loads over unencrypted HTTP, and the attacker's device is relaying and reading traffic between the user and the bank. What is this attack?

    Show the answer

    Correct answerD. On-path attack

    AWhy not this: Replay reuses captured credentials later; it does not sit in the live path relaying and reading traffic.

    BWhy not this: Reflected DDoS floods a victim with replies from third parties; it does not intercept sessions.

    CWhy not this: DNS poisoning corrupts name resolution records; it is not a device relaying a live session.

    DWhy this is right: The attacker relays the live session between user and bank, reading and altering traffic, which defines on-path.

    An on-path attack places the attacker between two parties, relaying and reading or altering their traffic, here by downgrading the session to HTTP. Credential replay resends captured credentials later and does not relay a live session.

    Open this question
  38. Question 38

    Threats, Vulnerabilities, and Mitigations

    A security analyst finds software that silently records every key a user presses and sends the log to an attacker. What type of malware is this?

    Show the answer

    Correct answerA. Keylogger

    AWhy this is right: Recording typed keystrokes and sending them to an attacker is the defining behavior of a keylogger.

    BWhy not this: A rootkit conceals malware and keeps privileged access; capturing keystrokes is not its defining purpose.

    CWhy not this: A worm self-replicates across networks; it is not defined by capturing what a user types.

    DWhy not this: Ransomware encrypts data and demands payment; it does not quietly record keystrokes.

    A keylogger records keystrokes to capture credentials and other typed data. A rootkit hides malicious software and keeps privileged access, but it does not exist to record typing.

    Open this question
  39. Question 39

    Threats, Vulnerabilities, and Mitigations

    Which type of malware is designed to hide its presence and keep privileged access to a system?

    Show the answer

    Correct answerB. Rootkit

    AWhy not this: A Trojan disguises itself as legitimate software to be installed, not to hide at OS level.

    BWhy this is right: Concealing itself and keeping privileged access is the defining purpose of a rootkit.

    CWhy not this: A virus attaches to files and spreads when they run; concealment of privileged access is not its purpose.

    DWhy not this: Ransomware announces itself by demanding payment; it does not hide.

    A rootkit conceals itself and other malware while keeping privileged, administrator-level access. A Trojan hides its true purpose behind legitimate-looking software but does not typically modify the OS to stay concealed.

    Open this question
  40. Question 40

    Threats, Vulnerabilities, and Mitigations

    A developer's employment is terminated. Two weeks later, a script she wrote years ago deletes the payroll database because her account is missing from the directory. What type of malware is this?

    Show the answer

    Correct answerD. Logic bomb

    AWhy not this: A virus attaches to files and spreads when they run; nothing here shows replication.

    BWhy not this: A Trojan poses as wanted software to get installed; this script was planted and fires on a condition.

    CWhy not this: Spyware covertly gathers user information; this script destroys data instead.

    DWhy this is right: Code that lies dormant and fires when a condition is met, such as an account being removed, is a logic bomb.

    A logic bomb stays dormant until a set condition is met, here the removal of her account, and then runs its destructive payload. A Trojan disguises itself as legitimate software to get installed; it is not defined by a condition-triggered payload.

    Open this question
  41. Question 41

    Threats, Vulnerabilities, and Mitigations

    An EDR agent shows a clean host, but an offline scan from bootable media finds malicious drivers that the running OS never lists. What is the most likely malware?

    Show the answer

    Correct answerD. Rootkit

    AWhy not this: Bloatware is visible preinstalled vendor software, not hidden malicious drivers.

    BWhy not this: A keylogger records keystrokes; the key detail here is concealment at OS level, not input capture.

    CWhy not this: A worm spreads across the network on its own; concealment from the OS is not its defining trait.

    DWhy this is right: Components visible only from outside the running OS point to a rootkit hiding itself from the operating system.

    A rootkit hides its files and processes from the running OS, so the malicious drivers appear only when scanned from outside it. A keylogger could be hidden this way, but hiding from the OS is the rootkit's defining trait.

    Open this question
  42. Question 42

    Threats, Vulnerabilities, and Mitigations

    Before any internal alert fires, a security researcher publishes a blog post showing the company's customer records offered for sale on a criminal forum. Which indicator is this?

    Show the answer

    Correct answerC. Published/documented

    AWhy not this: Account lockout comes from repeated failed sign-ins on an account; here the evidence is an outside publication.

    BWhy not this: Impossible travel compares sign-in locations and times for one account; no sign-ins are compared here.

    CWhy this is right: The breach came to light through outside public reporting of the stolen data, which is a published/documented indicator.

    DWhy not this: Missing logs means expected internal entries are absent; here the evidence comes from outside the company.

    When outsiders publish or document an organization's breach, such as its stolen data offered for sale, that is a published/documented indicator. Impossible travel would instead come from comparing the locations and times of one account's sign-ins.

    Open this question
  43. Question 43

    Threats, Vulnerabilities, and Mitigations

    A vendor advisory publishes the SHA-256 hash of a new ransomware loader. An endpoint tool finds a file with that hash on a laptop that shows normal CPU and disk use. What should the analyst conclude?

    Show the answer

    Correct answerD. The laptop is likely compromised, because the file matches a published indicator of compromise

    AWhy not this: Absence of resource consumption does not clear a file whose hash is documented as malicious; the loader may be dormant.

    BWhy not this: The advisory publishes the hash itself, so it documents the file, not only the behaviour.

    CWhy not this: Lockouts are unrelated to a file hash match; their absence says nothing about whether the file is the documented loader.

    DWhy this is right: An exact hash match to a published indicator of compromise is strong evidence regardless of current symptoms.

    A hash listed in a vendor advisory is a published indicator of compromise, so an exact match is strong evidence of malware even without symptoms. Normal resource use proves little, because a loader may not have run its payload yet.

    Open this question
  44. Question 44

    Threats, Vulnerabilities, and Mitigations

    A Windows server stayed online all day, but analysts suspect an attacker hid activity by removing its logs. Which findings support that? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Sequential record numbers that skip a block of valuesB. A log-cleared event recorded just before the gapC. A six-hour gap in event timestamps while other hosts logged normally

    AWhy this is right: Skipped record numbers show entries that were written and later removed.

    BWhy this is right: A log-cleared event shows the log was deliberately wiped, which accounts for the absent entries.

    CWhy this is right: A gap on a running host while peers kept logging shows entries that should exist are absent.

    DWhy not this: High CPU use is resource consumption; it says nothing about whether log entries were deleted.

    EWhy not this: Failed logons point to password guessing; they are entries that exist, not a sign that entries were removed.

    A timestamp gap on a running host, skipped record numbers and a log-cleared event all show entries that should exist but do not. High CPU use is resource consumption and failed logons point to guessing; neither shows logs were removed.

    Open this question
  45. Question 45

    Threats, Vulnerabilities, and Mitigations

    Overnight, every user loses access to files on a shared drive that opened normally the day before, and no change was approved. Which indicator does this MOST directly show?

    Show the answer

    Correct answerB. Resource inaccessibility

    AWhy not this: Lockout affects individual accounts after failed sign-ins; here the files are unreachable for every user.

    BWhy this is right: Files that opened yesterday now cannot be reached by anyone, with no approved change, which is the definition of this indicator.

    CWhy not this: Consumption means abnormal CPU, memory, disk or bandwidth use; the stem describes lost access, not heavy usage.

    DWhy not this: Blocked content is a proxy or filter denying requests to external sites, not internal files becoming unavailable.

    Resource inaccessibility is data, systems or services that were available suddenly becoming unreachable without an approved change, which can signal sabotage or attack. Resource consumption is about abnormal use of CPU, memory, disk or bandwidth, and the stem reports no such spike.

    Open this question
  46. Question 46

    Threats, Vulnerabilities, and Mitigations

    Audit logs show a standard user's session suddenly running commands as root. No su, sudo or login events precede the change. Which attack does this indicate?

    Show the answer

    Correct answerD. Privilege escalation through a flaw on the local system

    AWhy not this: CSRF abuses a victim's logged-in browser to submit requests; it does not raise a user's own rights.

    BWhy not this: Traversal reads files outside an intended path; it does not change the account's privilege level.

    CWhy not this: Replay would leave a repeated authentication event; none appears before the change.

    DWhy this is right: Rights rose with no authentication event, so a flaw was exploited to gain higher access.

    A session gaining root rights with no authentication event means the account's privileges were raised by exploiting a flaw or misconfiguration, which is privilege escalation. Replay would show a repeated authentication exchange in the logs, which is absent here.

    Open this question
  47. Question 47

    Threats, Vulnerabilities, and Mitigations

    A user installs a free PDF converter that converts files correctly. EDR then shows the converter's process taking interactive commands from an external server, while nothing spreads to other hosts or alters other files. Which type of malware is this?

    Show the answer

    Correct answerB. Trojan

    AWhy not this: A virus attaches to other files and spreads when they run. No other files were altered, so replication is ruled out.

    BWhy this is right: Useful-looking software the user chose to install carries a hidden remote-control function, which is the defining Trojan trait.

    CWhy not this: Spyware gathers and sends out user data. It does not give an attacker interactive command execution, which is what is observed here.

    DWhy not this: A rootkit hides its presence and keeps privileged access. This process is plainly visible in EDR, so concealment is not the defining trait.

    A Trojan is malicious code disguised as useful software that the user installs voluntarily. Here the working converter hides a remote-control function, and nothing replicates. Spyware is tempting, but it only monitors and exfiltrates data and does not take attacker commands.

    Open this question
  48. Question 48

    Threats, Vulnerabilities, and Mitigations

    A login form passes the username into a SQL string. Analysts see a payload starting with ' UNION SELECT returning data in the page, and the application account also owns the database. Which action BEST stops this class of attack?

    Show the answer

    Correct answerC. Use parameterized queries with a least-privilege database account

    AWhy not this: Keyword blocklists are bypassed with encoding, case changes and comments, so the flaw remains.

    BWhy not this: Output encoding prevents script injection in pages but does not stop altered SQL queries.

    CWhy this is right: Separates code from data so injected SQL is never parsed as a command, and limits what the account can reach.

    DWhy not this: Session timeouts do not affect how the query is built from untrusted input.

    Parameterized queries keep user input as data, never executable SQL, and a least-privilege account limits damage if a flaw remains. Output encoding addresses cross-site scripting, not SQL structure being altered by input.

    Open this question
  49. Question 49

    Threats, Vulnerabilities, and Mitigations

    A backup service account signs in only for its 01:00 nightly job, which logged normally last night. Today it also signed in at 14:20 from the same server, with no other session open and no gaps in the log. Which indicator does the 14:20 entry BEST show?

    Show the answer

    Correct answerC. Out-of-cycle logging

    AWhy not this: Needs two distant locations in a short time; both sign-ins came from the same server.

    BWhy not this: Needs two overlapping sessions on one account; the stem says no other session was open at 14:20.

    CWhy this is right: The entry appears at a time the account never normally acts, and nothing else is abnormal, so timing is the indicator.

    DWhy not this: Needs expected entries to be absent; the log is complete, and the nightly job logged normally.

    A sign-in logged far outside the account's fixed schedule is out-of-cycle logging, which suggests someone is using the account manually. Concurrent session usage needs overlapping sessions, and none is open here.

    Open this question