r/networking • u/doughecka JOAT • May 14 '21
Security 802.1X and non-computer devices
I work for a manufacturer that makes devices that plug into customer's networks (similar to IP Phones). We currently don't support 802.1X on any of our devices, however it's come up recently from a few customers that they're looking at making that a requirement in the future.
From an enterprise network operations perspective, how are devices that support 802.1X typically handled? Do you issue unique certificates to each device, and if so, how do you handle renewing those certificates over the long term? Or do you just implement MAC Authentication Bypass (MAB) for these devices (and all the other devices that don't support 802.1X), and not bother managing the individual certificates on the devices?
Obviously on 'full' computers, you have tools (Group Policy, MDM, etc.) that can be used to push/renew certificates, and setup the supplicant automatically. That's something that's not typically available on these network devices. Other devices I'd assume this would also be a challenge for would include:
IP Phones
Printers
Cameras
TVs
etc.
How is this handled in the 'real world'?
18
u/doughecka JOAT May 14 '21
Cool, thanks for the feedback all... it seems the general consensus is that if you do add support for 802.1X to a product, do it right... central management and auto-provisioning of certs. Otherwise it's unwieldy to manage and everyone will just do MAB anyway.
43
u/CCTG May 14 '21
Having a centralized point of management is everything. When dealing with multiple devices there is nothing worse than having to manually install certificates or configure credentials for each device.
Another challenge I find is requesting certificates for each device. Some of the best solutions integrate with the PKI and get/install the certificate automatically.
Currently in my network when I come across a really awkward device with no 802.1x support using MAB is my solution. Not ideal but better than nothing.
10
u/101100101101 May 14 '21
In order of preference (using Cisco ISE):
1: EAP-TLS - uses both client and server certificate, requires PKI in place to manage anything at scale and generally difficult to implement with non-computer devices
2: PEAP/MSCHAP - uses server side cert that the client must trust, requires username/pw on client side. We do this with a number of our 3rd party non-computer devices that support it, user objects are built in AD for them
3: MAB - when the endpoint supports nothing, we profile on MAC and other attributes, and tie authorization results to the profile group
9
u/crono14 May 14 '21
For our network we have Cisco ISE, so any PC that gets put on the domain is required to have certificates issued from our CA server for both computer and user authentication. If all the necessary boxes are checked, then they will be allowed access to the network.
If anyone plugs in a personal PC or something non-domain, it will eventually default to MAB in which case there is a policy for any MAB device to only have the necessary access to pull down GPO and certificates. Everything else is then blocked.
For printers, phones, Camera's etc, they are all profiled separately and then I created separate policies for them. They will still use MAB, but will get a different policy based on how they get profiled.
The above is for wired devices, for wireless the decision was made to not use certificate based auth, but we do 802.1x based on group-based auth. So if a user is apart of this certain group in AD, they will be able to connect to our corporate WIFI.
It might not be the best and optimal solution, but it's better than having your switchports completely open.
4
u/eviljim113ftw May 14 '21
For 802.1x, it would be ideal if the connecting device can be centrally managed so you can push the credentials. Same with 802.1x with EAP-TLS. Central management will make it easier to manage multiple devices.
We do have users who don’t have centrally managed devices so they have to suffer manually dealing with their credential updates or cert replacements.
4
u/macbalance May 14 '21
My org doesn't do 802.1x for wired connectivity but we've discussed it. A major negative is non-compliant devices would need to be whitelisted, which limits the use, but the basic idea is that these devices would need to be "restricted" in various ways. Have them put in a VLAN that has limited access for example.
You want access for your smart TV, printer, or toothbrush? Show need, get InfoSec to sign off, and hopefully pick a solution that's compliant or get slower and more restricted service.
2
u/devbydemi May 15 '21 edited May 15 '21
Remember that your device needs to somehow be able to authenticate itself to the certificate authority. Otherwise, anyone could pretend to be that device and get a certificate. My personal preference is for each device to ship with a certificate, where the private key is stored in a secure element and the certificate is signed by a corporate CA of your company and contains the device unique serial number. Ideally, the fingerprint of your CA should be on the device somewhere. Your device will use its factory-issued certificate to authenticate to your customer’s EST server, which will provide it with a certificate trusted by the EAP-TLS server.
Ideally, there should also be a way to configure your device to require a specific server certificate, for mutual authentication, but it isn’t strictly necessary.
3
u/tinuz84 May 14 '21
To be honest, I’ve looked into implementing 802.1x for non-windows computers, and found it way too much of a hassle. I use MAC auth for things like printers, IP phones and building automation devices.
3
u/usmcjohn May 14 '21
Ndes/scep with a management platform for enterprise class non pc devices. We do this for axis cameras, and some smart WiFi phones from Samsung.
3
u/[deleted] May 14 '21
Mac bypass is a fall back and shouldn’t be used.
Focus on easy registration to certificate servers.
1
u/S0uthw3ll May 14 '21
We use Clearpass for these types of devices, Mac auth with profiling. E.g. needs to be in the Mac list and also match specific attributes that come from the DHCP request. It does mean DHCP is pretty much required to get a decent amount of attributes returned but that's easy enough to do with reservations.
1
u/saxxxxxon May 14 '21
For issuing certificates the typical methods are to use something like SCEP to automate the process of enrollment (submitting the CSR and retrieving the certificate) with the enterprise's CA, or to have the enterprise's RADIUS server trust your management platform's CA and you do all of the enrolment internally. If the enterprise's CA issues the certificate they (theoretically) have full visibility and control of what certificates are issued, and if the RADIUS server trusts your CA you don't have to worry about the process breaking down or having incompatibilities. I imagine you'll end up supporting both options, but it might be worth reaching out to your customers to see what they think.
If you do it internally you could just implement your own CA with SCEP or EST, and have your devices use that. It should make it easier to switch between the two approaches.