• No results found

802.1x Networking. tommee pickles Moloch Industries. Moloch.org tommee.net

N/A
N/A
Protected

Academic year: 2021

Share "802.1x Networking. tommee pickles Moloch Industries. Moloch.org tommee.net"

Copied!
25
0
0

Loading.... (view fulltext now)

Full text

(1)

802.1x Networking

802.1x Networking

tommEE pickles

tommEE pickles

Moloch Industries

Moloch Industries

Moloch.org Moloch.org tommEE.net tommEE.net

(2)

Who am I

Who am I

Fun:

Fun:

Defcon

Defcon

Cannonball Run

Cannonball Run

Work:

Work:

15 Years in the grind (MTV, Google, Nature Magazine) 15 Years in the grind (MTV, Google, Nature Magazine)

Whore:

Whore:

TV and Speaking Engagements

TV and Speaking Engagements

(3)

Topics

Topics

• What is 802.1x?What is 802.1x? •

• Why do we use it?Why do we use it? •

• How does it work?How does it work? •

• What is required?What is required? •

• How do you set this up?How do you set this up? •

• What problems exist?What problems exist? •

• Can problems be fixed?Can problems be fixed? •

(4)

What is 802.1x?

What is 802.1x?

• Port Based Network Access ControlPort Based Network Access Control

• 802.1X offers an effective framework for 802.1X offers an effective framework for

authenticating and controlling user traffic to a authenticating and controlling user traffic to a protected network

protected network

• Not a wireless spec, applies to wired tooNot a wireless spec, applies to wired too •

• Can be used for automatic VLAN assigning Can be used for automatic VLAN assigning •

(5)

Why do we use it?

Why do we use it?

wireless example

wireless example

• WEP is insecure (as well as WPA-WEP is insecure (as well as WPA-PSK)PSK)

• 802.1x/TKIP not open to replay attacks802.1x/TKIP not open to replay attacks

• WEP is used at the two lowest layers of the OSI model WEP is used at the two lowest layers of the OSI model -- the the

data link and physical layers; it therefore does not offer end data link and physical layers; it therefore does not offer end-

-to

to--end securityend security

• WEP is easily broken, meaning the weak encryption WEP is easily broken, meaning the weak encryption

standard with WEP is subject to eavesdropping on standard with WEP is subject to eavesdropping on

connections connections

• Corporate wireless must be secure as wired assets. Corporate wireless must be secure as wired assets. *man *man

in the van in the van* *

(6)

Example tools for hacking wireless

Example tools for hacking wireless

• Airsnort Airsnort -- http://airsnort.shmoo.com/http://airsnort.shmoo.com/ •

• Aircrack Aircrack -

-http://www.wirelessdefence.org/Contents/AircrackMain.htm http://www.wirelessdefence.org/Contents/AircrackMain.htm

• WepCrack -WepCrack - http://wepcrack.sourceforge.net/http://wepcrack.sourceforge.net/ •

• WepWedgie WepWedgie -- http://sourceforge.net/projects/wepwedgie/http://sourceforge.net/projects/wepwedgie/ •

• There is even a video showing how easy it is to break There is even a video showing how easy it is to break

WEP on a Apple laptop. The video is located at WEP on a Apple laptop. The video is located at http://tinyurl.com/8w74k

(7)

Why do we use it?

Why do we use it?

wired example

wired example

• Force unauthorized users into guest VLANsForce unauthorized users into guest VLANs •

• Automatically set network assets for wired Automatically set network assets for wired

employees in conference rooms, etc. employees in conference rooms, etc.

(8)

Why do we use it?

Why do we use it?

wired example cont...

wired example cont...

• An ExampleAn Example •

• A company (e.g. Moogle) A company (e.g. Moogle) –– Large enterpriseLarge enterprise

• Has ~5000 employeesHas ~5000 employees

• Sales, HR, IT departmentsSales, HR, IT departments

• Multiple VLANs for departmentsMultiple VLANs for departments

• You can use 802.1x to keep VLANs for You can use 802.1x to keep VLANs for

workstations when moved. workstations when moved.

(9)

What is required for an 802.1x network?

What is required for an 802.1x network?

• Access Point or switch that supports 802.1xAccess Point or switch that supports 802.1x •

• RADIUS (Authentication Server)RADIUS (Authentication Server) •

• freeradius, Funk, RadiusNT, radiusXfreeradius, Funk, RadiusNT, radiusX

• Client Software (supplicant)Client Software (supplicant) •

• Odyssey, XP, AEGIS, Xsupplicant, OSXOdyssey, XP, AEGIS, Xsupplicant, OSX

(10)

How does it work?

How does it work?

a wireless example

a wireless example

A connection is achieved is by 2 sets of security A connection is achieved is by 2 sets of security

protocols. 802.1x first uses WPA encryption. This can protocols. 802.1x first uses WPA encryption. This can either be PSK (Pre

either be PSK (Pre--shared Key) or TKIP (Temporal shared Key) or TKIP (Temporal Key Integrity Protocol). After association, the AP

Key Integrity Protocol). After association, the AP

sends authentication to the authentication server. The sends authentication to the authentication server. The supplicant authenticates the user and workstation to supplicant authenticates the user and workstation to network. This can be achieved by smart card,

network. This can be achieved by smart card, certificates or username

(11)

How does it work?

How does it work?

Wireless Example

(12)

How does it work?

How does it work?

(13)

Authentication Flow

Authentication Flow

(14)

How do you set this up?

How do you set this up?

• Acquire switch that supports 802.1xAcquire switch that supports 802.1x •

• Build a RADIUS serverBuild a RADIUS server •

• Configure secrets for switch and RADIUS Configure secrets for switch and RADIUS

server server

• Configure authentication and tunneling on Configure authentication and tunneling on

RADIUS server RADIUS server

(15)

What problems exist?

What problems exist?

• Laptop theftLaptop theft •

• Supplicant configs are in clear text in some client Supplicant configs are in clear text in some client

software software

(16)

Laptop theft?

Laptop theft?

• If you laptop gets stolen the 802.1x If you laptop gets stolen the 802.1x

Username/Password/Certs will be stolen too. Username/Password/Certs will be stolen too.

• Could prove to be a huge hole if it happened on a Could prove to be a huge hole if it happened on a

weekend. weekend.

(17)

Supplicant configs are in clear

Supplicant configs are in clear

text.

text.

• Xsupplicant is the Linux client and linux config is in clear Xsupplicant is the Linux client and linux config is in clear

text text

• OSX supplicant client is in clear textOSX supplicant client is in clear text •

(18)

RADIUS can be attacked

RADIUS can be attacked

• It's easy to DOS a RADIUS serverIt's easy to DOS a RADIUS server •

• If RADIUS dies, many authenticated services will too.If RADIUS dies, many authenticated services will too.

RADIUS utilizes UDP RADIUS utilizes UDP

(19)

Can problems be fixed?

Can problems be fixed?

• Laptop Theft? MaybeLaptop Theft? Maybe •

• Supplicant configs in clear text? YesSupplicant configs in clear text? Yes •

• RADIUS protected from attacks? YesRADIUS protected from attacks? Yes •

(20)

Laptop Theft?

Laptop Theft?

• Let me tell you a story...Let me tell you a story...

<story about a laptop theft, removed for legal reasons> <story about a laptop theft, removed for legal reasons>

(21)

Supplicant configs in clear text?

Supplicant configs in clear text?

• Ideas to fix itIdeas to fix it •

• File Vault on OSXFile Vault on OSX

(22)

RADIUS protected from attacks?

RADIUS protected from attacks?

• FirewallFirewall •

• ACLACL •

(23)

More ways of Authorizing users?

More ways of Authorizing users?

• Captive PortalCaptive Portal •

(24)

Questions

Questions

(25)

Contact

Contact

tommEE pickles tommEE pickles

[email protected] [email protected] tommEE.net

tommEE.net moloch.org moloch.org

References

Related documents

If Christians developed a balanced marital theology of God’s laws and liberties with an understanding of human dynamics and nature, the psychological and spiritual suffering

Because of its exceptional richness, both in num- bers and in the quality of the species, this type of bath- yal community with Leptometra and Limopsis should be considered a

Scenario : Organizations that do not want to send user credentials in clear text from the client to the web proxy, since this can be perceived as a security hole. When a client

There is current active interest in improved aluminium alloy products to support needs for derivative airplane programs; goals of these product development activities include

We all need to make phone calls, but the environment is different now, and the desk phone is just one of many options at our fingertips.. Our analysis addresses two aspects

development through the American Library Association, and through conferences offered by regional organizations such as the Wisconsin Library Association, yet these do not in and of

The goal is to make the best use of our facilities to support teaching and research, to provide the College with policies that allow optimal planning, and to inform the

Words are the resume are boxes in a word program some companies might surprise you can look good news is not be sure you.. Placed in making a bad resume that can use your resume