Curated

Attacks and Exploits 3 (4.6–4.8)

0 votes

Questions86

  1. Question 51

    Attacks and Exploits

    A tester installs modules from a marketplace inside a Metasploit-like console and stores OSINT findings in a workspace database. Which tool is being used?

    Show the answer

    Correct answerB. Recon-ng

    AWhy not this: Gophish runs phishing campaigns and tracks recipient actions; it does not collect OSINT.

    BWhy this is right: Recon-ng offers a Metasploit-style console, marketplace modules and workspaces that store OSINT results.

    CWhy not this: Maltego is a graphical link-analysis tool using transforms, not a command console with marketplace modules.

    DWhy not this: theHarvester is run as a single command with flags and has no module marketplace or workspace database.

    Recon-ng is a modular OSINT framework with a Metasploit-style console, installable marketplace modules and workspace databases for results. Maltego also gathers OSINT, but it is a graphical tool built around transforms and link graphs, not a module console.

    Open this question
  2. Question 52

    Attacks and Exploits

    A tester sends many malformed, random frames to a wireless access point to find crashes in its firmware. Which technique is this?

    Show the answer

    Correct answerA. Protocol fuzzing

    AWhy this is right: Sending malformed or random input to provoke crashes is fuzzing.

    BWhy not this: Deauthentication forges frames to disconnect clients and does not look for implementation flaws.

    CWhy not this: A captive portal is a login page that redirects clients and tests nothing.

    DWhy not this: Wardriving maps networks while moving and sends no malformed input.

    Protocol fuzzing feeds malformed or unexpected input to a protocol implementation to expose crashes and flaws. Deauthentication sends forged frames to disconnect clients, not to find bugs.

    Open this question
  3. Question 53

    Attacks and Exploits

    Employee laptops auto-join the saved corporate SSID and favor the strongest signal. Which attack should the tester use to capture their credentials?

    Show the answer

    Correct answerC. Evil twin attack

    AWhy not this: Wardriving surveys and maps networks; it does not intercept any user credentials.

    BWhy not this: Deauthentication only disconnects clients; it does not capture credentials on its own.

    CWhy this is right: A rogue AP copying the SSID with a stronger signal draws saved-network clients and exposes credentials.

    DWhy not this: Jamming blocks wireless traffic and gives clients nothing to connect to, so nothing is captured.

    An evil twin broadcasts the corporate SSID from a tester-controlled access point with a stronger signal, so clients join it and expose their credentials. Deauthentication only disconnects clients and captures nothing by itself.

    Open this question
  4. Question 54

    Attacks and Exploits

    A network uses 802.11w protected management frames, so deauthentication frames are ignored. An authorized test must disrupt all wireless service in a room, including non-Wi-Fi 2.4 GHz sensors. Which attack fits?

    Show the answer

    Correct answerD. Signal jamming

    AWhy not this: Forged deauthentication frames are ignored under protected management frames and never touch non-Wi-Fi sensors.

    BWhy not this: A captive portal is a login redirect page and does not disrupt service.

    CWhy not this: An evil twin lures clients to a rogue AP; it does not disrupt every device in the band.

    DWhy this is right: Radio noise on the band disrupts all devices there, regardless of protocol or frame protection.

    Signal jamming transmits radio noise on the frequency, disrupting every device on it whether or not it speaks 802.11 or uses protected management frames. Deauthentication relies on forged management frames, which protected management frames cause clients to ignore.

    Open this question
  5. Question 55

    Attacks and Exploits

    The rules of engagement forbid transmitting any frames. The tester must record the location, encryption type and hidden-SSID access points around a campus perimeter. What should the tester do?

    Show the answer

    Correct answerA. Drive the perimeter with a GPS receiver and a passive monitor-mode capture

    AWhy this is right: Passive capture sends nothing, and GPS tagging ties each access point to a location.

    BWhy not this: A WPS PIN attack is an active attack on each device and not a way to survey networks.

    CWhy not this: Deauthentication does expose hidden SSIDs, but it transmits frames and breaks the no-transmit rule.

    DWhy not this: Crafted probe requests are transmitted frames, so they break the no-transmit rule.

    Wardriving with GPS-tagged passive capture records beacons and client association traffic without transmitting, so it gives locations, encryption types and hidden SSIDs. Deauthentication forces clients to reconnect and does reveal hidden SSIDs, but it transmits frames, which the rules forbid.

    Open this question
  6. Question 56

    Attacks and Exploits

    A client's cloud tenant is linked to a third-party analytics service through an API token. A tester recovers that token from a vendor support forum post. What should the tester do to BEST show the integration's risk?

    Show the answer

    Correct answerC. Authenticate with the token and enumerate the permissions it grants in the tenant

    AWhy not this: Mounting the host from a privileged container is container escape, which the token does not involve.

    BWhy not this: The metadata service yields a VM's role keys, not the permissions of the vendor's token.

    CWhy this is right: Using the token shows what the vendor integration can do inside the client's tenant.

    DWhy not this: Registering a public package targets dependency confusion, not a leaked integration token.

    The weakness is the access a vendor integration holds in the client's tenant, so using the token and enumerating its permissions shows the real impact. Publishing a package is dependency confusion, a supply chain attack unrelated to this token.

    Open this question
  7. Question 57

    Attacks and Exploits

    A tester finds an SSRF flaw in a web app on an EC2 instance that still allows IMDSv1. Which two requests sent through the flaw retrieve the instance role's temporary credentials? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Request that same path with the role name appended to read its temporary keysD. Request the iam/security-credentials/ path on 169.254.169.254 to learn the role name

    AWhy this is right: Appending the role name to the path returns the AccessKeyId, SecretAccessKey and session token.

    BWhy not this: A mounted runtime socket is a container escape route, not a way to reach the metadata service.

    CWhy not this: An anonymous bucket listing targets exposed storage and never touches the instance role's credentials.

    DWhy this is right: The metadata path returns the attached role's name, which the tester needs for the next request.

    With IMDSv1, a plain GET through the SSRF flaw reaches the metadata service: the first request returns the role name and the second returns its temporary keys. A bucket listing tests exposed storage, which does not yield the instance role's credentials.

    Open this question
  8. Question 58

    Attacks and Exploits

    A tester finds that a user who only needs to read one bucket holds full administrator permissions. What is this misconfiguration?

    Show the answer

    Correct answerA. Overly permissive IAM policy

    AWhy this is right: Admin rights for a one-bucket read need break least privilege, which is an IAM policy flaw.

    BWhy not this: Public service access concerns internet reachability, not the rights of an identity.

    CWhy not this: Segmentation concerns separating networks, not the permissions a user holds.

    DWhy not this: Nothing says the bucket is open to anonymous users; the problem is the user's permissions.

    Granting administrator rights where read access to one bucket is enough violates least privilege, which is an IAM misconfiguration. The bucket is not described as publicly reachable, so exposed storage does not apply.

    Open this question
  9. Question 59

    Attacks and Exploits

    A client granted a third-party reporting app write access to all of its cloud storage, though the app needs only read access to one bucket. A tester abuses the app's grant to modify objects. What is the root cause?

    Show the answer

    Correct answerC. Over-scoped permissions granted to a third-party integration

    AWhy not this: Access came through the app's grant, not anonymous access, so the buckets are not publicly exposed.

    BWhy not this: No log entry is involved; the access came from the permissions delegated to the vendor app.

    CWhy this is right: The vendor app holds broader access than it needs, so abusing its grant gives the tester write access.

    DWhy not this: Nothing indicates an internet-facing service; the weakness is in the access delegated to the app.

    The integration was given far more access than its function needs, so anyone who controls the app inherits that access. Public bucket exposure would allow anonymous access, but here access flows through the app's authorized grant.

    Open this question
  10. Question 60

    Attacks and Exploits

    A tester's SSRF flaw on a cloud VM can send only GET requests and cannot set custom headers. Requests to the metadata service's credential path return 401 errors. Which two statements explain this? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. The flaw cannot send the session token header that IMDSv2 demandsD. The instance enforces IMDSv2, which requires a session token requested with PUT

    AWhy this is right: Every IMDSv2 metadata request must carry the token header, and this flaw cannot set custom headers.

    BWhy not this: Metadata requests are unsigned and need no access key; IMDSv2 uses a session token instead.

    CWhy not this: An empty role still receives temporary credentials; a 401 points to a missing token, not missing permissions.

    DWhy this is right: IMDSv2 issues a session token only in response to a PUT request, which a GET-only flaw cannot make.

    IMDSv2 requires a PUT request to obtain a session token, then that token in a header on every metadata request. A GET-only SSRF flaw with no header control can do neither, hence the 401. A role without a policy would still receive credentials, just with no permissions.

    Open this question
  11. Question 61

    Attacks and Exploits

    From a compromised development VM, a tester reaches production databases on port 5432. Dev and production share one subnet, and the security group allows all traffic from the VPC CIDR. Which remediation BEST addresses the root cause?

    Show the answer

    Correct answerC. Isolate production in a separate network with limited flows

    AWhy not this: Rotation limits credential lifetime but leaves the open path to the database ports in place.

    BWhy not this: IMDSv2 protects instance credentials from SSRF; it does not restrict network paths between hosts.

    CWhy this is right: Separating production from dev and allowing only required flows removes the flat network that enabled the lateral movement.

    DWhy not this: The tester already had a foothold; removing a public IP does not restrict traffic inside the network.

    Dev and production share a flat network that trusts the whole CIDR, so a foothold in one reaches the other. Separating production and permitting only required flows fixes this. Rotating credentials or removing a public IP does not stop lateral network access.

    Open this question
  12. Question 62

    Attacks and Exploits

    A tester finds that a former employee's cloud account and access keys are still active months after departure. What IAM misconfiguration is this?

    Show the answer

    Correct answerC. Orphaned account left enabled

    AWhy not this: Nothing in the stem involves storage; the problem is in identity management, not bucket permissions.

    BWhy not this: Trust abuse means assuming a role through its trust policy; this is a leftover user account instead.

    CWhy this is right: A departed user's account and keys that were never disabled are orphaned, an IAM lifecycle failure.

    DWhy not this: The metadata service serves instance credentials; it plays no part in a stale user account.

    An account that was never deprovisioned after its owner left is an orphaned account, an IAM lifecycle failure attackers can use with valid credentials. Trust relationship abuse concerns roles that let another account assume them, not leftover user accounts.

    Open this question
  13. Question 63

    Attacks and Exploits

    Which targets can ScoutSuite audit? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersD. Microsoft Azure subscriptionsE. Amazon Web Services accountsF. Google Cloud Platform projects

    AWhy not this: Checking Docker daemon settings against the CIS Docker Benchmark is Docker Bench's role.

    BWhy not this: ScoutSuite audits cloud provider configuration, not on-premises directory services.

    CWhy not this: Remotely probing kubelet ports for weaknesses is what Kube-hunter does.

    DWhy this is right: ScoutSuite supports Azure and reads subscription configuration through its API.

    EWhy this is right: ScoutSuite supports AWS and gathers its configuration through the AWS APIs.

    FWhy this is right: ScoutSuite supports Google Cloud and reviews project configuration through its API.

    ScoutSuite is a multi-cloud auditing tool that queries the AWS, Azure and Google Cloud provider APIs. It does not inspect Docker daemon settings, which is Docker Bench's job, or probe kubelet ports, which is Kube-hunter's job.

    Open this question
  14. Question 64

    Attacks and Exploits

    A tester has a shell on an Azure VM with a system-assigned managed identity. No keys, passwords or secrets were found. Which vendor command authenticates to Azure as that identity?

    Show the answer

    Correct answerA. az login --identity

    AWhy this is right: az login --identity requests a token for the VM's managed identity, so it needs no stored secret.

    BWhy not this: This Azure PowerShell form needs a username and password, which the tester does not have.

    CWhy not this: aws configure stores AWS access keys and does nothing for an Azure managed identity.

    DWhy not this: Service principal login needs a client secret or certificate, which the tester has not found.

    The --identity switch of az login uses the VM's managed identity, so no stored secret is needed. Service principal login needs a client secret or certificate, and Connect-AzAccount -Credential needs a username and password, which the tester does not have.

    Open this question
  15. Question 65

    Attacks and Exploits

    A client wants its AWS account assessed from the command line with read-only credentials. Each check must be reported as PASS or FAIL and mapped to PCI DSS and HIPAA controls. Which tool fits BEST?

    Show the answer

    Correct answerC. Prowler

    AWhy not this: ScoutSuite audits via provider APIs but presents risk findings by service in HTML, not per-control framework results.

    BWhy not this: Pacu is a post-compromise exploitation framework and does not produce compliance audit results.

    CWhy this is right: Prowler runs read-only CLI checks on AWS and maps PASS/FAIL results to compliance frameworks such as PCI DSS and HIPAA.

    DWhy not this: Docker Bench checks a Docker host against the CIS Docker Benchmark and does not assess an AWS account.

    Prowler is a command-line AWS security assessment tool that reports each check as PASS or FAIL and maps checks to frameworks such as PCI DSS and HIPAA. ScoutSuite also audits through provider APIs, but it groups findings by service and risk in an HTML report instead of per-control framework results.

    Open this question
  16. Question 66

    Attacks and Exploits

    A tester finds a Google Cloud service account key file in a code repository. The rules of engagement require the vendor's own command-line tool to authenticate with it and list accessible projects. Which tool should be used?

    Show the answer

    Correct answerB. Google Cloud CLI

    AWhy not this: AWS CLI is Amazon's tool and works only with AWS credentials and APIs.

    BWhy this is right: gcloud is Google's native CLI and can authenticate with a service account key, then list projects.

    CWhy not this: Pacu is a third-party AWS exploitation framework, so it breaks the vendor-tool rule and does not target Google Cloud.

    DWhy not this: Azure CLI is Microsoft's tool and manages Azure resources, not Google Cloud service accounts.

    The Google Cloud CLI (gcloud) is Google's native tool and can activate a service account from its key file and list the projects it can access. Azure CLI and AWS CLI are also vendor tools, but they only work against their own clouds.

    Open this question
  17. Question 67

    Attacks and Exploits

    A tester finds that a cloud account's root user signs in with only a password and has no multifactor authentication. Which weakness category is this?

    Show the answer

    Correct answerD. Identity and access management misconfiguration

    AWhy not this: No log data is leaking; the finding is a missing authentication control.

    BWhy not this: This concerns exposed network endpoints, not the strength of the root login.

    CWhy not this: No storage is involved; the finding concerns how the root identity authenticates.

    DWhy this is right: Weak authentication on a privileged identity is an IAM misconfiguration.

    Missing MFA on a privileged identity is a weak identity control, so it is an IAM misconfiguration. Public access to services concerns reachable network endpoints, not how an identity authenticates.

    Open this question
  18. Question 68

    Attacks and Exploits

    A client's SaaS vendor reaches the client's cloud account through a cross-account role. The trust policy names the vendor's account but requires no external ID. What weakness lets another vendor customer abuse this integration?

    Show the answer

    Correct answerD. Missing external ID, which lets the vendor be tricked as a confused deputy

    AWhy not this: No storage exposure is described; the weakness is in how the vendor role is trusted.

    BWhy not this: Nothing in the stem involves a metadata service or SSRF; the issue is the role's trust policy.

    CWhy not this: The vendor connects through a cloud API role, so network layout is not the weakness.

    DWhy this is right: With no external ID, the vendor's access can be triggered by any of its customers, the confused deputy problem.

    Without an external ID, the vendor cannot tell which of its customers is asking, so any customer can supply the client's role ARN and have the vendor act on it (confused deputy). The metadata service is a different attack path and does not involve this trust policy.

    Open this question
  19. Question 69

    Attacks and Exploits

    From a shell on an Azure VM, a tester requests the managed identity token path on 169.254.169.254 and gets 400 Bad Request. Which change fixes the request?

    Show the answer

    Correct answerD. Add the header "Metadata: true"

    AWhy not this: This header is required by Google Cloud's metadata server, not by Azure's.

    BWhy not this: The PUT token flow is AWS IMDSv2 and has no meaning on an Azure endpoint.

    CWhy not this: The link-local metadata endpoint is plain HTTP, and switching to HTTPS would not supply the missing header.

    DWhy this is right: Azure IMDS requires this header on every request, and a request without it returns 400.

    The Azure Instance Metadata Service rejects requests that lack the "Metadata: true" header, which also blocks simple SSRF. The Google header and the AWS IMDSv2 token flow belong to other providers' metadata services and do not apply to an Azure endpoint.

    Open this question
  20. Question 70

    Attacks and Exploits

    Clients on channel 6 keep dropping. A capture shows no deauthentication or disassociation frames, and a spectrum analyzer shows constant high-power noise across the channel. Which attack is most likely occurring?

    Show the answer

    Correct answerD. Signal jamming

    AWhy not this: Fuzzing sends malformed frames at a target to find flaws, which would show up as odd frames, not noise.

    BWhy not this: An evil twin is a rogue AP copying an SSID and would not appear as broadband noise on the channel.

    CWhy not this: Deauthentication works by sending forged frames, and the capture shows none.

    DWhy this is right: Jamming floods the channel with RF noise, so clients drop without any forged management frames appearing.

    Constant RF noise with no management frames indicates jamming, which blocks the channel physically rather than sending forged frames. Deauthentication would show up as spoofed deauthentication frames in the capture.

    Open this question
  21. Question 71

    Attacks and Exploits

    A client wants a map of where its access points can be heard from public roads. The tester drives the perimeter passively capturing beacons, without transmitting. What must be logged with each observed access point to build the map?

    Show the answer

    Correct answerB. GPS coordinates and signal strength per beacon

    AWhy not this: Captive portal URLs and credentials come from a portal or rogue AP, which needs transmitting and has no mapping value.

    BWhy this is right: Location plus signal strength for each beacon is what wardriving records to plot where the APs can be heard.

    CWhy not this: Client MACs and handshakes relate to cracking or tracking clients, not to plotting where AP signals are heard.

    DWhy not this: WPS PIN attempts and lock state belong to an active WPS PIN attack, not to passive mapping.

    Wardriving pairs each passively observed access point with a GPS position and signal level, which lets the data be plotted as a coverage map. Handshakes and client MACs are attack data and say nothing about where the signal reaches.

    Open this question
  22. Question 72

    Attacks and Exploits

    During wireless protocol fuzzing, which result most directly suggests the target has a vulnerability?

    Show the answer

    Correct answerD. The device crashes or stops responding

    AWhy not this: Listing APs with locations is the output of wardriving, not of sending malformed frames.

    BWhy not this: Disconnecting clients with spoofed management frames is deauthentication, not fuzzing.

    CWhy not this: Capturing a handshake supports offline password cracking and is not a fuzzing outcome.

    DWhy this is right: A crash or hang after malformed input shows the target mishandles unexpected data, which is a likely flaw.

    A crash, reboot or hang after malformed input shows the implementation fails to handle unexpected data, which is the flaw fuzzing looks for. Client disconnections from spoofed frames describe deauthentication, a different attack.

    Open this question
  23. Question 73

    Attacks and Exploits

    An authorized evil twin test captured credentials from corporate laptops using the WPA2-Enterprise SSID. Which control would best stop these laptops from joining a rogue AP?

    Show the answer

    Correct answerA. Enforcing RADIUS server certificate validation

    AWhy this is right: Certificate validation makes the AP prove its identity, so a rogue AP without the right certificate is rejected.

    BWhy not this: A hidden SSID is easily learned from client probes and does not authenticate the AP to the client.

    CWhy not this: Lower power only shrinks coverage, and an attacker can still be the strongest signal near the target.

    DWhy not this: MAC filtering runs on the AP and does not let a client verify that an AP is genuine.

    If clients validate the RADIUS server certificate, a rogue AP cannot prove it is the real authentication server, so the client refuses the connection. Hiding the SSID does not help because the attacker can learn the name and clients still probe for it.

    Open this question
  24. Question 74

    Attacks and Exploits

    An AP uses WPA2 without 802.11w. A tester must force one associated client to reconnect so its four-way handshake can be captured, without disturbing other clients. Which technique fits best?

    Show the answer

    Correct answerB. Deauthentication frames sent to that client

    AWhy not this: a WPS PIN attack guesses the WPS PIN and does not force a client reconnection.

    BWhy this is right: unprotected deauth frames can target a single client, forcing a reconnect and a new handshake.

    CWhy not this: jamming disrupts all devices on the channel and cannot target one client.

    DWhy not this: a rogue AP lures clients to a fake network; it does not force one client to redo its handshake with the real AP.

    Without protected management frames, spoofed deauthentication frames aimed at one client's MAC force it to disconnect and rejoin, exposing the handshake. Jamming would also drop the client but disrupts every device on the channel and sends no management frames.

    Open this question
  25. Question 75

    Attacks and Exploits

    During an authorized test, a tester runs a rogue guest network and wants every user who connects to be redirected to a web login page that collects credentials. Which feature provides this?

    Show the answer

    Correct answerC. Captive portal

    AWhy not this: wardriving passively maps access points and does not interact with connecting users.

    BWhy not this: deauthentication disconnects clients from an AP but shows them no page.

    CWhy this is right: a captive portal redirects new clients' browsers to a login page before granting access.

    DWhy not this: packet crafting builds custom frames or packets; it does not present a web page to users.

    A captive portal intercepts a newly connected client's web traffic and redirects it to a page, usually a login or terms page, before network access is granted. Deauthentication only disconnects clients and presents no page.

    Open this question
  26. Question 76

    Attacks and Exploits

    A tester must send one wireless frame with exactly chosen header field values that normal client software cannot produce, then watch how the access point responds. Which technique is this?

    Show the answer

    Correct answerC. Packet crafting

    AWhy not this: fuzzing sends many malformed or random frames to provoke faults, not one deliberately specified frame.

    BWhy not this: an evil twin is a rogue AP imitating a legitimate SSID; it does not involve building custom frames.

    CWhy this is right: packet crafting means hand-building a frame with chosen field values and observing the response.

    DWhy not this: wardriving passively maps access points while moving; it transmits no custom frames.

    Packet crafting builds a frame or packet by hand, with chosen field values, using a tool such as Scapy. Protocol fuzzing also sends unusual frames, but it generates malformed or random input at volume to find crashes, not one exact, deliberate frame.

    Open this question
  27. Question 77

    Attacks and Exploits

    A WPA2 AP has WPS PIN enabled and a random 24-character passphrase that makes handshake cracking impractical. Which attack can still recover the passphrase?

    Show the answer

    Correct answerB. Brute-forcing the WPS PIN on the AP

    AWhy not this: a long random passphrase will not fall to wordlist cracking, which the stem already rules out.

    BWhy this is right: the PIN has a small search space and, once found, the AP discloses the passphrase regardless of its strength.

    CWhy not this: deauthentication only disconnects clients and recovers no passphrase by itself.

    DWhy not this: wardriving locates and maps access points; it does not recover keys.

    A WPS PIN attack guesses the short PIN, which is checked in two halves, so passphrase strength is irrelevant; a valid PIN makes the AP reveal the passphrase. Offline handshake cracking depends on guessing the passphrase, which the stem rules out.

    Open this question
  28. Question 78

    Attacks and Exploits

    An AP uses WPA2-Personal with 802.11w set to optional. A tester forges deauthentication frames against a laptop that does not support 802.11w, and the laptop reconnects while a phone that requires 802.11w stays connected. What explains this?

    Show the answer

    Correct answerA. Protected management frames block forged deauthentication only for clients that use them

    AWhy this is right: Clients that negotiated PMF reject unprotected deauthentication, while non-PMF clients obey forged frames.

    BWhy not this: Forged deauthentication frames normally spoof the AP address, which is how they work on non-PMF clients.

    CWhy not this: A band difference is a guess; the stem points to differing 802.11w support.

    DWhy not this: Range would not distinguish the two devices on the same network; the forged frames reach both.

    With 802.11w, clients that negotiate protected management frames reject unauthenticated deauthentication frames, while clients without it still accept forged ones. Range is not the cause, because the phone would otherwise drop like the laptop.

    Open this question
  29. Question 79

    Attacks and Exploits

    A tester wants to test how an access point handles an 802.11 frame whose subtype and flag bits are set to values that no standard client driver would send. Which tool category fits this goal?

    Show the answer

    Correct answerA. A packet-generation library that builds frames field by field

    AWhy this is right: Crafting libraries let the tester set every header field and send the exact frame to observe the response.

    BWhy not this: Wardriving tools passively record beacons and locations; they do not build arbitrary frames.

    CWhy not this: A captive portal redirects users to a login page; it does not create custom 802.11 frames.

    DWhy not this: A spectrum analyzer shows RF energy and interference; it does not transmit chosen frames.

    Packet crafting uses a library or tool to build frames with chosen header fields, bypassing the limits of normal client software. A wardriving app only listens and logs beacons; it cannot generate custom frames.

    Open this question
  30. Question 80

    Attacks and Exploits

    During an authorized test, a tester sets up an open rogue guest network that sends every new client to a branded web page asking for an email and password. Which behavior of a captive portal makes this effective?

    Show the answer

    Correct answerB. It intercepts a client's first web request and redirects it to the login page

    AWhy not this: Overpowering a signal is jamming or a signal-strength trick, not portal behavior.

    BWhy this is right: Redirecting the first web request is how a captive portal presents its login page to every new client.

    CWhy not this: Forcing reconnection is deauthentication; it does not itself show a login page.

    DWhy not this: WPS PIN guessing targets the AP's setup feature, unrelated to a web login page.

    A captive portal intercepts a client's initial HTTP request and redirects it to a login page, so the user enters credentials before getting access. Deauthentication only forces reconnection and does not present a login page.

    Open this question
  31. Question 81

    Attacks and Exploits

    A tester confirms that an AP has WPS PIN entry enabled and does not lock out after repeated failed attempts. Which remediation should the report recommend to eliminate the WPS PIN attack?

    Show the answer

    Correct answerC. Disable WPS PIN authentication on the AP

    AWhy not this: A hidden SSID is still exposed in client frames, and the AP still accepts WPS PIN attempts, so the attack remains possible.

    BWhy not this: MAC addresses are visible and easily spoofed, and this does not change how the AP validates WPS PINs.

    CWhy this is right: With PIN authentication off, the AP has no PIN to guess, so the online attack is removed.

    DWhy not this: Beacon timing has no effect on how the AP handles WPS PIN attempts.

    The weakness is in the WPS PIN method itself, so turning off PIN-based WPS removes the attack path. Hiding the SSID is the tempting choice, but a hidden network still reveals its name in probe and association frames, and the AP keeps answering WPS PIN attempts.

    Open this question
  32. Question 82

    Attacks and Exploits

    A tester's rogue guest AP runs a captive portal, but connected phones never show the sign-in page. Which AP behavior makes phones display it automatically?

    Show the answer

    Correct answerB. Redirecting the phone's connectivity check

    AWhy not this: A hidden SSID affects how the network is discovered, not what happens after joining.

    BWhy this is right: The OS probes with an HTTP request, and a redirect in reply makes it open the portal page.

    CWhy not this: WPS PIN authentication is a setup method and does not trigger a sign-in page.

    DWhy not this: Deauthentication drops clients and does not present any web page.

    Phones test connectivity with a small web request when joining a network. A captive portal intercepts it and answers with a redirect to its login page, so the sign-in screen opens. Deauthentication frames only disconnect clients.

    Open this question
  33. Question 83

    Attacks and Exploits

    An authorized tester targets clients on a WPA2-Personal network without 802.11w by sending deauthentication frames. Which two conditions let the clients accept the frames? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Frames sent on the AP's operating channelC. Source address spoofed to the AP's BSSID

    AWhy not this: Deauthentication frames can be sent without ever joining the network.

    BWhy this is right: The clients only receive frames on the channel the AP uses, so the tester must transmit there.

    CWhy this is right: Clients trust a deauthentication frame that appears to come from the AP they are associated with.

    DWhy not this: A WPS PIN belongs to WPS setup and plays no part in management frame acceptance.

    EWhy not this: Without 802.11w the frames are unencrypted; the pairwise key is not used for them.

    FWhy not this: Management frames are not checked against the passphrase, so the tester does not need it.

    Unprotected management frames are trusted if they appear to come from the AP and are heard on its channel. The tester needs no association, passphrase or encryption, because without 802.11w deauthentication frames are not authenticated.

    Open this question
  34. Question 84

    Attacks and Exploits

    A tester will use a packet-crafting tool to build custom 802.11 frames and transmit them. Which wireless adapter capability is required?

    Show the answer

    Correct answerD. Packet injection support

    AWhy not this: WPA3-Enterprise support is a client authentication feature and does not enable raw frame transmission.

    BWhy not this: An antenna changes range and gain, not whether the adapter can send arbitrary frames.

    CWhy not this: GPS tags locations for wardriving and has no role in transmitting crafted frames.

    DWhy this is right: Injection lets the adapter transmit raw, hand-built frames instead of only those from its normal client stack.

    Crafted frames only matter if the adapter and driver can transmit raw frames the operating system did not generate, which is packet injection. A high-gain antenna extends range but does not let the adapter send custom frames.

    Open this question
  35. Question 85

    Attacks and Exploits

    A tester captures beacons from an AP with a blank SSID and sees one client already associated. The network has no 802.11w. Which technique makes the SSID name appear in the capture?

    Show the answer

    Correct answerA. Deauthenticate the associated client

    AWhy this is right: The client's reassociation request contains the SSID in clear text, exposing the hidden name.

    BWhy not this: Noise blocks frames on the channel, so it prevents reassociation rather than revealing the SSID.

    CWhy not this: Fuzzing sends malformed input to find flaws and does not reveal a configured SSID.

    DWhy not this: A WPS PIN attack targets the passphrase through WPS and does not uncover a hidden SSID.

    Without 802.11w, a forged deauthentication frame disconnects the client, and its reassociation request carries the SSID in clear text. Jamming only blocks traffic, so no frames carrying the name are produced.

    Open this question
  36. Question 86

    Attacks and Exploits

    A tester estimates the time for an online WPS PIN attack and finds about 11,000 guesses are needed, not 100 million. What explains the smaller search space?

    Show the answer

    Correct answerB. The last digit is a checksum, and the PIN halves are checked separately

    AWhy not this: Beacons do not disclose PIN digits; the AP only replies to each submitted half.

    BWhy this is right: Only 7 digits are free, and splitting the check into 4 plus 3 digits gives roughly 11,000 guesses.

    CWhy not this: WPS PIN digits range from zero to nine, so no such restriction exists.

    DWhy not this: PINs are not generally derived from the MAC address, and that would not explain the two-half check.

    An eight-digit PIN has a checksum as its last digit, and the AP confirms the first four digits separately from the next three. That gives about 10^4 plus 10^3 guesses. A beacon leaking correct digits is not how WPS works.

    Open this question