As you mention the verification of the device is done in TEAP Method 1 and if this isn't successful the request should be rejected. Maybe it's possible to move a user certificate from one device with a valid device certificate to another but in normal situations that's not possible.
------------------------------
Best Regards
Jonas Hammarbäck
MVP Guru 2024, ACEX, ACDX #1600, ACCX #1335, ACX-Network Security, Aruba SME, ACMP, ACSA
Aranya AB
If you find my answer useful, consider giving kudos and/or mark as solution
------------------------------
Original Message:
Sent: Aug 30, 2024 02:13 AM
From: CrispyFi
Subject: TEAP - Authorization on both methods?
That's what I was thinking - in theory the device ID in the user cert would always match the device ID in the device cert, since they would be generated at the same time.
The only exception would be if the user could somehow export the user cert, but then they would be stuck without a successful TEAP Method 1 auth anyway.
Can you think of any other potential downsides?
Original Message:
Sent: Aug 30, 2024 02:07 AM
From: jonas.hammarback
Subject: TEAP - Authorization on both methods?
Storing the information in the user certificate may be one of the simpliest ways to solve this.
------------------------------
Best Regards
Jonas Hammarbäck
MVP Guru 2024, ACEX, ACDX #1600, ACCX #1335, ACX-Network Security, Aruba SME, ACMP, ACSA
Aranya AB
If you find my answer useful, consider giving kudos and/or mark as solution
Original Message:
Sent: Aug 29, 2024 11:45 PM
From: CrispyFi
Subject: TEAP - Authorization on both methods?
Specifically looking at Intune attributes (e.g. compliance status). We would query Intune using an HTTP AuthZ source using the DeviceID in the SAN field of the cert to query the Intune extension, which would query the Graph API.
One possible solution is just to include the DeviceID cert as an additional SAN on the user cert.
Original Message:
Sent: Aug 29, 2024 06:04 AM
From: Jonas Hammarback
Subject: TEAP - Authorization on both methods?
What information do you plan to check during the authorization of the computer?
------------------------------
Best Regards
Jonas Hammarbäck
MVP Guru 2024, ACEX, ACDX #1600, ACCX #1335, ACX-Network Security, Aruba SME, ACMP, ACSA
Aranya AB
If you find my answer useful, consider giving kudos and/or mark as solution
Original Message:
Sent: Aug 28, 2024 06:58 AM
From: CrispyFi
Subject: TEAP - Authorization on both methods?
Thanks Jonas,
That looks like a great solution, but I'm not sure it will work since my Authorization source queries are based on the SAN fields of the certificate presented in TEAP method 1 and TEAP method 2.
It looks like we can use the authentication username for Method 1, but perhaps not the other computed attributes?
Cheers,
Chris
Original Message:
Sent: Aug 28, 2024 05:40 AM
From: jonas.hammarback
Subject: TEAP - Authorization on both methods?
Hi
With TEAP you already know that the user is authenticating from an authenticated machine as both authentications takes place at the same time. In your policy you can take the unlikely scenario there Method 1 fails and Method 2 is successful and deny access or assign the needed role. One possible cause for this could be an invalid machine certificate but a valid user certificate.
I have seen a way to use the Method 1 username as search condition in an AD source, see this thread:
https://community.arubanetworks.com/discussion/clearpass-authentication-using-eap-teap-eap-chaining-username-missing-method-1
In this post it's described how to create a secondary AD source to search for the computer name and get authorization information for the computer as well.
Should be possible to do the same also for Intune, but instead utilize the Intune Device ID for the computer.
------------------------------
Best Regards
Jonas Hammarbäck
MVP Guru 2024, ACEX, ACDX #1600, ACCX #1335, ACX-Network Security, Aruba SME, ACMP, ACSA
Aranya AB
If you find my answer useful, consider giving kudos and/or mark as solution