Server Help

Trash Talk - Have two wireless cards? Have some fun!

Mine GO BOOM - Thu Aug 05, 2004 10:29 pm
Post subject: Have two wireless cards? Have some fun!
Heed this warning:


http://www.evilscheme.org/defcon/
Solo Ace - Thu Aug 05, 2004 11:05 pm
Post subject:
Code: Show/Hide
myname@Gentoo airpwn $ make
gcc -c -g airpwn.c
airpwn.c:21:20: libnet.h: No such file or directory
airpwn.c:22:18: pcap.h: No such file or directory
airpwn.c:33: error: syntax error before "libnet_ptag_t"
airpwn.c:33: warning: no semicolon at end of struct or union
airpwn.c:34: warning: data definition has no type or storage class
airpwn.c:35: error: syntax error before '*' token
airpwn.c:35: warning: data definition has no type or storage class
airpwn.c:38: error: syntax error before '}' token
airpwn.c: In function `printlog':
airpwn.c:49: error: dereferencing pointer to incomplete type
airpwn.c: In function `channel_thread':
airpwn.c:102: error: dereferencing pointer to incomplete type
airpwn.c:111: error: dereferencing pointer to incomplete type
airpwn.c: In function `create_injection_socket':
airpwn.c:164: error: `ARPHRD_ETHER' undeclared (first use in this function)
airpwn.c:164: error: (Each undeclared identifier is reported only once
airpwn.c:164: error: for each function it appears in.)
airpwn.c: In function `spoof_response':
airpwn.c:211: error: `LIBNET_ERRBUF_SIZE' undeclared (first use in this function)
airpwn.c:217: error: dereferencing pointer to incomplete type
airpwn.c:222: error: `TH_PUSH' undeclared (first use in this function)
airpwn.c:222: error: `TH_ACK' undeclared (first use in this function)
airpwn.c:229: error: dereferencing pointer to incomplete type
airpwn.c:230: error: dereferencing pointer to incomplete type
airpwn.c:233: error: dereferencing pointer to incomplete type
airpwn.c:234: error: dereferencing pointer to incomplete type
airpwn.c:238: error: dereferencing pointer to incomplete type
airpwn.c:250: error: dereferencing pointer to incomplete type
airpwn.c:251: error: dereferencing pointer to incomplete type
airpwn.c:254: error: dereferencing pointer to incomplete type
airpwn.c:255: error: dereferencing pointer to incomplete type
airpwn.c:281: error: dereferencing pointer to incomplete type
airpwn.c:283: error: dereferencing pointer to incomplete type
airpwn.c:289: error: dereferencing pointer to incomplete type
airpwn.c:291: error: dereferencing pointer to incomplete type
airpwn.c:302: error: dereferencing pointer to incomplete type
airpwn.c:307: error: `TH_RST' undeclared (first use in this function)
airpwn.c:314: error: dereferencing pointer to incomplete type
airpwn.c:315: error: dereferencing pointer to incomplete type
airpwn.c:318: error: dereferencing pointer to incomplete type
airpwn.c:319: error: dereferencing pointer to incomplete type
airpwn.c:323: error: dereferencing pointer to incomplete type
airpwn.c:335: error: dereferencing pointer to incomplete type
airpwn.c:336: error: dereferencing pointer to incomplete type
airpwn.c:339: error: dereferencing pointer to incomplete type
airpwn.c:341: error: dereferencing pointer to incomplete type
airpwn.c:347: error: dereferencing pointer to incomplete type
airpwn.c:349: error: dereferencing pointer to incomplete type
airpwn.c: At top level:
airpwn.c:360: warning: `struct pcap_pkthdr' declared inside parameter list
airpwn.c:360: warning: its scope is only this definition or declaration, which is probably not what you want
airpwn.c: In function `pckt_callback':
airpwn.c:389: error: dereferencing pointer to incomplete type
airpwn.c:395: error: dereferencing pointer to incomplete type
airpwn.c:421: error: dereferencing pointer to incomplete type
airpwn.c:426: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast
airpwn.c:428: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast
airpwn.c:435: error: dereferencing pointer to incomplete type
airpwn.c:436: error: dereferencing pointer to incomplete type
airpwn.c:437: error: dereferencing pointer to incomplete type
airpwn.c: In function `pcap_monitor':
airpwn.c:486: error: `pcap_t' undeclared (first use in this function)
airpwn.c:486: error: `pctx' undeclared (first use in this function)
airpwn.c:487: error: `PCAP_ERRBUF_SIZE' undeclared (first use in this function)
airpwn.c:488: error: storage size of `prog' isn't known
airpwn.c: In function `main':
airpwn.c:521: error: `LIBNET_ERRBUF_SIZE' undeclared (first use in this function)
airpwn.c:529: error: invalid application of `sizeof' to an incomplete type
airpwn.c:546: error: dereferencing pointer to incomplete type
airpwn.c:549: error: dereferencing pointer to incomplete type
airpwn.c:552: error: dereferencing pointer to incomplete type
airpwn.c:561: error: dereferencing pointer to incomplete type
airpwn.c:562: error: dereferencing pointer to incomplete type
airpwn.c:573: error: dereferencing pointer to incomplete type
airpwn.c:573: error: dereferencing pointer to incomplete type
airpwn.c:580: error: dereferencing pointer to incomplete type
airpwn.c:581: error: dereferencing pointer to incomplete type
airpwn.c:588: error: dereferencing pointer to incomplete type
airpwn.c:588: error: dereferencing pointer to incomplete type
airpwn.c:590: error: dereferencing pointer to incomplete type
airpwn.c:591: error: dereferencing pointer to incomplete type
airpwn.c:595: error: dereferencing pointer to incomplete type
airpwn.c:595: error: `LIBNET_LINK_ADV' undeclared (first use in this function)
airpwn.c:595: error: dereferencing pointer to incomplete type
airpwn.c:596: error: dereferencing pointer to incomplete type
airpwn.c:610: error: dereferencing pointer to incomplete type
make: *** [airpwn.o] Error 1


Damn, wanted to scare my dad.
CypherJF - Fri Aug 06, 2004 1:54 am
Post subject:
defcon! w00t
Blindmonkey21 - Fri Aug 06, 2004 2:20 am
Post subject:
Why did you include the link if you didn't want people clicking on it? What will happen if I click on it?
Solo Ace - Fri Aug 06, 2004 2:35 am
Post subject:
It just brings you to a program's website, don't wet your pants.

The program can inject data into wireless networks, and what it injects is something nasty which the warning is for (clicking the link won't show you this nasty material, you can see it if you click the links located at the top of the page).

The author of the website wrote:
How does it work?
airpwn requires two 802.11b interfaces, one for listening, and another for injecting. It uses a config file with multiple config sections to respond to specific data packets with arbitrary content. For example, in the HTML goatse example, we look for any TCP data packets starting with "GET" or "POST" and respond ...

Mine GO BOOM - Fri Aug 06, 2004 8:30 am
Post subject:
It works because the sending-card will send a packet exactly how the AP would, so the receiving computer thinks its real. When the real packet comes, the computer already got that packet, and ignores it like a good computer would.

As for compiling it, emerge net-libs/libpcap and net-libs/libnet to get it to work.
Solo Ace - Fri Aug 06, 2004 1:25 pm
Post subject:
Ah, another Gentoo user I see? icon_razz.gif

Ok it works, gonna leave the house now and see if they liked it here when I come back. icon_smile.gif
Cyan~Fire - Fri Aug 06, 2004 5:28 pm
Post subject:
My old school uses 802.11b. I knew there was a reason I still had a friend there.
Solo Ace - Fri Aug 06, 2004 5:33 pm
Post subject:
You should really stop stealing "pr0n" from school networks.
Dustpuppy - Fri Aug 06, 2004 8:24 pm
Post subject:
Awesome. Will try to hack for MSVC tomorrow
Solo Ace - Fri Aug 06, 2004 10:28 pm
Post subject:
And then use it on your laptop while sitting at your uni's campus?

Haha, that'd be elite.

I was wondering, my routers use WEP key encryption for the data security, so would it be possible to inject the data without being WEP authenticated and / or without being logged into the network?
I hardly ever go wireless here though, but k. icon_razz.gif
Mine GO BOOM - Sat Aug 07, 2004 12:31 am
Post subject:
If you read the website, it only works on open, non encrypted networks.
Solo Ace - Sat Aug 07, 2004 2:47 am
Post subject:
Well, I didn't read it icon_razz.gif didn't have time for it, anyway, it'd be cool to do on a shitty school network, I doubt many universities care about their network's security. icon_smile.gif
Dustpuppy - Sat Aug 07, 2004 2:27 pm
Post subject:
I'd just like to point out how stupid it is for people to use unencrypted wireless networking at DefCon.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group