Configuring Ettercap for DNS spoofing

To use Ettercap in order to carry out DNS spoofing, we need to give Ettercap some additional privileges. Follow these steps:

  1. Use a text editor and edit the /etc/ettercap/etter.conf file.
    #nano /etc/ettercap/etter.conf
    
    Configuring Ettercap for DNS spoofing
  2. Change the gid and uid that Ettercap uses to 0. This will allow the process to run as root and manipulating interface or operating settings to accomplish our goals will not be an issue.
  3. Edit the configuration for dns_spoof plugin for Ettercap. Again, use a text editor and edit the file at /etc/ettercap/etter.dns.
  4. In the redirection section of the file titled microsoft sucks ;), you will be adding ...

Get Mastering Kali Linux Wireless Pentesting now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.