SurePassID RADIUS Server

Release Notes

SurePassID RADIUS Server - Release Notes

Version 2026.2

Release Date: 2026-08-01

New Features

Configuration Secret Encryption (DPAPI)

Sensitive configuration values (API passwords, shared secrets) are now automatically encrypted at rest using Windows DPAPI with LocalMachine scope. This protects credentials stored in config.xml without requiring any manual key management. See the "Configuration Secret Encryption" section below for full details, caveats, and portability options.

Custom RADIUS Attributes Support

The SurePassID RADIUS Server now supports configurable custom RADIUS attributes in Access-Accept responses. This powerful new feature enables administrators to:

  • Configure Standard RADIUS Attributes: Add any standard RADIUS attribute (types 1-255) to authentication responses
  • Configure Vendor-Specific Attributes (VSAs): Add vendor-specific attributes for Cisco, Microsoft, Juniper, and other network equipment
  • Multiple Data Types: Support for String, Integer, IPv4 address, and Octets (binary) data types
  • Configuration Manager UI: New graphical interface for managing custom attributes without manual XML editing
Key Capabilities:
  1. Filter-Id Support: Assign users to VPN groups or apply network policies
  2. Session Timeout: Configure maximum session durations per policy
  3. Cisco AV-Pairs: Set privilege levels and access control lists for Cisco devices
  4. Microsoft RADIUS Attributes: Support for MS-MPPE and other Microsoft-specific attributes
  5. Extensible Design: Support for any RFC-compliant RADIUS attribute
Configuration Manager Enhancements:
  • New "Custom Attributes..." button on the RADIUS Settings tab
  • Intuitive dialog for viewing, adding, editing, and removing attributes
  • Dropdown list of known RADIUS attribute names with auto-detection of data types
  • Separate dialogs for standard and vendor-specific attributes
  • Validation to prevent configuration of internal-only attributes
Server Processing:
  • Custom attributes are automatically added to all Access-Accept responses
  • Service-Type override: Custom Service-Type values replace the default Administrative (6) value
  • Full tracing support for debugging attribute configuration and delivery

RD Gateway Mode (Passwordless Push)

A new RD Gateway Mode enables scenarios where the RADIUS client (such as a Microsoft RD Gateway) has already authenticated the user and simply needs an out-of-band multi-factor approval. When enabled:

  • Password field is ignored: The User-Password attribute is not validated (and may be empty), so RADIUS clients that forward the user's primary credential no longer fail.
  • Directory authentication is bypassed: The configured DirAuthType (SurePassID / Active Directory / LDAP / RADIUS Proxy) is skipped for first-factor validation.
  • Push is always sent: An out-of-band push is automatically triggered — Push App (approve/deny) by default, or SMS Approval when that is the configured push method — and the server waits for the user's response before returning Access-Accept or Access-Reject.

This is ideal for Remote Desktop Gateway deployments where Windows has already validated the user and only a second factor is required.

Configuration Manager Enhancements:
  • New "RD Gateway Mode" checkbox on the Security Options tab

Configuration Profiles (Multi-Instance Support)

The RADIUS Server can now run multiple independent configurations on the same machine using named configuration profiles. This enables scenarios such as per-tenant, per-site, or per-VPN configurations, each running as its own Windows service instance.

  • Profile storage: Each profile is a single configuration file stored in the profiles folder:

    %ProgramData%\SurePassID\RadiusProfiles\<ProfileName>.xml
  • Flexible command-line resolution: The server console and the Windows service accept a configuration argument that is resolved in the following order:

    1. A profile name (with or without the .xml extension) located in the RadiusProfiles folder — e.g. RadiusClient → %ProgramData%\SurePassID\RadiusProfiles\RadiusClient.xml
    2. A full or relative path to an existing configuration file
    3. An existing directory that contains the default config.xml

    If none of these resolve, the server logs a clear "file not found" error rather than silently loading the default configuration.

  • Backward compatible: When no argument is supplied, the server continues to load the default configuration (the application directory, then %ProgramData%\SurePassID\config.xml).

Configuration Manager Enhancements:
  • New File menu with:
    • Open Config File... — browse to and load any configuration file
    • Open Profile — pick from the profiles discovered in the RadiusProfiles folder
    • Use Default Config — reload the default configuration
    • Exit
  • The active configuration file name is shown in the window title.
Creating a Profile Service:

A PowerShell helper script (scripts/New-RadiusProfileService.ps1) registers a new Windows service for a profile. The new service is named after the base service, suffixed with _<ProfileName>, and passes the profile name to the executable on startup.

# Creates "SurePassID RADIUS Service 2025_RadiusClient" that loads RadiusProfiles\RadiusClient.xml
.\New-RadiusProfileService.ps1 -Profile RadiusClient

Improvements

Configuration System Enhancements

  • ConfigurationReader: New centralized configuration loading with support for custom attributes
  • ConfigurationWriter: New methods for persisting custom attribute configuration
  • RadiusConfiguration: Extended model to include custom attributes collection
  • Improved Tracing: Enhanced trace output for custom attribute operations
  • Profile resolution: Centralized profile/path resolution shared by the console and the Windows service

Bug Fixes

  • DPAPI trace ordering: Fixed an issue where the LoginPW and RadProxySecret values were traced before decryption, causing the trace/console output to display the raw encrypted (enc:) value instead of the decrypted value. These fields are now decrypted before tracing, consistent with client shared secrets (SS). The runtime values were always correct; only the diagnostic output was affected.

Code Quality

  • Refactored configuration reading/writing for better maintainability
  • Improved error handling and validation in attribute processing
  • Added comprehensive XML documentation comments

Documentation

  • New Custom Attributes User Guide (docs/CustomAttributes_UserGuide.md)
  • Updated implementation plan documentation
  • Added XML schema documentation for custom attributes

Technical Details

XML Configuration Format

Custom attributes are stored in the config.xml file:

<CustomAttributes>
  <Attribute type="11" value="VPN-Users" dataType="String" name="Filter-Id" />
  <Attribute type="27" value="3600" dataType="Integer" name="Session-Timeout" />
  <VendorAttribute vendorId="9" vendorType="1" value="shell:priv-lvl=15" 
                   dataType="String" name="Cisco-AV-Pair" />
</CustomAttributes>

Supported Data Types

Type Description Example
String ASCII text (default) VPN-Users
Integer 32-bit unsigned integer 3600
IPv4 IPv4 address 192.168.1.1
Octets Hex-encoded binary 0A1B2C3D

Common Vendor IDs

ID Vendor
9 Cisco
311 Microsoft
2636 Juniper
25506 HP/H3C
14988 MikroTik

Migration Notes

  • Backward Compatibility: Existing configurations without <CustomAttributes> section continue to work without modification
  • Default Behavior: The server's default Service-Type=Administrative behavior is preserved unless overridden by custom attributes
  • Configuration Location: No changes to configuration file location or format for existing settings

Configuration Secret Encryption (DPAPI)

Starting with this release, sensitive configuration values are automatically encrypted at rest using Windows DPAPI (Data Protection API) with LocalMachine scope.

Encrypted Fields

The following fields in config.xml are encrypted on save:

  • LoginPW — the API key/password for the SurePassID MFA server
  • RadProxySecret — the shared secret for RADIUS proxy authentication
  • Client SS — each client's shared secret in the whitelist
  • Client LP — per-client login password (multi-tenant mode only)

How It Works

  • On Save: When the Configuration Manager saves settings, sensitive values are encrypted and stored with an enc: prefix followed by base64-encoded ciphertext.
  • On Read: When the service or Configuration Manager reads the config, values starting with enc: are decrypted automatically. Values without the prefix are treated as plaintext (backward compatible).

Identifying Encrypted Values

Encrypted values in config.xml look like this:

<LoginPW>enc:AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA...</LoginPW>

Plaintext values (legacy or portable mode) have no prefix:

<LoginPW>my-api-key-here</LoginPW>

Important: Machine-Local Encryption

DPAPI with LocalMachine scope means the encrypted values are tied to the specific Windows machine where they were encrypted. This has the following implications:

  • ✅ Any user/service account on the same machine can decrypt the values
  • ❌ Encrypted values cannot be decrypted on a different machine
  • ❌ Copying config.xml with encrypted values to another server will result in decryption failure (the raw enc:... value will be returned)

Disabling Encryption for Portable Configurations

If you need to copy config.xml between machines (e.g., for disaster recovery, cloning, or migration), set the EncryptConfigSecrets element to FALSE:

<radius>
  <EncryptConfigSecrets>FALSE</EncryptConfigSecrets>
  ...
</radius>

When EncryptConfigSecrets is FALSE:

  • Secrets are saved as plaintext (no enc: prefix)
  • The config file can be freely copied between machines
  • Note: This reduces security — the secrets are stored in cleartext on disk

When EncryptConfigSecrets is TRUE (the default):

  • Secrets are encrypted with DPAPI on save
  • The config file is protected at rest on the local machine

Migration Workflow (Moving Config Between Machines)

  1. On the source machine, set <EncryptConfigSecrets>FALSE</EncryptConfigSecrets> and re-save via Configuration Manager
  2. Copy config.xml to the target machine
  3. On the target machine, remove the EncryptConfigSecrets element (or set it back to TRUE) and re-save via Configuration Manager — this will re-encrypt the secrets with the target machine's DPAPI keys

RD Gateway Mode

RD Gateway Mode supports RADIUS clients — such as Microsoft Remote Desktop Gateway — that have already authenticated the user with Windows and only need an out-of-band multi-factor approval.

Behavior

When RDGatewayMode is TRUE:

  • The User-Password attribute is not validated and may be empty. RADIUS clients that always forward the user's primary password will no longer be rejected.
  • The configured DirAuthType (SurePassID, Active Directory, LDAP, or RADIUS Proxy) is ignored — no first-factor validation is performed.
  • An out-of-band push is always triggered:
    • Push App (approve/deny) when push authentication is enabled (default), or
    • SMS Approval when SMS approval is the enabled push method.
  • The server waits for the user's response, then returns Access-Accept (approved) or Access-Reject (denied/expired).

When RDGatewayMode is FALSE (the default), authentication behaves exactly as in prior releases.

Requirements

  • The user must exist in the SurePassID MFA platform and have a push-capable device. If the user has no device, the standard AllowSingleFactor behavior applies.
  • On the Security Options tab, enable Push Authentication (Push App) or SMS Approval, since RD Gateway Mode routes the approval through the configured push method.

Enabling

Enable the RD Gateway Mode checkbox on the Security Options tab of the Configuration Manager, or set the element directly in config.xml:

<radius>
  <RDGatewayMode>TRUE</RDGatewayMode>
  ...
</radius>

Backward Compatibility

Existing configurations without the <RDGatewayMode> element continue to work unchanged (the setting defaults to FALSE).

Known Limitations

  • Maximum attribute value length: 253 bytes (per RFC 2865)
  • Internal attributes cannot be overridden: User-Name, User-Password, CHAP-Password, Reply-Message, State, Proxy-State, Message-Authenticator

System Requirements

  • .NET Framework: 4.8
  • Operating System: Windows Server 2016, 2019, 2022, or Windows 10/11
  • SurePassID MFA Server: Compatible version with REST API support

Previous Versions

Version 2024.2

  • Maintenance release with bug fixes
  • Performance improvements for high-volume authentication scenarios
  • Updated security libraries

Version 2024.1

  • Added support for local policy enforcement
  • Improved Active Directory integration
  • Enhanced push authentication handling

Upgrade Instructions

  1. Backup: Create a backup of your current config.xml file
  2. Stop Service: Stop the SurePassID RADIUS Server service
  3. Install: Run the updated installer
  4. Verify Configuration: Open Configuration Manager and verify settings
  5. Start Service: Start the SurePassID RADIUS Server service
  6. Test: Verify authentication is working correctly

Post-Upgrade Configuration

To use the new Custom Attributes feature:

  1. Open the SurePassID RADIUS Configuration Manager
  2. Navigate to RADIUS Settings tab
  3. Click Custom Attributes...
  4. Add your desired attributes
  5. Click OK and then Save
  6. Restart the RADIUS service

Support

For support inquiries:


© 2011-2026 SurePassID Corp. All rights reserved.

SurePassID 360 Central Avenue #800 St. Petersburg, FL 33701 USA +1 (888) 200-8144 surepassid.com