Curated

Attacks and Exploits 1 (4.1–4.3)

0 votes

Questions107

  1. Question 101

    Attacks and Exploits

    An in-scope web portal checks credentials from an HTML login form and returns HTTP 200 with the text "Invalid login" on failure. Which approach tests a username list against it?

    Show the answer

    Correct answerA. Hydra's HTTP POST form module with a failure string

    AWhy this is right: The POST form module sends the form fields and treats the failure text as the sign of a bad login.

    BWhy not this: CrackMapExec tests Windows services such as SMB, not an HTML login form on a web portal.

    CWhy not this: The basic-auth module expects an HTTP 401 challenge, which a form-based login does not send.

    DWhy not this: Responder captures authentication from poisoned queries; it does not guess passwords against a form.

    Hydra's HTTP POST form module submits the form fields and needs a failure string, because the page returns 200 for both outcomes. The basic-auth module relies on a 401 challenge, which this form-based login never sends.

    Open this question
  2. Question 102

    Attacks and Exploits

    After a tester supplies valid credentials against a subnet, the output marks some hosts with (Pwn3d!). Which tool produced it?

    Show the answer

    Correct answerA. CrackMapExec

    AWhy this is right: CrackMapExec flags a host with (Pwn3d!) when the credentials hold administrative rights on it.

    BWhy not this: Responder poisons name-resolution queries to capture hashes; it does not test credentials against hosts.

    CWhy not this: Hydra reports valid login pairs for a service but does not mark administrative access this way.

    DWhy not this: Netcat makes raw TCP connections by hand; it has no credential testing or reporting.

    CrackMapExec adds (Pwn3d!) beside a host when the supplied credentials give administrative access. Hydra also tests logins against services, but it reports only valid or invalid pairs and does not flag administrative rights.

    Open this question
  3. Question 103

    Attacks and Exploits

    Before poisoning anything on an in-scope segment, a tester wants Responder to only observe name-resolution queries and answer none. Which mode fits?

    Show the answer

    Correct answerA. Analyze mode

    AWhy this is right: Analyze mode watches name-resolution queries and sends no poisoned replies.

    BWhy not this: Forcing Basic authentication is active: it pushes clients to send cleartext credentials.

    CWhy not this: Fingerprint mode identifies the OS of querying hosts; it is not the option for answering nothing.

    DWhy not this: The WPAD proxy feature actively answers proxy discovery requests and captures authentication.

    Responder's analyze mode listens for LLMNR, NBT-NS and MDNS queries and reports them without sending poisoned answers. Forcing Basic authentication is an active option that downgrades clients to send cleartext credentials, so it is not passive.

    Open this question
  4. Question 104

    Attacks and Exploits

    A tester recovered 40 username:password pairs from a breached file and must find which are valid on an in-scope /24 and where they give local admin. The domain locks accounts after five failures. What is the best approach?

    Show the answer

    Correct answerD. CME over SMB, pairing each username with its own password only

    AWhy not this: This builds a full user-by-password matrix, so each account takes many failures and can hit the five-failure lockout.

    BWhy not this: Responder captures hashes passively from broadcast traffic. It does not validate the recovered credentials or show admin access.

    CWhy not this: BloodHound maps relationships from collected data. It does not test whether credential pairs are valid on hosts.

    DWhy this is right: Line-by-line pairing keeps attempts to one per account per host, and CME reports which hosts grant admin rights.

    CME can pair each username with the password on the same line, so each account gets one attempt per host and CME flags admin access. Trying every password against every user is a spray that multiplies failures and risks lockouts.

    Open this question
  5. Question 105

    Attacks and Exploits

    A tester's plain wordlist cracks few NTLM hashes, but the client's users likely capitalize a base word and append digits. Which hashcat feature extends the wordlist most efficiently?

    Show the answer

    Correct answerD. Rules that mutate each wordlist word

    AWhy not this: A full brute-force mask ignores the wordlist and searches a far larger keyspace than the known pattern needs.

    BWhy not this: Combinator joins entries from two lists end to end. It does not capitalize words or append digit patterns.

    CWhy not this: A straight attack tries each word as written, which already produced few cracks.

    DWhy this is right: Rules apply transformations such as capitalization and appended digits to every word, matching the expected habit.

    Rules transform each wordlist entry, for example by capitalizing it or appending digits, so a short list yields many likely variants. A combinator attack only concatenates words from two lists and does not apply such mutations.

    Open this question
  6. Question 106

    Attacks and Exploits

    A tester has a combined passwd and shadow file whose entries hold login names and full names. Passwords are probably built from those fields. Which John the Ripper mode should run first?

    Show the answer

    Correct answerD. Single crack mode, which mutates login and name fields

    AWhy not this: A generic wordlist is not tied to each account's own details, so it can miss passwords built from them.

    BWhy not this: This is a hashcat feature, not a John mode, and the stem gives no known length or structure to define a mask.

    CWhy not this: Incremental mode brute-forces character combinations and does not use the account data, so it is slow for this case.

    DWhy this is right: Single crack mode derives guesses from each account's login and full-name fields, matching how these passwords were probably built.

    Single crack mode builds candidates from each account's own login and GECOS data, with mangling rules, so it fits passwords derived from those fields. Incremental mode is brute force and ignores that account information.

    Open this question
  7. Question 107

    Attacks and Exploits

    A tester on an in-scope segment wants to learn whether LLMNR, NBT-NS and mDNS queries occur there, without sending any forged replies. What should the tester run?

    Show the answer

    Correct answerC. Responder in analyze mode, which listens without replying

    AWhy not this: Hydra guesses passwords against live services. It does not reveal whether name-resolution broadcasts occur.

    BWhy not this: CME tests credentials over SMB against known hosts. It does not observe name-resolution queries on the segment.

    CWhy this is right: Analyze mode only watches broadcast and multicast name-resolution traffic and never answers, so it shows exposure passively.

    DWhy not this: Normal mode replies to queries with the tester's address, which is the forged-reply behavior the tester must avoid.

    Responder's analyze mode passively observes name-resolution requests and sends no poisoned answers. Normal Responder mode answers queries to lure authentication, which is the active behavior the tester wants to avoid.

    Open this question