Remote Access VPN Hardening Guide
Since a while and especially CVE-2026-50751 we need to harden our environments for Remote Access VPN’s. Below an overview of steps you can take to harden your Remote Access VPN environments
References
- CVE-2026-50751 – User Authentication bypass on VPN Remote Access and Mobile Access in deprecated IKEv1 key exchanges (185033))
- Check Point Gateway and Management Hardening Administration Guide
- Support for IKEv2 in Remote Access VPN Clients (sk166415)
- R82.20 Remote Access VPN Administration Guide
- Endpoint Security Homepage (sk117536)
Use the latest Endpoint Security (VPN) Client
Check the version of your Endpoint Security Client. Stay up-to-date. Since version E89.30 IKEv2 is enabled by default. For older versions you can follow sk166415 to enable IKEv2 on Windows and macOS devices.
IKEv2 instead of IKEv1
One of the main goals the get rid of the older and vulnerable IKEv1 is to use IKEv2. You can configure this as described in sk185033
For Security Gateways and Central Managed Spark Firewalls before R82.20
- In SmartConsole open Global Properties
- Go to Remote Access > VPN Authentication
- Set Encryption method on ‘IKEv2 only’
- Close the windows by clicking ‘OK’
- Publish your changes and Install policy
For Security Gateways and Central Managed Spark Firewalls from R82.20
- Open the VPN Community ‘Remote Access’
- Go to Encryption
- Set Encryption method on ‘IKEv2 only’
- Close the window by clicking ‘OK’
- Publish your changes and Install policy
For locally managed Spark Firewall R82.00.X and R81.10.X
Using WEBUI
- In the Spark WebUI go to Device > Advanced Settings
- Search for the option ‘Remote Access VPN – Encryption Method’ and select ‘IKEv2’
Using CLI
In the Spark CLI run the following command:
set vpn remote-access advanced-settings enc-method "ike-v2"Use strong encryption algorithms
By default old and insecure encryption algorithms are configure to support legacy applications. As mentioned above always use supported endpoints to connection to your network. Recommendations are base on RFC6379, R82.20 Remote Access VPN Administration Guide – Best Practices
| Phase | Default R82.10 and lower | Default R82.20 and higher | Recommended |
|---|---|---|---|
| IKE Phase 1 Encryption algorithms | DES, 3DES, AES-256 Use encryption algorithm: AES-256 | AES-256 Use encryption algorithm: AES-256 | AES-256 Preferred: AES-256 |
| IKE Phase 1 Data Integrity | MD5, SHA1 Use Data Integrity: SHA1 | SHA256, SHA384 Use Data Integrity: SHA384 | SHA384, SHA512 Preferred: SHA384 |
| IKE Phase 1 Diffie-Hellman Groups | Group 2 (1024 bit) Use Diffie-Hellman Group: Group 2 (1024 bit) | Group 14 (2048 bit), Group 15 (3072 bit) Use DH-Group: Group 15 (3072 bit) | Group-14, Group-15, Group-16, Group-17, Group-18, Group-19, Group-20, Group-21 Preferred: Group-21 |
| IPSEC Phase 2 Encryption alogirithms | Use encryption algorithm: 3DES | AES-256 Use encryption algorithm: AES-256 | AES-256, AES-256-GCM1 Preferred: AES-256-GCM |
| IPSEC Phase 2 Data Integrity | Use Data Integrity: SHA1 | SHA256, SHA384 Use Data Integrity: SHA384 | SHA256, SHA384 Preferred: SHA384 |
- AES-256-GCM requires gateways running R82.20 ↩︎
Configuration of encryption algorithms
For Security Gateways and Central Managed Spark Firewalls before R82.20
- In SmartConsole open Global Properties
- Go to Remote Access > VPN Authentication
- Click on ‘Edit’ in the ‘Encryption Algorithm’ section
- Select the correct options as described in the table above
- Close the windows by clicking ‘OK’
- Publish your changes and Install policy
For Security Gateways and Central Managed Spark Firewalls from R82.20
- In SmartConsole open the VPN Community ‘Remote Access’
- Go to Encryption
- Select the correct options as described in the table above
- Close the window by clicking ‘OK’
- Publish your changes and Install policy
For locally managed Spark Firewall R82.00.X
Options for the locally managed Spark Firewalls are limited. Changing the encryption and data integrity options for Phase 1 is of the moment of writing not possible. Use the options as follows:
| Phase | Default R82.00.X | Recommended |
|---|---|---|
| IKE Phase 1 Encryption algorithms | ||
| IKE Phase 1 Data Integrity | ||
| IKE Phase 1 Diffie-Hellman Groups | Group 2 (1024 bit) | Group 20 (384-bit ECP) (Force) |
| IPSEC Phase 2 Encryption alogirithms | AES-256 | AES-256 |
| IPSEC Phase 2 Data Integrity | SHA1 | SHA512 |
Using WEBUI
- In the Spark WebUI go to Device > Advanced Settings
- Search for the option ‘Remote Access VPN – Authentication algorithm used for Phase 2’ and select ‘SHA512’
- Search for the option ‘Remote Access VPN – DH Group used for Phase 1’ and select ‘Group 20 (384-bit ECP)’ and select the option ‘Force selected DH Group for Phase 1’
- Search for the option ‘Remote Access VPN – Encryption algorithm used for Phase 2’ and select ‘AES-256’
Using CLI
In the Spark CLI run the following command:
set vpn remote-access advanced-settings about-config-force-dhgroup dhgroup-used-for-phase1 group-20
set vpn remote-access advanced-settings about-config-force-dhgroup force-dhgroup-for-phase1 true
set vpn remote-access advanced-settings encryption-algorithm-used-for-phase2 aes-256
set vpn remote-access advanced-settings authentication-algorithm-used-for-phase2 sha512