# Patent

## Title
Method of DDoS and hacking protection for internet-based servers using a private network of internet servers by executing computer-executable instructions stored on a non-transitory computer-readable medium

## Abstract

A method of DDoS and hacking protection for internet-based servers using a private network of internet servers utilizes multiple data streams sent over a network of proxy servers to mitigate malicious attacks and ensure fast connections from a user to a destination server. The destination server is hidden from the user and the redundancy of the proxy network serves to maintain security and connection quality between the user and the destination server.

## Background
The current application claims a priority to the U.S. Provisional Patent application Ser. No. 62/007,787 filed on Jun. 4, 2014.


FIELD OF THE INVENTION
The present invention relates generally to internet security. More specifically, the present invention is a method for protection against malicious activity utilizing a private network of Internet servers that hides potentially vulnerable servers from the user base and the general public.
BACKGROUND OF THE INVENTION
Denial of service (DoS) and distributed denial of service (DDoS) attacks relate generally to malicious attempts to disrupt and/or halt the services of a network host that is connected to the Internet. A DoS attack is typically carried out by a single person or system whereas a DDoS attack is carried out by two or more people or multiple systems. There are many types of attacks that may affect a network host's performance. Volume-based attacks seek to consume the bandwidth of the targeted server, overloading the server and disrupting service to legitimate users trying to access the server. Protocol attacks seek to consume actual server resources as well as those of communication equipment in order to disrupt legitimate traffic. Application layer attacks target and disrupt specific weak spots in the server. The overarching goal of these attacks is to crash or flood a targeted server in order to prevent legitimate users of a server from accessing the server. Traditional anti-DDoS and hacking protection methods include the use of a hardware or software firewall that is designed to reduce malicious activity at the targeted server or network. However, while a firewall is effective against small amounts of malicious activity, firewalls are vulnerable to large amounts of malicious activity such as DDoS attacks that are capable of overloading the Internet connection to the servers. Another method is to utilize a network of servers between users and a destination server. The network of servers hides the destination server from users while any malicious activity is sent through the network of servers, rather than to the targeted destination server. Malicious data is removed via a “scrubbing center” while normal data is permitted to continue to the destination server. However, the use of a scrubbing center to remove malicious data causes data performance to suffer due to the significant amount of latency that is added when data is sent to a scrubbing center. Additionally, it is not possible to select the data that is processed at the scrubbing center and all traffic to the destination server must be processed before continuing to the destination server. The present invention seeks to address the aforementioned issues relating to DoS and DDoS security as well as enhance and improve upon conventional methods of security against malicious attacks.
The present invention is a method for protecting a server from DoS and DDoS attacks as well as other forms of malicious activity such as hacking. In the preferred embodiment of the present invention, the system and method are designed to hide an Internet-based server from a user. A custom proxy client is utilized to connect the user to an Internet-based server that the user wishes to access. Major technical details of the Internet-based server such as the domain name and Internet Protocol (IP) address of the server are hidden from the user. The user is connected to a global network of proxy servers through the proxy, henceforth referred to as a global private network (GPN). The GPN serves to effectively hide the location and IP address of the Internet-based server from the user attempting to access the server. The user is connected to an edge server that is located in close proximity to his or her computer. The IP address of the edge server may be known to the user. User data is then transferred from the edge server to one or more unknown GPN servers before being transferred to the destination Internet-based server. During this process, only the IP address of the edge server is known to the user. Edge servers are vulnerable to malicious attack and are considered to be expendable and as such, attacks on edge servers are not problematic.
Data flow through the GPN is optimized in order to ensure that latency, flux, and spikes remain low. Data is processed in order to determine if the data is latency-sensitive, non-latency sensitive, or may be excluded from rerouting. If latency-sensitive data is sent from an originating computer, the data is rerouted through the GPN in a manner such that the data is sent through multiple low latency servers within the GPN for as long as possible. The data is then transferred to the destination server in order to avoid unreliable performance often characteristic of internet service provider (ISP) servers and routers. Non-latency sensitive data is transferred through multiple high bandwidth servers within the GPN prior to being transferred to the destination server. Data that has been excluded from rerouting is transferred directly to the destination server, bypassing the GPN entirely.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a stepwise flow diagram describing the general process of the present invention.
FIG. 2 is a stepwise flow diagram describing steps for server setup and connection.
FIG. 3 is a stepwise flow diagram describing steps for routing the user data stream based on latency sensitivity.
FIG. 4 is a stepwise flow diagram describing steps relating to detecting and mitigating malicious activity.
FIG. 5 is a stepwise flow diagram describing steps for utilizing redundant data streams.
FIG. 6 is a diagrammatic overview of the protection method of the present invention.
FIG. 7 is a comparison chart displaying results of using and not using the protection method of the present invention.
FIG. 8 is a flowchart displaying the movement of user data to a destination server utilizing the protection method of the present invention.
FIG. 9 is a diagram illustrating various types of malicious activity that may be prevented utilizing the protection method of the present invention.
FIG. 10 is a diagram illustrating the manner in which redundant data streams and edge servers mitigate incoming malicious activity.
FIG. 11 is a flowchart of data routing paths based on processing of data.
FIG. 12 is a diagrammatic overview of an alternative embodiment of the present invention.



DETAIL DESCRIPTIONS OF THE INVENTION
All illustrations of the drawings are for the purpose of describing selected versions of the present invention and are not intended to limit the scope of the present invention. The present invention is to be described in detail and is provided in a manner that establishes a thorough understanding of the present invention. There may be aspects of the present invention that may be practiced without the implementation of some features as they are described. It should be understood that some details have not been described in detail in order to not unnecessarily obscure focus of the invention.
The present invention is a method for protecting a vulnerable Internet-based server from potential malicious user activity such as DoS attacks, DDoS attacks, and hacking. Major details of the server are kept hidden from the user in order to eliminate the possibility of launching malicious attacks on the server. During data flow, the user's data is transferred through a dedicated infrastructure between the user and the destination server. However, all user data processing is handled on the user (client) side and the connection to the edge server.
For the present invention to function, a proxy software must be provided on a computing device, wherein the computing device is any electronic device capable of processing data and interfacing with a digital network such as the Internet, such as, but not limited to, a desktop computer, a laptop computer, a tablet computer, a smartphone, a router, a gaming console, or another computing device. Additionally, a network infrastructure of at least one edge server and a GPN comprising a plurality of GPN servers is provided to be utilized. The proxy software may be a custom proxy client which is made mandatory by an administrator of the system for users to access the system. A general diagram of the system is shown in FIG. 6 and an illustration of the benefit of the present invention is shown in FIG. 7.
Referring to FIG. 1, in the general process of the present invention, a network connection is established between the computing device and the edge server through the proxy software. Subsequently, a user data stream is transmitted from the computing device to the edge server through the network connection. Incoming traffic to the edge server is analyzed to determine if the incoming traffic constitutes malicious activity, wherein the incoming traffic includes the user data stream. If the incoming traffic is determined to be malicious activity, the incoming traffic is blocked at the edge server. As part of the incoming traffic, the user data stream is also analyzed to determine if the user data stream constitutes malicious activity. If the user data stream is determined to be malicious activity, the user data stream is blocked at the edge server. If the user data stream is determined to not be malicious activity, the user data stream is routed from the edge server through at least one data-type relevant server from the plurality of GPN servers. The user data stream is then transmitted from the GPN to a destination server after being routed through the at least one data-type relevant server. The result of this arrangement is that the destination server is obfuscated from the computing device by the GPN, and malicious activity is mitigated to provide uninterrupted service.
In the preferred embodiment of the present invention, the network infrastructure comprises a plurality of edge servers. As described in FIG. 2, the edge server the computing device is connected to is preferably designated based on network proximity to the computing device, wherein network proximity is determined by lower latency between the computing device and the edge server. Network proximity may additionally or alternatively be determined by other relevant network factors, such as, but not limited to, bandwidth capability. The computing device is able to view information about the edge server, such as the edge server's IP address. The edge server is also considered to be expendable since the network infrastructure has many edge servers which can serve the same function. A level of protection may be provided for edge servers in the form of filters and firewalls that are capable of blocking unwanted traffic. Dynamic IP addresses, load balancing, and connection redundancy may be implemented as well in order to provide additional protection. Additionally, in the preferred embodiment, the GPN servers are proxy servers. This provides the obfuscation of the destination server from the computing device.
The protection method of the present invention further serves to optimize data flow in order to improve performance. The user data stream is processed in order to determine if the data is latency-sensitive, non-latency sensitive, or may be excluded from rerouting through the GPN. Online video games typically utilize a combination of both latency-sensitive and non-latency sensitive data.
When the user data stream is routed through the GPN, the user data stream is analyzed with latency detection software to determine whether the user data stream is latency-sensitive as shown in FIG. 3. If the user data stream is latency-sensitive, the user data stream is routed through at least one low-latency server from the plurality of GPN servers as the at least one data-type relevant server. This forced routing removes choke points and devices such as routers that typically have high packet loss from the route that is taken by the user data. By avoiding these choke points, the number of transfers from router to router and server to server required of the data is reduced, minimizing or altogether eliminating packet loss between the originating system and the destination server. The data is then transferred directly to the destination server, avoiding the often unreliable performance of ISP servers and routers. Data processing performance of the GPN is constantly monitored in real-time in order to generate performance metrics and ensure that the GPN is able to intelligently route user data. This aspect is also illustrated in FIG. 11.
If the user data stream is not latency sensitive, the user data stream is routed through at least one high-bandwidth server from the plurality of GPN servers as the at least one data-type relevant server. By distinguishing between latency-sensitive and non-latency sensitive data, data processing is optimized due to the fact that portions of the GPN that are reserved for latency-sensitive data are able to perform at maximum. The user stream may also be excluded from rerouting and transferred directly to the destination server.
Routing the user data stream through the GPN effectively hides the location and IP address of the destination server, which is desired to be protected and secure from any attacks. The GPN servers are unknown to the user and the user is unable to view major technical details such as the domain names and IP addresses of the GPN servers.
Referring to FIG. 4, in the present invention, the computing device is identified with a client system profile. The client system profile may comprise, but is not limited to, internet protocol (IP) address information, domain name server (DNS) information, client credentials, or other attributes of the computing device such as hardware or software. If the user data stream is determined to be malicious activity, the client system profile is blacklisted at the edge server. FIGS. 8 and 9 depict the manner of limiting malicious activity to the edge server closest to the attacker.
In general, the user data stream is designated as malicious traffic if the user data stream comprises anomalous traffic. Anomalous traffic is traffic that is unexpected by the GPN. The network will have traffic statistics based on normal use, and various metrics may be established which, when exceeded, will trigger malicious traffic detection. Alternatively, specialized malicious activity detection software may be utilized. Malicious activity may include, but is not limited to, DoS attacks such as sin floods and resource exhaustion, DDos attacks such as DNS reflection or IP reflection, hacking attempts, or other attacks. Malicious activity may conceivably be detected through a variety of means, and the particular method of accomplishing this is not of particular importance to the present invention so much that it is in fact accomplished. Malicious activity may come from users of the present invention, however the majority of malicious or anomalous traffic is likely to not come from users of the present invention, but other entities from elsewhere on the general Internet.
One important aspect of the present invention is redundancy through expendable edge servers. If malicious activity is detected at the edge server the user data stream is being routed through, or if the edge server fails for any other reason, the user data stream is routed to a redundant edge server, provided that the malicious activity is not the user data stream. The redundant edge server is simply another of the plurality of edge servers in the network infrastructure.
An additional measure of the present invention for redundancy is incorporating multiple data streams between the computing device and the destination server, as illustrated in FIG. 10. This is referred to as near real time (NRT) session failover. Multiple redundant data streams may be used to ensure redundancy and the integrity of NRT data. The problem of an edge server failing or being attacked is mitigated through this redundancy, so that if an edge server fails and thus impedes one data stream, at least one of the redundant data streams will achieve the goal of maintaining the session with as fast speeds as possible.
More specifically, similarly to the general method disclosed previously and as shown in FIG. 5, in this embodiment a plurality of network connections are established between the computing device and the plurality of edge servers through the proxy software. A plurality of user data streams are transmitted from the computing device to each of the plurality of edge servers through the plurality of network connections. Each of the plurality of user data streams is identical, but transmitted to a different edge server through a different network connection. Each of the plurality of user data streams is routed from its respective edge server through one of a plurality of data-type relevant servers from the plurality of GPN servers if the respective user data streams are determined to not be malicious activity. At least one of the plurality of user data streams is transmitted from the GPN to a destination server after each of the plurality of user data streams is routed through its respective at least one data-type relevant server. Whichever user data stream arrives at the destination server first is utilized, and the rest of the user data streams are held in standby in case the first user data stream is disrupted.
The DDoS protection method of the present invention provides a number of advantages over traditional means of protection against malicious activity. Traditional means of protection are limited solely to Hypertext Transfer Protocol (HTTP) traffic including GET, POST, and HEAD requests, among others. In contrast, the protection method of the present invention is capable of protecting all online traffic and sources. As such, the present method is particularly useful for applications such as online gaming. Because the protected server is only accessible through the custom proxy client, all outside/other requests to access the server are dropped. The protection method of the present invention eliminates the need for scrubbing centers that are utilized in conventional means of protection against malicious activity. The effects of any DDoS attacks and other malicious activity are limited solely to the edge server that is closest to an attacker. Routing data through a scrubbing center typically causes data performance to suffer due to the increased latency. However, in contrast to conventional protection methods, the protection method of the present invention is capable of minimizing packet loss and improving data performance.
In an alternative embodiment of the present invention shown in FIG. 12, the computing device is connected to a primary edge server as well as a secondary edge server. In this alternative embodiment of the present invention, the primary edge server comprises a LAN router which serves as an edge server for the GPN. The connecting user is able to view the internal IP address of the LAN router. After connecting to the LAN router/primary edge server, the user data stream is transferred to the secondary edge server. The secondary edge server comprises an Internet-based edge server that is located in close network proximity to the user's computer. The implementation of an initial edge server provides a level of protection for the Internet-based GPN edge servers from malicious activity as the Internet-based GPN servers are hidden from users as well.
Although the invention has been explained in relation to its preferred embodiment, it is to be understood that many other possible modifications and variations can be made without departing from the spirit and scope of the invention as hereinafter claimed.

## Claims

1. A method of Distributed Denial of Service (DDoS) and hacking protection for internet-based servers using a private network of Internet servers by executing computer-executable instructions stored on a non-transitory computer-readable medium comprises the steps of:
providing proxy software on a computing device;
providing an edge server and a global private network (GPN) comprising a plurality of GPN servers;
establishing a network connection between the computing device and the edge server through the proxy software;
transmitting a user data stream from the computing device to the edge server through the network connection;
analyzing incoming traffic to the edge server to determine whether the incoming traffic constitutes malicious activity, wherein the incoming traffic includes the user data stream;
blocking, the incoming traffic at the edge server, if the incoming traffic is determined to be malicious activity;
routing the user data stream from the edge server through at least one data-type relevant server from the plurality of GPN servers, if the incoming traffic is determined to not be malicious activity, wherein the user data stream is characterized by at least one of latency-sensitivity, non-latency sensitivity and exclusivity from rerouting through the plurality of GPN servers;
routing the user data stream through at least one low-latency server from the plurality of GPN servers as the at least one data-type relevant server, if the user data stream is latency-sensitive;
routing the user data stream through at least one high-bandwidth server from the plurality of GPN servers as the least one data-type relevant server, if the user data stream is non-latency sensitive; and
transmitting the user data stream from the GPN to a destination server after the user data stream is routed through the at least one data-type relevant server, wherein the destination server is obfuscated from the computing device by the GPN.

2. The method of DDoS and hacking protection for internet-based servers using a private network of internet servers by executing computer-executable instructions stored on a non-transitory computer-readable medium as claimed in claim 1 comprises the step of:
designating the edge server based on network proximity to the computing device, wherein network proximity is determined by lower latency between the computing device and the edge server.

3. The method of DDoS and hacking protection for internet-based servers using a private network of internet servers by executing computer-executable instructions stored on a non-transitory computer-readable medium as claimed in claim 1 comprises the steps of:
analyzing the user data stream to determine whether the user data stream constitutes malicious activity; and
blocking the user data stream at the edge server, if the user data stream is determined to be malicious activity.

4. The method of DDoS and hacking protection for internet-based servers using a private network of internet servers by executing computer-executable instructions stored on a non-transitory computer-readable medium as claimed in claim 1 comprises the step of:
analyzing the user data stream to determine whether the user data stream is latency-sensitive.

5. The method of DDoS and hacking protection for internet-based servers using a private network of internet servers by executing computer-executable instructions stored on a non-transitory computer-readable medium as claimed in claim 4 comprises the step of:
analyzing the user data stream with latency detection software to determine whether the user data stream is latency-sensitive.

6. The method of DDoS and hacking protection for internet-based servers using a private network of internet servers by executing computer-executable instructions stored on a non-transitory computer-readable medium as claimed in claim 1 comprises the steps of:
identifying the computing device with a client system profile; and
blacklisting the client system profile at the edge server, if the user data stream is determined to be malicious activity.

7. The method of DDoS and hacking protection for internet-based servers using a private network of internet servers by executing computer-executable instructions stored on a non-transitory computer-readable medium as claimed in claim 1 comprises the step of:
designating the user data stream as malicious activity if the user data stream comprises anomalous traffic, wherein anomalous traffic is traffic that is unexpected by the GPN.

8. The method of DDoS and hacking protection for internet-based servers using a private network of internet servers by executing computer-executable instructions stored on a non-transitory computer-readable medium as claimed in claim 1 comprises the step of:
rerouting the user data stream from the edge server to a redundant edge server, if malicious activity is detected at the edge server, and if the user data stream is determined to not be the malicious activity.

9. The method of DDoS and hacking protection for internet-based servers using a private network of internet servers by executing computer-executable instructions stored on a non-transitory computer-readable medium as claimed in claim 1 comprises the steps of:
providing a plurality of edge servers;
establishing a plurality of network connections between the computing device and the plurality of edge servers through the proxy software;
transmitting a plurality of user data streams from the computing device to each of the plurality of edge servers through the plurality of network connection;
routing each of the plurality of user data streams from its respective edge server through one of a plurality of data-type relevant servers from the plurality of GPN servers, if each respective user data stream is determined to not be malicious activity; and
transmitting at least one of the plurality of user data streams from the GPN to a destination server after the plurality of user data streams are routed through its respective at least one data-type relevant server.

10. The method of DDoS and hacking protection for internet-based servers using a private network of internet servers by executing computer-executable instructions stored on a non-transitory computer-readable medium as claimed in claim 1, wherein the GPN servers are proxy servers.