Curated

Reconnaissance and Enumeration 1 (2.1–2.2)

0 votes

Questions83

  1. Question 51

    Reconnaissance and Enumeration

    A tester has no credentials and wants to list the SMB shares on a Windows server at 10.0.0.5 using an anonymous session. Which command BEST does this?

    Show the answer

    Correct answerB. smbclient -L //10.0.0.5 -N

    AWhy not this: This lists NFS exports and does not query SMB shares.

    BWhy this is right: The -L option lists the SMB shares and -N sends no password for an anonymous attempt.

    CWhy not this: This only checks whether SNMP is open and does not list shares.

    DWhy not this: This lists user accounts over RPC, which is user enumeration and not shares.

    smbclient -L requests the server's share list, and -N attempts it without a password. showmount -e lists NFS exports, a different file-sharing protocol, so it returns nothing useful from an SMB server.

    Open this question
  2. Question 52

    Reconnaissance and Enumeration

    A tester brute-forces directories on a site whose server returns HTTP 200 with a custom error page for every missing path, so every wordlist entry looks valid. What should the tester do?

    Show the answer

    Correct answerA. Filter out responses matching the error page's size

    AWhy this is right: The error page has a constant size, so excluding it leaves only paths that really exist.

    BWhy not this: More threads only make the scan faster and do nothing to remove the false positives.

    CWhy not this: Version detection identifies the web service but does not discover hidden paths.

    DWhy not this: The server already answers 200 for missing paths, so this keeps every false positive.

    A soft 404 returns 200 for missing paths, so status codes cannot separate real from fake. Filtering out the constant response size of the error page leaves only real hits. Matching only 200 keeps every false positive.

    Open this question
  3. Question 53

    Reconnaissance and Enumeration

    Hosts on the tester's own local subnet drop ICMP echo requests and ignore unsolicited TCP probes. Which technique BEST finds the live hosts?

    Show the answer

    Correct answerB. ARP scan with arp-scan

    AWhy not this: Echo requests are dropped, so the sweep would show live hosts as down.

    BWhy this is right: Hosts on the same segment must answer ARP, so host firewalls rarely block it.

    CWhy not this: The hosts ignore TCP probes, so no replies come back to reveal them.

    DWhy not this: This identifies the operating system of a known host and does not find live hosts.

    On the same Layer 2 segment, ARP requests find hosts even when ICMP and TCP are filtered, because hosts must answer ARP to communicate. An ICMP echo sweep fails here because echo requests are dropped.

    Open this question
  4. Question 54

    Reconnaissance and Enumeration

    A tester runs gobuster in dir mode against a PHP site and wants each wordlist entry also tried with the .php and .bak extensions. Which option does this?

    Show the answer

    Correct answerA. -x php,bak

    AWhy this is right: This appends each listed extension to every wordlist word, finding files like config.bak.

    BWhy not this: This supplies a username for authentication and has no effect on the names tried.

    CWhy not this: This sets 50 concurrent threads, which changes speed and not the names requested.

    DWhy not this: This skips TLS certificate verification and does not add extensions.

    The -x option appends each listed extension to every wordlist entry, so config also becomes config.php and config.bak. The -t option only sets the number of threads and does not change what is requested.

    Open this question
  5. Question 55

    Reconnaissance and Enumeration

    Which techniques can a tester use to find live hosts on a network segment? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersC. ARP scanE. ICMP echo sweepF. TCP SYN ping

    AWhy not this: This finds paths on a web server that is already known and does not find hosts.

    BWhy not this: This is DNS enumeration, and records may name hosts that are not alive.

    CWhy this is right: ARP requests on the local segment show which addresses answer with a MAC address.

    DWhy not this: This lists the shares of a host that is already known and does not find hosts.

    EWhy this is right: Echo requests sent across an address range show which hosts reply.

    FWhy this is right: A SYN sent to a common port draws a SYN/ACK or RST from a live host.

    An ICMP echo sweep, an ARP scan and a TCP SYN ping each probe addresses and note which ones reply. A zone transfer lists DNS records and does not show which hosts are alive.

    Open this question
  6. Question 56

    Reconnaissance and Enumeration

    A tester has a command prompt on a standalone Windows workstation and wants a list of its local user accounts. Which command BEST does this?

    Show the answer

    Correct answerD. net user

    AWhy not this: whoami /groups shows the group memberships of the current user only, not every local account.

    BWhy not this: net localgroup lists local group names such as Administrators, not the user accounts.

    CWhy not this: net share lists shares the host offers, which is share enumeration rather than user enumeration.

    DWhy this is right: net user with no switches lists the accounts held in the local security account database.

    Run without switches, net user lists the user accounts in the local computer's account database. net localgroup lists group names, not user accounts, so it does not answer the question.

    Open this question
  7. Question 57

    Reconnaissance and Enumeration

    A tester has a low-privilege shell on a Linux host that is joined to a central directory through SSSD. The tester needs only the local accounts that can log in interactively. Which command BEST does this?

    Show the answer

    Correct answerD. grep -vE '(nologin|false)$' /etc/passwd

    AWhy not this: getent passwd also returns directory-backed accounts and every service account, so it is neither local-only nor filtered.

    BWhy not this: who shows only users currently logged in, so it misses accounts that can log in but are not active.

    CWhy not this: /etc/shadow is readable only by root, so a low-privilege user is denied, and it holds no shell field.

    DWhy this is right: /etc/passwd is readable by any user and shows each local account's shell, so removing nologin and false shells isolates interactive accounts.

    /etc/passwd is world-readable and holds local accounts with their shells, so filtering out nologin and false shells leaves the interactive accounts. /etc/shadow needs root, and getent passwd adds directory accounts and unfiltered service accounts.

    Open this question
  8. Question 58

    Reconnaissance and Enumeration

    A Linux file server shows TCP ports 111 and 2049 open and no SMB ports. The tester wants the directories it exports to clients. Which command BEST does this?

    Show the answer

    Correct answerA. showmount -e 10.0.0.8

    AWhy this is right: showmount -e queries the NFS mount daemon and returns the exported directories and the clients allowed to mount them.

    BWhy not this: rpcinfo -p lists registered RPC services such as mountd and nfs, but it does not show the exported directories.

    CWhy not this: smbclient lists SMB shares, and this server exposes no SMB ports, so the query gets no answer.

    DWhy not this: ldapsearch queries a directory service for entries and has nothing to do with file exports.

    Ports 111 and 2049 indicate NFS, and showmount -e asks the server's mount daemon for its export list. smbclient -L enumerates SMB shares, but no SMB service is listening here.

    Open this question
  9. Question 59

    Reconnaissance and Enumeration

    An SMTP server answers every VRFY command with 252 and rejects EXPN. The tester wants to learn which addresses on a list are valid mailboxes without sending any message. Which method is BEST?

    Show the answer

    Correct answerB. Issue RCPT TO commands and compare 250 and 550 replies

    AWhy not this: VRFY returns the same 252 for every address, so a longer wordlist still reveals nothing.

    BWhy this is right: RCPT TO makes the server accept or reject each recipient, so 250 versus 550 shows validity without delivering mail.

    CWhy not this: theHarvester collects publicly exposed addresses but does not confirm that a mailbox exists on the server.

    DWhy not this: MX records identify the mail servers for a domain, not which mailboxes exist on them.

    RCPT TO inside an SMTP session makes the server accept or reject each recipient, so 250 versus 550 separates valid from invalid addresses without delivering mail. VRFY is uninformative here because it returns 252 for everything.

    Open this question
  10. Question 60

    Reconnaissance and Enumeration

    A tester holds a host list, accounts with local admin rights and network reachability data. What should the tester do to decide the order of hosts to compromise to reach the domain controller?

    Show the answer

    Correct answerC. Chain footholds, credentials and trust relationships into a path to the objective

    AWhy not this: Finding more live hosts adds data but does not order the hosts into a route to the target.

    BWhy not this: OS fingerprinting identifies platforms and does not sequence compromises.

    CWhy this is right: Linking access, credentials and reachability into an ordered route is what attack path mapping does.

    DWhy not this: Crawling finds web pages and does not relate hosts, credentials or trusts.

    Attack path mapping links the access, credentials and reachability already found into an ordered route to the target. More discovery, crawling or fingerprinting adds data but does not produce a route.

    Open this question
  11. Question 61

    Reconnaissance and Enumeration

    A single-page application builds its links with JavaScript, so a standard spider finds only the landing page. Which approach BEST maps the site's pages?

    Show the answer

    Correct answerB. Crawl with a JavaScript-capable spider that renders pages in a browser

    AWhy not this: Guessing names is directory enumeration; it does not follow the application's links and depends on the wordlist.

    BWhy this is right: Rendering the page runs the scripts, so the spider sees and follows the generated links.

    CWhy not this: Depth only matters when links exist in the parsed HTML, and here there are none to follow.

    DWhy not this: It checks for known paths and does not follow links the application generates.

    The links exist only after scripts run, so the crawler must render the page and follow what the script creates, as an AJAX spider does. A greater depth limit fails because a plain parser sees no links to follow, however deep it goes.

    Open this question
  12. Question 62

    Reconnaissance and Enumeration

    A tester has loaded SharpHound data from a domain. The tester must show how a compromised workstation user can reach Domain Admins by chaining group memberships, sessions and ACL rights. Which action is BEST?

    Show the answer

    Correct answerA. Query the data for shortest paths from the owned user to Domain Admins

    AWhy this is right: A graph path query joins group, session and ACL edges into a route from the owned account to the target.

    BWhy not this: It finds live hosts, which is host discovery, and shows nothing about privilege relationships.

    CWhy not this: It checks local object permissions per host and does not link accounts, sessions and rights across the domain.

    DWhy not this: It lists only group members and shows no chain of relationships from the compromised user.

    A graph query for the shortest path from the owned principal to Domain Admins chains group, session and ACL edges into one route. Listing Domain Admins members shows only who is in the group, not how the compromised user could get there.

    Open this question
  13. Question 63

    Reconnaissance and Enumeration

    A tester has a low-privilege shell on a Windows host. The tester wants to find install folders and service configurations that the current user can modify. Which commands show this? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. icacls "C:\Program Files\App"E. accesschk.exe -uwcqv user *

    AWhy this is right: It prints the ACL of the folder, showing whether the current user has write or modify rights.

    BWhy not this: It brute-forces web paths over HTTP and does not read local access control lists.

    CWhy not this: It identifies services and versions on open ports, not who can modify local files or services.

    DWhy not this: It lists SMB shares on a remote host, which is share enumeration, not local object permissions.

    EWhy this is right: It reports which services and objects the named user can write to, exposing weak permissions.

    FWhy not this: It lists local accounts, which is user enumeration, and shows no object permissions.

    icacls prints the ACL of a folder or file, and Sysinternals accesschk lists the objects, including services, that an account can write to. Together they reveal where the current user can change what privileged code runs. net user only lists accounts and says nothing about what they may modify.

    Open this question
  14. Question 64

    Reconnaissance and Enumeration

    A tester follows the links on each page, starting at the home page, to map a website's pages. Which technique is this?

    Show the answer

    Correct answerB. Web crawling

    AWhy not this: It lists network file shares over SMB and does not map web content.

    BWhy this is right: Following hyperlinks from a starting page to discover pages is crawling, also called spidering.

    CWhy not this: It requests DNS records from a name server and does not touch web pages.

    DWhy not this: It guesses paths from a wordlist rather than following links on pages.

    Web crawling, or spidering, starts at a known page and follows its hyperlinks to discover more pages. Directory brute forcing differs because it guesses names from a wordlist instead of following links.

    Open this question
  15. Question 65

    Reconnaissance and Enumeration

    A tester reviews a third-party TLS scan report for a client's public website, without sending any traffic to it. The report shows the server accepts SSLv3 and 1024-bit RSA keys. What does this finding represent?

    Show the answer

    Correct answerD. A cryptographic flaw that weakens protection of traffic in transit

    AWhy not this: Subdomain takeover comes from DNS records pointing to deprovisioned services, not from protocol or key settings.

    BWhy not this: A cached page is stale copied content; a TLS configuration is live server behaviour, not cached material.

    CWhy not this: A password dump exposes stolen credentials; a TLS scan report shows nothing about leaked passwords.

    DWhy this is right: SSLv3 and 1024-bit RSA are outdated crypto settings that make traffic easier to downgrade, break or decrypt.

    Deprecated protocol versions and short keys are cryptographic flaws, because they make captured or downgraded traffic easier to break. A password dump is a separate source that exposes credentials, and it says nothing about how a server protects its sessions.

    Open this question
  16. Question 66

    Reconnaissance and Enumeration

    A public password dump from a third-party site lists client employee emails with unsalted hashes. Rules of engagement allow credential testing only against the client's VPN portal. Which four actions are appropriate? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersA. Give the client the affected accounts and the dump's source for resetsC. Test recovered credentials against the in-scope VPN portal at a low rateD. Crack the hashes offline to recover plaintext passwordsE. Build a client-specific wordlist from the recovered password patterns

    AWhy this is right: The client needs the exposed accounts and the source to force resets and reduce password reuse risk.

    BWhy not this: The breach was at a third-party site, so the dump does not show the client's own network was compromised.

    CWhy this is right: The VPN portal is the one authorized target, and a low rate avoids account lockouts and disruption.

    DWhy this is right: Unsalted hashes can be cracked offline without touching any client system, so this is safe and in scope.

    EWhy this is right: Recovered passwords reveal habits and patterns that make a targeted wordlist more effective.

    FWhy not this: Personal webmail is outside the stated scope, so testing it would be unauthorized access.

    Unsalted hashes can be cracked offline, the results feed wordlists and a throttled test of the in-scope VPN, and the client needs the affected accounts to reset. Personal accounts are out of scope, and a third-party breach does not show the client was breached.

    Open this question
  17. Question 67

    Reconnaissance and Enumeration

    A tester finds a 32-character hexadecimal string named apiKey in a client's bundled JavaScript, sent as an x-api-key header on REST calls. Which action BEST shows what the key allows?

    Show the answer

    Correct answerB. Send it in the x-api-key header to each endpoint and compare the responses

    AWhy not this: AWS access keys have a key ID and a secret; a bare hex string is not one, so STS cannot validate it.

    BWhy this is right: The key is validated by use: replaying it against endpoints and methods shows which resources it unlocks.

    CWhy not this: The string is a bearer credential, not a password hash, so there is nothing to crack; hashcat is the wrong approach.

    DWhy not this: A JWT has three dot-separated Base64 parts; a plain hex string has no claims to read, so this confuses it with a session token.

    An API key is an opaque credential presented with each request, so its privileges show only by testing it against endpoints and methods and comparing responses within scope. It is neither a hash to crack nor a JWT nor an AWS key.

    Open this question
  18. Question 68

    Reconnaissance and Enumeration

    A tester on site must list nearby access points with their BSSIDs, channels and encryption types, plus the clients associated with them, without joining any network. What is the BEST approach?

    Show the answer

    Correct answerA. Use airodump-ng with the adapter in monitor mode

    AWhy this is right: Monitor mode captures beacons and client traffic passively, so airodump-ng lists APs and clients without association.

    BWhy not this: Deauthentication is an active attack that disrupts clients; it does not enumerate access points or their settings.

    CWhy not this: Version scanning is service discovery on one gateway host; it needs IP access and shows nothing about nearby APs.

    DWhy not this: Ping sweep is host discovery on an IP subnet; it needs a network connection and shows no BSSIDs, channels or encryption.

    Monitor mode lets the adapter capture 802.11 frames from networks it has not joined, and airodump-ng lists the access points and clients from them. An nmap ping sweep is host discovery and needs network access first.

    Open this question
  19. Question 69

    Reconnaissance and Enumeration

    A tester logs in to a web app 500 times and records the session cookie from each login. What is the BEST way to judge whether an attacker could guess valid tokens?

    Show the answer

    Correct answerD. Collect the tokens and run statistical randomness analysis on them

    AWhy not this: This targets passwords on the login form, a different credential that says nothing about how session tokens are generated.

    BWhy not this: A session token is an identifier that normally holds no password; decoding it does not test predictability.

    CWhy not this: Authenticated crawling maps pages (web crawling); it does not assess how random the tokens are.

    DWhy this is right: Statistical analysis of many samples reveals patterns or low entropy that would make tokens predictable.

    Analysing the entropy of many issued tokens, for example with Burp Sequencer, shows whether they follow a predictable pattern. Brute-forcing the login form tests passwords, not how tokens are generated.

    Open this question
  20. Question 70

    Reconnaissance and Enumeration

    A tester proxies a mobile app and sees the header X-API-Key: 7d1f93ac0b sent on every request. The value is identical for two different users and unchanged after logging out and back in. What has the tester found?

    Show the answer

    Correct answerC. An application API key

    AWhy not this: A cloud access key is a key ID plus secret used to sign requests, not a single static header value.

    BWhy not this: A session token is issued per authentication and differs between users and logins, so it would not stay constant here.

    CWhy this is right: A fixed value shared by all users and unchanged across logins identifies the calling application, which is how an API key behaves.

    DWhy not this: A password hash is stored server-side and is not sent as a request header on every call.

    A static value sent in a key header, shared by all users and unaffected by login, identifies the application, which makes it an API key. A session token looks similar in transit but is issued per login and changes each time.

    Open this question
  21. Question 71

    Reconnaissance and Enumeration

    A tester reviews public internet-scan results for a client's web server without sending it any traffic. The results show it still offers SSLv3 and RC4 cipher suites. Which finding should the tester record?

    Show the answer

    Correct answerA. Deprecated protocol and weak cipher support

    AWhy this is right: SSLv3 and RC4 are obsolete and attackable, so offering them is a cryptographic flaw visible in public scan data.

    BWhy not this: Password dumps expose leaked credentials, not how strong the server's encryption configuration is.

    CWhy not this: Cached pages show old page content; they say nothing about which protocols or ciphers a server offers.

    DWhy not this: Hard-coded secrets come from code repositories; scan results about protocols and ciphers do not show source code.

    SSLv3 and RC4 are deprecated and known to be breakable, so offering them is a cryptographic flaw that public scan data can reveal passively. Password dumps concern leaked credentials, not the strength of the server's own encryption.

    Open this question
  22. Question 72

    Reconnaissance and Enumeration

    A tester with read access to a client's web server logs sees requests such as GET /account?sid=9f2c41e8b7. What is the BEST next step?

    Show the answer

    Correct answerA. Replay the sid values to find active sessions

    AWhy this is right: Tokens in URLs get logged, and a valid unexpired session ID can be replayed to take over that session.

    BWhy not this: STS validates cloud credentials; a web app's sid is meaningless to it.

    CWhy not this: Session IDs are not user passwords, so spraying them at a login form would not authenticate anyone.

    DWhy not this: The sid is an identifier issued by the server, not a hash, so there is nothing to crack offline.

    Session IDs placed in URLs are written to logs, so the logs expose live session tokens. Replaying them in requests shows which sessions are still active and usable. They are random identifiers, not hashes to crack or passwords to spray.

    Open this question
  23. Question 73

    Reconnaissance and Enumeration

    While decompiling an Android app, a tester finds the string AIzaSyD4... named google_maps_key in strings.xml, with no paired secret value. What type of secret is it?

    Show the answer

    Correct answerB. Project API key

    AWhy not this: A cloud access key ID has its own prefixes, such as AKIA, and is always paired with a secret key.

    BWhy this is right: The AIza prefix and a lone embedded string identify a static, project-level API key.

    CWhy not this: A session token is issued per login at runtime, not hardcoded in the app's resources.

    DWhy not this: A password hash is a digest of a password, not a labelled key string shipped in resources.

    The AIza prefix marks a Google API key. It is a single static value shipped inside the app and needs no companion secret. A cloud access key ID uses a different prefix, such as AKIA for AWS, and is always paired with a secret key.

    Open this question
  24. Question 74

    Reconnaissance and Enumeration

    A tester captures the header Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyIjoiYm9iIn0.x9f... The value has three dot-separated Base64URL parts. What should the tester do first to learn what it contains?

    Show the answer

    Correct answerB. Base64URL-decode the first two parts

    AWhy not this: Breach corpora list leaked passwords, not per-login tokens that are issued dynamically.

    BWhy this is right: JWT header and payload are only Base64URL-encoded, so decoding shows the claims without any cracking.

    CWhy not this: STS validates AWS credentials; a JWT in a Bearer header is not an AWS access key.

    DWhy not this: Hydra guesses login credentials against a service; the token is not a password to guess.

    A value with three dot-separated Base64URL parts is a JSON Web Token used as a session token. Its header and payload are only encoded, so decoding them reveals the algorithm, user and expiry claims. Hydra attacks login passwords, not tokens.

    Open this question
  25. Question 75

    Reconnaissance and Enumeration

    A tester wants to find API keys that a web application exposes to every visitor. Where should the tester look?

    Show the answer

    Correct answerD. Client-side JavaScript files

    AWhy not this: The SAM database holds local Windows password hashes, not API keys.

    BWhy not this: Cookies after login hold session tokens, which are issued per user, not API keys shown to all visitors.

    CWhy not this: The AWS credentials file holds cloud access keys on one machine, not data served to visitors.

    DWhy this is right: JavaScript is sent to every visitor, so keys hardcoded in it can be read by anyone.

    Front-end JavaScript is delivered to every visitor, and developers often hardcode API keys in it. The cookie jar holds session tokens, which are issued per login and are not shared with all visitors.

    Open this question
  26. Question 76

    Reconnaissance and Enumeration

    A tester has a low-privilege shell on a Linux host and no password for the account. The tester needs files that execute with root's privileges regardless of who runs them. Which command BEST finds them?

    Show the answer

    Correct answerC. find / -perm -4000 -user root 2>/dev/null

    AWhy not this: Mode 0002 finds world-writable files, which can be modified but do not run with root's privileges.

    BWhy not this: Mode 2000 is the setgid bit, which runs with the file's group rather than root as the owner.

    CWhy this is right: Mode 4000 is the setuid bit, so root-owned matches run as root for any caller.

    DWhy not this: It lists the user's sudo rights, normally requires the account password, and does not search for setuid files.

    Mode 4000 is the setuid bit, which makes a file run as its owner; restricting to root-owned files finds those that run as root. The 2000 mode is setgid, which uses the file's group, and sudo -l needs the account password and lists sudo rights instead.

    Open this question
  27. Question 77

    Reconnaissance and Enumeration

    A tester wants to passively enumerate nearby 802.11 networks with airodump-ng on a Linux laptop. Which three actions are needed? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersC. Use a wireless adapter and driver that support monitor modeE. Let the capture hop across channels or lock it to the target's channelF. Put the interface into monitor mode, for example with airmon-ng

    AWhy not this: A DHCP lease and an nmap ping sweep are host discovery on a joined network, not wireless enumeration.

    BWhy not this: Beacon frames are broadcast and need no handshake; the handshake belongs to authentication.

    CWhy this is right: Standard adapters often cannot capture raw 802.11 frames; monitor-mode support is required.

    DWhy not this: Passive enumeration never joins a network, so no pre-shared key is needed.

    EWhy this is right: Frames are only heard on the channel being tuned, so the capture must hop or be locked to one channel.

    FWhy this is right: Monitor mode lets the interface capture all 802.11 frames it hears without associating.

    Passive wireless enumeration needs hardware that supports monitor mode, the interface placed in that mode, and a channel setting so frames on the right channels are captured. Joining the network is unnecessary, because beacons and probes are broadcast to any listener.

    Open this question
  28. Question 78

    Reconnaissance and Enumeration

    A tester needs email addresses belonging to a target domain, gathered from search engines and public sources. Which tool BEST does this?

    Show the answer

    Correct answerB. theHarvester

    AWhy not this: It enumerates DNS records such as MX entries, but it does not list mailbox addresses.

    BWhy this is right: It harvests email addresses for a domain from search engines and other public sources.

    CWhy not this: It enumerates SMB users, groups and shares on Windows hosts, not email addresses for a domain.

    DWhy not this: It brute-forces web directories and files, which has nothing to do with email accounts.

    theHarvester collects email addresses, hostnames and names for a domain from search engines and other public sources. dnsrecon is tempting because mail servers appear in DNS, but it enumerates DNS records, not mailbox addresses.

    Open this question
  29. Question 79

    Reconnaissance and Enumeration

    airodump-ng lists an access point with an empty ESSID and one associated client. The tester needs the SSID without attacking the passphrase. Which action is BEST?

    Show the answer

    Correct answerB. Deauthenticate the associated client and capture its reassociation request

    AWhy not this: Cracking the passphrase attacks the key, which the tester does not need and does not reveal the SSID.

    BWhy this is right: Forcing a client to reassociate makes it send the SSID in an association request that the tester captures.

    CWhy not this: A BSSID is a layer 2 address, and an nmap ping sweep does not return a wireless network name.

    DWhy not this: Beacons from a hidden network carry an empty SSID, so waiting on them never reveals it.

    A hidden network leaves the SSID blank in beacons, but a client reassociating sends it in the association request. Deauthenticating the client forces that exchange. Waiting on beacons fails because they stay blank.

    Open this question
  30. Question 80

    Reconnaissance and Enumeration

    A public TLS assessment of a client's web server shows it still accepts SSLv3 and export-grade cipher suites. What does this finding indicate?

    Show the answer

    Correct answerD. A cryptographic flaw that allows downgrade attacks and traffic decryption

    AWhy not this: The report shows protocol and cipher support, not any leaked secret or login.

    BWhy not this: TLS protocol and cipher support are not DNS data, so this misreads the finding.

    CWhy not this: Certificate expiry is not mentioned; the issue is the protocols and ciphers accepted.

    DWhy this is right: Deprecated protocols and weak export ciphers let attackers downgrade sessions and decrypt captured traffic.

    SSLv3 and export-grade ciphers are deprecated and weak, so an attacker can force a downgrade and break the encryption. An expired certificate is a separate trust problem and says nothing about protocol or cipher strength.

    Open this question
  31. Question 81

    Reconnaissance and Enumeration

    A tester finds a six-year-old third-party dump listing client employee emails with cleartext passwords. Rules of engagement allow testing only against the client's VPN portal, which locks accounts after five failures. What is the BEST use of the dump?

    Show the answer

    Correct answerB. Try each employee's own dumped password once against the VPN portal, staying under the lockout threshold

    AWhy not this: The third-party site is outside the authorized scope, so testing it is unauthorized.

    BWhy this is right: One attempt per account uses the cleartext as-is, stays in scope, and avoids lockouts.

    CWhy not this: The passwords are already cleartext, so offline cracking adds no value.

    DWhy not this: Many attempts per account would exceed the five-failure threshold and lock users out.

    The passwords are already cleartext and testing is limited to the VPN, so a single attempt per account stays in scope and under the lockout limit. Trying every password on every account would lock accounts and disrupt staff.

    Open this question
  32. Question 82

    Reconnaissance and Enumeration

    A public dump lists client employee emails with salted bcrypt hashes, and the rules of engagement allow credential testing. What must the tester do before the passwords can be tried on the client's VPN?

    Show the answer

    Correct answerA. Crack the hashes offline to recover the plaintext passwords

    AWhy this is right: Offline cracking guesses candidates and compares hashes to recover usable plaintext.

    BWhy not this: Per-user salts make precomputed rainbow tables ineffective against salted bcrypt.

    CWhy not this: Hashing is one-way; there is no key that decrypts a hash.

    DWhy not this: A hash is not the password, and bcrypt hashes cannot be replayed to a VPN login.

    Hashes are one-way, so the tester must guess and hash candidate passwords offline until one matches. Rainbow tables are defeated by per-user salts, so they are not a practical shortcut here.

    Open this question
  33. Question 83

    Reconnaissance and Enumeration

    A tester compares ciphertexts returned by a client's public API and sees that identical plaintext blocks always produce identical ciphertext blocks. Which flaw is MOST likely?

    Show the answer

    Correct answerC. Use of ECB mode for encryption

    AWhy not this: Salting applies to password hashing, not to block-cipher output from an API.

    BWhy not this: A short key weakens brute-force resistance but does not create repeating ciphertext blocks.

    CWhy this is right: ECB encrypts every block independently, so equal plaintext blocks yield equal ciphertext blocks.

    DWhy not this: A hard-coded key exposes the secret, but the mode of operation causes the visible pattern.

    ECB encrypts each block independently with the same key, so repeated plaintext blocks give repeated ciphertext blocks and leak patterns. A hard-coded key is a real flaw but does not by itself cause repeating blocks.

    Open this question