Forum Discussion
Disable Specific SSL Ciphers on F5 Big IP
Hi,
F5 novice here. Due to the results of a recent pentest I need to disable 3DES and RC4 ciphers on our F5 Big IP running 12.1.
I have been able to edit the existing ciphers and successfully disable one Cipher but when ever I add more than one cipher the additions get ignored. I believe this is a an issue with the syntax and the way I am adding them.
I am did this first which worked for one cipher. DEFAULT:!DES-CBC3-SHA
But when I add additional ciphers they get ignored.
DEFAULT:!DES-CBC3-SHA!ECDHE-ECDSA-DES-CBC3-SHA
I have a list of 9 ciphers I need to disable, Can anyone point me in the right direction as to how to add multiple SSL ciphers.
Thanks !
- Snl
Cirrostratus
- pponte_266335
Altostratus
- stephen_piskor_
Nimbostratus
Thanks for the info, I have already read these links. The Ciphers I need to disable are listed below.
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 (0x9f) DH 1024 bits FS WEAK 256 TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 (0x9e) DH 1024 bits FS WEAK 128 TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 (0x6b) DH 1024 bits FS WEAK 256 TLS_DHE_RSA_WITH_AES_256_CBC_SHA (0x39) DH 1024 bits FS WEAK 256 TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 (0x67) DH 1024 bits FS WEAK 128 TLS_DHE_RSA_WITH_AES_128_CBC_SHA (0x33) DH 1024 bits FS WEAK 128 TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA (0x16) DH 1024 bits FS WEAK 112
Please bear in mind my F5 knowledge is limited.
- stephen_piskor_
Nimbostratus
Ok I just added this..
This has helped a great deal.
DEFAULT:!DHE
- stephen_piskor_
Nimbostratus
Even better..
DEFAULT:!DHE:!3DES
I now get an A- due to PFS being disabled.
- pponte
Altostratus
- stephen_piskor_
Nimbostratus
Thanks for the info, I have already read these links. The Ciphers I need to disable are listed below.
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 (0x9f) DH 1024 bits FS WEAK 256 TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 (0x9e) DH 1024 bits FS WEAK 128 TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 (0x6b) DH 1024 bits FS WEAK 256 TLS_DHE_RSA_WITH_AES_256_CBC_SHA (0x39) DH 1024 bits FS WEAK 256 TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 (0x67) DH 1024 bits FS WEAK 128 TLS_DHE_RSA_WITH_AES_128_CBC_SHA (0x33) DH 1024 bits FS WEAK 128 TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA (0x16) DH 1024 bits FS WEAK 112
Please bear in mind my F5 knowledge is limited.
- stephen_piskor_
Nimbostratus
Ok I just added this..
This has helped a great deal.
DEFAULT:!DHE
- stephen_piskor_
Nimbostratus
Even better..
DEFAULT:!DHE:!3DES
I now get an A- due to PFS being disabled.
- stephen_piskor_
Nimbostratus
All sorted.
I add this entire string in the client SSL profile Ciphers option. Thanks for all your help everyone.
QUALYS now reporting an A !
!SSLv2:!EXPORT:!DHE+AES-GCM:!DHE+AES:!DHE+3DES:ECDHE+AES-GCM:ECDHE+AES:RSA+AES-GCM:RSA+AES:ECDHE+3DES:RSA+3DES:-MD5:-SSLv3:-RC4
- Snl
Cirrostratus
good to know your issue resolved
- Irfan_S_337899
Nimbostratus
Using the below Cipher Suite but still seeing the rating as "B". Any help would be highly appreciated.
Here is the CIpher :
!SSLv2:!EXPORT:!DHE:!3DES:!DHE+AES-GCM:!DHE+AES:!DHE+3DES:ECDHE+AES-GCM:ECDHE+AES:RSA+AES-GCM:RSA+AES:ECDHE+3DES:!RSA+3DES:-MD5:-SSLv3:-RC4:
SSL LAB Output : Rating B
TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 (0x9e) DH 1024 bits FS WEAK 128 TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 (0x9f) DH 1024 bits FS WEAK 256 TLS_DHE_RSA_WITH_AES_128_CBC_SHA (0x33) DH 1024 bits FS WEAK 128 TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 (0x67) DH 1024 bits FS WEAK 128 TLS_DHE_RSA_WITH_AES_256_CBC_SHA (0x39) DH 1024 bits FS WEAK 256 TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 (0x6b) DH 1024 bits FS WEAK 256 TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA (0x16) DH 1024 bits FS WEAK 112 TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA (0xc012) ECDH secp256r1 (eq. 3072 bits RSA) FS WEAK 112
Forward Secrecy Weak key exchange WEAK DH public server param (Ys) reuse Yes ECDH public server param reuse Yes
- Jason_Nance
Nimbostratus
This doesn't help you on 12.1 but note that in 13.x cipher rules and groups make managing these situations much easier.
https://devcentral.f5.com/articles/cipher-rules-and-groups-in-big-ip-v13-25200
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com