180 likes | 187 Views
Explore the capabilities of Blue Raja and Shoveler, two userland tools that allow address spoofing, packet rewriting, and proxy functionality in order to bypass IP address-based access controls and manipulate network traffic.
E N D
Simple Nomad DC214 - 15Jul2004 Mystery Net
Mystery Net – Design Goals • Defeat IP address-based access controls • Allow userland tools to spoof • Have little to no social value
Attacker's Dilemma • Firewalls block addresses • Some firewalls allow some traffic in (business partners, trusted clients, etc) • VPNs may limit addresses that can access • Perimeter technologies log stuff (including our IP address) • Spoofing “dies” using TCP/IP • Advanced spoofing requires rewriting every app/tool from scratch
Blue Raja Features • Uses Packet Purgatory library • Inserts a “wedge” between the kernel and userland. • The “wedge” rewrites outbound packets on the fly. • We simply rewrite our outbound source address, and add options • We can also use a fake “local” IP proxy (and we handle arp for it)
Shoveler Features • Uses libpcap and libdnet • Can rewrite packets based upon IP address pairs • Can function as a proxy, and can be chained
Real World Scenario Target Trusted Host • Attacker is blocked, trusted host gets through Mr. Furious
Real World Scenario Target Trusted Host • Attacker uses Blue Raja, packets get through Blue Raja Mr. Furious
Real World Scenario Shoveler Target Trusted Host Shoveler shovels the return packets back Blue Raja Attacker
Shoveler (proxy mode) Target Trusted Host More Fun... Shoveler (proxy mode) • Attacker is blocked, trusted host gets through Shoveler (proxy mode) Shoveler (proxy mode) Shoveler (proxy mode) Attacker
Man-in-the-Middle Scenario Shoveler Target Shoveler intercepts online banking traffic MyOnlineBank FakeOnlineBank
Problem Areas • Trusted host is active • RSTs could kill our connection • Can't update Shoveler on the fly • Works great in a lab (needs real world testing)
Future Enhancements - Shoveler • Detect dark IP space from trusted net • “Spleen” mode • DoS against trusted host • Reverse “spleen” mode for better MITM attacks • “Invisible Boy” mode • Update Shoveler remotely via covert channel
Fin • Questions? • http://www.nmrc.org/~thegnome/mn-0.1.tgz (coming soon) • Packet Purgatory • http://www.synacklabs.net/projects/packetp/ • Libdnet • http://libdnet.sourceforge.net/ • Libpcap • http://www.tcpdump.org/