Security

 View Only
last person joined: 21 hours ago 

Forum to discuss Enterprise security using HPE Aruba Networking NAC solutions (ClearPass), Introspect, VIA, 360 Security Exchange, Extensions, and Policy Enforcement Firewall (PEF).
Expand all | Collapse all

Clearpass + Intune

This thread has been viewed 174 times
  • 1.  Clearpass + Intune

    Posted Feb 01, 2021 12:12 AM
    Hello all,

    Now I know this is a lot of text, but I am just trying to get as much detail in as possible. I have read Aruba guides and watched the videos countless times, but I do have a few lingering questions.

    Our org has started moving over staff devices to InTune, we still have a large presence of BYOD and student devices.

    Our setup today is pretty simple. Users log into their Windows machines and it all automatically logs them in to the wireless.


    Now with a recent directive from the powers above, we are moving devices (starting with staff) over to InTune management and are beefing up security practice. I really want to take advantage of the InTune Extension in Clearpass, as I feel that coupled with Defender ATP extension would be a great value add.

    This is a rough draft of what I would like to do with our wireless auth moving forward.


    Question1: The ATP and Palo stuff can be configured later, but I am just trying to get some questions answered on if this InTune extension and Clearpass can do what I envision in the chart? Basically, I want InTune devices only on our Staff VLAN. All other devices can go and get the student clearpass role and be put on that VLAN.

    So far I have the InTune extension installed on both nodes with sync schedules that offset each other. I do not plan on using HTTP auth mode to pull in data "live"...unless needed. I am pulling data into my Endpoint DB and can view it. Now it really comes down to making sure a cert is pushed to the devices. I will be using PKCS with an internal CA.

    Question 2: Do I need to push a user auth certificate, or machine auth? or does it not matter? What are the pros and cons?
    Question 3: Even though I am not using HTTP Auth mode, do I still need to set up an Authentication Source that points to InTune?
    Question 4: Will I be able to achieve the same setup I have today, where when a user logs into their device, they are automatically joined to the wireless (i think this is where the certs come into play)


    I appreciate any help or insight on this.



  • 2.  RE: Clearpass + Intune

    Posted Feb 04, 2021 01:25 AM
    Bump

    ------------------------------
    Zack Shore
    ------------------------------



  • 3.  RE: Clearpass + Intune

    MVP
    Posted Feb 04, 2021 01:43 AM
    I assume your using V5 of the InTune Extension?? 

    Why do you have it running on two nodes, offset.... sync on one node and sync more regularly, when you sync on a SUB it will have to write the data to the PUB first. 

    Question1: The ATP and Palo stuff can be configured later, but I am just trying to get some questions answered on if this InTune extension and Clearpass can do what I envision in the chart? Basically, I want InTune devices only on our Staff VLAN. All other devices can go and get the student clearpass role and be put on that VLAN.

    So far I have the InTune extension installed on both nodes with sync schedules that offset each other. I do not plan on using HTTP auth mode to pull in data "live"...unless needed. I am pulling data into my Endpoint DB and can view it. Now it really comes down to making sure a cert is pushed to the devices. I will be using PKCS with an internal CA.
    {djj} - Yes, this workflow is achievable, in terms of using InTune data and D-ATP data as authZ content.

    Question 2: Do I need to push a user auth certificate, or machine auth? or does it not matter? What are the pros and cons?
    {djj} - This really depends on how you want to authN the user/device, if you have WIN10 and run TEAP you can do both.

    Question 3: Even though I am not using HTTP Auth mode, do I still need to set up an Authentication Source that points to InTune?
    {djj} - Not if you ingesting the endpoint into the CPPM EndpointDb and using that data as an authZ souce to make you first check, is this endpoint enrolled/known to InTune.

    Question 4: Will I be able to achieve the same setup I have today, where when a user logs into their device, they are automatically joined to the wireless (i think this is where the certs come into play)
    {djj} - Sure, that's the autHn portion, the Intune/D-ATP is more the authZ part. One of the huge benefits of CPPM is that authN & authZ can be separated to different identity stores/repositories.


    ------------------------------
    Danny Jump
    "Passionate about CPPM"
    ------------------------------



  • 4.  RE: Clearpass + Intune

    Posted Feb 04, 2021 01:55 AM

    I appreciate the response! Big fan of your advice on this forum. 


    So I think I have the cert piece down. I currently push a user and device SCEP cert to my InTune devices. Then I set up an InTune Wi-Fi profile that specifies user or machine auth. This allows our laptops to connect at the sign in screen using machine auth and then when the user logs in it uses their creds. So far this is working great  

    The issue that I'm dealing with right now is a little strange. At the end of my enforcement policy, I have it set to look at the endpoint DB, and if InTune Registered is NOT__EXIST it will bump that device to the student VLAN. This doesn't seem to work very well and won't connect my personal devices when I test. BUT it will connect them sometimes if MAC randomization is on.

    is there a better way to get my devices with no InTune registration onto that student VLAN as shown in the flow chart?



    ------------------------------
    Zack Shore
    ------------------------------



  • 5.  RE: Clearpass + Intune

    Posted Feb 04, 2021 01:58 AM
    And yes, we enroll all our devices into InTune before distribution. So they are synced to the Endpoint DB and ready by the time the user is ready to join wireless.

    ------------------------------
    Zack Shore
    ------------------------------



  • 6.  RE: Clearpass + Intune

    MVP
    Posted Feb 04, 2021 01:23 PM
    Zack,

    I can't think why the mac-randomizatin would have any bearing on a device working or not, as you describe. It not like your checking for a known mac-address, or doing mac-auth. However,  if you specifically making an authZ decision on In_Tune registered, when you make this check you'll have to be looking up the endpoint with its mac-address, if randomization is enabled then you're potentially in a pickle when comparing to the physical address reported by InTune that is the Endpoint mac-address......said another way I'd have expected mac-randomization to always drop the endpoint into the student vlan/role.

    ------------------------------
    Danny Jump
    "Passionate about CPPM"
    ------------------------------



  • 7.  RE: Clearpass + Intune

    Posted Nov 28, 2022 07:42 PM
    Hi Community members,

    I am on the same situation, we are using Clearpass Intune ext v 5. Using the query filter 
    %{Connection:Client-Mac-Address-Hyphen}

    At this point, all the attributes Clearpass is getting is related to Device, not the user. If we pick one attribute, for example 'Intune Azure AD Registered' eq true--assign for example staff role, that means students getting staff vlan.

    Is there any query filter , that gets user information, so that we can use that in policy ? It's quite hard to distinguish staff and student at this point. 
    Please share your thought/view.

    -BINOD


  • 8.  RE: Clearpass + Intune

    Posted Dec 06, 2022 10:49 AM
    Hello,

    We ran into this as we are considering adding staff devices to InTune, but haven't yet. Luckily the staff and students use a different type of device, so you could make use of the attribute Endpoint:Intune Model in this case.



  • 9.  RE: Clearpass + Intune

    EMPLOYEE
    Posted Dec 06, 2022 11:30 AM
    You may add different attributes in the Intune deployed certificates for student vs staff and filter on that; or use a different CA to issue your certificates (may be useful for other applications as well).

    If staff devices are Corporate managed, and student devices 'personal', you could use the Intune Managed Device Owner Type to make your policy decision.

    You probably should not rely on the client MAC address, rather on the Intune DeviceID that is in the client certificate. A query like the following would do such a thing if the Intune DeviceID is set as Common Name in the certificate:
    select attributes->>'Intune User Principal Name' as "Intune User Principal Name",attributes->>'Intune Model' as "Intune Model",attributes->>'Intune Jail Broken' as "Intune Jail Broken",attributes->>'Intune Operating System' as "Intune Operating System",attributes->>'Intune Managed Device Owner Type' as "Intune Managed Device Owner Type",attributes->>'Intune Management Agent' as "Intune Management Agent",attributes->>'Intune Azure AD Registered' as "Intune Azure AD Registered",attributes->>'Intune Compliance State' as "Intune Compliance State",attributes->>'Intune Device Name' as "Intune Device Name",attributes->>'Intune Azure AD Device Id' as "Intune Azure AD Device Id" FROM tips_endpoints WHERE attributes->>'Intune ID' = LOWER('%{Certificate:Subject-CN}')​
    This approach avoids MAC spoofing attacks, as well it allows wired clients (as long as clients have at least one WiFi interface) when the lookup is done based on the DeviceID rather than on the MAC address.

    And there is a v6 version of the Intune extension; I would not deploy new systems with v5.

    With ClearPass 6.11 there now also is an Azure AD authorization source that can directly lookup Azure AD groups based on the Azure AD Username.

    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 10.  RE: Clearpass + Intune

    Posted Dec 29, 2022 05:35 AM
    hi Herman,
    this is great information as i'm just about to deploy Intune V6 in Clearpass AWS 6.10.
    i'm planning to deploy with "periodic database sync" enabled and using endpoint Intune attributes for authorization.
    Quick question do i need to tell the customer that ALL intune registered devices (Android, Apple) have to have MAC randomization
    turned OFF ?
    Cheers
    Pete


  • 11.  RE: Clearpass + Intune

    EMPLOYEE
    Posted Jan 02, 2023 07:44 AM
    If you use that custom query, based on the part...
    WHERE attributes->>'Intune ID' = LOWER('%{Certificate:Subject-CN}')​
    ... the lookup is done based on the Certificate:Subject-CN rather than on the connecting MAC address. That means that MAC randomization is supported for the authentication part. If you also leverage endpoint-attributes, like device profile, then it may be needed to turn off MAC randomization on those devices that have different MAC addresses each time they connect or every day. Most devices will stick to the MAC address for quite some time when connecting to the same SSID.

    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 12.  RE: Clearpass + Intune

    Posted Jan 03, 2023 05:00 AM
    hi Herman,
    once again thanks for taking the time to reply.
    I like your custom query, but i guess that would rely on authorization traffic to the cloud which is something i would like to avoid ?
    i like the "periodic database sync" because there are no latency issues.
    does that sound right ?
    cheers
    Pete


  • 13.  RE: Clearpass + Intune

    EMPLOYEE
    Posted Jan 03, 2023 06:00 AM
    It's a query on the Endpoint Repository, which is local and periodically synced. Here is how that Authentication Source looks like in my ClearPass:


    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 14.  RE: Clearpass + Intune

    Posted Jan 10, 2023 04:59 AM
    So just to be clear Herman, you cut and paste the filter query in your post as follows :-




  • 15.  RE: Clearpass + Intune

    EMPLOYEE
    Posted Jan 10, 2023 12:09 PM
    That may work, but I would recommend creating a new Authentication Source with the appexternal database account. I would deprecate changing any default services, sources, roles, etc; the ones [between bracket] are defaults.

    One of the changes in ClearPass 6.11 is that the default services are locked, so you can't change them. Once you upgrade the config that you show will not work anymore.

    It may be confusing, but hopefully this helps to configure it.

    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 16.  RE: Clearpass + Intune

    Posted Jan 17, 2023 05:25 PM
    This is a great solution. Just wondering what the query would be if the attribute to compare is the "Intune Device Name" and it is a substring of certificate subject-cn.