From Exclusive: The OPM breach details you havenât seen:
According to the timeline, OPM officials did not know they had a problem until April 15, 2015, when the agency discovered âanomalous SSL traffic with [a] decryption toolâ implemented in December 2014. OPM then notified DHSâ U.S. Computer Emergency Readiness Team, and a forensic investigation began.
The discovery of a threat to the background investigation data led to the finding two days later, on April 17, of a risk to the personnel records. US-CERT made the discovery by loading data on the April 15 incident to Einstein, the departmentâs intrusion-detection system. On April 23, US-CERT spotted signs of the Dec. 15 exfiltration in âhistorical netflow data,â and OPM decided that a major incident had occurred that required notifying Congress.
SSL/TLS traffic is pretty common. However, to most security tools, this traffic is opaque. Unlike SSH, which is impossible to inspect securely, SSL/TLS can be inspected inline safely in a way that, for the most part, maintains the end-to-end security of the communications.
For this SSL/TLS traffic to be inspected, inline security gateways must examine the data as clear text. Encrypted data sent by a client to a web server is:
- Intercepted by the security gateway and decrypted, effectively terminating the SSL/TLS connection by the client.
- Inspected by the relevant security functions.
- Encrypted again and sent to the designated web server, initiating a new SSL/TLS connection in the process,
When the security gateway terminates the connection, a certificate must be presented to the client. If the web server in question is protected by the security gateway, it can be configured with the private key of the website in question so it basically âpretendsâ to be the site. For a random site on the Internet, thatâs obviously not feasible, so the gateway generates a certificate on the fly and signs it with a preconfigured certificate authority the client PCs have been configured to trust. This ensures at least the client to firewall connection hasnât been compromised.
Once the connection is terminated on the security gateway, the traffic can be inspected or filtered just like regular plaintext traffic. The options available will depend on the vendor you have for your security gateway. On current (R77.x) versions of Check Point, you have the following security features at your disposal (assuming you are licensed for them): Data Loss Prevention (DLP), Anti Virus, Anti-Bot, Application Control, URL Filtering, Threat Emulation and Intrusion Prevention.
The firewall then initiates a connection as if it were the client to the server in question. The firewall validates the remote server presents a valid certificate for the site in question. If the server uses a self-signed certificate or some sort of certificate authority the firewall isnât familiar with, you will have to add it to the configuration as valid. This step ensures the remote end of the connection is valid and trustedâsomething that SSH inspection is unable to do.
There are a couple of issues with SSL decryption:
- There may be privacy and legal regulations on the use of this feature depending on the country in which you are located. Please review your local laws and regulations.
- If client certificates are needed for authentication, SSL decryption cannot be used. This makes sense since the firewall wonât have these cerificates.
- Applications or site that use certificate pinning will fail since the certificate authority for these sites will differ once SSL decryption is enabled.
- When you visit a site with an extended validation (EV) certificate and SSL decryption is happening, you will not see an EV cert. This is because it is not possible to generate an EV cert with a typical certificate authority key.
- You cannot do SSL decryption on a network the general public uses. This is because you need to be able to distribute a certificate authority key to your end users. One cannot get a publicly-trusted root CA key for this purpose as certificate authorities do not allow this practice. Certificate authorities used for this purpose get revoked pretty quickly, as happened to a government agency in Turkey.
- Decrypting SSL/TLS traffic will have a performance impact. That said, itâs generally not an âall or nothingâ thing. You can choose to be selective as to which traffic gets decrypted and which does not.
Bottom line: understading what hides inside your SSL/TLS traffic is critical to finding and eliminating network-based threats. A number of security gateway vendors, including Check Point, offer this feature, and it should be leveraged where possible. More information about Check Pointâs implementation of this feature can be found in sk65123 in SecureKnowledge.