nerdexam
GIAC

GPEN · Question #23

You work as a Desktop Technician in we-are-secure.com Inc. Due to some misunderstanding you are terminated from the company. You feel that you were wrongly terminated. Due to this, you want to…

The correct answer is C. DNS zone transfer. Running AXFR and IXFR commands via DIG requests a full or incremental copy of a DNS zone from a server, which constitutes a DNS zone transfer attack used for network reconnaissance.

Penetration Testing Foundations & Reconnaissance

Question

You work as a Desktop Technician in we-are-secure.com Inc. Due to some misunderstanding you are terminated from the company. You feel that you were wrongly terminated. Due to this, you want to revenge of your wrong termination by hacking into the we-are-secure network. Since you worked as a Desktop Technician, you remember all the server names. You try to run the axfr and ixfr commands on these servers using the DIG tool. What attack do you want to perform?

Options

  • ASniffing attack
  • BPassword cracking attack
  • CDNS zone transfer
  • DReplay attack

How the community answered

(28 responses)
  • A
    4% (1)
  • B
    18% (5)
  • C
    71% (20)
  • D
    7% (2)

Why each option

Running AXFR and IXFR commands via DIG requests a full or incremental copy of a DNS zone from a server, which constitutes a DNS zone transfer attack used for network reconnaissance.

ASniffing attack

A sniffing attack involves passively capturing packets as they traverse the network, not actively issuing DNS protocol commands to query a server.

BPassword cracking attack

A password cracking attack uses brute force or dictionary methods to recover credentials, which is unrelated to DNS zone queries.

CDNS zone transferCorrect

AXFR is the DNS protocol command for a full zone transfer and IXFR is for an incremental zone transfer - both are used legitimately to replicate zone data between authoritative servers. When exploited by an attacker using a tool like DIG, these commands can extract a complete map of all hostnames, IP addresses, and records in a domain, enabling detailed network reconnaissance. This is the classic DNS zone transfer attack, enabled when a DNS server is misconfigured to allow transfers from untrusted sources.

DReplay attack

A replay attack captures previously valid network packets and retransmits them to impersonate a session, not to enumerate DNS zone records.

Concept tested: DNS zone transfer attack using AXFR and IXFR

Source: https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/dns-zone-transfer

Topics

#DNS zone transfer#AXFR#DIG tool#DNS enumeration

Community Discussion

No community discussion yet for this question.

Full GPEN Practice