Pcornel
Security · Common Attacks

DNS Spoofing

Cheat sheet · https://pcornel.dk/topic.php?topic=4952

Back to the Topic

Answer

DNS spoofing as a network attack gives victims forged DNS answers, through a rogue DHCP-assigned resolver, ARP spoofing or a poisoned cache, sending them to attacker-controlled servers.

Remember

  • Spoofing comes via rogue DHCP, ARP spoofing or a poisoned resolver.
  • Validating resolvers reject forged DNSSEC answers.
  • Encrypted DNS protects the transport.

First checks

  • dig <name> @<resolver> vs @<trusted> — compare answers
  • DNSSEC validation — protection
  • DHCP snooping — rogue DNS via DHCP

Verify in this order

query → forged answer (rejected by validation)

Where it usually breaks

First mismatch in signal/report → evidence preservation → scoping/analysis → containment → eradication → recovery → validation/lessons learned; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4952

Confirmation

Confirm action

Continue?