Docsity

Wireless Security: Insights from a Wireless Penetration Tester, Study notes of Computer Science

Partial preview of the text

Download Wireless Security: Insights from a Wireless Penetration Tester and more Study notes Computer Science in PDF only on Docsity!

Wireless (In)Security

Who am I?

 Joshua Smith  Worked 400 days in the IT field  Spent 10 years in the golf industry  Currently employed at Jones Stephens Corp  Also operate Symmetric Wireless

Current Condition Of Wireless

 Open – 33%  WEP – 59%  TKIP/CCMP (WPA/WPA2) – 8%  Wireless continues to gain momentum and popularity, but similar to the wired side, security is still somewhat of an afterthought  Much like the wired side, attacks are focusing on the client side (don't trust the user)

AirPWN

 Details: − (^) “Airpwn listens to incoming wireless packets, and if the data matches a pattern specified in the config files, custom content is injected "spoofed" from the wireless access point. From the perspective of the wireless client, airpwn becomes the server.”

AirPWN

 Details (cont): − (^) How you get a web page − (^) AirPWN listens to traffic in monitor mode (similar to promiscuous mode on the wired side) − (^) Matches observed traffic against regular expression string − (^) Replies with data from config file (attacker dictates what that data is) − (^) Exploits the race condition (time it takes to retrieve a web page)  Real World: Demo

openWRT

 Details: − (^) Install a lean, flexible, powerful OS (Linux) on a consumer grade wireless access point − (^) After install, you can install any available packages, or build your own for custom applications and environments − (^) Advanced features build in or easily available to add on

openWRT

 Details (cont): − (^) Some packages available:  freeRADIUS  openVPN  Kismet  Snort  Chillispot (easily set up WiFi Hotspot)  nmap  Nessus  dsniff  ettercap  aircrackng  tcpdump

Along the way...

 Please, assume that others are watching you transmit over a wireless network, especially an open one. Use VPN, SSL, secure proxies! [email protected]">Ron, <span id\u003d"[email protected]">me (3)","» ","?4U","Ron, Here's my Platnum Support Account Info: Contact ID: xxxxxxxxxxx Password: xxxxxxxxxxxxxxx;",[] "[email protected]">do_not_reply","» "," Your vehicle damage appraisal","Claim Number:xxxxxxxxxxxxxxxxx Date of Accident: 20061113 Dear XXXXX XXXXXX X: We have scheduled &

KARMA

 Released by Dino A. Dai Zovi and Shane Macaulay  Released at PACSEC 2004  http://www.theta44.org/karma/  Goal: "KARMA is a set of tools for assessing the security of wireless clients at multiple layers.”

KARMA

 Real World: − (^) Attacker runs KARMA, client systems automatically join rogue AP − (^) Once joined, AP dishes out content as decided by them, possibly over several different protocols − (^) Authors describe as “BYOX” (Bring your own exploit), and state that “automated agent deployment is also planned” − (^) Scariest tool I have seen to date

Along the way (Part 2)...

 You never know what you are going to run across swversion=8. platform=tcd/Series TSN=xxxxxxxxxxxxxxx tivoconnect= swversion=8. method=broadcast identity=xxxxxxxxxxxxxxx machine=DVR 6116 platform=tcd/Series services=TiVoServeTcdVideo1:2191/tvbus_v3,TiVoMediaServer:80/http

Wireless Fuzzing

 Details: − (^) Garnered a lot of attention @ Blackhat 2006 in presentation by Jon Ellch and David Maynor − (^) Generally exploits flaws at layer 2 of the OSI model (most firewalls start at layer 3) − (^) Use scapy to inject malformed packets to attackers desired target − (^) Client does not have to be connected to any network − (^) Vista not immune to this issue − (^) BSSID reveals a lot about the card (fingerprinting)

Wireless Fuzzing

 Details (cont): − (^) Mostly a client side attack (wireless drivers), but what about exploiting an AP? − (^) How about a TiVo? − (^) The IEEE 802.111999 spec says that the length of the SSID should be between 0 and 32 octets. from scapy file... p /= Dot11Elt( ID=0, # SSID IE len=400, # Length of "ssid" info="/x01/x0") # SSID string p /= fuzz(Dot11Elt( ID=1)) # Supported rates