Curated

Reconnaissance and Enumeration (2.1–2.4)

0 votes

Try a few cards

Card 1 of 10

All cards60

  1. During ___, a SYN/ACK reply marks a TCP port as open, a RST reply marks it as closed, and an ICMP port unreachable reply to a datagram marks a UDP port as closed.

    TCP/UDP scanning

  2. During WAF enumeration, a tester who finds the web server's real ___ behind the protective front-end service can send requests straight to it and bypass the service's filtering.

    Origin address

  3. Nmap runs Lua scripts for service detection, vulnerability checks, and brute forcing through the --script option, a feature known as the ___.

    NSE

  4. After login, the server issues a value that identifies the authenticated session on every later request, so a tester who steals this ___ can impersonate the user without knowing the credentials.

    Session token

  5. When testers recover a secret string of characters from configuration files, memory dumps and scripts, they try to reuse that ___ against other services because users often repeat it across systems.

    Password

  6. A unique string sent with each request to identify and authorize the calling application or user, often found hardcoded in source code or client-side JavaScript files, is called an ___.

    API key

  7. During a code repository review, a tester finds that a developer committed an Access key ID and secret access key pair, which signs programmatic requests to a provider's services for an account, so the committed ___ can be used to call the cloud API directly.

    Cloud access key

  8. Unlike a file of Disallow rules, the XML ___ lists the URLs a site owner wants indexed, so a tester can use it to map pages and structure.

    Sitemap

  9. A tester reads the ___ file at a website's root to find Disallow entries that expose paths the owner asked crawlers not to index.

    Robots.txt

  10. On a content management system, the name and version of an installed ___ can point a tester to known vulnerabilities.

    Platform plugin

  11. Windows and Active Directory environments are commonly enumerated with ___, a Microsoft shell whose cmdlets pass .NET objects through the pipeline.

    PowerShell

  12. On Linux, a reconnaissance script written in ___ can pipe nmap output through grep and awk to extract hosts with open ports.

    Bash

  13. Unlike shell scripts that chain external tools, enumeration scripts written in ___ typically import libraries such as socket and requests and use indentation to define code blocks.

    Python

  14. A script uses a ___ to repeat the same block of code for every IP address in a range, such as running a port check against each host in turn.

    Loop

  15. Unlike a construct that repeats code, a ___ chooses between code paths once based on a true or false test, such as grabbing a banner only if a port is open.

    Conditional

  16. In a script, AND, OR, and NOT each serve as a ___ that combines or inverts true/false values to build compound tests.

    Boolean operator

  17. Writing port + 1 in a scan script relies on the ___, a symbol such as +, -, *, /, or % that performs a calculation on numeric values.

    Arithmetic operator

  18. A recon script uses a ___ to join a base address and a path into a full URL or to match a pattern in text output, rather than calculating on numbers.

    String operator

  19. During ___, a tester connects to an open port and reads the service's greeting or response headers to learn the software name and version.

    Banner grabbing

  20. Verbose error messages that reveal software versions or internal file paths are an example of ___, because they expose details that help an attacker plan.

    Information disclosure

  21. Searching public, append-only records of issued TLS certificates, such as ___, can reveal an organization's hostnames and subdomains without sending any traffic to its network.

    Certificate transparency logs

  22. A tester uses ___ to automatically extract email addresses, comments, links and hidden form fields from the source code of web pages.

    HTML scraping

  23. (image)

    All four are secrets that authenticate or authorize access, so testers hunt for them in code, configuration files, and traffic and try to reuse them.

  24. (image)

    All three are publicly exposed sources that a tester reads manually to learn a website's hidden paths, structure and installed components.

  25. (image)

    All three are scripting languages that testers modify to automate reconnaissance and enumeration, each reusing code in its own way.

  26. (image)

    All three are logic constructs that control how a Bash, Python, or PowerShell recon script flows and decides what to do.

  27. (image)

    All four are reconnaissance techniques or findings that reveal details about a target's hosts, software or content during information gathering.

  28. Querying PTR records for each address in a target's IP range, to recover hostnames instead of addresses, is done with ___.

    Reverse DNS lookups

  29. Publicly leaked collections of usernames and passwords or hashes from past breaches, searched for credentials a target's staff may have reused, are called ___.

    Password dumps

  30. A tester who runs nslookup or dig to resolve a target's domain name into A, MX and NS records is performing ___.

    DNS lookups

  31. (image)

    All three are passive OSINT sources that reveal information about a target without sending traffic to the target's own systems.

  32. A tester uses ___ to infer a target's operating system and version from traits of its network responses, such as TTL, window size and TCP options.

    OS fingerprinting

  33. During ___, a tester feeds wordlists to a tool such as Gobuster or DirBuster to guess paths on a web server and reveal hidden folders and files.

    Directory enumeration

  34. A tester performs ___ to collect a domain's records, subdomains and name servers through queries, zone transfers or brute-forcing of names.

    DNS enumeration

  35. In ___, a tester charts how chained access, permissions and relationships between accounts and systems, often graphed in BloodHound, could lead to a high-value target.

    Attack path mapping

  36. A tester uses ___ to automatically follow links across a site and build a map of its pages, parameters and resources.

    Web crawling

  37. Before scanning ports across a /24 range, a tester performs ___ with ARP requests or probes to common ports to determine which IP addresses have live systems.

    Host discovery

  38. Through ___, a tester lists the folders and printers a host offers over SMB or NFS and notes which ones can be reached without credentials.

    Share enumeration

  39. The Python framework ___ has a Metasploit-like command-line interface and runs modules with API keys to store collected open-source data in a database.

    Recon-ng

  40. A tester can review removed pages and a site's earlier structure by browsing the historical snapshots stored in the ___.

    Wayback Machine

  41. In the graphical link-analysis tool ___, transforms query open sources and plot the relationships among people, domains, IP addresses, and organizations as a graph.

    Maltego

  42. Testers query the ___ search engine for service banners on internet-connected devices such as webcams and industrial controllers, and filter results with operators like port: and country:.

    Shodan

  43. (image)

    Each term is an enumeration technique that builds a picture of a target environment, from live systems to resources, relationships and content.

  44. (image)

    Each term is an active enumeration technique that gathers details about a target's systems or web services before exploitation.

  45. To discover an organization's exposed attack surface, a tester searches ___, which continuously scans internet hosts and indexes open services and TLS certificate data.

    Censys.io

  46. Querying ___ returns a domain's registrant, registrar, name servers, and creation and expiration dates, but not its A or MX records.

    WHOIS

  47. Testers use the DNS client utilities ___ to query a name server for A, MX, NS, and TXT records and to attempt an AXFR zone transfer.

    nslookup/dig

  48. During passive reconnaissance, an open-source tool called ___ automates OSINT collection by running many modules against a domain, IP address, or name and correlating the findings in a web interface or on the command line.

    SpiderFoot

  49. The open-source tool ___ enumerates subdomains and maps the external attack surface by combining passive sources with active methods such as DNS brute forcing.

    Amass

  50. The command-line tool ___ gathers email addresses, subdomains, hostnames and employee names about a target from search engines and other public sources.

    theHarvester