Homework 4: Man-on-the-Side Attacks
www3.cs.stonybrook.edu
www3.cs.stonybrook.edu
http://www.wired.com/2013/12/bgp-hijacking-belarus-iceland/
or more recently:
http://research.dyn.com/2015/03/uk-traffic-diverted-ukraine/
Something like scapy is perfect for this, I'm not sure about the speed though.
With low volume traffic, the code spends most of it's time blocked waiting for the next packet so the response is very quick.
With high volumes, especially high volume of small packets, the code can get seriously backlogged and even miss packets altogether if the raw interface isn't serviced fast enough.
H/W acceleration is needed to do this at backbone volumes.
Once upon a time (over 10 years ago) I was working in the field of high-volume NIDS and keeping up with (then blazing fast) GiGE LAN volumes was very challenging with the CPU alone back then. And that was with tuned rule sets / minimal pre-processors / no other I/O in the hot path.
Our assignments were (1) a toy implementation of RSA, complete with the ability to generate SSL certificates (so, ASN.1 encoding, etc) using only a bignum library and (2) implementing a known buffer overflow attack on an old version of sendmail. ( http://web.nvd.nist.gov/view/vuln/detail?vulnId=CAN-2002-133... )
https://web.archive.org/web/20140106173814/http://www.cs.sto...
Don't know if its relevant to the submission :)
About 2 months ago -- for a presentation about being vigilant with your smartphone on public APs -- I implemented a toolkit that was essentially a man-in-the-middle/evil twin -- a single channel BSS analysis tool which allowed for broadcast and targeted deauth injection along with a probe request monitor, all in one interface, and a DNS spoofer in the other interface. I used HostAP for network spoofing. Its the simplest exploit but was very interesting building the demo and the kids enjoyed it!
This is another good little attack piece to shove in!
Observe Inject Delete Modify
Man-in-the-middle X X X X
Man-on-the-side X X
Packet Sniffing X
I wonder if the other combinations have names too.