Patent ID: 8856910

Claim:
A system for a security device, comprising: a processor of the security device configured to: monitor encrypted network communications between a client and a remote server, wherein the encrypted network communications are encrypted using a first protocol, wherein the first protocol is a Secure Shell (SSH) protocol; decrypt encrypted session traffic between the client and remote server to monitor for a request from the client to create a tunnel using the first protocol with the remote server; determine if the client sends a request to create a tunnel using the first protocol with the remote server; and in the event that the client sent a request to create a tunnel using the first protocol with the remote server: intercept a request to establish an encrypted tunnel from the client to the remote server; send a request to establish the encrypted tunnel on behalf of the client to the remote server, the request to establish the encrypted tunnel originating from the security device; receive an encrypted tunnel response from the remote server on behalf of the client using a first session key associated with the security device; send an encrypted tunnel response to the client on behalf of the remote server using a second session key associated with the security device, the encrypted tunnel response originating from the security device, wherein the first session key is different from the second session key; allow the request to create the tunnel; monitor decrypted tunnel traffic between the client and the remote server over the tunnel based on one or more firewall policies, wherein the monitoring of the decrypted tunnel traffic occurs for a predetermined period of time or until a predetermined event occurs, and wherein the monitoring of the decrypted tunnel traffic comprises: determine whether the client is using the encrypted tunnel to evade a first firewall policy; and in the event that the client is using the encrypted tunnel to evade the first firewall policy, disallow the tunnel; and report the remote server as suspicious to a security cloud service; and a memory coupled to the processor and configured to provide the processor with instructions.