×

Selectively performing man in the middle decryption

  • US 9,621,517 B2
  • Filed: 04/09/2015
  • Issued: 04/11/2017
  • Est. Priority Date: 08/14/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for replacing code from an electronic communication performed by data processing apparatus, the method comprising:

  • receiving, from a client device within a network, a Hypertext Transfer Protocol (HTTP) request containing a first address of a first resource on a server outside the network, wherein the network hosts both the client device and a man-in-the-middle gateway, wherein the first address contains a first domain;

    redirecting the HTTP request to the man-in-the-middle-gateway configured to only handle a certain class of traffic upon determining that the traffic in the request is of the certain class, wherein the class of traffic consists of;

    incoming encrypted traffic, outgoing encrypted traffic;

    establishing a first encrypted connection between the client device and the man-in-the-middle-gateway, and a second encrypted connection between the man-in-the-middle-gateway and the server;

    retrieving, by the man-in-the-middle-gateway, the first resource from the server;

    storing the first resource in a memory accessible by the man-in-the-middle gateway;

    modifying the first resource by changing HTTP links that point to locations that are (i) outside the network, and (ii) in the first domain to point to locations in a second domain of the man-in-the-middle-gateway, wherein modifying the first resource comprises extracting HTTP links in the first resource and replacing the extracted HTTP links with different HTTP links corresponding to the location of the man-in-the-middle gateway, wherein the network is configured to redirect messages within the network, from the client device to the man-in-the-middle-gateway, when messages from the client device are addressed to the second domain; and

    serving, by the man-in-the-middle-gateway to the client device, the modified first resource by transmitting the modified first resource on a network medium of the network.

View all claims
  • 7 Assignments
Timeline View
Assignment View
    ×
    ×