# US 10,958,480 B2 · Per-app virtual private network tunnel for multiple processes

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,958,480 B2
- Document ID: US10958480B2
- Status: Granted
- Kind: B2
- Application number: 16/128,548
- Filed: 2018-09-12
- Published: 2020-01-23
- Granted: 2021-03-23
- Earliest claimed: 2018-07-19
- Assignees: VMware, Inc.
- Applicants: Vmware, Inc.
- Inventors: Suman Aluvala; Sivasubramaniam Sivakumar; Ben Joseph
- Web page: https://patentgrep.com/patent/US10958480B2

## CPC

- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 12/4641: {Virtual LANs, VLANs, e.g. virtual private networks [VPN] (LAN interconnection over a bridge based backbone H04L12/462; encapsulation techniques H04L12/4633; routing of packets H04L45/00; packet switches H04L49/00; virtual private networks for security H04L63/0272)}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/54: Interprogram communication
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/56: Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54)
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Examples described herein include systems and methods for creating a per-app virtual private network (“VPN”) using hooking, even though an isolated process is used for networking functions. The isolated process can include networking functions of the WebView class for ANDROID. The application can start an HTTP proxy server to receive local HTTP requests. Then, the application can trigger a broadcast to the isolated process, causing the isolated process to route its HTTP requests to the HTTP proxy of the application. The application can then hook HTTP requests and send them to a virtual private network (“VPN”) tunnel server. This can allow an application to securely connect to enterprise files or data even though the networking functions occur in the isolated process.

## Claims

### Claim 1

A method for creating a per-app virtual private network (“VPN”) based on multiple processes, comprising:
executing an application process on a user device, the application process relying on an isolated process on the user device for network requests;
setting a proxy server on the user device to run as part of the application process;
setting the isolated process to send its network requests to the proxy server of the application process;
receiving, from the isolated process, a network request at the proxy server of the application process;
in an instance where the network request includes a user identifier that is shared with the application process, hooking, by the application process, the network request at the proxy server, wherein the hooking includes replacing a socket function call with an alternate function that specifies an address of a VPN tunnel server; and based on the hooking, contacting the VPN tunnel server to fulfill the network request at a destination server.

### Claim 2 (depends on 1)

The method of claim 1, wherein the application process registers the proxy server with an operating system by making an application programming interface call to the isolated process.

### Claim 3 (depends on 1)

The method of claim 1, wherein the isolated process handles networking capabilities for a WebView component of an ANDROID operating system.

### Claim 4 (depends on 1)

The method of claim 1, the method further comprising:
sending traffic from the proxy server to the VPN tunnel server, wherein the VPN tunnel server is configured to send the traffic to the destination server specified by the network request of the isolated process; and
receiving response traffic at the proxy server, the response traffic being forwarded by the VPN tunnel server from the destination server.

### Claim 5 (depends on 1)

The method of claim 1, wherein the proxy server only accepts network requests that include the user identifier.

### Claim 6 (depends on 1)

The method of claim 1, wherein the application process causes a browser executing on the user device to broadcast a proxy change to the isolated process, causing the isolated process to route the network request to the proxy server of the application process.

### Claim 7 (depends on 1)

The method of claim 1, wherein the VPN tunnel server encrypts data associated with the network request and ensures that the user device meets rules required to perform the network request.

### Claim 8

A non-transitory, computer-readable medium comprising instructions that, when executed by a processor, perform stages for creating a per-app virtual private network (“VPN”) based on multiple processes, the stages comprising:
executing an application process on a user device, the application process relying on an isolated process on the user device for network requests;
setting a proxy server on the user device to run as part of the application process;
setting the isolated process to send its network requests to the proxy server of the application process;
receiving, from the isolated process, a network request at the proxy server of the application process;
in an instance where the network request includes a user identifier that is shared with the application process, hooking, by the application process, the network request at the proxy server, wherein the hooking includes replacing a socket function call with an alternate function that specifies an address of a VPN tunnel server; and based on the hooking, contacting the VPN tunnel server to fulfill the network request at a destination server.

### Claim 9 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the application process registers the proxy server with an operating system by making an application programming interface call to the isolated process.

### Claim 10 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the isolated process handles networking capabilities for a WebView component of an ANDROID operating system.

### Claim 11 (depends on 8)

The non-transitory, computer-readable medium of claim 8, the stages further comprising:
sending traffic from the proxy server to the VPN tunnel server, wherein the VPN tunnel server is configured to send the traffic to the destination server specified by the network request of the isolated process; and
receiving response traffic at the proxy server, the response traffic being forwarded by the VPN tunnel server from the destination server.

### Claim 12 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the proxy server only accepts network requests that include the user identifier.

### Claim 13 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the application process causes a browser executing on the user device to broadcast a proxy change to the isolated process, causing the isolated process to route the network request to the proxy server of the application process.

### Claim 14 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the VPN tunnel server encrypts data associated with the network request and ensures that the user device meets rules required to perform the network request.

### Claim 15

A system for creating a per-app virtual private network (“VPN”) based on multiple processes, comprising:
a memory storage including a non-transitory, computer-readable medium comprising instructions; and
a processor that executes the instructions to carry out stages of an application process on a user device, the stages comprising:
executing an application process on a user device, the application process relying on an isolated process on the user device for network requests;
setting a proxy server on the user device to run as part of the application process;
setting the isolated process to send its network requests to the proxy server of the application process;
receiving, from the isolated process, a network request at the proxy server;
in an instance where the network request includes a user identifier that is shared with the application process, hooking, by the application process, the network request at the proxy server, wherein the hooking includes replacing a socket function call with an alternate function that specifies an address of a VPN tunnel server; and based on the hooking, contacting the VPN tunnel server to fulfill the network request at a destination server.

### Claim 16 (depends on 15)

The system of claim 15, wherein the application process registers the proxy server with an operating system by making an application programming interface call to the isolated process.

### Claim 17 (depends on 15)

The system of claim 15, wherein the isolated process handles networking capabilities for a WebView component of an ANDROID operating system.

### Claim 18 (depends on 15)

The system of claim 15, the stages further comprising:
sending traffic from the proxy server to the VPN tunnel server, wherein the VPN tunnel server is configured to send the traffic to the destination server specified by the network request of the isolated process; and
receiving response traffic at the proxy server, the response traffic being forwarded by the VPN tunnel server from the destination server.

### Claim 19 (depends on 15)

The system of claim 15, wherein the proxy server only accepts network requests that include the user identifier.

### Claim 20 (depends on 15)

The system of claim 15, wherein the VPN tunnel server encrypts data associated with the network request and ensures that the user device meets rules required to perform the network request.
