WO2019126165A1 - Bot detection in an edge network using transport layer security (tls) fingerprint - Google Patents
Bot detection in an edge network using transport layer security (tls) fingerprint Download PDFInfo
- Publication number
- WO2019126165A1 WO2019126165A1 PCT/US2018/066227 US2018066227W WO2019126165A1 WO 2019126165 A1 WO2019126165 A1 WO 2019126165A1 US 2018066227 W US2018066227 W US 2018066227W WO 2019126165 A1 WO2019126165 A1 WO 2019126165A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- client
- fingerprint
- tls
- bot
- transport layer
- Prior art date
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 19
- 238000000034 method Methods 0.000 claims abstract description 49
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 9
- 230000004044 response Effects 0.000 claims description 12
- 230000006870 function Effects 0.000 claims description 11
- 230000009471 action Effects 0.000 claims description 8
- 238000010801 machine learning Methods 0.000 claims description 8
- 238000004458 analytical method Methods 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 6
- 239000000284 extract Substances 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 4
- 230000002085 persistent effect Effects 0.000 claims 1
- 230000008569 process Effects 0.000 description 17
- 230000000694 effects Effects 0.000 description 5
- 230000001133 acceleration Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000013480 data collection Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000011156 evaluation Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000013515 script Methods 0.000 description 3
- VYZAMTAEIAYCRO-UHFFFAOYSA-N Chromium Chemical compound [Cr] VYZAMTAEIAYCRO-UHFFFAOYSA-N 0.000 description 2
- 230000003542 behavioural effect Effects 0.000 description 2
- 235000014510 cooky Nutrition 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002787 reinforcement Effects 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 230000007723 transport mechanism Effects 0.000 description 2
- 238000010200 validation analysis Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000012417 linear regression Methods 0.000 description 1
- 238000007477 logistic regression Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 108020001568 subdomains Proteins 0.000 description 1
- 238000012706 support-vector machine Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/14—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
- H04L63/1441—Countermeasures against malicious traffic
- H04L63/145—Countermeasures against malicious traffic the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/14—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
- H04L63/1441—Countermeasures against malicious traffic
- H04L63/1483—Countermeasures against malicious traffic service impersonation, e.g. phishing, pharming or web spoofing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
- G06N20/10—Machine learning using kernel methods, e.g. support vector machines [SVM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N7/00—Computing arrangements based on specific mathematical models
- G06N7/01—Probabilistic graphical models, e.g. probabilistic networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2463/00—Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
- H04L2463/144—Detection or countermeasures against botnets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
- H04L63/0272—Virtual private networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
- H04L63/0281—Proxies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/16—Implementing security features at a particular protocol layer
- H04L63/166—Implementing security features at a particular protocol layer at the transport layer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Definitions
- TLS Transport Layer Security
- This application relates generally to protecting websites and mobile applications (apps) from automated attacks by scripts or bots using TLS connections.
- a distributed computer system is a“content delivery network” (CDN) or“overlay network” that is operated and managed by a service provider.
- the service provider typically provides the content delivery service on behalf of third parties (customers) who use the service provider’s shared infrastructure.
- a distributed system of this type typically refers to a collection of autonomous computers linked by a network or networks, together with the software, systems, protocols and techniques designed to facilitate various services, such as content delivery, web application acceleration, or other support of outsourced origin site infrastructure.
- a CDN service provider typically provides service delivery through digital properties (such as a website), which are provisioned in a customer portal and then deployed to the network.
- a digital property typically is bound to one or more edge configurations that allow the service provider to account for traffic and bill its customer.
- Transport Layer Security and its predecessor, Secure Sockets Layer (SSL), are cryptographic protocols that provide Internet communication security. They use asymmetric cryptography for authentication and key exchange, symmetric encryption for confidentiality, and message authentication codes for message integrity.
- TLS/SSL is initialized at a session layer then works at a presentation layer. In particular, first the session layer has a handshake using an asymmetric cipher to establish cipher settings and a shared key for that session. Thereafter, a presentation layer encrypts the rest of the communication using a symmetric cipher and that session key.
- TLS and SSL work on behalf of the underlying transport layer, whose segments carry encrypted data.
- TLS is an IETF standards track protocol, defined in RFC 5246 and RFC 6176.
- the two sides of a connection agree upon a“pre-master secret” (PMS) which is used to generate the parameters for the remainder of the session.
- PMS pre-master secret
- the two sides use RSA asymmetric encryption to establish the pre master secret without exchanging the actual value in plaintext.
- the SSL client generates the pre-master secret and encrypts it with the TLS server’ s publicly available RSA key. This generates an encrypted pre-master secret (ePMS), which is then provided to the TLS server.
- the TLS server has a private decryption key, which is then used to decrypt the encrypted pre-master secret.
- both the client and the server have the original pre-master secret and can use it to generate the symmetric key used for actual encrypted and secure data exchange.
- Decrypting the encrypted pre-master secret is the only time in the TLS connection that the private key is needed. This decryption occurs at a so-called TLS termination point. Where a CDN is used to facilitate delivery of secure content, the TLS termination point will be located in the CDN.
- TLS fingerprinting This disclosure describes a technique to fingerprint TLS connection information to facilitate bot detection. The notion is referred to herein as“TLS fingerprinting.”
- TLS fingerprinting herein comprises combining different parameters from the initial "Hello” packet send by the client.
- the different parameters from the Hello packet that are used to create the fingerprint are: record layer version, client version, ordered TLS extensions, ordered cipher list, ordered elliptic curve list, and ordered signature algorithms list.
- the edge server persists the TLS signature for the duration of a session.
- FIG. 1 is a block diagram illustrating a known distributed computer system configured as a content delivery network (CDN);
- CDN content delivery network
- FIG. 2 is a representative CDN edge machine configuration
- FIG. 3 is a representative active TLS session among a client, an edge server, and an origin server and into which the edge server, with permission, is enabled to shunt into without a certificate and/or private key according to this disclosure.
- FIG. 4 is an embodiment of a TLS fingerprint detection scheme of this disclosure
- FIG. 5 is another embodiment of the TLS fingerprint detection scheme.
- FIG. 6 is another depiction of the detection scheme.
- a distributed computer system 100 is configured as a content delivery network (CDN) and is assumed to have a set of machines l02a-n distributed around the Internet.
- CDN content delivery network
- machines l02a-n distributed around the Internet.
- machines typically, most of the machines are servers located near the edge of the Internet, i.e., at or adjacent end user access networks.
- a network operations command center (NOCC) 104 manages operations of the various machines in the system.
- Third party sites such as web site 106, offload delivery of content (e.g., HTML, embedded page objects, streaming media, software downloads, and the like) to the distributed computer system 100 and, in particular, to“edge” servers.
- content e.g., HTML, embedded page objects, streaming media, software downloads, and the like
- content providers offload their content delivery by aliasing (e.g., by a DNS CNAME) given content provider domains or sub-domains to domains that are managed by the service provider’s authoritative domain name service. End users that desire the content are directed to the distributed computer system to obtain that content more reliably and efficiently.
- the distributed computer system may also include other infrastructure, such as a distributed data collection system 108 that collects usage and other data from the edge servers, aggregates that data across a region or set of regions, and passes that data to other back-end systems 110, 112, 114 and 116 to facilitate monitoring, logging, alerts, billing, management and other operational and administrative functions.
- Distributed network agents 118 monitor the network as well as the server loads and provide network, traffic and load data to a DNS query handling mechanism 115, which is authoritative for content domains being managed by the CDN.
- a distributed data transport mechanism 120 may be used to distribute control information (e.g., metadata to manage content, to facilitate load balancing, and the like) to the edge servers.
- a given machine 200 comprises commodity hardware (e.g., an Intel Pentium processor) 202 running an operating system kernel (such as Linux or variant) 204 that supports one or more applications 206a-n.
- operating system kernel such as Linux or variant
- given machines typically run a set of applications, such as an HTTP proxy 207 (sometimes referred to as a“global host” process), a name server 208, a local monitoring process 210, a distributed data collection process 212, and the like.
- a CDN edge server is configured to provide one or more extended content delivery features, preferably on a domain- specific, customer-specific basis, preferably using configuration files that are distributed to the edge servers using a configuration system.
- a given configuration file preferably is XML-based and includes a set of content handling rules and directives that facilitate one or more advanced content handling features.
- the configuration file may be delivered to the CDN edge server via the data transport mechanism.
- U.S. Patent No. 7,111,057 illustrates a useful infrastructure for delivering and managing edge server content control information, and this and other edge server control information can be provisioned by the CDN service provider itself, or (via an extranet or the like) the content provider customer who operates the origin server.
- the CDN may provide secure content delivery among a client browser, edge server and customer origin server in the manner described in U.S. Publication No. 20040093419. Secure content delivery as described therein enforces SSL-based links between the client and the edge server process, on the one hand, and between the edge server process and an origin server process, on the other hand. This enables an SSL-protected web page and/or components thereof to be delivered via the edge server.
- the CDN resources may be used to facilitate wide area network (WAN) acceleration services between enterprise data centers (which may be privately- managed) and third party software-as-a-service (SaaS) providers.
- WAN wide area network
- SaaS software-as-a-service
- a content provider identifies a content provider domain or sub-domain that it desires to have served by the CDN.
- the CDN service provider associates (e.g., via a canonical name, or CNAME) the content provider domain with an edge network (CDN) hostname, and the CDN provider then provides that edge network hostname to the content provider.
- CDN edge network
- the requesting client browser then makes a content request (e.g., via HTTP or HTTPS) to an edge server associated with the IP address.
- the request includes a host header that includes the original content provider domain or sub-domain.
- the edge server Upon receipt of the request with the host header, the edge server checks its configuration file to determine whether the content domain or sub-domain requested is actually being handled by the CDN. If so, the edge server applies its content handling rules and directives for that domain or sub-domain as specified in the configuration. These content handling rules and directives may be located within an XML-based“metadata” configuration file.
- an“edge server” refers to a CDN (overlay network) edge machine.
- the CDN service provider may allow a TCP connection to originate from a client (e.g., an end user browser, or mobile app) and connect to an edge machine representing the customer on a virtual IP address (VIP) assigned to the customer, or a general VIP that allows for discovery of the intended customer.
- VIP virtual IP address
- this edge machine does not have the customer’s private key or the customer’s certificate.
- an end user client browser or mobile app 300 is associated with a customer origin server (or“origin”) 302 via the intermediary of an overlay network edge machine server instance 304 (sometimes referred to as an“edge server”).
- the terms“origin” or“edge” are not intended to be limiting.
- the client establishes a TLS connection with the edge machine server instance 304, which terminates the TLS connection.
- the edge server then establishes a separate TLS connection with the origin 302. Familiarity with the TLS Specification is presumed.
- each side of the connection will have negotiated a Pre-Master Secret and exchange random number values for the session.
- each side will have converted its Pre- Master Secret into a Master Secret using an agreed-upon pseudo-random function (PRF), such as an HMAC variant.
- PRF pseudo-random function
- TLS 1.2 Specification Section 6.3 notes that this Master Secret is then converted into a larger key block, which is then used to calculate the following TLS items: ciient_write_MAC_key (the key that be used as input to the client’s sent data message authentication codes (MACs)), wherein each TLSCipherText record has a MAC that verifies the data in the record is authentic and unchanged); server_write_MAC_key (the key that will be used as input to the server’s sent data MACs);
- client_write_key the key that will be used for the agreed-upon bulk encryption cipher for client sent data;
- server_write_key the key that will be used for the agreed-upon bulk encryption cipher for server sent data.
- Other items may be calculated but, for purposes of this protocol, are not relevant.
- the client mobile device, laptop or bot
- the edge server extract the TLS parameters sent by the client (typically from the Client Hello) and computes a hash, preferably using a one-way hash function.
- the TLS hash value (a message digest) is sent to a learning system along with other characteristics available in the request, such as: HTTP request header order, User-agent value, HTTP version, Client IP address, Referer, canvas fingerprint, and perhaps others.
- heuristics are run, preferably on a regular basis, against the information collected on the learning system to statistically establish which fingerprint is typical of a legitimate client/user and which one is typical of an automated system.
- this method enables the system to identify automated system spoofing to a legitimate Chrome user-agent.
- the edge server may be configured to take an action on the request (deny, tarpit, serve alternate content), or it may simply pass the request forward the customer origin server if the customer elects only to monitor the traffic.
- the customer origin server processes the request and respond with the requested content.
- the edge server passes the customer origin server response to the client.
- the learning data from step (2) above may be delivered out-of-band (namely, outside of the request flow).
- the learning system may publish to the edge a list of known bad signatures (e.g., a combination of TLS hash + header order + user-agent) so that the evaluation in step (3) does not require a call to an external database.
- FIG. 5 depicts a preferred implementation, which is now described.
- the client mobile device, laptop or bot
- the edge server computes the TLS hash and the header order hash, and extracts the user-agent, method, request type.
- the edge preferably checks all this information against a known bad signature directory.
- the edge server may be configured to take an action on the request (deny, tarpit, serve alternate content), or it may simply pass the request forward the customer origin server, e.g., if the customer chooses to only monitor the traffic.
- the customer origin server processes the request and respond with the requested content.
- the edge server passes the customer origin server response to the client.
- the edge server passes the data collected to the learning system.
- the learning system publishes to the edge a new list of bad signature(s), preferably periodically.
- the new list of bad signature(s) may be published to the edge continuously or asynchronously, in response to a given event or occurrence.
- JavaScript-based technology collects a lightweight fingerprint and other behavioral data from the client.
- the data is collected asynchronously and sent to the bot detection engine.
- the edge server obtains the client classification from the bot detection engine and applies it on the edge.
- TLS fingerprint Several methods may be used to detect bots using the TLS fingerprint include, without limitation, anomaly detection, dynamic rate limiting, and blacklisting.
- Anomaly detection is based on the principle that good browsers (such as Chrome, Firefox, Safari, and the like) have a few valid combinations of TLS fingerprints for each browser version.
- The“known” or“correct” combinations are learned a-priori. This can be done by analyzing prior human traffic and building a table of valid combinations (user agent and associated TLS fingerprint possibilities).
- a bot script masquerading its user- agent as one of the well-known browsers is then caught by checking for the existence of the user-agent and the TLS fingerprint in the“known/correct” table.
- Dynamic rate limiting is based on the principle that the system keeps tracks of the received TLS fingerprints and then rate limits TLS fingerprints. Bot Attacks can be blocked in this way, as the TLS fingerprint will rapidly exceed the allowed rate threshold.
- Blacklisting is based on the principle that the TLS fingerprints of malicious bot tools can be collected and stored in a database/file (also known as a blacklist file). When a TLS fingerprint is part of this blacklist file, it is then blocked.
- a database/file also known as a blacklist file
- the above-described TLS fingerprinting scheme may operate in association with a browser validation process that collects information from the client using JavaScript techniques to help identify the type of client machine the edge server is interacting with and the configuration of the browser. The process does not collect any information that could identify the user of the machine.
- the data collected (also known as the fingerprint) is sent to a data collection platform and kept for a given time period.
- the fingerprint is used to enable the provider to research and define new heuristics that help the bot detection engine to detect more advanced bots. These heuristics are preferably instantiated as detection rules and become part of a fingerprint evaluation ruleset.
- the fingerprint process is only executed once a session.
- the fingerprint evaluation ruleset may evolve, allowing the system to detect more bots.
- clients that are identified as bots are tracked through their session cookie.
- the session cookie is unique to a given web site and cannot be used to correlate the activity of a given bot on other web sites, although the system may provide for the ability to track the activity of a botnet across customers that use the bot detection service. Activity coming from these bots preferably is tracked and reported.
- TLS fingerprint information can also be supplemented with other information, e.g., a response from the origin (success or failed login). Behavioral data collected from the client, together with such origin response data, can be combined with the TLS fingerprint to build up a TLS blacklist.
- a representative machine on which the software executes comprises commodity hardware, an operating system, an application runtime environment, and a set of applications or processes and associated data, that provide the functionality of a given system or subsystem.
- the functionality may be implemented in a standalone machine, or across a distributed set of machines.
- the functionality may be provided as a service, e.g., as a SaaS solution.
- cloud computing is a model of service delivery for enabling on-demand network access to a shared pool of configurable computing resources (e.g. networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service.
- configurable computing resources e.g. networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services
- SaaS Software as a Service
- PaaS Platform as a service
- IaaS Infrastructure as a Service
- the platform may comprise co-located hardware and software resources, or resources that are physically, logically, virtually and/or geographically distinct.
- Communication networks used to communicate to and from the platform services may be packet-based, non-packet based, and secure or non-secure, or some combination thereof.
- the techniques described herein are provided using a set of one or more computing-related entities (systems, machines, processes, programs, libraries, functions, or the like) that together facilitate or provide the described functionality described above.
- a representative machine on which the software executes comprises commodity hardware, an operating system, an application runtime environment, and a set of applications or processes and associated data, that provide the functionality of a given system or subsystem.
- the functionality may be implemented in a standalone machine, or across a distributed set of machines.
- module or sub-module preferably is implemented in computer software as a set of program instructions executable in one or more processors, as a special-purpose machine.
- Representative machines on which the subject matter herein is provided may be Intel Pentium-based computers running a Linux or Linux-variant operating system and one or more applications to carry out the described functionality.
- One or more of the processes described above are implemented as computer programs, namely, as a set of computer instructions, for performing the functionality described.
- This apparatus may be a particular machine that is specially constructed for the required purposes, or it may comprise a computer otherwise selectively activated or reconfigured by a computer program stored in the computer.
- a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including an optical disk, a CD-ROM, and a magnetic-optical disk, a read-only memory (ROM), a random access memory (RAM), a magnetic or optical card, or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus.
- a given implementation of the computing platform is software that executes on a hardware platform running an operating system such as Linux.
- a machine implementing the techniques herein comprises a hardware processor, and non-transitory computer memory holding computer program instructions that are executed by the processor to perform the above-described methods.
- Any computing entity may act as the client or the server.
- the platform functionality may be co-located or various parts/components may be separately and run as distinct functions, perhaps in one or more locations (over a distributed network).
- TLS fingerprint based bot detector is in a managed service such as a content delivery network (CDN) or, more generally, an“overlay network” that is operated and managed by a service provider.
- the service provider typically provides the content delivery service on behalf of third parties (customers) who use the service provider’s shared infrastructure.
- a distributed system of this type typically refers to a collection of autonomous computers linked by a network or networks, together with the software, systems, protocols and techniques designed to facilitate various services, such as content delivery, web application acceleration, or other support of outsourced origin site infrastructure.
- a CDN service provider typically provides service delivery through digital properties (such as a website), which are provisioned in a customer portal and then deployed to the network.
- a digital property typically is bound to one or more edge configurations that allow the service provider to account for traffic and bill its customer.
- the techniques herein may leverage machine learning (ML) to iteratively learn from data.
- machine learning tasks are typically classified into several categories depending on the nature of the learning signal or feedback available to a learning system: supervised learning, unsupervised learning, and reinforcement learning.
- supervised learning the algorithm trains on labeled historic data and learns general rules that map input to output/target.
- the computer/machine learns from the training data.
- Supervised learning algorithms are Support Vector Machines, Linear Regression, Logistic Regression, Naive Bayes, and Neural Networks.
- unsupervised machine learning the algorithm trains on unlabeled data.
- reinforcement learning the algorithm learns through a feedback system.
- the bot detection engine uses supervised machine learning to evolve the ruleset based on the TLS data detection previously described.
- the preferred approach creates a message digest of relevant portions of the Client Hello; this facilitates transporting the data on a network, querying on the data, creating databases, and building a machine learning model of relevant data.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Medical Informatics (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Mathematical Physics (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- Virology (AREA)
- General Health & Medical Sciences (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This disclosure describes a technique to fingerprint TLS connection information to facilitate bot detection. The notion is referred to herein as "TLS fingerprinting." Preferably, TLS fingerprinting herein comprises combining different parameters from the initial "Hello" packet send by the client. In one embodiment, the different parameters from the Hello packet that are to create the fingerprint (the "TLS signature") are: record layer version, client version, ordered TLS extensions, ordered cipher list, ordered elliptic curve list, and ordered signature algorithms list. Preferably, the edge server persists the TLS signature for the duration of a session.
Description
Bot detection in an edge network using Transport Layer Security (TLS) fingerprint
BACKGROUND
Technical Field
This application relates generally to protecting websites and mobile applications (apps) from automated attacks by scripts or bots using TLS connections.
Brief Description of the Related Art
Distributed computer systems are well-known in the prior art. One such distributed computer system is a“content delivery network” (CDN) or“overlay network” that is operated and managed by a service provider. The service provider typically provides the content delivery service on behalf of third parties (customers) who use the service provider’s shared infrastructure. A distributed system of this type typically refers to a collection of autonomous computers linked by a network or networks, together with the software, systems, protocols and techniques designed to facilitate various services, such as content delivery, web application acceleration, or other support of outsourced origin site infrastructure. A CDN service provider typically provides service delivery through digital properties (such as a website), which are provisioned in a customer portal and then deployed to the network. A digital property typically is bound to one or more edge configurations that allow the service provider to account for traffic and bill its customer.
Transport Layer Security (TLS) and its predecessor, Secure Sockets Layer (SSL), are cryptographic protocols that provide Internet communication security. They use asymmetric cryptography for authentication and key exchange, symmetric encryption for confidentiality, and message authentication codes for message integrity. TLS/SSL is initialized at a session layer then works at a presentation layer. In particular, first the session layer has a handshake using an asymmetric cipher to establish cipher settings and a shared key for that session. Thereafter, a presentation layer encrypts the rest of the communication using a symmetric cipher and that session key. In both models, TLS and SSL work on behalf of the underlying transport layer, whose segments carry encrypted data. TLS is an IETF standards track protocol, defined in RFC 5246 and RFC 6176.
For a traditional RSA-based TLS session, the two sides of a connection agree upon a“pre-master secret” (PMS) which is used to generate the parameters for the remainder of the session. Typically, the two sides use RSA asymmetric encryption to establish the pre master secret without exchanging the actual value in plaintext. In operation, the SSL client generates the pre-master secret and encrypts it with the TLS server’ s publicly available RSA key. This generates an encrypted pre-master secret (ePMS), which is then provided to the TLS server. The TLS server has a private decryption key, which is then used to decrypt the encrypted pre-master secret. At this point, both the client and the server have the original pre-master secret and can use it to generate the symmetric key used for actual encrypted and secure data exchange. Decrypting the encrypted pre-master secret is the only time in the TLS connection that the private key is needed. This decryption occurs at a so-called TLS termination point. Where a CDN is used to facilitate delivery of secure content, the TLS termination point will be located in the CDN.
All credential stuffing and other fraud attacks (gift card/loyalty point abuse, add-to- card, create new account, checkout) CDN customers are facing on a daily basis are done against an endpoint that requires a secure connection using SSL/TLS. Also, with the rise of HTTP/2, which is based on SSL/TLS, as well as customers starting to serve the entire content of their site securely, the amount of CDN-delivered secure traffic is increasing overall. By nature of SSL/TLS, no intermediate entity can nor should intervene or modify the data, except when users are behind a SSL proxy/accelerator that handles the outbound web request.
With the significant increase in TLS use, there is a significant need for enhancing bot detection techniques to detect scripts or bots that attempt to connect via TLS. The technique set forth herein addresses this need.
BRIEF SUMMARY
This disclosure describes a technique to fingerprint TLS connection information to facilitate bot detection. The notion is referred to herein as“TLS fingerprinting.”
Preferably, TLS fingerprinting herein comprises combining different parameters from the initial "Hello” packet send by the client. In one embodiment, the different parameters from the Hello packet that are used to create the fingerprint (the“TLS signature”) are: record layer version, client version, ordered TLS extensions, ordered cipher list, ordered elliptic curve list, and ordered signature algorithms list. Preferably, the edge server persists the TLS signature for the duration of a session.
The foregoing has outlined some of the more pertinent features of the subject matter. These features should be construed to be merely illustrative. Many other beneficial results can be attained by applying the disclosed subject matter in a different manner or by modifying the subject matter as will be described.
BRIEF DESCRIPTION OF THE DRAWINGS
For a more complete understanding of the subject matter and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a block diagram illustrating a known distributed computer system configured as a content delivery network (CDN);
FIG. 2 is a representative CDN edge machine configuration; and
FIG. 3 is a representative active TLS session among a client, an edge server, and an origin server and into which the edge server, with permission, is enabled to shunt into without a certificate and/or private key according to this disclosure.
FIG. 4 is an embodiment of a TLS fingerprint detection scheme of this disclosure;
FIG. 5 is another embodiment of the TLS fingerprint detection scheme; and
FIG. 6 is another depiction of the detection scheme.
DETAILED DESCRIPTION
In a known system, such as shown in FIG. 1, a distributed computer system 100 is configured as a content delivery network (CDN) and is assumed to have a set of machines l02a-n distributed around the Internet. Typically, most of the machines are servers located near the edge of the Internet, i.e., at or adjacent end user access networks. A network operations command center (NOCC) 104 manages operations of the various machines in the system. Third party sites, such as web site 106, offload delivery of content (e.g., HTML, embedded page objects, streaming media, software downloads, and the like) to the distributed computer system 100 and, in particular, to“edge” servers. Typically, content providers offload their content delivery by aliasing (e.g., by a DNS CNAME) given content provider domains or sub-domains to domains that are managed by the service provider’s authoritative domain name service. End users that desire the content are directed to the distributed computer system to obtain that content more reliably and efficiently. Although not shown in detail, the distributed computer system may also include other infrastructure, such as a distributed data collection system 108 that collects usage and other data from the edge servers, aggregates that data across a region or set of regions, and passes that data to other back-end systems 110, 112, 114 and 116 to facilitate monitoring, logging, alerts, billing, management and other operational and administrative functions. Distributed network agents 118 monitor the network as well as the server loads and provide network, traffic and load data to a DNS query handling mechanism 115, which is authoritative for content domains being managed by the CDN. A distributed data transport mechanism 120 may be used to distribute control information (e.g., metadata to manage content, to facilitate load balancing, and the like) to the edge servers.
As illustrated in FIG. 2, a given machine 200 comprises commodity hardware (e.g., an Intel Pentium processor) 202 running an operating system kernel (such as Linux or variant) 204 that supports one or more applications 206a-n. To facilitate content delivery services, for example, given machines typically run a set of applications, such as an HTTP proxy 207 (sometimes referred to as a“global host” process), a name server 208, a local monitoring process 210, a distributed data collection process 212, and the like.
A CDN edge server is configured to provide one or more extended content delivery features, preferably on a domain- specific, customer-specific basis, preferably using configuration files that are distributed to the edge servers using a configuration system. A given configuration file preferably is XML-based and includes a set of content handling rules and directives that facilitate one or more advanced content handling features. The configuration file may be delivered to the CDN edge server via the data transport mechanism. U.S. Patent No. 7,111,057 illustrates a useful infrastructure for delivering and managing edge server content control information, and this and other edge server control information can be provisioned by the CDN service provider itself, or (via an extranet or the like) the content provider customer who operates the origin server.
The CDN may provide secure content delivery among a client browser, edge server and customer origin server in the manner described in U.S. Publication No. 20040093419. Secure content delivery as described therein enforces SSL-based links between the client and the edge server process, on the one hand, and between the edge server process and an origin server process, on the other hand. This enables an SSL-protected web page and/or components thereof to be delivered via the edge server.
As an overlay, the CDN resources may be used to facilitate wide area network (WAN) acceleration services between enterprise data centers (which may be privately- managed) and third party software-as-a-service (SaaS) providers.
In a typical operation, a content provider identifies a content provider domain or sub-domain that it desires to have served by the CDN. The CDN service provider associates (e.g., via a canonical name, or CNAME) the content provider domain with an edge network (CDN) hostname, and the CDN provider then provides that edge network hostname to the content provider. When a DNS query to the content provider domain or sub-domain is received at the content provider’s domain name servers, those servers respond by returning the edge network hostname. The edge network hostname points to the CDN, and that edge network hostname is then resolved through the CDN name service. To that end, the CDN name service returns one or more IP addresses. The requesting client browser then makes a content request (e.g., via HTTP or HTTPS) to an edge server associated with the IP address. The request includes a host header that includes the
original content provider domain or sub-domain. Upon receipt of the request with the host header, the edge server checks its configuration file to determine whether the content domain or sub-domain requested is actually being handled by the CDN. If so, the edge server applies its content handling rules and directives for that domain or sub-domain as specified in the configuration. These content handling rules and directives may be located within an XML-based“metadata” configuration file.
Thus, and as used herein, an“edge server” refers to a CDN (overlay network) edge machine. For a given customer, the CDN service provider may allow a TCP connection to originate from a client (e.g., an end user browser, or mobile app) and connect to an edge machine representing the customer on a virtual IP address (VIP) assigned to the customer, or a general VIP that allows for discovery of the intended customer. For purposes of this disclosure, it is assumed that this edge machine does not have the customer’s private key or the customer’s certificate.
As illustrated in FIG. 3, in the typical interaction scenario, an end user client browser or mobile app 300 is associated with a customer origin server (or“origin”) 302 via the intermediary of an overlay network edge machine server instance 304 (sometimes referred to as an“edge server”). The terms“origin” or“edge” are not intended to be limiting. In a typical embodiment, the client establishes a TLS connection with the edge machine server instance 304, which terminates the TLS connection. The edge server then establishes a separate TLS connection with the origin 302. Familiarity with the TLS Specification is presumed. Once a TLS handshake is complete between the client and the edge server, or the edge server and the origin, each side of the connection will have negotiated a Pre-Master Secret and exchange random number values for the session. According to the TLS 1.2 Specification Section 8.1, each side will have converted its Pre- Master Secret into a Master Secret using an agreed-upon pseudo-random function (PRF), such as an HMAC variant. The TLS 1.2 Specification Section 6.3 notes that this Master Secret is then converted into a larger key block, which is then used to calculate the following TLS items: ciient_write_MAC_key (the key that be used as input to the client’s sent data message authentication codes (MACs)), wherein each TLSCipherText record has a MAC that verifies the data in the record is authentic and unchanged);
server_write_MAC_key (the key that will be used as input to the server’s sent data MACs); dient_write_key (the key that will be used for the agreed-upon bulk encryption cipher for client sent data; and server_write_key (the key that will be used for the agreed-upon bulk encryption cipher for server sent data). Other items may be calculated but, for purposes of this protocol, are not relevant.
TLS fingerprinting
With the above as background, the basic workflow is depicted in FIG. 4. At step (1), the client (mobile device, laptop or bot) establishes a secure connection with the edge server. At step (2), the edge server extract the TLS parameters sent by the client (typically from the Client Hello) and computes a hash, preferably using a one-way hash function.
The TLS hash value (a message digest) is sent to a learning system along with other characteristics available in the request, such as: HTTP request header order, User-agent value, HTTP version, Client IP address, Referer, canvas fingerprint, and perhaps others.
At step (3), heuristics are run, preferably on a regular basis, against the information collected on the learning system to statistically establish which fingerprint is typical of a legitimate client/user and which one is typical of an automated system. In one example embodiment, this method enables the system to identify automated system spoofing to a legitimate Chrome user-agent. The learning system responds to the edge with a score (e.g., 0 = good, 1 = bad). At step (4), if the score indicates that the client is not a legitimate (good) client, the edge server may be configured to take an action on the request (deny, tarpit, serve alternate content), or it may simply pass the request forward the customer origin server if the customer elects only to monitor the traffic. At step (5), the customer origin server processes the request and respond with the requested content. At step (6), the edge server passes the customer origin server response to the client.
The following describes several variants.
Thus, in one embodiment, the learning data from step (2) above may be delivered out-of-band (namely, outside of the request flow). Also, the learning system may publish to the edge a list of known bad signatures (e.g., a combination of TLS hash + header order + user-agent) so that the evaluation in step (3) does not require a call to an external database. FIG. 5 depicts a preferred implementation, which is now described.
At step (1), the client (mobile device, laptop or bot) establishes a secure connection with the CDN edge server. At step (2), the edge server computes the TLS hash and the header order hash, and extracts the user-agent, method, request type. At this point, the edge preferably checks all this information against a known bad signature directory. If the request signature is found in the bad signature directory, the edge server may be configured to take an action on the request (deny, tarpit, serve alternate content), or it may simply pass the request forward the customer origin server, e.g., if the customer chooses to only monitor the traffic. At step (3), the customer origin server processes the request and respond with the requested content. At step (4), the edge server passes the customer origin server response to the client. At step (5), the edge server passes the data collected to the learning system. At step (6), the learning system publishes to the edge a new list of bad signature(s), preferably periodically. In an alternative embodiment, the new list of bad signature(s) may be published to the edge continuously or asynchronously, in response to a given event or occurrence.
Thus, and as depicted in FIG. 6, JavaScript-based technology collects a lightweight fingerprint and other behavioral data from the client. The data is collected asynchronously and sent to the bot detection engine. On a protected request (e.g. TLS-secured POST login), the edge server obtains the client classification from the bot detection engine and applies it on the edge.
Several methods may be used to detect bots using the TLS fingerprint include, without limitation, anomaly detection, dynamic rate limiting, and blacklisting.
Anomaly detection is based on the principle that good browsers (such as Chrome, Firefox, Safari, and the like) have a few valid combinations of TLS fingerprints for each browser version. The“known” or“correct” combinations are learned a-priori. This can be done by analyzing prior human traffic and building a table of valid combinations (user agent and associated TLS fingerprint possibilities). A bot script masquerading its user- agent as one of the well-known browsers is then caught by checking for the existence of the user-agent and the TLS fingerprint in the“known/correct” table.
Dynamic rate limiting is based on the principle that the system keeps tracks of the received TLS fingerprints and then rate limits TLS fingerprints. Bot Attacks can be blocked in this way, as the TLS fingerprint will rapidly exceed the allowed rate threshold.
Blacklisting is based on the principle that the TLS fingerprints of malicious bot tools can be collected and stored in a database/file (also known as a blacklist file). When a TLS fingerprint is part of this blacklist file, it is then blocked.
All of the above techniques can be modulated with other signals to produce higher accuracy.
The above-described TLS fingerprinting scheme may operate in association with a browser validation process that collects information from the client using JavaScript techniques to help identify the type of client machine the edge server is interacting with and the configuration of the browser. The process does not collect any information that could identify the user of the machine. The data collected (also known as the fingerprint) is sent to a data collection platform and kept for a given time period. Preferably, the fingerprint is used to enable the provider to research and define new heuristics that help the bot detection engine to detect more advanced bots. These heuristics are preferably instantiated as detection rules and become part of a fingerprint evaluation ruleset.
Preferably, the fingerprint process is only executed once a session. By analyzing the fingerprint and combining multiple parameters of the fingerprints together, it is possible to uniquely identify the client and to identify which site protected with the browser validation technology a given client visited. As additional related fingerprint information is collected and analyzed, the fingerprint evaluation ruleset may evolve, allowing the system to detect more bots. Preferably, clients that are identified as bots are tracked through their session cookie. The session cookie is unique to a given web site and cannot be used to correlate the activity of a given bot on other web sites, although the system may provide for the ability to track the activity of a botnet across customers that use the bot detection service. Activity coming from these bots preferably is tracked and reported. Logs of this activity are then to generate bot activity and bot analysis reports that can be reviewed by a customer through a secure portal.
The TLS fingerprint information can also be supplemented with other information, e.g., a response from the origin (success or failed login). Behavioral data collected from the client, together with such origin response data, can be combined with the TLS fingerprint to build up a TLS blacklist.
Other enabling technologies
More generally, the techniques described herein are provided using a set of one or more computing-related entities (systems, machines, processes, programs, libraries, functions, or the like) that together facilitate or provide the described functionality described above. In a typical implementation, a representative machine on which the software executes comprises commodity hardware, an operating system, an application runtime environment, and a set of applications or processes and associated data, that provide the functionality of a given system or subsystem. As described, the functionality may be implemented in a standalone machine, or across a distributed set of machines. The functionality may be provided as a service, e.g., as a SaaS solution.
The techniques herein may be implemented in a computing platform, such as variously depicted and described above, although other implementations may be utilized as well. One or more functions of the computing platform may be implemented conveniently in a cloud-based architecture. As is well-known, cloud computing is a model of service delivery for enabling on-demand network access to a shared pool of configurable computing resources (e.g. networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service. Available services models that may be leveraged in whole or in part include: Software as a Service (SaaS) (the provider’s applications running on cloud infrastructure); Platform as a service (PaaS) (the customer deploys applications that may be created using provider tools onto the cloud infrastructure); Infrastructure as a Service (IaaS) (customer provisions its own processing, storage, networks and other computing resources and can deploy and run operating systems and applications).
The platform may comprise co-located hardware and software resources, or resources that are physically, logically, virtually and/or geographically distinct.
Communication networks used to communicate to and from the platform services may be packet-based, non-packet based, and secure or non-secure, or some combination thereof. More generally, the techniques described herein are provided using a set of one or more computing-related entities (systems, machines, processes, programs, libraries, functions, or the like) that together facilitate or provide the described functionality described above. In a typical implementation, a representative machine on which the software executes comprises commodity hardware, an operating system, an application runtime environment, and a set of applications or processes and associated data, that provide the functionality of a given system or subsystem. As described, the functionality may be implemented in a standalone machine, or across a distributed set of machines.
Each above-described process, module or sub-module preferably is implemented in computer software as a set of program instructions executable in one or more processors, as a special-purpose machine.
Representative machines on which the subject matter herein is provided may be Intel Pentium-based computers running a Linux or Linux-variant operating system and one or more applications to carry out the described functionality. One or more of the processes described above are implemented as computer programs, namely, as a set of computer instructions, for performing the functionality described.
While the above describes a particular order of operations performed by certain embodiments of the disclosed subject matter, it should be understood that such order is exemplary, as alternative embodiments may perform the operations in a different order, combine certain operations, overlap certain operations, or the like. References in the specification to a given embodiment indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic.
While the disclosed subject matter has been described in the context of a method or process, the subject matter also relates to apparatus for performing the operations herein. This apparatus may be a particular machine that is specially constructed for the required purposes, or it may comprise a computer otherwise selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a
computer readable storage medium, such as, but is not limited to, any type of disk including an optical disk, a CD-ROM, and a magnetic-optical disk, a read-only memory (ROM), a random access memory (RAM), a magnetic or optical card, or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus.
A given implementation of the computing platform is software that executes on a hardware platform running an operating system such as Linux. A machine implementing the techniques herein comprises a hardware processor, and non-transitory computer memory holding computer program instructions that are executed by the processor to perform the above-described methods.
There is no limitation on the type of computing entity that may implement the client-side or server-side of the connection. Any computing entity (system, machine, device, program, process, utility, or the like) may act as the client or the server.
While given components of the system have been described separately, one of ordinary skill will appreciate that some of the functions may be combined or shared in given instructions, program sequences, code portions, and the like. Any application or functionality described herein may be implemented as native code, by providing hooks into another application, by facilitating use of the mechanism as a plug-in, by linking to the mechanism, and the like.
The platform functionality may be co-located or various parts/components may be separately and run as distinct functions, perhaps in one or more locations (over a distributed network).
One preferred implementation of the TLS fingerprint based bot detector is in a managed service such as a content delivery network (CDN) or, more generally, an“overlay network” that is operated and managed by a service provider. The service provider typically provides the content delivery service on behalf of third parties (customers) who use the service provider’s shared infrastructure. A distributed system of this type typically refers to a collection of autonomous computers linked by a network or networks, together with the software, systems, protocols and techniques designed to facilitate various services, such as content delivery, web application acceleration, or other support of outsourced origin site infrastructure. A CDN service provider typically provides service delivery
through digital properties (such as a website), which are provisioned in a customer portal and then deployed to the network. A digital property typically is bound to one or more edge configurations that allow the service provider to account for traffic and bill its customer.
The techniques herein may leverage machine learning (ML) to iteratively learn from data. As is well-known, machine learning tasks are typically classified into several categories depending on the nature of the learning signal or feedback available to a learning system: supervised learning, unsupervised learning, and reinforcement learning. In supervised learning, the algorithm trains on labeled historic data and learns general rules that map input to output/target. In particular, the discovery of relationships between the input variables and the label/target variable in supervised learning is done with a training set. The computer/machine learns from the training data. Supervised learning algorithms are Support Vector Machines, Linear Regression, Logistic Regression, Naive Bayes, and Neural Networks. In unsupervised machine learning, the algorithm trains on unlabeled data. In reinforcement learning, the algorithm learns through a feedback system. In one embodiment, the bot detection engine uses supervised machine learning to evolve the ruleset based on the TLS data detection previously described.
The technique of this disclosure provides significant advantages. As described, the preferred approach creates a message digest of relevant portions of the Client Hello; this facilitates transporting the data on a network, querying on the data, creating databases, and building a machine learning model of relevant data.
What we claim now follows.
Claims
1. A method of bot detection is a computer network, comprising:
responsive to establishment of a secure connection initiated by a client, and in association with a client request, receiving and extracting a set of transport layer security parameters;
processing the set of transport layer security parameters into a fingerprint, wherein a given transport layer security parameter of the set is not recoverable from the fingerprint; evaluating the fingerprint to determine whether the client is likely to be a bot as opposed to a human user; and
taking an action with respect to the client based on a determination that the client is likely to be a bot as opposed to a human user.
2. The method as described in claim 1 wherein the set of transport layer security parameters are associated with a Transport Layer Security (TLS) connection initiated by the client.
3. The method as described in claim 2 wherein the TLS connection is initiated by the client by a client hello message.
4. The method as described in claim 3 wherein the set of transport layer security parameters comprise information derived from the client hello message, the information being at least one of: a record layer version, a client version, a set of ordered TLS extensions, an ordered cipher list, an ordered elliptic curve list, and an ordered signature algorithms list.
5. The method as described in claim 1 further including persisting the fingerprint for a duration of a session associated with the client request.
6. The method as described in claim 1 wherein the processing includes applying a one-way hash function of the set of transport layer security parameters to produce the fingerprint.
7. The method as described in claim 1 wherein evaluating the fingerprint includes forwarding the fingerprint and other data to a learning system and, in response, receiving an indication regarding the likelihood that the client is a bot.
8. The method as described in claim 7 wherein the other data is one of: an HTTP request header order, a user-agent value, an HTTP version number, a client IP address, a Referer header value, and a canvas fingerprint.
9. The method as described in claim 7 wherein the learning system uses machine learning to determine a likelihood of the client being a bot as opposed to a human user.
10. The method as described in claim 1 wherein the action is one of: denying the client request, tarpit the client request, serving alternative content in response to the client request, passing the client request forward to an origin, and serving a response to the client request.
11. The method as described in claim 1 wherein evaluating the fingerprint includes checking the fingerprint against a data set of known bad fingerprints.
12. The method as described in claim 1 including updating a set of known bad fingerprints to include the fingerprint when the fingerprint is determined to represent a bot.
13. The method as described in claim 1 wherein the set of transport layer security parameters are received in association with a TLS-secured HTTP POST message.
14. The method as described in claim 1 wherein evaluating the fingerprint includes one of anomaly detection, dynamic rate limiting, and blacklisting.
15. Apparatus associated with an overlay network, comprising:
a hardware processor;
computer memory holding computer program instructions executed by the hardware processor, the computer program instructions comprising program code configured to:
respond to establishment of a secure connection initiated by a client, and in association with a client request that includes a client hello message, receive and extract a set of Transport Layer Security (TLS) parameters;
apply a one-way hash function to the set of TLS parameters to generate a fingerprint;
forward the fingerprint to an external analysis engine to determine, based at least in part on the fingerprint, whether the client is likely to be a bot as opposed to a human user; and
take an action with respect to the client based on a determination that the client is likely to be a bot as opposed to a human user.
16. The apparatus as described in claim 15 wherein the set of TLS parameters comprise information derived from the client hello message, the information being at least one of: a record layer version, a client version, a set of ordered TLS extensions, an ordered cipher list, an ordered elliptic curve list, and an ordered signature algorithms list.
16. The apparatus as described in claim 14 wherein the overlay network is a content delivery network and the program code also comprises a web proxy.
17. The apparatus as described in claim 14 wherein the external analysis engine implements a machine learning algorithm.
17. The apparatus as described in claim 15 wherein the action is one of:
denying the client request, tarpit the client request, serving alternative content in response to the client request, passing the client request forward to an origin, and serving a response to the client request.
18. A system associated with an overlay network, comprising:
an edge server executing on a first computing machines, the edge server configured to respond to establishment of a secure connection initiated by a client, and in association with a client request that includes a client hello message, to (i) receive and extract from the client hello message a set of Transport Layer Security (TLS) parameters; (ii) apply a one way hash function to the set of TLS parameters to generate a fingerprint; (iii) forward the fingerprint to an external analysis engine; and (iv) take an action with respect to the client based on a determination by the external analysis engine that the client is likely to be a bot as opposed to a human user; and
a second computing machine executing the external analysis engine to determine, based at least in part on the fingerprint, whether the client is likely to be a bot as opposed to a human user.
19. The system as described in claim 18 wherein the action is one of: denying the client request, tarpit the client request, serving alternative content in response to the client request, passing the client request forward to an origin, and serving a response to the client request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP18892890.7A EP3729778A4 (en) | 2017-12-18 | 2018-12-18 | BOT DETECTION ON AN EDGE NETWORK USING THE FINGERPRINT OF TRANSPORT LAYER SECURITY (TLS) |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201762599845P | 2017-12-18 | 2017-12-18 | |
US62/599,845 | 2017-12-18 | ||
US15/973,585 | 2018-05-08 | ||
US15/973,585 US11184390B2 (en) | 2017-12-18 | 2018-05-08 | Bot detection in an edge network using transport layer security (TLS) fingerprint |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019126165A1 true WO2019126165A1 (en) | 2019-06-27 |
Family
ID=66816591
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2018/066227 WO2019126165A1 (en) | 2017-12-18 | 2018-12-18 | Bot detection in an edge network using transport layer security (tls) fingerprint |
Country Status (3)
Country | Link |
---|---|
US (3) | US11184390B2 (en) |
EP (1) | EP3729778A4 (en) |
WO (1) | WO2019126165A1 (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10666681B2 (en) * | 2017-12-31 | 2020-05-26 | Rapid7, Inc. | Detecting malicious actors |
US11463457B2 (en) * | 2018-02-20 | 2022-10-04 | Darktrace Holdings Limited | Artificial intelligence (AI) based cyber threat analyst to support a cyber security appliance |
US11019034B2 (en) * | 2018-11-16 | 2021-05-25 | Akamai Technologies, Inc. | Systems and methods for proxying encrypted traffic to protect origin servers from internet threats |
US10819434B1 (en) | 2019-04-10 | 2020-10-27 | At&T Intellectual Property I, L.P. | Hybrid fiber coaxial fed 5G small cell surveillance with hybrid fiber coaxial hosted mobile edge computing |
US10848988B1 (en) * | 2019-05-24 | 2020-11-24 | At&T Intellectual Property I, L.P. | Dynamic cloudlet fog node deployment architecture |
US12164644B2 (en) * | 2019-07-23 | 2024-12-10 | Akamai Technologies, Inc. | Detection and prevention of malicious script attacks using behavioral analysis of run-time script execution events |
US11245675B2 (en) | 2019-11-18 | 2022-02-08 | Cisco Technology, Inc. | Device detection in network telemetry with TLS fingerprinting |
US11570203B2 (en) | 2019-12-31 | 2023-01-31 | Akamai Technologies, Inc. | Edge network-based account protection service |
US11514154B1 (en) * | 2020-01-31 | 2022-11-29 | Automation Anywhere, Inc. | Automation of workloads involving applications employing multi-factor authentication |
GB2591805A (en) * | 2020-02-07 | 2021-08-11 | Beaconsoft Ltd | Journey validation tool |
US20210377303A1 (en) * | 2020-06-02 | 2021-12-02 | Zscaler, Inc. | Machine learning to determine domain reputation, content classification, phishing sites, and command and control sites |
US11343357B2 (en) * | 2020-10-13 | 2022-05-24 | Citrix Systems, Inc. | Systems and methods for autonomous program detection |
IT202000025168A1 (en) | 2020-10-23 | 2022-04-23 | Cleafy Spa | METHOD FOR TRACKING MALICIOUS ENDPOINTS IN LIVE COMMUNICATION WITH AN APPLICATION BACK END USING TLS FINGERPRINTING TECHNIQUES |
US12170902B2 (en) | 2021-01-08 | 2024-12-17 | Darktrace Holdings Limited | User agent inference and active endpoint fingerprinting for encrypted connections |
CN113037746B (en) * | 2021-03-05 | 2022-11-01 | 中国工商银行股份有限公司 | Method and device for extracting client fingerprint, identifying identity and detecting network security |
CN115514583B (en) * | 2022-11-21 | 2023-03-24 | 北京长亭未来科技有限公司 | Flow acquisition and blocking method, system, equipment and storage medium |
US20250211603A1 (en) * | 2023-12-26 | 2025-06-26 | Paypal, Inc. | Bot detection through explainable deep learning and rule violation codebooks from generative artificial intelligence |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160080337A1 (en) * | 2014-04-08 | 2016-03-17 | Cloudflare, Inc. | Secure session capability using public-key cryptography without access to the private key |
US20170288987A1 (en) * | 2016-03-29 | 2017-10-05 | Juniper Networks, Inc. | Application signature generation and distribution |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9420049B1 (en) * | 2010-06-30 | 2016-08-16 | F5 Networks, Inc. | Client side human user indicator |
US9430778B2 (en) * | 2012-07-30 | 2016-08-30 | Kount Inc. | Authenticating users for accurate online audience measurement |
US9736147B1 (en) * | 2013-04-08 | 2017-08-15 | Titanium Crypt, Inc. | Artificial intelligence encryption model (AIEM) with device authorization and attack detection (DAAAD) |
US10438225B1 (en) * | 2013-12-18 | 2019-10-08 | Amazon Technologies, Inc. | Game-based automated agent detection |
US11232452B2 (en) * | 2014-07-02 | 2022-01-25 | Blackhawk Network, Inc. | Systems and methods for dynamically detecting and preventing consumer fraud |
US9584524B2 (en) * | 2014-07-03 | 2017-02-28 | Live Nation Entertainment, Inc. | Sensor-based human authorization evaluation |
US9686300B1 (en) | 2014-07-14 | 2017-06-20 | Akamai Technologies, Inc. | Intrusion detection on computing devices |
US20160057163A1 (en) * | 2014-10-03 | 2016-02-25 | Akamai Technologies, Inc. | Validating and enforcing end-user workflow for a web application |
US9906544B1 (en) | 2014-12-02 | 2018-02-27 | Akamai Technologies, Inc. | Method and apparatus to detect non-human users on computer systems |
US10387980B1 (en) * | 2015-06-05 | 2019-08-20 | Acceptto Corporation | Method and system for consumer based access control for identity information |
AU2016362507A1 (en) * | 2015-12-04 | 2018-06-14 | Dan CERNOCH | Systems and methods for scalable-factor authentication |
US10623376B2 (en) * | 2016-01-29 | 2020-04-14 | Zenedge, Inc. | Qualifying client behavior to mitigate attacks on a host |
US10601862B1 (en) | 2016-07-15 | 2020-03-24 | Akamai Technologies, Inc. | Mitigating automated attacks in a computer network environment |
US10715548B2 (en) | 2016-10-17 | 2020-07-14 | Akamai Technologies, Inc. | Detecting device masquerading in application programming interface (API) transactions |
US10587629B1 (en) | 2016-11-06 | 2020-03-10 | Akamai Technologies, Inc. | Reducing false positives in bot detection |
US10708281B1 (en) | 2018-04-16 | 2020-07-07 | Akamai Technologies, Inc. | Content delivery network (CDN) bot detection using primitive and compound feature sets |
-
2018
- 2018-05-08 US US15/973,585 patent/US11184390B2/en active Active
- 2018-12-18 WO PCT/US2018/066227 patent/WO2019126165A1/en unknown
- 2018-12-18 EP EP18892890.7A patent/EP3729778A4/en active Pending
-
2021
- 2021-11-23 US US17/533,185 patent/US11799908B2/en active Active
-
2023
- 2023-10-24 US US18/383,351 patent/US12316672B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160080337A1 (en) * | 2014-04-08 | 2016-03-17 | Cloudflare, Inc. | Secure session capability using public-key cryptography without access to the private key |
US20170288987A1 (en) * | 2016-03-29 | 2017-10-05 | Juniper Networks, Inc. | Application signature generation and distribution |
Non-Patent Citations (4)
Title |
---|
AMANN ET AL., EXPLORING TOR'S ACTIVITY THROUGH LONG-TERM PASSIVE TLS TRAFFIC MEASUREMENT |
DAVID FIFIELD ET AL.: "Blocking-resistant communication through domain fronting", PROC. PRIVACY ENHANCING TECHNOLOGIES SYMPOSIUM (PETS, vol. 2015, no. 2, June 2015 (2015-06-01), pages 46 - 64, XP055619922 * |
MARTIN HUSAK ET AL.: "HTTPS traffic analysis and client identification using passive SSL/TLS fingerprinting", EURASIP JOURNAL ON INFORMATION SECURITY 20 16, vol. 2016, no. 6, 26 February 2016 (2016-02-26) - December 2016 (2016-12-01), pages 1 - 14, XP055619910 * |
ZAKIR DURUMERIC ET AL.: "The Security Impact of HTTPS Interception", NDSS SYMPOSIUM 2017, 27 February 2017 (2017-02-27) - 1 March 2017 (2017-03-01), San Diego , CA, XP055619915, ISBN: 1-891562-46-0 * |
Also Published As
Publication number | Publication date |
---|---|
EP3729778A1 (en) | 2020-10-28 |
US20240056479A1 (en) | 2024-02-15 |
US11799908B2 (en) | 2023-10-24 |
US20220086186A1 (en) | 2022-03-17 |
US11184390B2 (en) | 2021-11-23 |
EP3729778A4 (en) | 2021-09-01 |
US20190190950A1 (en) | 2019-06-20 |
US12316672B2 (en) | 2025-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11799908B2 (en) | Bot detection in an edge network using transport layer security (TLS) fingerprint | |
US11777955B2 (en) | Content delivery network (CDN) bot detection using primitive and compound feature sets | |
US10742546B2 (en) | Traffic on-boarding for acceleration through out-of-band security authenticators | |
US9961103B2 (en) | Intercepting, decrypting and inspecting traffic over an encrypted channel | |
US10298615B2 (en) | Splicing into an active TLS session without a certificate or private key | |
USRE47924E1 (en) | Caching network generated security certificates | |
US10382562B2 (en) | Verification of server certificates using hash codes | |
US9774631B2 (en) | TLS connection abandoning | |
US10904229B2 (en) | Caching content securely within an edge environment, with pre-positioning | |
US20210152637A1 (en) | Caching content securely within an edge environment | |
US12309132B1 (en) | Continuous universal trust architecture and method | |
Savanur | Guidelines on security best practices in Cloud of Things (CoT) | |
Costea et al. | Security from Disjoint Paths: Is It Possible? |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18892890 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2018892890 Country of ref document: EP Effective date: 20200720 |