Curated

Attacks and Exploits 1 (4.1–4.3)

0 votes

Questions107

  1. Question 1

    Attacks and Exploits

    A scan reports two findings on the same server. One has a CVSS base score of 9.8 and the other 5.3, but the 9.8 flaw sits in a service that is not exposed. What does the base score of 9.8 represent?

    Show the answer

    Correct answerC. The intrinsic severity of the flaw, independent of the environment or time

    AWhy not this: That describes a CVE ID; a CVSS score rates severity and does not identify a flaw.

    BWhy not this: Adjusting for the local environment is done by CVSS environmental metrics, not the base score.

    CWhy this is right: Base metrics capture intrinsic traits like attack vector and impact, so the score is constant across environments and over time.

    DWhy not this: That describes EPSS, which estimates the likelihood of exploitation; the base score does not predict it.

    The CVSS base score measures a vulnerability's intrinsic characteristics, such as attack vector, complexity and impact, and does not change with time or environment. The likelihood of exploitation is the purpose of EPSS, not the base score.

    Open this question
  2. Question 2

    Attacks and Exploits

    During scoping of an internal pentest, a tester finds a file server, a print server, a domain controller and a guest Wi-Fi gateway. Which target should be prioritized as the highest-value asset?

    Show the answer

    Correct answerD. Domain controller

    AWhy not this: Public brochures are not sensitive, so this server holds little data worth the effort of an attack.

    BWhy not this: A guest network is deliberately segmented and holds no critical data, so it is a low-value target.

    CWhy not this: Print servers are mostly low-impact infrastructure and rarely hold sensitive data or control access.

    DWhy this is right: It stores directory data and credential hashes and governs access to every domain resource, so compromise has the greatest impact.

    A domain controller holds credentials and controls authentication for the whole environment, so compromising it gives the broadest access and impact. The public-brochure file server holds little sensitive data, so it offers limited value.

    Open this question
  3. Question 3

    Attacks and Exploits

    What does a CVE identifier such as CVE-2021-44228 provide for a pentester researching a finding?

    Show the answer

    Correct answerD. A standardized, unique ID for a specific publicly disclosed vulnerability

    AWhy not this: Exploit probability is estimated by EPSS, not by a CVE entry.

    BWhy not this: Severity from 0.0 to 10.0 is the CVSS score, which is separate from the CVE identifier.

    CWhy not this: Weakness classes such as improper input validation are cataloged by CWE, not CVE.

    DWhy this is right: CVE is a dictionary of unique IDs for specific publicly known vulnerabilities, enabling consistent references across tools.

    CVE assigns a unique, standard identifier to each publicly disclosed vulnerability so tools and reports can refer to the same flaw. The 0.0–10.0 severity rating comes from CVSS, not CVE.

    Open this question
  4. Question 4

    Attacks and Exploits

    Two findings on in-scope hosts both have a CVSS base score of 9.8. The tester has time to prepare one exploit and wants the flaw most likely to be exploited in the wild soon. Which should be chosen?

    Show the answer

    Correct answerC. The finding with an EPSS score of 0.91 rather than 0.04

    AWhy not this: A CWE names a weakness type; its listing order has no bearing on exploitation likelihood.

    BWhy not this: A CVE ID is a label; an older number does not indicate that exploitation is more likely.

    CWhy this is right: EPSS gives the probability of exploitation, so the higher score identifies the likelier target.

    DWhy not this: Vector string length does not measure exploitation likelihood; the vector only records base metrics.

    EPSS estimates the probability that a vulnerability will be exploited in the wild, so it separates findings whose CVSS scores are identical. CVE age is only an identifier detail and says nothing about current exploitation likelihood.

    Open this question
  5. Question 5

    Attacks and Exploits

    A static analysis report labels a finding in a login module as CWE-798. What does this identifier tell the tester?

    Show the answer

    Correct answerC. The category of coding or design weakness behind the flaw

    AWhy not this: This describes a CVE ID, which tracks one specific vulnerability rather than a weakness class.

    BWhy not this: This describes a CVSS base score, which rates severity rather than naming a weakness.

    CWhy this is right: CWE catalogs types of weaknesses, so the ID names the underlying flaw category.

    DWhy not this: This describes EPSS, which estimates the likelihood of exploitation, not a weakness type.

    A CWE ID names a class of software weakness, here hard-coded credentials, that can appear in many products. A CVE ID instead identifies one specific vulnerability in a specific product, which is the most tempting wrong choice.

    Open this question
  6. Question 6

    Attacks and Exploits

    A scan returns four hosts. The tester wants to start with systems that no longer receive vendor security updates. Which host is the best starting point?

    Show the answer

    Correct answerD. A Windows 7 SP1 workstation

    AWhy not this: Ubuntu 22.04 LTS is a long-term support release still receiving security updates.

    BWhy not this: Windows 11 is a currently supported release that still receives security updates.

    CWhy not this: Windows Server 2022 is within its support lifecycle and receives security updates.

    DWhy this is right: Windows 7 is past its end-of-life date, so new flaws on it stay unpatched.

    Windows 7 reached end of life years ago, so the vendor no longer issues security updates for it. The Ubuntu LTS release is still within its support window, even though it is not the newest version.

    Open this question
  7. Question 7

    Attacks and Exploits

    A tester finds a host running an operating system past its vendor's end-of-life date. The tester must justify ranking it above fully supported hosts with similar CVSS scores. Which three statements support that ranking? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Newly discovered vulnerabilities will never receive vendor security patches.D. It likely still supports legacy protocols and ciphers that current platforms removed.E. Known flaws with public exploits stay exploitable permanently on the host.

    AWhy not this: Base scores reflect a flaw's intrinsic traits and do not change with vendor support status.

    BWhy this is right: With support ended, the vendor issues no fixes, so any new flaw stays open.

    CWhy not this: CVE records stay published after end of life; support status does not remove vulnerability entries.

    DWhy this is right: Age often means older protocols and weak ciphers remain enabled and attackable.

    EWhy this is right: Without patches, flaws that already have public exploits can never be closed.

    End-of-life systems get no new patches, so old and newly found flaws remain open, and they often keep legacy protocols. CVSS base scores measure intrinsic severity and do not change when support ends. CVE records also stay published after support ends.

    Open this question
  8. Question 8

    Attacks and Exploits

    A planned chain phishes a user for a domain foothold, Kerberoasts a service account from it, then uses the cracked password to log on to a SQL server. The mail gateway blocks the phish. What is the best next step?

    Show the answer

    Correct answerB. Gain a domain foothold another in-scope way before Kerberoasting

    AWhy not this: The SQL logon depends on a cracked password that does not exist until the earlier steps succeed.

    BWhy this is right: The foothold is a prerequisite for later steps, so it must be met another in-scope way first.

    CWhy not this: Repeating a payload the gateway already blocks is unlikely to work and ignores finding another route.

    DWhy not this: Kerberoasting needs a valid domain account to request tickets; the external host has none.

    Each step depends on the one before it: Kerberoasting needs a valid domain context, and the SQL logon needs the cracked password. The unmet foothold must be fulfilled another way within scope. Skipping ahead fails because the later prerequisites do not exist.

    Open this question
  9. Question 9

    Attacks and Exploits

    A tester presents a planned attack to executives as a sequence of illustrated scenes that tell the story of the engagement. Which documentation is this?

    Show the answer

    Correct answerC. Storyboard

    AWhy not this: Code analysis reviews source code or scripts to choose or customize an exploit; it is not a presentation format.

    BWhy not this: A dependency list records what an attack needs before it can work; it is not a narrative of scenes.

    CWhy this is right: A storyboard presents the attack as sequential illustrated scenes that tell its story.

    DWhy not this: A low-level diagram shows technical detail such as hosts, ports and links, not a narrative of the attack.

    A storyboard lays out the attack as ordered, illustrated scenes so stakeholders can follow the narrative. A low-level diagram is also visual, but it shows technical detail of a system or network, not a story of the attack.

    Open this question
  10. Question 10

    Attacks and Exploits

    A scope document lists only app.example.com. During recon, a tester finds an unlisted host, dev.example.com, running an exploitable service. What should the tester do?

    Show the answer

    Correct answerB. Notify the client contact and request a written scope change before testing it

    AWhy not this: Domain ownership does not make an unlisted host authorized; only the scope document does.

    BWhy this is right: Testing needs written authorization, so the tester reports the host and requests a scope change.

    CWhy not this: The tester cannot enlarge the target list alone; the client must approve any addition.

    DWhy not this: Even a light scan is testing an unauthorized asset and falls outside the agreed scope.

    Only assets named in the scope document are authorized, so an unlisted host must not be tested until the client approves it in writing. Owning the domain or using light techniques does not extend authorization.

    Open this question
  11. Question 11

    Attacks and Exploits

    The rules of engagement prohibit copying production customer data. A tester has working SQL injection against the customer database. How should the tester demonstrate impact?

    Show the answer

    Correct answerB. Record the table's row count and column names without copying any records

    AWhy not this: The finding is still valid and reportable; it only needs a proof method that respects the limit.

    BWhy this is right: Metadata proves access and impact while staying within the ban on copying customer data.

    CWhy not this: Any copy of real customer records, even a sample, breaches the stated limit.

    DWhy not this: Encrypting or later deleting the dump does not change that the data was copied against the rules.

    The limit restricts the action, not the finding. Showing access through metadata such as row count and column names proves impact without copying data. Copying even a sample, or an encrypted dump, still breaks the prohibition.

    Open this question
  12. Question 12

    Attacks and Exploits

    A tester's asset list includes a controller running a production line that crashes under aggressive scans. What should the tester do when preparing attacks?

    Show the answer

    Correct answerA. Label it as sensitive in the target list so only low-impact techniques are used

    AWhy this is right: A sensitive label flags the fragile controller so attacks against it are handled with care.

    BWhy not this: A storyboard illustrates an attack but does nothing to protect a fragile system.

    CWhy not this: Hiding the asset removes the warning that tells the team to handle it carefully.

    DWhy not this: Prioritizing a fragile production system first raises the chance of an outage.

    Labeling fragile or critical systems as sensitive makes everyone preparing attacks apply extra care, such as low-impact techniques or approval first. Attacking it first or hiding it ignores the risk of disrupting production.

    Open this question
  13. Question 13

    Attacks and Exploits

    A tester forwards a victim's captured NTLM authentication to another server in real time, without cracking the hash. What is this attack called?

    Show the answer

    Correct answerD. Relay attack

    AWhy not this: VLAN hopping moves between network segments and does not forward authentication.

    BWhy not this: Offline cracking recovers a plaintext password from the hash, which is not what happens here.

    CWhy not this: Share enumeration lists available network shares and does not reuse authentication.

    DWhy this is right: The live authentication is forwarded to another server to act as the victim.

    A relay attack passes a victim's live authentication exchange to a different target so the tester authenticates as the victim. Offline cracking recovers the password from a captured hash, which this scenario explicitly avoids.

    Open this question
  14. Question 14

    Attacks and Exploits

    A tester compromises a DMZ web server with one interface in the DMZ and a second on an internal subnet that the tester's system cannot reach. What is the BEST way to attack internal hosts?

    Show the answer

    Correct answerD. Pivot through the web server's internal interface using a tunnel

    AWhy not this: Double tagging requires the attacker to be on a switch port; the tester is only remote.

    BWhy not this: Relaying reuses authentication but does not provide network reachability to the internal subnet.

    CWhy not this: Share enumeration may reveal data but does not give a network path to the internal subnet.

    DWhy this is right: the second interface bridges both networks, so the host can serve as a pivot point.

    A multihomed host sits on two networks, so tunneling or routing traffic through its internal interface lets the tester reach the otherwise unreachable subnet. Double tagging needs the tester's own port on the switch, which this scenario does not provide.

    Open this question
  15. Question 15

    Attacks and Exploits

    A tester has network access to a Windows file server at 10.10.1.20 and wants to list its SMB shares without credentials. Which command fits BEST?

    Show the answer

    Correct answerD. smbclient -L //10.10.1.20 -N

    AWhy not this: nbtscan returns NetBIOS names, not the list of shares on the server.

    BWhy not this: showmount -e lists NFS exports, a different file sharing protocol from SMB.

    CWhy not this: dig axfr attempts a DNS zone transfer and returns records, not shares.

    DWhy this is right: -L lists the server's SMB shares and -N tries a null session with no password.

    smbclient -L requests the list of shares from an SMB server, and -N attempts it without a password. showmount -e lists NFS exports, not SMB shares, so it does not suit a Windows file server.

    Open this question
  16. Question 16

    Attacks and Exploits

    A tester suspects a firewall passes unsolicited TCP packets that have only the ACK flag set. Which action BEST tests this?

    Show the answer

    Correct answerA. Craft a lone-ACK TCP packet in Scapy and watch for RST replies

    AWhy this is right: hand-building the packet controls the flags, and an RST reply shows it got through.

    BWhy not this: A connect scan completes a normal SYN handshake and cannot send an ACK-only packet.

    CWhy not this: Passive capture only sees existing traffic and does not send the probe being tested.

    DWhy not this: ARP poisoning redirects traffic on a segment and does not craft test packets.

    Packet crafting lets the tester build a TCP packet with only the ACK flag and observe the response; an RST suggests it passed the firewall. A connect scan always starts with a SYN handshake, so it cannot send an ACK-only packet.

    Open this question
  17. Question 17

    Attacks and Exploits

    A tester's laptop is plugged into an access port in VLAN 10 on a switch that still runs DTP in dynamic desirable mode. Which technique BEST gives access to traffic from other VLANs?

    Show the answer

    Correct answerC. Send DTP frames to negotiate a trunk with the switch

    AWhy not this: MAC flooding makes a switch flood frames, but only within the same VLAN.

    BWhy not this: NTLM relay abuses authentication traffic and does not change VLAN membership or trunking.

    CWhy this is right: DTP negotiation turns the access port into a trunk, exposing other VLANs (switch spoofing).

    DWhy not this: ARP poisoning is an on-path technique that only works inside the tester's own VLAN.

    Switch spoofing sends DTP frames so the port negotiates a trunk, which carries traffic for all allowed VLANs. ARP poisoning and MAC flooding only affect hosts within the tester's own VLAN, so they do not cross VLAN boundaries.

    Open this question
  18. Question 18

    Attacks and Exploits

    A scan of a newly installed network switch finds no CVEs, and its firmware is current. The admin web interface is reachable and the device has not been hardened. What should the tester try first?

    Show the answer

    Correct answerC. Vendor default credentials from the product documentation

    AWhy not this: Nothing in the stem suggests weak encryption; the unhardened state points to defaults, not protocol flaws.

    BWhy not this: CVEs affecting other versions rarely apply to current firmware, and the scan found none for this one.

    CWhy this is right: Unhardened devices usually keep documented factory credentials, which give admin access without any vulnerability.

    DWhy not this: EPSS scores the likelihood of exploiting a known CVE; this device has none to score.

    A device that was never hardened often still has its factory username and password, which are publicly documented and need no CVE. A CVE exploit for the product line is weaker because this firmware is current and no CVE was reported for it.

    Open this question
  19. Question 19

    Attacks and Exploits

    A scan shows an internal web server still accepts SSL 3.0 connections. The tester can capture traffic between clients and the server. Which attack should the tester prepare?

    Show the answer

    Correct answerC. POODLE padding-oracle attack on CBC ciphers

    AWhy not this: Kerberoasting abuses Kerberos service tickets, not the SSL 3.0 weakness found.

    BWhy not this: Password spraying guesses credentials; it does not use the weak protocol the scan reported.

    CWhy this is right: SSL 3.0 padding is unauthenticated, so POODLE can decrypt captured session data.

    DWhy not this: SQL injection exploits input handling in the application, not weak transport encryption.

    SSL 3.0 CBC padding is not covered by the MAC, so POODLE lets an on-path attacker with a downgraded connection decrypt data such as session cookies. Password spraying targets authentication, not the protocol weakness the scan found.

    Open this question
  20. Question 20

    Attacks and Exploits

    A tester finds TCP port 445 open on a Windows host. What does this most directly indicate?

    Show the answer

    Correct answerD. An SMB file-sharing service is listening on the host

    AWhy not this: An open port does not show whether the configuration is default or hardened.

    BWhy not this: An open port says nothing about the vendor support status of the operating system.

    CWhy not this: Encryption weaknesses need protocol or cipher testing; an open port does not reveal them.

    DWhy this is right: Port 445 is the standard SMB port, so an SMB service is running and can be enumerated.

    An open port shows that a service is listening, and TCP 445 is used by SMB. The tester can enumerate that service for shares, versions and weaknesses. An open port alone does not show the OS is end-of-life or that defaults or weak encryption are in use.

    Open this question
  21. Question 21

    Attacks and Exploits

    Two in-scope servers have the same exploitable flaw and the same CVSS base score. One runs an EDR agent; the other has only a host firewall. The tester wants to avoid early detection. Which server should be attacked first?

    Show the answer

    Correct answerA. The firewall-only server, because it has fewer detection and blocking controls

    AWhy this is right: With no endpoint detection or response, the exploit is less likely to be blocked or alerted on.

    BWhy not this: The CVSS base score ignores deployed defenses, so equal scores can still mean different difficulty.

    CWhy not this: Monitoring does not make a host more valuable; asset value depends on the data and role it holds.

    DWhy not this: An EDR agent detects and blocks activity; it does not confirm that a flaw is exploitable.

    Defensive capabilities such as EDR can detect or block exploitation, so a host without them is the easier target and less likely to end the test early. Equal CVSS scores do not mean equal difficulty, because the base score ignores the controls in place.

    Open this question
  22. Question 22

    Attacks and Exploits

    A tester learns that a client's passwords are eight characters long, start with one capital letter, and end with two digits. Which attack BEST uses this knowledge to cut cracking time?

    Show the answer

    Correct answerB. Mask attack

    AWhy not this: A dictionary attack tries whole wordlist entries and does not encode a positional pattern like capital first, digits last.

    BWhy this is right: A mask fixes the character class at each position, so only candidates matching the known pattern are generated.

    CWhy not this: Password spraying tries a few passwords across many accounts online; it does not generate candidates from a pattern.

    DWhy not this: Brute force tries all characters in every position, ignoring the known structure and taking far longer.

    A mask attack defines the character set for each position (for example ?u?l?l?l?l?l?d?d in hashcat), so only candidates matching the known pattern are tried. A plain brute-force attack tries every combination in every position and wastes time on candidates that cannot match.

    Open this question
  23. Question 23

    Attacks and Exploits

    A tester reviews an application's OpenID Connect login flow. Which findings are exploitable OIDC weaknesses? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. A redirect_uri check that accepts any URL under the client's domainC. ID tokens accepted without verifying their signatureD. No validation of the state parameter on the callback

    AWhy this is right: Loose redirect_uri matching lets an attacker redirect the code or tokens to a URL they control.

    BWhy not this: XML signature wrapping is a SAML attack; OIDC uses JSON Web Tokens rather than XML assertions.

    CWhy this is right: If the signature is not verified, an attacker can forge an ID token with any identity claims.

    DWhy this is right: Skipping state validation allows cross-site request forgery against the login flow.

    EWhy not this: Short token lifetimes and HTTPS transport are good practice, not a weakness to exploit.

    Loose redirect_uri matching lets an attacker capture the authorization code or tokens, unverified ID token signatures allow forged tokens, and a missing state check allows login CSRF. XML signature wrapping targets SAML assertions, not OIDC's JSON-based tokens. Short-lived tokens over HTTPS are good practice.

    Open this question
  24. Question 24

    Attacks and Exploits

    A tester replays username and password pairs leaked from an unrelated breached website against a client's VPN portal. Which condition makes this attack succeed?

    Show the answer

    Correct answerC. Users reuse the same password across services

    AWhy not this: A known password pattern supports mask attacks; leaked pairs are used as-is without generating candidates.

    BWhy not this: Unsalted hashing matters for offline cracking of the portal's own database, not for replaying external pairs.

    CWhy this is right: Reuse means a pair valid on the breached site is also valid on the VPN, which is what stuffing exploits.

    DWhy not this: Accepting hashes instead of passwords describes pass-the-hash, which is unrelated to leaked plaintext pairs.

    Credential stuffing works because people reuse credentials, so pairs leaked from one site are valid on another. Unsalted storage affects offline cracking after a breach of the portal itself, not replaying pairs from elsewhere.

    Open this question
  25. Question 25

    Attacks and Exploits

    A tester alters the XML assertion sent from an identity provider to a service provider to log in as an administrator. Which attack is this?

    Show the answer

    Correct answerD. SAML attack

    AWhy not this: OIDC uses JSON Web Tokens, not XML assertions, so this is not an OIDC attack.

    BWhy not this: Pass-the-ticket reuses stolen Kerberos tickets and does not modify XML assertions.

    CWhy not this: LDAP injection manipulates directory queries through unsanitized input, not federation assertions.

    DWhy this is right: SAML assertions are XML documents; tampering with or forging one to impersonate a user is a SAML attack.

    SAML conveys authentication data in XML assertions between identity and service providers, so tampering with or forging an assertion is a SAML attack. OpenID Connect uses JSON-based tokens instead of XML assertions.

    Open this question
  26. Question 26

    Attacks and Exploits

    A tester has 500 valid usernames for an external portal that locks an account after five failed logins in 30 minutes. No breached credentials exist for these users. Which technique BEST seeks valid logins without locking accounts?

    Show the answer

    Correct answerC. Try one common password on every account, then wait out the window before the next password

    AWhy not this: Many guesses against a single account exceeds five failures quickly and locks it, which is the opposite of avoiding lockout.

    BWhy not this: Credential stuffing needs leaked pairs, and the stem says none exist for these users.

    CWhy this is right: Spraying keeps failures per account under the lockout threshold while testing many accounts with a common password.

    DWhy not this: Cracking Kerberos service tickets is an offline Kerberos attack and does not target a portal's login with lockout.

    Password spraying tries one or a few common passwords across many accounts, keeping each account below the lockout threshold. Trying many passwords against one account would trip the lockout quickly, and credential stuffing needs breached pairs, which the tester does not have.

    Open this question
  27. Question 27

    Attacks and Exploits

    Responder on a segment that enforces SMB signing captured NetNTLMv2 hashes from a workstation. The tester needs the plaintext password and has an offline GPU rig. Which tool is BEST?

    Show the answer

    Correct answerC. Hashcat

    AWhy not this: Hydra guesses passwords online against a live service, so it does not work from a captured hash and is noisy.

    BWhy not this: Relaying fails where SMB signing is required, and it authenticates as the victim without revealing the password.

    CWhy this is right: Hashcat cracks captured NetNTLMv2 hashes offline on GPUs and returns the plaintext password.

    DWhy not this: Mimikatz extracts credentials from memory on a host the tester already controls; it does not crack captured network hashes.

    A captured NetNTLMv2 challenge-response can be attacked offline, and a GPU-accelerated cracker such as Hashcat recovers the plaintext. Relaying is tempting, but SMB signing blocks it and it never yields the password.

    Open this question
  28. Question 28

    Attacks and Exploits

    A public proof-of-concept exploit matches the target's CVE. The script has a hardcoded callback IP and an unexplained base64 blob. What should the tester do first?

    Show the answer

    Correct answerB. Decode and review the blob in a lab, then replace the callback address with their own

    AWhy not this: Running untrusted code on the client first risks damage or data leaving the network before its behavior is known.

    BWhy this is right: Reviewing the code in a lab confirms what the payload does, and the callback is swapped for the tester's own address.

    CWhy not this: A matching CVE reference says nothing about what the code actually does; it may be malicious or broken.

    DWhy not this: Porting the code to dodge antivirus does not reveal what it does and skips the review.

    Public exploit code must be read and understood before use. Decoding the blob in a lab reveals its true behavior, and the callback must point to the tester's infrastructure. Running it against the client to observe it risks the client's systems and data.

    Open this question
  29. Question 29

    Attacks and Exploits

    After a test, the client asks for a record of the ordered hosts and techniques the tester chained from an internet-facing web server to the domain controller. Which documentation provides this?

    Show the answer

    Correct answerA. Attack path

    AWhy this is right: An attack path lays out the ordered steps and hosts from initial access to the final objective.

    BWhy not this: A storyboard is an illustrated narrative for presenting the engagement, not a technical record of each hop.

    CWhy not this: A low-level diagram shows addresses, ports and connections, not the order in which hosts were compromised.

    DWhy not this: A sensitive systems list marks fragile or high-risk assets; it does not record how access progressed.

    An attack path records the ordered sequence of hosts, techniques and pivots from initial access to the objective. A low-level diagram shows network detail, not the sequence of compromise.

    Open this question
  30. Question 30

    Attacks and Exploits

    Before pivoting, a tester wants a record of each target's IP addresses, open ports, and the VLAN and firewall rule relationships between segments. Which documentation fits BEST?

    Show the answer

    Correct answerA. Low-level diagram

    AWhy this is right: A low-level diagram records addresses, ports, VLANs and rule relationships needed to plan movement between segments.

    BWhy not this: A storyboard is an illustrated narrative for presenting the engagement; it carries no network detail.

    CWhy not this: An attack path lists the ordered steps of compromise, not the network's technical layout.

    DWhy not this: A high-level overview shows major zones only and leaves out addresses, ports and rule detail.

    A low-level diagram captures technical detail such as IP addresses, ports, VLANs and firewall placement, which supports planning a pivot. A high-level overview omits that detail, so it cannot guide it.

    Open this question
  31. Question 31

    Attacks and Exploits

    A tester holding only a standard domain user account finds a service account with a registered SPN. Which attack BEST yields material to crack that account's password offline?

    Show the answer

    Correct answerA. Kerberoasting

    AWhy this is right: Requests a service ticket for the SPN; it is encrypted with the account's password hash and can be cracked offline.

    BWhy not this: Reuses a stolen ticket to authenticate; it gives no hash to crack and the tester holds no ticket to steal.

    CWhy not this: Needs the krbtgt hash, which the tester does not have, and it forges tickets rather than yielding a crackable hash.

    DWhy not this: Targets accounts with pre-authentication disabled; the stem describes an SPN, not that setting.

    Any authenticated domain user can request a service ticket for an SPN. That ticket is encrypted with the service account's password hash, so it can be cracked offline. AS-REP roasting needs accounts with Kerberos pre-authentication disabled, which the stem does not give.

    Open this question
  32. Question 32

    Attacks and Exploits

    A tester runs hashcat against captured hashes using a list of common leaked passwords plus a rule that capitalizes the first letter. Which attack is this?

    Show the answer

    Correct answerC. Dictionary attack

    AWhy not this: Builds candidates from a character-position pattern, not from a list of known words.

    BWhy not this: Tries every possible combination of characters rather than working from a list of likely passwords.

    CWhy this is right: Candidates come from a wordlist, and the rule only mutates each entry, so it remains a dictionary attack.

    DWhy not this: Replays username and password pairs against a live service; here hashes are cracked offline.

    A dictionary attack tries candidates from a wordlist, and mangling rules that modify each word do not change that. A mask attack instead generates candidates from a defined character pattern rather than from a list of words.

    Open this question
  33. Question 33

    Attacks and Exploits

    Which attack alters the search filter a web application sends to a directory server by inserting crafted characters into a login form?

    Show the answer

    Correct answerA. LDAP injection

    AWhy this is right: Injects filter syntax into input so the directory query is changed, which can bypass authentication.

    BWhy not this: Manipulates SQL queries to a relational database, not the filters sent to a directory service.

    CWhy not this: Tries one common password across many accounts; it does not alter any query.

    DWhy not this: Reuses a captured NTLM hash to authenticate; it does not involve crafted input in a form.

    LDAP injection inserts filter syntax such as parentheses and wildcards into unsanitized input, changing the query sent to the directory. SQL injection is similar in idea but targets relational database queries, not directory searches.

    Open this question
  34. Question 34

    Attacks and Exploits

    A tester holds an offline hash of a randomly generated 10-character password. Wordlists failed and no character pattern is known. Which attack can still eventually recover it?

    Show the answer

    Correct answerA. Brute-force attack

    AWhy this is right: Exhausts every possible character combination, so it needs no prior knowledge and eventually succeeds.

    BWhy not this: An online technique that guesses common passwords across accounts; it does not apply to an offline hash.

    CWhy not this: Needs a known structure to narrow the keyspace; with no pattern it offers no advantage.

    DWhy not this: Depends on the password being in a list; a random string will not be, and the wordlists already failed.

    Brute force tries every combination in the keyspace, so it works without any knowledge of the password and is guaranteed to finish eventually. A dictionary attack fails against a random password that is not in any list.

    Open this question
  35. Question 35

    Attacks and Exploits

    After collecting Active Directory data with SharpHound, a tester needs the shortest privilege path from a compromised user to Domain Admins. Which tool should the tester use?

    Show the answer

    Correct answerA. BloodHound

    AWhy this is right: BloodHound graphs AD relationships from SharpHound data and finds the shortest path to high-value targets.

    BWhy not this: CME enumerates and executes against SMB and other services, but it does not build relationship graphs of paths.

    CWhy not this: John the Ripper cracks password hashes offline and has no AD path analysis.

    DWhy not this: Responder captures hashes through poisoned name resolution; it does not analyze collected AD data.

    BloodHound ingests SharpHound data and uses graph analysis to show attack paths through group memberships, sessions and ACLs. CME can enumerate shares and users, but it does not graph a shortest path to Domain Admins.

    Open this question
  36. Question 36

    Attacks and Exploits

    A tester has intercepted a web login POST request in Burp Suite and wants to resend it with each password from a wordlist in the password field. Which Burp feature fits?

    Show the answer

    Correct answerB. Intruder

    AWhy not this: Decoder converts data between encodings such as Base64 and URL; it sends no requests.

    BWhy this is right: Intruder marks payload positions in a request and automatically substitutes each wordlist entry.

    CWhy not this: Repeater resends one manually edited request at a time and does not iterate through a wordlist.

    DWhy not this: Comparer shows differences between two items, such as responses; it does not generate attack traffic.

    Intruder automates requests by placing payload positions in a captured request and cycling through a wordlist, which suits password guessing. Repeater is tempting but resends a single request that is edited by hand each time.

    Open this question
  37. Question 37

    Attacks and Exploits

    Which tool brute-forces logins against live network services such as FTP and HTTP forms?

    Show the answer

    Correct answerA. Hydra

    AWhy this is right: Hydra sends username and password guesses to a running service over the network, which is an online attack.

    BWhy not this: BloodHound graphs Active Directory attack paths; it does not guess passwords.

    CWhy not this: Responder poisons name resolution to capture hashes; it does not brute-force logins.

    DWhy not this: hashcat cracks hashes offline on the tester's hardware; it does not log in to services.

    Hydra is a parallelized online login cracker that sends credential guesses to running services such as FTP, SSH and web forms. hashcat is tempting but cracks captured hashes offline and never contacts the service.

    Open this question
  38. Question 38

    Attacks and Exploits

    A tester runs: medusa -h 10.0.0.8 -U users.txt -P pwds.txt -M ssh -t 4. What does this command do?

    Show the answer

    Correct answerC. Tests each listed user against each listed password on the SSH service, four logins at a time

    AWhy not this: Medusa attacks a live service; offline cracking of hashes is what hashcat or John the Ripper do.

    BWhy not this: Medusa guesses credentials; it does not relay captured ones, and -t sets threads, not hosts.

    CWhy this is right: -M ssh loads the SSH module, the lists supply the guesses, and -t 4 sets four concurrent login attempts.

    DWhy not this: -h names a single host, and Medusa tries the full password list per user rather than one per user.

    Medusa uses -M to load a service module, -U and -P for user and password lists, and -t for the number of concurrent logins. It attacks the live SSH service online. Offline cracking would be done with hashcat or John the Ripper.

    Open this question
  39. Question 39

    Attacks and Exploits

    A tester needs to move a file from an in-scope Linux host to the tester's workstation over a plain TCP connection on a chosen port. The host has no SMB client, FTP client or Metasploit. Which tool fits best?

    Show the answer

    Correct answerB. Netcat

    AWhy not this: Impacket's SMB server needs an SMB client on the host, and this host has none.

    BWhy this is right: Netcat reads and writes raw TCP, so a listener and a sender move the file with no protocol server.

    CWhy not this: Responder poisons name resolution to capture hashes; it does not transfer files over a chosen port.

    DWhy not this: Hydra brute-forces logins against services; it does not move files.

    Netcat can listen on a port at one end and connect and send data at the other, so it moves a file over raw TCP with no protocol server. Impacket's SMB server is tempting, but it needs an SMB client on the host.

    Open this question
  40. Question 40

    Attacks and Exploits

    An exploit module in an authorized test leaves little room for the payload, and the target firewall allows only outbound HTTPS. The tester wants a Meterpreter session. Which payload fits best?

    Show the answer

    Correct answerB. windows/x64/meterpreter/reverse_https

    AWhy not this: Stageless embeds the entire Meterpreter in one payload, which is too large for the limited space.

    BWhy this is right: Staged: a tiny stager fits the small space, then pulls Meterpreter over HTTPS, the only allowed outbound traffic.

    CWhy not this: A reverse connection fits the egress rule, but it gives a plain command shell, not the Meterpreter session wanted.

    DWhy not this: A bind payload needs an inbound connection to the target, but the firewall permits only outbound HTTPS.

    A staged reverse_https payload sends a small stager that fits the limited space, then downloads Meterpreter over the one allowed outbound protocol. The stageless meterpreter_reverse_https payload also uses HTTPS, but it embeds the whole Meterpreter and is too large.

    Open this question
  41. Question 41

    Attacks and Exploits

    In msfconsole, a tester wants to run a port scanner and a login check against in-scope hosts. Neither task delivers a payload. Which module type is used?

    Show the answer

    Correct answerA. Auxiliary

    AWhy this is right: Auxiliary modules handle scanners, fuzzers and login checks without a payload, which matches both tasks.

    BWhy not this: Exploit modules deliver a payload through a vulnerability, and these tasks deliver none.

    CWhy not this: Encoders reshape payload bytes to avoid bad characters or signatures; they do not scan or test logins.

    DWhy not this: Post modules run against an existing session after access, not before it for scanning or login checks.

    Auxiliary modules cover scanning, fuzzing and login testing, and they need no payload. Exploit modules are tempting, but they exist to deliver a payload through a vulnerability.

    Open this question
  42. Question 42

    Attacks and Exploits

    On an authorized test, a tester finds an AD CS certificate template that lets any domain user supply the subject alternative name and is valid for client authentication. What is the BEST way to abuse it?

    Show the answer

    Correct answerC. Request a certificate with an administrator in the SAN and authenticate with it

    AWhy not this: Share enumeration lists shares; it does not exploit a template that accepts a requester-chosen SAN.

    BWhy not this: A public certificate cannot decrypt TLS sessions, and the flaw is about issuance, not traffic.

    CWhy this is right: The template trusts the requester's SAN, so the issued certificate authenticates as the named administrator.

    DWhy not this: The template flaw needs no key cracking; the CA signs the certificate itself when asked.

    When a template lets the enrollee choose the subject alternative name and allows client authentication, a low-privileged user can obtain a certificate that identifies an administrator and use it to authenticate. Offline cracking of a root key is not part of this misconfiguration.

    Open this question
  43. Question 43

    Attacks and Exploits

    A tester reviews service scan results for an in-scope internal server. Which three findings are misconfigurations the tester can exploit directly to gain access? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Redis bound to all interfaces with no authenticationD. FTP server allowing anonymous uploads to the web rootF. NFS export writable by any host with no_root_squash

    AWhy this is right: An unauthenticated, network-exposed Redis lets anyone read and write data and often reach the host.

    BWhy not this: Required SMB signing blocks relaying of SMB authentication; it is a defence.

    CWhy not this: A nonstandard port with key-only authentication is a hardening measure, not an exploitable weakness.

    DWhy this is right: Anonymous uploads to the web root let the tester place a web shell and run code through the web server.

    EWhy not this: Disabling directory listing reduces information exposure; it is not a weakness.

    FWhy this is right: A writable no_root_squash export lets a client act as root on the share, for example by planting files.

    Unauthenticated Redis, a world-writable NFS export with no_root_squash, and anonymous FTP uploads to a web root each hand over access through configuration alone. Key-only SSH on a nonstandard port, required SMB signing and disabled directory listing are hardening choices.

    Open this question
  44. Question 44

    Attacks and Exploits

    A tester poisons ARP caches so a victim's traffic to the default gateway flows through the tester's laptop. What is this attack?

    Show the answer

    Correct answerB. On-path attack

    AWhy not this: Packet crafting builds custom packets by hand; it does not by itself reroute a victim's traffic.

    BWhy this is right: The tester sits between the victim and the gateway, so traffic can be read or modified in transit.

    CWhy not this: Share enumeration lists network shares on a host; it does not intercept traffic.

    DWhy not this: VLAN hopping reaches traffic in other VLANs through trunking tricks, not by poisoning ARP caches.

    An on-path attack puts the tester's system between two communicating hosts so it can read or alter their traffic. ARP poisoning is a common way to achieve it. VLAN hopping reaches other VLANs but does not insert the tester into an existing conversation.

    Open this question
  45. Question 45

    Attacks and Exploits

    A tester identifies an in-scope switch's web interface by vendor and model. The client confirms it was never reconfigured, and it locks accounts after three failed logins. What should the tester try FIRST?

    Show the answer

    Correct answerC. Try the vendor's documented factory login

    AWhy not this: A large wordlist needs many attempts, so it would lock the account almost immediately.

    BWhy not this: Relaying forwards captured authentication and needs a victim's session; it does not use the device's factory login.

    CWhy this is right: Documented factory logins need only a couple of attempts, so they fit under the three-failure lockout.

    DWhy not this: Spraying targets domain accounts, but this device is an unconfigured appliance with its own local login.

    A device that was never reconfigured likely still has its documented factory login, which takes one or two attempts and stays under the lockout threshold. A large wordlist attack would lock the admin account after three failures and is noisy.

    Open this question
  46. Question 46

    Attacks and Exploits

    A tester's port is an access port in VLAN 10 with DTP disabled, and the trunk uplink's native VLAN is also 10. Which technique reaches a host in VLAN 20, and what limits it?

    Show the answer

    Correct answerC. Double tagging, which is one-way because replies do not return to the tester

    AWhy not this: Switch spoofing depends on DTP negotiation, which is disabled here.

    BWhy not this: MAC flooding fills the CAM table within a VLAN; it does not move frames between VLANs.

    CWhy this is right: The outer native tag is stripped and the inner tag delivers the frame, but return traffic takes no such path.

    DWhy not this: It is the opposite: the attack needs the tester's VLAN to match the native VLAN so the outer tag is stripped.

    Double tagging works when the tester's VLAN is the trunk's native VLAN: the first switch strips the outer tag and forwards the inner VLAN 20 tag across the trunk. Replies cannot return along the same path, so it is one-way. Switch spoofing needs DTP negotiation.

    Open this question
  47. Question 47

    Attacks and Exploits

    NTLM is disabled in a domain. A tester exports a user's Kerberos ticket-granting ticket from a compromised host's memory and has neither the password nor its hash. Which attack lets the tester act as that user?

    Show the answer

    Correct answerB. Pass-the-ticket attack

    AWhy not this: It needs an NTLM hash and NTLM authentication, and NTLM is disabled here.

    BWhy this is right: a stolen Kerberos ticket is loaded into the tester's session to impersonate its owner.

    CWhy not this: Pass-the-token reuses web or cloud tokens such as bearer access tokens, not Kerberos tickets.

    DWhy not this: Kerberoasting cracks service tickets offline to recover service account passwords; it does not reuse a TGT.

    Pass-the-ticket injects a stolen Kerberos ticket into the tester's session to impersonate its owner. Pass-the-hash is tempting but relies on NTLM authentication, which is disabled, and the tester holds no hash anyway.

    Open this question
  48. Question 48

    Attacks and Exploits

    A stolen access token for a cloud API expires in 15 minutes, but the tester also holds the session's refresh token. What should the tester do to keep access?

    Show the answer

    Correct answerD. Redeem the refresh token for new access tokens

    AWhy not this: Spraying guesses passwords and could trigger lockouts; the tester already holds a usable token.

    BWhy not this: That is Kerberoasting, which targets service account passwords in Kerberos, not cloud API tokens.

    CWhy not this: MFA fatigue pressures the user for an approval; no new login is needed here.

    DWhy this is right: the refresh token is exchanged for new access tokens, so access continues without credentials.

    A refresh token can be exchanged with the identity provider for fresh access tokens, extending a pass-the-token attack past the short access token lifetime. Password spraying is wrong because it guesses passwords instead of reusing an issued token.

    Open this question
  49. Question 49

    Attacks and Exploits

    A tester on a user's compromised workstation wants to reach the user's cloud app without a password or a new MFA prompt, and the user's session is already MFA-authenticated. Which actions form a pass-the-token attack? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Use the token while it is still unexpired and not revokedB. Extract the session's access token from the browser or memoryF. Present the stolen token to the cloud service as a bearer credential

    AWhy this is right: token lifetime and revocation decide whether the stolen token still works.

    BWhy this is right: the token is taken from the compromised host where the authenticated session lives.

    CWhy not this: That is MFA fatigue, which tricks the user instead of reusing an issued token.

    DWhy not this: That is a dictionary attack on a hash; pass-the-token needs no password at all.

    EWhy not this: That is Kerberoasting, a Kerberos attack that recovers service account passwords.

    FWhy this is right: a bearer token is accepted as proof of authentication, bypassing the password and MFA.

    Pass-the-token steals an already issued token, presents it to the service as proof of authentication, and works only while the token remains valid. Pushing MFA prompts is a different attack that targets the user, not an issued session token.

    Open this question
  50. Question 50

    Attacks and Exploits

    After obtaining a user's password, a tester sends repeated push prompts hoping the user approves one. Which attack is this?

    Show the answer

    Correct answerC. MFA fatigue

    AWhy not this: Spraying tries a few common passwords across many accounts, not repeated prompts to one user's device.

    BWhy not this: Pass-the-token reuses a stolen token and needs no approval from the user.

    CWhy this is right: repeated push prompts wear the user down until they approve one, defeating the second factor.

    DWhy not this: Stuffing replays leaked username and password pairs; it does not generate approval prompts.

    MFA fatigue floods a user with push approval requests until they approve one out of annoyance or confusion. Password spraying is wrong because it guesses passwords across many accounts and does not target the second factor.

    Open this question