UniOTP Credential Provider Agent: Difference between revisions

From SecuTech Wiki
Jump to navigationJump to search
Joseph (talk | contribs)
No edit summary
Bao (talk | contribs)
mNo edit summary
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:UniOTP_Tools]]
[[Category:UniOTP_Tools]]


<p>This document details how to install and use the UniOTP Windows Logon Agent, intended for end users who want to use UniOTP authentication to log onto their system.</p>
This document details how to install and use the UniOTP Windows Logon Agent, intended for end users who want to use UniOTP authentication to log onto their system. The UniOTP Windows Logon Agent is used to integrate the UniOTP dynamic password authentication system with Windows. There are two versions of the UniOTP Windows Agent: GINA (Windows 2000, XP); and Credential Provider (Windows Vista, 7, Windows Server 2008). Both use two different Windows logon architecture models. This document covers the installation and usage of the Credential Provider agent.


<p>The UniOTP Windows Logon Agent is used to integrate the UniOTP dynamic password authentication system with Windows. There are two versions of the UniOTP Windows Agent: GINA (Windows 2000, XP); and Credential Provider (Windows Vista, 7, Windows Server 2008). Both use two different Windows logon architecture models. This document covers the installation and usage of the Credential Provider agent.</p>
Note: UniOTP MGS Win Logon currently does not work with Windows 7 Home Premium and Pro.


== Installation ==
== Installation ==
Line 9: Line 9:
==== Preparation ====
==== Preparation ====


<p>Before implementing the UniOTP Windows Logon Agent, please verify the following requirements:</p>
Before implementing the UniOTP Windows Logon Agent, please verify the following requirements:
* The UniOTP authentication server is already configured and running.
* The UniOTP authentication server is already configured and running.
* The administrator has and is already using an active account for the agent on the server
* The administrator has and is already using an active account for the agent on the server
Line 16: Line 16:
==== UniOTP Windows Logon Agent Installation ====
==== UniOTP Windows Logon Agent Installation ====


<p>1. Once the UniOTP Windows Distributable Package has been downloaded and installed, find the installation file [setup.exe] inside the package and double-click it to launch the installation process.</p>
1. Once the UniOTP Windows Distributable Package has been downloaded and installed, find the installation file setup.exe inside the package and double-click it to launch the installation process.


<p>2. Click on [Next] in the InstallShield Wizard welcome screen.</p>
2. Click on Next in the InstallShield Wizard welcome screen.


[[Image:uniotpcp img01.jpg|370px]]
[[Image:uniotpcp img01.jpg|500px|alt=installation wizard initial screen]]


<p>3. Input your User Name and Company Name and click on [Next].</p>
3. Input your User Name and Company Name and click on Next.


[[Image:uniotpcp img02.jpg|370px]]
[[Image:uniotpcp img02.jpg|500px|alt=inputting user and company name]]


<p>4. Select [Complete] and click on [Next].</p>
4. Select Complete and click on Next.


[[Image:uniotpcp img03.jpg|370px]]
[[Image:uniotpcp img03.jpg|500px|alt=selecting installation type]]


<p>5. Click on [Install] to begin the installation of the PKI package. After verifying the InstallShield Wizard has completed successfully and click on [Finish]. Once the installation completed, the User Management Tool UniOTPManager will open automatically.</p>
5. Click on Install to begin the installation of the PKI package. After verifying the InstallShield Wizard has completed successfully then click Finish. Once the installation completed, the User Management Tool UniOTPManager will open automatically.


[[Image:uniotpcp img04.jpg|370px]]
[[Image:uniotpcp img04.jpg|500px|alt=UniOTPManager main window]]


<p>6. '''Important:''' It is strongly advised that a user account is added for this machine at this point. A new user account must be created before exiting this tool.  If a functioning user account is not configured and added on the computer, users will '''not''' be able to log into the machine. '''Uninstall the UniOTP Windows Logon Agent immediately if any unresolvable errors appear in the following steps.'''</p>
6. '''Important:''' It is strongly advised that a user account is added for this machine at this point. A new user account must be created before exiting this tool.  If a functioning user account is not configured and added on the computer, users will '''not''' be able to log into the machine. '''Uninstall the UniOTP Windows Logon Agent immediately if any unresolvable errors appear in the following steps.'''


[[Image:uniotpcp img05.jpg|370px]]
[[Image:uniotpcp img05.jpg|500px|alt='it is dangerous if you do not add a UniOTP account for this computer' message]]


<p>7. In the "UniOTPManager" window, click [Add] to add a UniOTP account to be authenticated with on the computer.</p>
7. In the UniOTPManager window, click Add to add a UniOTP account to be authenticated with on the computer.


[[Image:uniotpcp img06.jpg|370px]]
[[Image:uniotpcp img06.jpg|500px|alt=adding new account]]


<p>8. Under the "Add Account" window, in the fields: "Account", input a valid UniOTP account name; "Auth Server", input the IP address of the UniOTP authentication server; "Port", input the service port of the above server (default is 1812); "Share", input the shared key (used by the UniOTP authentication server); and "Max Wait Time", input the number of seconds the computer should wait for the server response.</p>
8. Under the Add Account window, in the fields:
* Account, input a valid UniOTP account name;
* Auth Server, input the IP address of the UniOTP authentication server;
* Port, input the service port of the above server (default is 1812);
* Share, input the shared key (used by the UniOTP authentication server);
* and Max Wait Time, input the number of seconds the computer should wait for the server response.


<p>9. After the account has been added, and any other additional modifications made, click [Apply]. The [Apply] button must be clicked to submit and apply user information.</p>
9. After the account has been added, and any other additional modifications made, click Apply. The Apply button must be clicked to submit and apply user information.
[[Image:uniotpcp img07.jpg|370px]]


<p>10. The below dialog box will appear if updating account information was successful.</p>
[[Image:uniotpcp img07.jpg|500px|alt=UniOTPManager new account and authentication server added]]
[[Image:uniotpcp img08.jpg|370px]]


<p>11. After successfully installing the UniOTP Windows Authentication Agent and adding a new user, performing a two-factor user logon can be tested to ensure all processes are functioning correctly. Choose a user in the account list then click [Test] to perform an authentication test.</p>
10. The dialog box below will appear if updating account information was successful.
[[Image:uniotpcp img09.jpg|370px]]


<p>12. Input the OTP password generated from the corresponding OTP device (If the authentication method is set to OTP+PIN, input the PIN directly after the OTP password in the same field), then click [OK]. If the password entered is correct, the following dialog will be displayed.
[[Image:uniotpcp img08.jpg|250px|alt='update account information successfully' message]]
</p>
 
[[Image:uniotpcp img10.jpg|370px]]
11. After successfully installing the UniOTP Windows Authentication Agent and adding a new user, performing a two-factor user logon can be done to ensure all processes are functioning correctly. Choose a user in the account list then click Test to perform an authentication test.
 
[[Image:uniotpcp img09.jpg|500px|alt=authentication test on a user account]]
 
12. Input the OTP password generated from the corresponding OTP device (If the authentication method is set to OTP+PIN, input the PIN directly after the OTP password in the same field), then click OK. If the password entered is correct, the following dialog will be displayed.
 
[[Image:uniotpcp img10.jpg|250px|alt='authenticated successfully' message]]
 
If the password entered is incorrect, the following dialog will instead be displayed.
 
[[Image:uniotpcp img11.jpg|250px|alt='authentication failed' message]]
 
13. A popup message indicating the result of the UniOTP authentication test will appear. If unsuccessful, refer to the displayed message to solve the error. '''Do not log off, switch user, lock, shutdown, reboot, or otherwise interact with Windows user credentials until successfully completing the authentication test. If an encountered error cannot be resolved, please uninstall the UniOTP Windows Logon Agent immediately.''' Failure to do so will result in the user being unable to log back into Windows. It is recommended to uninstall the UniOTP Windows Logon Agent until the error, if present, has been identified and rectified.
 
14. After verifying the two-factor authentication test has completed successful, the user account is now secured with UniOTP authentication. All user accounts identified with UniOTP require the corresponding OTP to successfully authenticate with the user account. To add additional users, repeat the above steps from step 7.


<p>If the entered password is incorrect, the following dialog will be displayed instead.</p>
[[Image:uniotpcp img11.jpg|370px]]
<!--Check-->
<p>13. There will be a popup note shows that the implementation for UniOTP dynamic password authentication is succeeded , Otherwise you need to find the error by referring to the prompted note (please don't reboot , shutdown, lock screen, etc during the operation), until successfully pass the authentication test (If the error can't be resolved, please uninstall the UniOTP Windows Logon Agent Immediately).</p>


<p>14. After verifying the two-factor authentication test completed successful, the user account is now secured with UniOTP's dynamic password authentication. All user accounts identified with UniOTP require the corresponding OTP to successfully authenticate onto the computer. To add additional users, repeat the above steps from step 7.</p>
<!--EndCheck--->
== Usage ==
== Usage ==


[[Image:uniotpcp img12.jpg|370px]]
[[Image:uniotpcp img12.jpg|750px|alt=Windows user select screen]]
 
1. In the Windows login screen, select a user to log into with.
 
[[Image:uniotpcp img13.jpg|750px|alt=Windows user login screen]]
 
2. In the password field, input the Windows password for the user account to log onto Windows.


<p>15. Choose a user to enter the logon interface.</p>
3. In the UniOTP Account drop-down list, select the corresponding UniOTP account. In the OTP[PIN] password field, input the generated one-time password (if the authentication method is set to OTP+PIN, by default, input your dynamic password followed by your PIN immediately afterwards in the field. Refer to your administrator as to how OTP+PIN authentication is set up).


[[Image:uniotpcp img13.jpg|370px]]
4. Press Enter or click the arrow button to authenticate.


<p>16. In the password field, input your password used to log on the system.
If the OTP[PIN] password entered is incorrect, the following error will appear.
In the UniOTP Account drop-down list, choose your UniOTP account. In the OTP[PIN] password field, input your dynamic password (If the authentication method is set to OTP+PIN, input your dynamic password followed by your PIN in the field. )</p>
<p>Click on the arrow button to achieve the authentication.</p>
<p>If the OTP[PIN] password that you input is wrong, you will get the following error.</p>


[[Image:uniotpcp img14.jpg|370px]]
[[Image:uniotpcp img14.jpg|750px|alt='error code 13' message]]


<p>If the OTP [PIN] is correct but the Windows account password is incorrect, the following error will appear.</p>
If the OTP[PIN] entered is correct, but the Windows user account password is incorrect, the following error message will appear.


[[Image:uniotpcp img15.jpg|370px]]
[[Image:uniotpcp img15.jpg|750px|alt='incorrect password or username' message]]


<p>By now, we succeeded in implementing UniOTP dynamic password authentication protection for this computer.</p>
If authentication was successful, the Windows user account is secured with UniOTP dynamic password authentication.


== Important Points ==
== Important Remarks ==


<p>1. When you finish installing UniOTP Windows Authentication Agent, if you cannot pass the authentication test, uninstall the software immediately to avoid being unable to log on the operating system and all the inconvenience it will cause.</p>
# After installing the UniOTP Windows Authentication Agent, if none of the UniOTP user accounts pass the authentication test, uninstall the UniOTP Windows Authentication Agent '''without delay''', otherwise no user account on the computer will be able to log in.
<p>2. If you failed to authenticate many times consecutively(if more than 5 times, ask an operator to check the configuration), please wait 10 minutes before attempting to authenticate again, if you still cannot authenticate for a long time, you need to ask an administrator to repair your device.</p>
# If authentication has failed numerous times in succession (, more than five consecutive attempts, refer to the administrator to inspect configuration settings), wait ten minutes before attempting to authenticate again. If authentication is still unsuccessful, refer to the administrator to repair your device.
<p>3. Please to try to modify or delete the SYSROOT\secuagt_cp.conf by yourself, this file is used as the configuration file for UniOTP Windows authentication agent, if this file is deleted or damaged, you might be unable to log on the operating system.</p>
# Do not modify or delete the "%SYSTEMROOT%\secuagt_cp.conf" file as this is the configuration file for the UniOTP Windows Authentication Agent. Deletion or modification of this file may result in a locked operating system.

Latest revision as of 12:12, 16 August 2016


This document details how to install and use the UniOTP Windows Logon Agent, intended for end users who want to use UniOTP authentication to log onto their system. The UniOTP Windows Logon Agent is used to integrate the UniOTP dynamic password authentication system with Windows. There are two versions of the UniOTP Windows Agent: GINA (Windows 2000, XP); and Credential Provider (Windows Vista, 7, Windows Server 2008). Both use two different Windows logon architecture models. This document covers the installation and usage of the Credential Provider agent.

Note: UniOTP MGS Win Logon currently does not work with Windows 7 Home Premium and Pro.

Installation

Preparation

Before implementing the UniOTP Windows Logon Agent, please verify the following requirements:

  • The UniOTP authentication server is already configured and running.
  • The administrator has and is already using an active account for the agent on the server
  • The aforementioned account has been bound to the UniOTP device used.

UniOTP Windows Logon Agent Installation

1. Once the UniOTP Windows Distributable Package has been downloaded and installed, find the installation file setup.exe inside the package and double-click it to launch the installation process.

2. Click on Next in the InstallShield Wizard welcome screen.

installation wizard initial screen

3. Input your User Name and Company Name and click on Next.

inputting user and company name

4. Select Complete and click on Next.

selecting installation type

5. Click on Install to begin the installation of the PKI package. After verifying the InstallShield Wizard has completed successfully then click Finish. Once the installation completed, the User Management Tool UniOTPManager will open automatically.

UniOTPManager main window

6. Important: It is strongly advised that a user account is added for this machine at this point. A new user account must be created before exiting this tool. If a functioning user account is not configured and added on the computer, users will not be able to log into the machine. Uninstall the UniOTP Windows Logon Agent immediately if any unresolvable errors appear in the following steps.

'it is dangerous if you do not add a UniOTP account for this computer' message

7. In the UniOTPManager window, click Add to add a UniOTP account to be authenticated with on the computer.

adding new account

8. Under the Add Account window, in the fields:

  • Account, input a valid UniOTP account name;
  • Auth Server, input the IP address of the UniOTP authentication server;
  • Port, input the service port of the above server (default is 1812);
  • Share, input the shared key (used by the UniOTP authentication server);
  • and Max Wait Time, input the number of seconds the computer should wait for the server response.

9. After the account has been added, and any other additional modifications made, click Apply. The Apply button must be clicked to submit and apply user information.

UniOTPManager new account and authentication server added

10. The dialog box below will appear if updating account information was successful.

'update account information successfully' message

11. After successfully installing the UniOTP Windows Authentication Agent and adding a new user, performing a two-factor user logon can be done to ensure all processes are functioning correctly. Choose a user in the account list then click Test to perform an authentication test.

authentication test on a user account

12. Input the OTP password generated from the corresponding OTP device (If the authentication method is set to OTP+PIN, input the PIN directly after the OTP password in the same field), then click OK. If the password entered is correct, the following dialog will be displayed.

'authenticated successfully' message

If the password entered is incorrect, the following dialog will instead be displayed.

'authentication failed' message

13. A popup message indicating the result of the UniOTP authentication test will appear. If unsuccessful, refer to the displayed message to solve the error. Do not log off, switch user, lock, shutdown, reboot, or otherwise interact with Windows user credentials until successfully completing the authentication test. If an encountered error cannot be resolved, please uninstall the UniOTP Windows Logon Agent immediately. Failure to do so will result in the user being unable to log back into Windows. It is recommended to uninstall the UniOTP Windows Logon Agent until the error, if present, has been identified and rectified.

14. After verifying the two-factor authentication test has completed successful, the user account is now secured with UniOTP authentication. All user accounts identified with UniOTP require the corresponding OTP to successfully authenticate with the user account. To add additional users, repeat the above steps from step 7.


Usage

Windows user select screen

1. In the Windows login screen, select a user to log into with.

Windows user login screen

2. In the password field, input the Windows password for the user account to log onto Windows.

3. In the UniOTP Account drop-down list, select the corresponding UniOTP account. In the OTP[PIN] password field, input the generated one-time password (if the authentication method is set to OTP+PIN, by default, input your dynamic password followed by your PIN immediately afterwards in the field. Refer to your administrator as to how OTP+PIN authentication is set up).

4. Press Enter or click the arrow button to authenticate.

If the OTP[PIN] password entered is incorrect, the following error will appear.

'error code 13' message

If the OTP[PIN] entered is correct, but the Windows user account password is incorrect, the following error message will appear.

'incorrect password or username' message

If authentication was successful, the Windows user account is secured with UniOTP dynamic password authentication.

Important Remarks

  1. After installing the UniOTP Windows Authentication Agent, if none of the UniOTP user accounts pass the authentication test, uninstall the UniOTP Windows Authentication Agent without delay, otherwise no user account on the computer will be able to log in.
  2. If authentication has failed numerous times in succession (, more than five consecutive attempts, refer to the administrator to inspect configuration settings), wait ten minutes before attempting to authenticate again. If authentication is still unsuccessful, refer to the administrator to repair your device.
  3. Do not modify or delete the "%SYSTEMROOT%\secuagt_cp.conf" file as this is the configuration file for the UniOTP Windows Authentication Agent. Deletion or modification of this file may result in a locked operating system.