Thursday, September 3, 2015

Home / Azure MFA with pGina and Local Authentication

Azure MFA with pGina and Local Authentication

The current Azure MFA doesn't have a plug-in for local workstation and sever authentication. So I was testing some other scenarios using an open source application called pGina. You can read more information here - http://pgina.org/ .

PGina supports different protocols, for this testing I was using RADIUS . From an MFA perspective, it is same as any other RADIUS and 2FA configuration. Here are some of my notes:

Azure MFA and RADIUS configuration details are well documented in https://azure.microsoft.com/en-us/documentation/articles/multi-factor-authentication-get-started-server-radius/ so I am not planning to add any details here. For this testing, I have added my client machines as “Clients” as shown in the following screenshot:

image

Since I am using domain joined machines,  I have selected Windows Domain as the target. 

image

Those are the only configuration you need to make on the MFA server. Next step is to configure the PGina application on your workstation – of course it has to be locally installed on the machine.    Open pGina application from the workstation and select the appropriate plug-in. I have selected RADIUS. 

image

Select Configure button to enter your MFA server information. 

image

You don’t need to make any other changes unless you are planning to configure multiple authentication and priorities.   From the Simulation tab, you can validate your authentication configuration. Based your MFA configuration (Phone call, Text message, Mobile app, OATH token) the user will receive a second after authentication prompt.   

image

Since my test account was configured to use MFA Mobile App, I received the following 2FA request on my configured device. 

image

You will also see the authentication status in the Result section. 

image

If your MFA server is in Azure or planning to connect it remotely, make sure to open the appropriate ports.  In Azure, additional End Points (port 1812 and 1813) need to be opened for your MFA.

Note: You are enabling public access to your servers.  Understand the risk before making these configuration changes :)

image

You also need to modify pGina client with correct Azure server name or IP address. It is easier to use the Cloud Service name (name.cloudapp.net).

image

SS

Santhosh Sivarajan

Microsoft MVP · Identity & Cybersecurity Architect

Santhosh has 30+ years of hands-on enterprise experience in Identity and Access Management, Microsoft Entra ID, Active Directory, Microsoft 365 and Zero Trust architecture. He is the author of two books on Windows Server and security, and leads consulting, assessments and training at SAG Business Group.

6 comments:

Thank you so much for this wonderful blog..This website consists of informative posts only. Very helpful..

It will be great idea for students to check the info from https://essayclick.net/blog/responsibility-essay out. Especially if you need to write your essay about responsibility soon.

I truly grateful for this post. I’ve been trying everywhere for this! Impart goodness I found it on this post. I really esteem your work and that I expect in future I’ll come back for additional data. Like this one. Some points described here were new for me and it was really wonderful to go through such informative post. You have created my day! Thanks again!
web: Essay Writing Service

Thank u for such great and well written post. BTW u should check amazing explanation about physical beauty vs inner beauty

Hello! I know that nit every person has time for writing papers in the best way. That's why more and more people buy unique essay and save their time.

Hello, I would like to thank you for sharing this interesting information, the material you have provided here will be useful for my https://writessay.org task.

Post a Comment

Popular Posts
Workstation Trust Relationship Issue Issue: You receive the following error message, when you try to login to the domain.  The security database on the server does not have ... ADMT Service Account - Permission and Configuration The ADMT service account needs to have proper permission in source and target domains.  You don’t need to use 2 separate accounts.  You can ... My First Peek into Microsoft Exchange 2010 By Santhosh Sivarajan Before I really dive into Exchange 2010, I thought I would install and play with it first. I took some screen shots and notes during the ins... ObjectSID and Active Directory What is an objectSID in Active Directory? When a new object is created in Active Directory, Domain Controller assigns a unique value used ... AD Group Report - List Group Members in Active Directory–PowerShell Script Updated Script - http://portal.sivarajan.com/2011/10/search-ad-collect-local-admin-group.html Script #1 This script... Add Users to a Group–PowerShell Script Purpose – Add users to a group from an input file – PowerShell V2 Script.  Input file – Input file (Users.csv) contains samAccountName in... User Account Migration and Merging – Part I (ADMT) Part I - User Account Migration and Merging Using ADMT Part II - User Account Migration and Merging Using QMM pre-creating user account ... User Account Migration and Merging – Part II (Quest Migration Manager) Part I - User Account Migration and Merging Using ADMT Part II - User Account Migration and Merging Using QMM Pre-creating user account in... Delete Stale or Inactive Computer Accounts from Active Directory Here is an easy way to identify and delete inactive or stale computers in an Active Directory environment.  Using the dsquery command you c... Converting PowerShell (PS1) to EXE / Standalone Application As we know, there many applications available to convert a PowerShell file to a standalone executable file.  Based on my experience, PowerSh...