Exam GCIH All QuestionsBrowse all questions from this exam
Question 177

What goal would an attacker achieve with the following Set of commands?

    Correct Answer: C

    The given set of commands is used to perform a DNS zone transfer. This involves querying a DNS server for all the DNS records in the domain. The command 'nslookup' starts the name resolution process, 'server 45.60.103.34' sets the DNS server to query, 'set type=any' means it is asking for any and all types of DNS records, and 'ls -d giac.org' attempts to list all records for the domain 'giac.org'. By successfully performing a zone transfer, the attacker would obtain a detailed list of hosts, subdomains, and other DNS records associated with the domain, which can be used for reconnaissance and identifying potential targets. Therefore, the goal achieved with these commands is to find possible targets.

Discussion
XBalOption: C

Answer is "C"

Vikt0rOption: C

The set of commands provided is attempting to perform a DNS zone transfer. The goal achieved with these commands is: C. Find possible targets Explanation: nslookup: Starts the name resolution tool. server 45.60.103.34: Sets the DNS server to 45.60.103.34. set type=any: Sets the query type to "any," meaning it will retrieve any available information. ls -d abc.org: Attempts to perform a DNS zone transfer for the domain abc.org. Performing a zone transfer allows an attacker to obtain a copy of the entire DNS zone, including information about hosts and subdomains within the target domain. This information can be valuable for reconnaissance and finding possible targets within the domain. So, the correct answer is C. Find possible targets.