Note: This is the beginning working copy of a presentation given by AdamShand, BrucePotter and TonyKapela at Defcon9. You can find the actual slides of the presentation online in HTML or Power Point. -- AdamShand
Wireless Security and Captive Portals
Intro of Speakers
- Who we are and why you should care
- Bruce Potter
- The Shmoo Group
- Security guy and Network hack
- Adam Shand
- Personal Telco (and the Shmoo Group)
- Unix Sysadmin and Open Network Weenie
- Bruce Potter
- What that talk will and WON'T cover
- Will: Your Mom ...
- Won't: Your dad ...
- Who we are and why you should care
Wireless 101
- History of Wireless Communications
- Analog
- Digital
- Different Digital Wireless technologies
- PCS
- Microwave
- 3G (heh)
802.11 <- our focus
- History of Wireless Communications
802.11
- History
- Evolution as an 802.x protocol
- The security shoehorn
- Technical structure
- Framing
- DSSS
- Modes
- Ad Hoc (iBSS)
- Infrastructure (BSS)
- Other vendor specific modes (Ad-Hoc demo etc)
- Other stuff?
- History
Current State of 802.11 Security
- Wireless is inherently non-private
- Your signal goes places you don't want it to
GAWD (http://www.shmoo.com/gawd)
- Just b/c it's digital doesn't mean it's safe
Analog gear is cheaper, therefore larger risk
- Your signal goes places you don't want it to
- Wired Eqivelant Privacy
- What it is (set of pre-shared secrets)
- What it was intended to solve
- What it doesn't solve
- What is being done to improve it
- Proprietary Extensions (Cisco's Dynamic WEP)
- 802.1x / EAP (Extensible Authentication Protocol)
- Lack of vendor support (but it's coming)
- Provide
- Other mechansims (with Pros/Cons)
- End to End
- VPN's
- Pros
- Best from security standpoint (fully encrypted tunnel)
- Application independant
- Cons
- Requires clue to find an end point
- Not a be all end all for security (remember PPTP fiasco?)
- Crappy inter-OS support
- Lack of Win/Mac free clients
- Pros
- Encrypted Protocols (SSH, HTTPS, POP3S, IMAPS etc)
- Pros
- Easier to find an end point for then for VPN
- Decent application support
- Provides decent security
- Cons
- Hard to find providers for some services
- Requires clue to use safely (multiple end points vulnerable to man in the middle attacks etc)
- Temptation to cheat ...
- Pros
- VPN's
- End to AP
- WEP
- Pros
- Provides a standard, hardware supported way of getting link level encyption
- 40 bit key part of Wifi standard
- Cons
- Shared Key (ugg, doesn't scale)
- Anything greater then 40 bit encryption is vendor specific
- Doesn't protect past the access point
- Pros
- EAP/LEAP
- Pros
- Uses authentication server for it's back end (currently Radius), no more shared keys!
- Cons
- Requires hardware vendor to support the new 802.1x protocol
- Pros
- MAC Filters (restricted access not "security")
- Pros
- Not many, it's easy?
- Cons
- No encryption
- Easy to spoof
- Does scale much better then WEP
- Pros
- WEP
- End to Middlepoint
- SOCKS
- Encrypted Application Proxys
- Web Based Portals (Captive, Forced and Active
- End to End
- Wireless is inherently non-private
The Captive Portal
- What it tries to solve
- Uses existing OS software and some elbow grease
- End to Middlepoint security
- The architecture
- Web based authentication via SSL
- Flexible back end authentication server (Radius, LDAP, Kerberos, etc)
- Interaction with egress Firewall
- Punch hole
- Setup IPSec tunnel
- Set timer
- Strengths
- Can use IPSec for traffic on wireless network
- Authentication of connection via arbitrary protocols
- All open source
- Can scale to enterprise size
- Weakness
- Interoperablity of IPSec
- Existing Implementations
- Open Source
- Lan Roamer
- Terrapin Shield
- Net Logon
- SLAN
- NOCAT
- Commercial
- Cisco and Nortel (for managing DSL cusomters)
- Surf 'n Sip (proprietry)
- Mobilestar (aka. Microsoft/Starbucks/Mobilestar)
- Open Source
- What it tries to solve
The Active Portal (with NycWireless)
- What it tries to solve
- Threats to the node operator
- Network abuse
- Bandwidth hogging
- Legal Abuse
- Illegal Hacking/Cracking
- Spamming
- Bandwidth providers wrath
- Other illegal activities
- Network abuse
- Leverage Wiki's notion of soft security into a network
- What do usernames buy you?
- Depends on if they are self provisioning or not
- If they are then not much (eg. Slashdot)
- If they aren't then quite a lot but you now have restricted who can use your network by how you provision accounts.
- Depends on if they are self provisioning or not
- What do usernames buy you?
- Threats to the node operator
- The architecture
- Similar to Captive Portal but no authentication
- Welcome banner (You've reached The Personal Telco Project)
- Acceptable Use Agreement
- Issue Cookie (to track user statistics)
- Quality of Service rules
- Extrusion Detection
- Triggers to deny access
- Possibly use freedom or some other anonymous net supplier
- Similar to Captive Portal but no authentication
- Strengths
- Protects the node operator (and thus the node)
- Doesn't require a user database
Maintains an open network
- Weaknesses
- Makes it harder to track abuse
- It's reactive instead of proactive
- What it tries to solve
Where to go from here
- Continue to refine
- Drink heavily