Choose from several options for complete web, email and data security.
Learn more
Evaluate Websense products by watching demos and installing evaluation software.
Learn how Websense solutions help keep our customer safe, secure and productive
Get information on product updates, support resources and more.
Get the most out of support in five simple steps.
Find tools and assets to help sell Websense solutions.
Come work for the global leader in unified information security. Go
To date I've created/commented on other threads on this forum regarding this, but this thread serves to centralize this issue. Since the google crawler seem to hit these forums, hopefully this will get some attention.
If you are reading this thread and the issues below pertains to you as well, please comment below.
My corporation chose to purchase Websense in order to perform web filtering, as well as MITM (man in the middle) SSL decryption/monitoring for Data Loss Prevention.
Currently, as it stands, for a secure implementation of Websense, if SSL decryption is enabled, and you are using an internal certificate to present to end users, you must enable the Certificate Verification Engine feature in the Websense Content gateway. What this feature does is perform various checks against the external SSL certificate to confirm the validity of that certificate.
If you do not enable this certificate engine while performing SSL decryption, you are flying blind, essentially, as other MITM schemes and invalid cert issuers can intercept your data, and no one in your organization will know. (e.g. think about the recent issues with Diginotar certs being hacked and gmail victims falling prey)
For example, let's use the example of visiting https://www.gmail.com. With SSL decryption enabled, end users will see that this website is using a valid certificate, one that is issued by your company internally; essentially masking the actual SSL certificate. The verification engine then should validate the external SSL certificate. If this validation fails, then a warning should be displayed to the end user -- a warning much like if you visited a site with an expired/invalid certificate.
To date, the verification engine feature does not work without causing massive issues in an environment.
Here are two issues that I've identified so far:
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
This issue has been escalated to the point where a Sr. Manager of Technical Support has been involved, but still, no real traction yet. To be fair, it's only been 6+ months of troubleshooting/waiting.
The most troubling thing I've seen is that it appears that others on this forum who use SSL decryption simply acknowledge that this is an issue and simply ignore/disable the verification engine. They've accepted the risk as an technical engineer, but I can only but wonder if their IT management staff realize the data security ramifications.
Anyhow...
If you are reading this as a potential websense customer: Be aware of this issue. I'm not happy about this situation at all. This is a web security problem.
If you are reading this as another company who is using SSL decryption, and have run into these issues, or know of further issues to raise, chime in below.
If you are a websense staff member and care to check out my claims or offer some solutions, please do so! I welcome any/all comments, both positive or negative. Both cases associated to my account have been escalated to backline, while one is currently closed pending results from the other case.
I'll be continually updating this thread, if it does not end up getting brownholed.
CSCOTT, do you work where I work? This is almost verbatim the problems we run into and the workarounds we've implemented, although our ACL exclusions for WCCP redirects are much broader.
The longer I keep SSL Decryption in production (been a few months now) the more I start thinking I need to begin excluding more categories entirely from the process. Even Websense technicians recommend that to me. I may eventually dial it back so only sites I really want to be able to decrypt (Email, Social Networking, etc) are decrypted and everything else is excluded. It's just becoming too much of a hassle otherwise.
I turned off Certificate Validation on Day 1 of production. It's buggy and too difficult to fix sometimes. The only thing I lose is validating CA's but if you've been keeping up with the news this year with all the CA's being compromised it seems that aspect of SSL encryption is becoming less and less useful. Besides, it was either turn off Cert Validation or turn off SSL Decryption.
Jestertoo, thank you for letting us know we are not alone in the issues we are having with SSL decryption. Tom1231, thank you for starting this thread and Glitch for adding your comments as well. We've been in contact with our Websense account manager, who is looking for evidence other customers are having issues with SSL decryption. Hopefully, the information brought out in this forum will help Websense put priority on these issues.
Here's an update since my last post.
We upgraded to 7.6.2. The release notes don't indicate any changes in the SSL proxy, and so far we have not seen any improvements in SSL proxy behavior (it's been only a few days though).
We disabled SNI on all appliances. Since then, we have not had any reports of Connect Errors due to Peer Suddenly Disconnected, and we have not seen any adverse effects from disabling SNI.
We saw some specific cases indicating larger issues with certificate verification:
1. A user had issues visiting google docs and google calendar, and we saw over 50 incidents with only "unknown revocation state" errors for *.google.com. The incidents were for a variety of URL domains including google.com, youtube.com, and ytimg.com.
2. A user had issues visiting the hootsuite and pinterest web sites, which have content hosted on cloudfront, amazon's CDN service. We saw over 70 incidents with only "unknown revocation state" errors for *.cloudfront.net. The incidents were for a variety of domains -- cloudfront seems to manufacture domain names such as d1nu2m22elx8m.cloudfront.net and dvguhnjbfi9ks.cloudfront.net.
3. For https://wm01.harvardpilgrim.org, the SSL proxy says the certificate is expired but it's not. When the proxy is removed, IE and Firefox verify the certificate with no errors.
4. For www.digicert.com > My Account, the page is missing content/functionality. The feedback from websense development, via tech support, is the proxy can't treat https sites using subject alternative names correctly. I've asked for adetailed explanation, and whether this can be fixed or is inherent with a transparent proxy. I believe a lot of sites use the subjectAltName X.509v3 certificate extension and not handling that correctly could cause a lot of problems.
In general, development (via tech support) seems to be claiming the unknown revocation state errors are a problem with the web sites, not the SSL proxy.
Disabling the certificate verification engine would solve a lot of problems, but we don't want to do that. It would be hard for us to explain to our large tech savvy user population that not only are we cracking open their SSL, but we're hiding MITM attacks from them.
Disabling the SSL proxy entirely is an option. It's having a high operational cost and user perception cost. But then we lose threat protection (ACE and DLP) entirely for https sites. Recent month statistics show 7,651 blocks with 66 of them on https URLs, so malicious activity over https is a small percentage, but certainly not negligible.
Disabling the SSL proxy for large blocks of categories may help, but we don't have much confidence it would help given the nature of the decryption issues.
I have to give credit to tech support and to our account manager who have been very helpful in beginning the process to get these issues resolved.
3. For wm01 [dot] harvardpilgrim [dot] org, the SSL proxy says the certificate is expired but it's not. When the proxy is removed, IE and Firefox verify the certificate with no errors.
4. For www [dot] digicert [dot] com > My Account, the page is missing content/functionality. The feedback from websense development, via tech support, is the proxy can't treat https sites using subject alternative names correctly. I've asked for an explanation and whether this can be fixed or is inherent with a transparent proxy. I believe a lot of sites use the subjectAltName X.509v3 certificate extension and not handling that correctly could cause a lot of problems.
What is SNI?
Another piece of information relative to certficate verification. Development (via tech support) says the certificate verification engine (SCIP) checks a local sqlite3 database before it verifies a certificate. If an older "record" is found, it will use the older record. These must be removed from the incidents list by selecting Action > Remove. As I understand it, this means once there is an incident in the database for a certificate verification failure, future visits to the site will result in that failure being displayed to the user, even if the problem no longer exists. This would mean it is necessary to periodicaly (eg daily) delete all the "open" incidents in the incident list, which can tak a lot of time as they must be done one-by-one (and if you're getting tens or hundreds in a day, this is very time consuming). Of course the incidents can be turned into Allow rules, but this seems to create the opportunity for MITM attacks, and I think Allow rules make sense only in very rare cases and are defintely not be a long-term solution for bugs in the verification engine.
Thanks for the clarification on SNI. These issues are troubling - and issues with SSL isn't the only thing we're running into. It is actually a relief (sad to say) that others are having issues with 7.6.
@kls: not with v7.6. Just with Websense in general. v7.5 afaik had the exact same issue, if not far worse. (in fact, it was quite a bit worse, at least from my own experience.)
In fact, I have case opened right now discussing this issue (to an extent) with gmail.com. Engineering had suggested to simply "tunnel" google as a whole. Problem is, decryption errors are happening on, as CScott mentioned above, on like half of the internets. (Yes, internets).
I've actually raised this issue with the support manager and I believe the only reason he got brought into the mix was because my case was actually left opened for over 6 months. Yes. 6 month old case. I guess his supervisors occasionally look through the queue and pinpoint aging tickets.
So my suggestion is, if you have a case that's opened, leave it opened. do not cave, and do not let them close it. Get them to fix the engine. Send it back to backline engineering each time they come back with some trivial solution, like creating an SSL tunnel incident for https://*.* . Okay, that part might be an exaggeration but their solution is truly to just tunnel everything!
"How are you? After further checking with engineering, the only other viable options are
1. Delete any incident created/automatically added for any google domain.
2. Create an allow incident https://gmail.com to ignore validation error.
*OR*
3. Create tunnel incident.
Are you receiving a lot of validation errors from a lot of different domains? Because, you should be able to enter in the incident list for gmail one time."
So far, not impressed with the level of attention any of my cases have received from devel. currently working off of case #813166 to address a validation error that appears with gmail.com. My original cases that are now like maybe a 1 year old (case #785987), are closed pending solution to 813166. It's all truly part of the same issue (validation engine that doesnt work), but i guess if they can close super old cases, then management wont see the issue, and if management doesnt see the problem, the problem isnt really a problem, right?
I hate to suggest it-- but I really think turning off Certificate Validation is the only way to save yourself these headaches. It sucks, but I can't tell you how much easier my life is as a Websense administrator with it off.
The security benefits of doing the validation is questionable anyway; how many of your users actually read Certificate warnings instead of just clicking through them? For me most of my users started calling our Support number because they just saw the Websense logo and thought it was blocked.
Seriously -- give it a try and see how it changes things for you. The vast majority of these issues disappear and you'll come to realize what little value Validation adds (especially given the trouble it adds). It's simply not worth it to implement. It should be, but it isn't.
Since we're discussing certificates, does your Internal CA, the one that generates the MITM certificates, sign them using MD5 instead of SHA-1? We just threw up our first Websense eval and it uses 7.6.2 and Firefox's SSL Blacklist add-in complained immediately and they do show as MD5. That was brought up as an issue with SSL certificates in general over three years ago.
Is there a way to change the signing algorithm?
Thanks,
Ray
Some users have secure browser plugins that automatically try to use https for every site. An example of where this bites us is www.igoogle.com, which is a cname to www.google.com.
Common name matching will create an incident for igoogle. It also creates a second incident for the www.google.com certificate which then denies all legit requests to www.google.com
I'm making a feature request to at least get a toggle for this. I can't manually check 8 WCGs every day to remove incidents caused by this.
RE: turning off validation
This is a ridiculous suggestion, especially in light of the recent compromised Root CA authorities.