On the Windows machine, open a Command Prompt window and enter this command:
ping ipv6.google.com
You should get replies. If you do not, you need to troubleshoot your IPv6 tunnel before
you can proceed further with this project.
Record it--you will need it for the later steps.
ping6 -c 4 ipv6.google.com
You should see replies, starting with "64 bytes from...". If you do not, you need to fix
the networking before proceeding further.
sudo scapy
i = IPv6()
i.display()
As you can see, the version is now 6, as shown below on this page:
In the Linux machine, in the Terminal window, at the >>> prompt, execute these commands to assign the IPv6 destination address, using the address of your Windows machine instead of the address shown below:
i.dst = "2001:5c0:110c:9d00::1"
i.display()
As you can see in the image above on this page, the src
address automatically fills in.
ic = ICMPv6EchoRequest()
ic.display()
sr1(i/ic)
You should see a response with type=Echo Reply,
as shown below on this page.
Use these commands to send a packet with your name in it, and look at the reply:
ic.data = "YOUR NAME"
sr1(i/ic)
You should see a response with your name in it,
as shown below on this page.
Make sure you can see your name in the response packet.
Save a screen image with the filename Proj X10a from Your Name.
On the target Win 7 machine, in a Command Prompt window, type these commands, pressing Enter after each one:
cd \program files\nmap
ncat -6 -u -l 4444
Open a second Command Prompt window and execute this command:
netstat -an
You should see UDP port 4444 LISTENING, on the IPv6 address [::],
as shown below on this page.
u = UDP()
u.display()
This creates an object named u of type UDP,
and displays its properties.
Execute these commands to change the destination port to 4444 and display the properties again:
u.dport = 4444
u.display()
Your UDP packet's properties should look like the image below on this page:
Execute this command to send the packet to the Windows machine:
send(i/u/"YOUR NAME SENT VIA IPv6 UDP\n")
On the Windows target, you should see the message appear, as shown below on this page:
Make sure you can see your name on the Windows machine.
Save a screen image with the filename Proj X10b from Your Name.
Email the images to cnit.123@gmail.com with a Subject line of Proj X10 from Your Name.
http://packetstorm.linuxsecurity.com/papers/general/blackmagic.txt
http://www.secdev.org/projects/scapy/
Last modified 5-1-12