Need help?

Our experts have had an average response time of 13.14 minutes in February 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Disable RC4 ciphers in cPanel/WHM servers – Why and How to do it?

by | Aug 25, 2016

Secure transmission of data requires encrypting the data in many ways. Ciphers are the tools used for data encryption. RC4 is one such cipher.

RC4 generates a stream of pseudo-random bits. These bits are combined with plain text using ‘bit-wise exclusive-or’ pattern to produce the encrypted message, which is transmitted in TLS connections.

In 2011, when BEAST attack was revealed, RC4 cipher was unaffected by it. As a result, RC4 ciphers started to be used widely in TLS encryption protocol.

Is RC4 cipher secure?

However, this stability didn’t last long. In 2013, a new set of attacks were revealed, which could easily obtain plain text from the RC4 encrypted messages.

In 2015, a ‘NOMORE’ attack against RC4 ciphers was revealed. Using this attack, it was possible to decrypt a secure HTTP cookie within a few hours.

As a result, it was crucial to disable RC4 ciphers in the TLS configuration of the web servers, to protect the confidential information from being leaked.

[ You don’t have to lose your sleep to keep your customers happy. Get the best tech support specialists to care for your customers 24/7. ]

How to disable RC4 ciphers?

In our previous post, we’ve discussed how to disable insecure protocols SSLv2 and SSLv3. Today we’ll see how to disable the weak RC4 cipher in cPanel/WHM servers.

We strongly recommend to use only strong ciphers for our customers’ web servers. To update this, go to WHM. The option to choose is:

ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA 

In this setting, only the strong Ciphers are enabled and weak ciphers like RC4 are disabled by using a ! symbol.

Disable RC4 cipher in cPanel/WHM server

Disable RC4 cipher in cPanel/WHM server

Save the changes, Rebuild configuration and Restart apache, for the changes to take into effect. For the latest versions of cPanel/WHM, this cipher is enabled by default.

Some web servers require all Ciphers to be enabled by default. In such servers, we disable the weak ciphers such as RC4 and enable everything else by default.

The ‘SSL Cipher Suite’ in those servers would be similar to:

ALL:!ADH:!RC4:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP:!kEDH

See how our 24/7 support team helps you!

In short..

If not configured properly, encrypted communications can be broken quite easily. Our 24/7 security team alerts us promptly when a vulnerability occurs.

RC4 and other weak ciphers are disabled for other cPanel/WHM services such as Exim, IMAP, POP, etc. in the servers that we manage.

Timely alerts enable us to apply the patches in our customers’ servers before a hack occurs. We also implement secure TLS/SSL measures in the servers to maintain them secure.

Bobcares helps online businesses of all sizes achieve world-class security and uptime, using tried and tested solutions. If you’d like to know how to make your server more reliable, we’d be happy to talk to you.

 

 

GET 24 HOURS PHONE SUPPORT SERVICES

Use Bobcares for your phone support services. Ensure 24/7 coverage for your customers!

CONTACT US FOR 24/7 PHONE SUPPORT PLANS

3 Comments

  1. Tim

    Just tried this, worked like a charm. Thanks for posting this.

    Reply
  2. Jeff

    I tried this, my server now scores F here.

    Reply
    • Sijin George

      Hello Jeff,
      The website settings may need further tweaking. If you need help, we’ll be happy to talk to you on chat (click on the icon at right-bottom).

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Categories

Tags

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF