Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
israelsc
Contributor
Jump to solution

How to force MFA with Microsoft Authenticator token or code? (SAML + MFA MS Authenticator)


Hello everyone!
I hope you are all feeling great.

I am here to ask you about a requirement that a customer sent us some time ago.
The customer currently has a Remote Access VPN where they use mainly two authentication methods:
-They use local Check Point users for VPN authentication.
-They use LDAP On-Premises users (however, with this authentication method they have a problem: a user Example "John.Dao" exists in a LDAP of a branch and coincidentally there is another "John Dao" in another branch with another LDAP, which is a case that repeats itself a lot in their LDAP)

To solve this issue about duplicate users in LDAP, the customer asked us to make a roadmap to change this authentication method and use Microsoft Azure AD authentication (now called Microsoft Entra ID).
Here, each user will be signed in his own Microsoft Azure AD domain and will not have duplicity problems in different LDAPs.

I have created a lab with a SMS and GW on R81.20 with the latest patch and followed the step by step of this guide:
https://sc1.checkpoint.com/documents/R81.20/WebAdminGuides/EN/CP_R81.20_RemoteAccessVPN_AdminGuide/C...

Also, I followed this video:
https://www.youtube.com/watch?v=yZVB3sJ3fZ8

Basically I did the following:
1- Configure Remote Access VPN on the GW
2- Create a MS Entra ID application for user authorization (this app has read-only permissions to all users, groups and devices in the entire Microsoft Entra ID tree (aka Microsoft Azure AD).
3- Based on this MS Entra ID, create a Check Point object of type "Azure AD" and place the app data. This will allow the Check Point SMS to read the Microsoft Azure AD users.
4- Then, create another MS Entra ID application using a Check Point template located in the application marketplace. This app is called "Check Point Remote Secure Access VPN". With this application configure the data for SSO authentication with SAML.
5- Create a Check Point object of type "Identity Provider" and place the data of this application and with this I achieve the authentication of the users using the Azure AD credentials.
6- Generate a new authentication method, where select the Identity Provider object as authentication method and in "User Directories" check authentication with "External User Profiles".
7- Open Check Point SmartDashboard for Mobile Access and create a new External User Profile named "generic*".
8- I installed policies and reach to authenticate using the Identity Provider information.

I add some captures of evidence:

Login sucessfully with IDP.png

credentials IDP.png

At this point, everything is OK:
-The VPN client uses Azure AD for authentication and the problem of duplicate users in LDAP's on-premise is solved.

However, we have not yet complied with the requirement:
-Authentication must use Azure AD but in addition it must force the user to place the token shown in your Microsoft Authenticator application.

In other words, the VPN authentication must prompt the user for their Azure AD credentials and the user must also place the Microsoft token to fulfill a 2-factor authentication function.

I have tried to force the MFA request for the end user through a "Conditional Access" rule applied directly in the MS Entra ID Application for Check Point authentication, which I show below:

Azure Entra ID app Conditional Access.png

However, this setting is not applied correctly or does not cause any effect.

I would like to know if there is a way to achieve this requirement: force the user to tokenize his MS Authenticator application and perform a 2FA authentication.

My theory is that the VPN client takes the credentials that live in the end user's PC settings (device registered in the Azure AD MDM) and that's why it doesn't ask for authentication again and doesn't even try to ask for a token for 2FA.

I know this may look like maybe some configuration on the Azure side but I would like to know what I could do in Azure or Check Point to accomplish this.

Greetings to all!



(1)
2 Solutions

Accepted Solutions
Chris_Atkinson
Employee Employee
Employee

Please review the following SK and see if it assists with your scenario:

sk180948: SAML Force authentication every time for Remote Access 

CCSM R77/R80/ELITE

View solution in original post

0 Kudos
israelsc
Contributor

Hello @Chris_Atkinson,
Thank you very much, that was the solution!! 😀

I edit the configuration file referenced in the SK and after that, the goal is achieved: the end user is prompted for his 2FA credentials and token with Microsoft Authenticator every time the user logs in with his account.

I attach some evidence:

MFA1.png

MFA2.png

MFA3.png


Thank you for your help.

Greetings!

View solution in original post

0 Kudos
2 Replies
Chris_Atkinson
Employee Employee
Employee

Please review the following SK and see if it assists with your scenario:

sk180948: SAML Force authentication every time for Remote Access 

CCSM R77/R80/ELITE
0 Kudos
israelsc
Contributor

Hello @Chris_Atkinson,
Thank you very much, that was the solution!! 😀

I edit the configuration file referenced in the SK and after that, the goal is achieved: the end user is prompted for his 2FA credentials and token with Microsoft Authenticator every time the user logs in with his account.

I attach some evidence:

MFA1.png

MFA2.png

MFA3.png


Thank you for your help.

Greetings!

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.