Seed portal: Difference between revisions

From SecuTech Wiki
Jump to navigationJump to search
Mapril (talk | contribs)
No edit summary
Mapril (talk | contribs)
No edit summary
Line 43: Line 43:
"Token serial name" , "secret key (in hex)", "counter"
"Token serial name" , "secret key (in hex)", "counter"
*Generic format CSV: This format is a nice format for viewing with Excel and can be used by a custom solution easily
*Generic format CSV: This format is a nice format for viewing with Excel and can be used by a custom solution easily
First line is header which provides format: "serial", "secret key (in hex)", "counter", "type (HOTP/TOTP/OCRA)", "timestamp (time last synchronized)", "digits", "authwnd (authentication window)", "timestep".
First line is header which provides format: "serial", "secret key (in hex)", "counter", "type (HOTP/TOTP/OCRA)", "timestamp (time last synchronized)", "digits", "authwnd (authentication window)", "timestep".<br>
Please note that the authentication window and timestep may not be needed, for example most authentication servers use a global default, and is not token specific. Timestep is provided as 60 even for HOTP tokens, as some servers have different behaviours to missing values, despite not been used.
Please note that the authentication window and timestep may not be needed, for example most authentication servers use a global default, and is not token specific. Timestep is provided as 60 even for HOTP tokens, as some servers have different behaviours to missing values, despite not been used.
</div>
</div>
Line 49: Line 49:


<div class="mw-collapsible mw-collapsed">
<div class="mw-collapsible mw-collapsed">
CSV in base 32: Duo security and Google authenticator
CSV in base 32: Google authenticator
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
*Generic format CSV: This format is a nice format for viewing with Excel and can be used by a custom solution easily
*Generic format CSV: This format is a nice format for viewing with Excel and can be used by a custom solution easily
First line is header which provides format: "serial", "secret key (in base32)", "counter", "type (HOTP/TOTP/OCRA)", "timestamp (time last synchronized)", "digits", "authwnd (authentication window)", "timestep".
First line is header which provides format: "serial", "secret key (in base32)", "counter", "type (HOTP/TOTP/OCRA)", "timestamp (time last synchronized)", "digits", "authwnd (authentication window)", "timestep".<br>
Please note that the authentication window and timestep may not be needed, for example most authentication servers use a global default, and is not token specific. Timestep is provided as 60 even for HOTP tokens, as some servers have different behaviours to missing values, despite not been used.
Please note that the authentication window and timestep may not be needed, for example most authentication servers use a global default, and is not token specific. Timestep is provided as 60 even for HOTP tokens, as some servers have different behaviours to missing values, despite not been used.
</div>
</div>

Revision as of 15:55, 12 June 2018


Seed Portal and Token Troubleshooting Guide

Guide Version: 1.0

Introduction

The UniOTP Seed portal located here: https://esecutech.com/customers/uniotp/index.php is used to download, convert and troubleshoot OTP secret key files and tokens.

The "Upload tokens" tab and "Choose File" operation does not upload the secret key files anywhere, it only loads them onto the browser of the local machine.

The features are:

Download tokens from SecuTech

When a new token has been purchased from SecuTech, a link is provided, eg. https://esecutech.com/customers/uniotp/index.php?1234

When this page is visited, it will request the purchasers email address to confirm that the link user is the purchaser. This link will expire after 7 days or after downloading the tokens, the link can be force expired. IP addresses that repeatedly attempt to visit possible links will be blacklisted. Please email sales (at) esecutech.com for assistance or to re-enable the link if more then 7 days is needed.




Convert seed file for different platforms

The Seed portal page provides 4 file types for different platforms:


CSV in base 16/Hex: commonly used by custom solutions

  • DUO format CSV: This format is a secret key container type used by DUO security: https://duo.com/

"Token serial name" , "secret key (in hex)", "counter"

  • Generic format CSV: This format is a nice format for viewing with Excel and can be used by a custom solution easily

First line is header which provides format: "serial", "secret key (in hex)", "counter", "type (HOTP/TOTP/OCRA)", "timestamp (time last synchronized)", "digits", "authwnd (authentication window)", "timestep".
Please note that the authentication window and timestep may not be needed, for example most authentication servers use a global default, and is not token specific. Timestep is provided as 60 even for HOTP tokens, as some servers have different behaviours to missing values, despite not been used.

CSV in base 32: Google authenticator

  • Generic format CSV: This format is a nice format for viewing with Excel and can be used by a custom solution easily

First line is header which provides format: "serial", "secret key (in base32)", "counter", "type (HOTP/TOTP/OCRA)", "timestamp (time last synchronized)", "digits", "authwnd (authentication window)", "timestep".
Please note that the authentication window and timestep may not be needed, for example most authentication servers use a global default, and is not token specific. Timestep is provided as 60 even for HOTP tokens, as some servers have different behaviours to missing values, despite not been used.

XML in base 64: most commonly supported seed file format, eg. RCDev http://www.rcdevs.com/products/openotp/

This format is supported by most OTP authentication servers.

UINF: SecuTech's proprietary seed format.

  • Encrypted export is not supported by the Seed portal yet.
  • Raw uinf file: Exports the secret key file in uinf format. Previously used by SecuTech's legacy management system, please retain this file for future use for token trouble shooting.


Test and Synchronize a token

To test if a token is out of synch due to repeatedly pressing the button on the token or a time lag from the onboard clock, please use this feature.

It is possible to input 1 OTP for this operation, however a single OTP is not recommended to be used over 50 OTP's. When synchronizing over large ranges, please use 2 OTP's.

Search for a lost serial number

In the event that a token's serial number is lost, for example the sticker is worn out and the token itself has been returned, it can be identified.

This process is identical to a synchronization process, however the tool will search through the defined range to find the matching OTP sequences on all seeds loaded.

Open the original uinf file (note that multiple uinf secret key files can be loaded into the tool), input 2 OTP's from the device and press search. If the token has been in use for some time and it is HOTP based, the uinf files may be out of synch to the token.

As a rule of thumb, the "search range" should be approximately 3 * number of days the token has been in use. It would be unusual for users to have more uses then this.

If thousands of tokens are used, multiple instances of the search can be run by splitting the secret key files using "Download tokens" tab, "Custom grouping".

Note that this process is time consuming, a minimum of 450 sequences are tested every second (more with a fast computer). For 1000 tokens with a search range of 1000 (roughly 1 year of HOTP token usage), it can take close to 1 hour to complete. In this event we recommend splitting the file into 4 parts and opening 4 different instances of the seed portal to quarter the time taken.

Chrome pauses javascript operations on pages that are not open, when attempting to run multiple instances, make sure that the browser tabs the seed portal instances are in, have been dragged next to each other and are visible.